Closed
Description
Hi
There is some bug in the /drivers/hardware_specific/samd51_mcu.cpp
See this log: https://community.simplefoc.com/t/same51-pin-configuration/1280/3
Attached variant.cpp:
https://github.com/adafruit/ArduinoCore-samd/blob/master/variants/feather_m4_can/variant.cpp
According to the variant file pin 13, 12, 11, 10 are PIN_ATTR_PWM_G
There seems to be some confusion in the appropriate function when fetchin pin configuration.
I would like to setup pins 13, 12, 11 and 10 for TCC0. Plz advice
Is the Peripheral letter used for configuring pin?
Here the samd_mcu.cpp is supposed to fin a "G" ?
#if defined(_SAMD51_)||defined(_SAME51_)
else if (peripheral==PIO_TCC_PDEC) {
result.tcc.chaninfo = association.tccG;
result.wo = association.woG
```;