adafruit / ArduinoCore-samd

114 stars 116 forks source link

SPI on Adafruit Metro M0 Express #357

Open nerdyscout opened 2 months ago

nerdyscout commented 2 months ago

Hi,

I am trying to use SPI on Adafruit Metro M0 Express . Looking at the pinout this should be available with the pins PA16-PA19. Your variant.h resolves it to the pins 28-30 which is sercom4, but the pinout shows sercom1 and sercom3... so there seems to be a few things mixed up...? Using platformio I changes my board id to sparkfun_samd21_mini_usb, still using the metro m0 board, than everything seems to be fine.