In my code I wrote this:
((ftmBase)->MOD) = 0x1a; ((ftmBase)->CONTROLS.CnV) = 0x15;
When I single step the code in debugger , the register values are updated, but not when running the code without a breakpoint.
Am I missing some thing?
Hi,These registers are buffered. To update the registers with their buffer values, you need to trigger synchronization. It was discussed in How to change PWM duty cycle on s32k144?
Retrieving data ...