You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, thank a lot for the great work for SAMD MCU.
Now lets turn to the issue in "samd_mcu.cpp".
if (tcn >= TCC_INST_NUM),for example tcn = 5,TCC_INST_NUM = 3.
then SIMPLEFOC_SAMD_DEBUG_SERIAL.print(tcn) get the flowing message:
...
Pin 00 PA16 E= TC5-0[0] F=TCC1-0[0] G=TCC 0-4[4]
Pin 01 PA17 E= TC5-1[1] F=TCC1-1[1] G=TCC 0-5[5]
...
But PA16 has not TC5 arrcording to the SMAD51 chip datasheet, so SIMPLEFOC_SAMD_DEBUG_SERIAL.print(tcn%TCC_INST_NUM ) is a bit improvement.