I have configured FTM5 as input capture through PTA29, the configuration structure ftmStatePtr is not stable during the code execution, the values are changing all the time. The other FTM I have configured is FTM1 as pwm generation.
it seems that the address of ftmStatePtr (0x200003ac) is overwritten. The microcontroller I'm using is marked as PS32K146UAVLQ. Did someone find some similar issue?