- Changed DOPO to 0, to select PAD0 for MISO (corresponding to PA12:MISO on the board)
Hi Maverick123,
DOPO should be set to 0x3, which corresponds to PAD[0]: MISO , PAD[3]: SCK, PAD[1]: SS. The other option (0x0) will not select the correct SCK and SS pads.
SERCOM4->SPI.CTRLA.bit.DOPO = 0x3;
More info can be found on page 438 of the complete datasheet.