Seeeduino XIAO - XIAO RA4M1

I have used in my potentiostat Seeeduino XIAO (Xiao SAMD21). Can I use the “new” XIAO RA4M1 in my PCB without replacing (change) the legs (pins)? I used in Seeeduino XIAO: 1 pin: D/A; 2 pin A/D1; 3 pin A/D2.

yes, you can use the same pins 1, 2 and 3. But the SAMD21 may have less noise than the RA4M1 in the AD conversions, at least when you use the default 3.3V reference. I haven’t yet figured out how to use a different internal or external reference.