Hey Juan-Antonio,
I just committed the SAME51 support in SimpleFOC to the dev branch. With this PWM you’ll be able to drive steppers and BLDCs with FOC-control.
It has the same fixed 24Khz PWM frequency as the SAMD21 at the moment.