GPT DBGEN Bit

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

GPT DBGEN Bit

2,061 次查看
sohaib_sulehri
Contributor I

According to iMX8QM_RM_Rev_E Section 7.10.4.2.5:
If DBGEN bit is not set for GPT_CR register then GPT timer is halted.
But in my case GPT Timer counter continue running even though DBGEN is 0 and code execution is stopped using debugger. 
What could be the reason?

0 项奖励
回复
1 回复

1,997 次查看
b36401
NXP Employee
NXP Employee

In debug mode, PWM has the option of continuing to run or be halted.
If the DBGEN bit is not set in the PWM_PWMCR, the PWM is halted.
If the DBGEN bit is set, then the PWM will continue to run in the debug mode.

0 项奖励
回复