Simplefoc library v2.3.0 has an issue with
BLDCDriver6PPWM driver for Teensy 3 and 4. This driver does not work with the original library code and will be fixed in the next releqse.
The fixed code is in the dev branch and you can download it from here:
Thanks to everyone reporting the issue, it helped us identify it much quicker.