flextimer register write only works when single stepping

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

flextimer register write only works when single stepping

814件の閲覧回数
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 返信

710件の閲覧回数
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 件の賞賛
返信