Xiao samd21 BMS smart

Hi, and thanks for your help.
I’m a hobbyist.
I’d like to build a 3S 40A smart lithium BMS, and I was thinking, because I don’t have much space, about using a Seeeduino Xiao Samd2. Can anyone design the schematic for me? I’m not capable.
Thanks.