I have configured FTM5 as input capture through PTA29, the configuration structure ftmStatePtr[5] 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[5] (0x200003ac) is overwritten. The microcontroller I'm using is marked as PS32K146UAVLQ. Did someone find some similar issue?
Hi Eduard,
Based on your description I think these can be the root-causes:
To detect the first 2 cases you can add DEV_ERROR_DETECT define when you compile your project.
Best regards,
Razvan
Hi Eduard,
Could you share a test code so that we can test it?
If you don't want to share the code here you may consider creating a ticket.
https://community.nxp.com/docs/DOC-329745
Regards,
Daniel