flextimer register write only works when single stepping

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

flextimer register write only works when single stepping

742 次查看
momo12
Contributor III

Hi

In my code I wrote this:

    ((ftmBase)->MOD) = 0x1a;
    ((ftmBase)->CONTROLS[7].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?

0 项奖励
回复
1 回复

638 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,
These registers are buffered. To update the registers with their buffer values, you need to trigger synchronization.
It was discussed in https://community.nxp.com/message/1012624 

Regards,

Daniel

0 项奖励
回复