FOC problem when using Teensy4 instead Teensy 3.2

Hi FOC-experts ,

The simpleFOC software works fine when using Teensy3.2 (IDE= Arduino) - but switching to Teensy4 (4.0) causes problems. All 6 PWM signals avaiable but modulation is obviously wrong - motor turns extremely low and current consumption is around 0.2amps continously. The pins for the 6PWM driver i’ve adjusted correctly
(???) - Teensy 3.2: 22,23,9,10,6,20 , Teensy4: 2,3,6,9,8,7. Nothing changed except this. Any idea highly welcome :slight_smile: