Link

SAMD21 boards support

MCU2 PWM mode4PWM mode3 PWM mode6 PWM modepwm frequency config
SAMD21✔️✔️✔️✔️✔️
SAMD51✔️✔️✔️✔️✔️

Arduino SimpleFOClibrary recently started supporting the SAMD21/SAMD51 devices due to a lot of effort put in by @runger1101001. These are the boards that have been tested so far:

BoardNameSpecificationsLinkPrice
Arduino MKR1000 WIFISAMD21 Cortex®-M0+
- 3.3V logic
- 12 PWMs
- 10 interrupts
- 7 adc pins
- 48Mhz
Arduino Store30€
Arduino MKR1010 WIFISAMD21 Cortex®-M0+
- 3.3V logic
- 13 PWMs
- 10 interrupts
- 7 adc pins
- 48Mhz
Arduino Store30€
Arduino NANO 33 IOTSAMD21 Cortex®-M0+
- 3.3V logic
- 11 PWMs
- interrupts all pins
- 8 adc pins
- 48Mhz
Arduino Store16€
Adafruit Feather M0 BasicSAMD21 Cortex®-M0
- 3.3V logic
- all pins PWMs
- interrupts all pins
- 12 adc pins
- 48Mhz
Adafruit Store20€
Adafruit Feather M4 ExpressSAMD51 Cortex®-M4
- 3.3V logic
- all pins PWMs
- interrupts all pins
- 16 adc pins
- 120Mhz
Adafruit Store20€

Arduino IDE support package

In order to use the SAMD21 / SAMD51 boards in the Arduino IDE please instal the SAMD21/ SAMD51 support package using Arduino IDE board manager.

For some boards you might need to install the Adafruit SAMD package in addition to the Arduino SAMD package in your Board manager. Here is a quick guide how to enable Adafruit packages in the Arduino IDE.