ZVMC256 TIM0 CH1 set as input capture

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

ZVMC256 TIM0 CH1 set as input capture

1,140 次查看
shiweili
Contributor I

Dear Community,

MCU:ZVMC256

Module:TIM0CH1 Set as input capture

Question: When I used BDM for background debugging, the input capture function worked fine .However, when the MCU was reset after a power on, the input capture function did not work properly.

My code was generated by processor experts,The specific configuration is shown in the figure below:

Figure 1  Input capture channel configuration

Figure 2  MCU clock configuration

标记 (1)
0 项奖励
回复
1 回复

1,037 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello shiweili,

I can’t see the figures in the post.
What does it mean that it does not work properly?
The MCU is in Special Mode during debugging but in Normal Mode after POR.
Some registers have a different read/write specification in the modes.
For example:
pastedImage_1.png
Could you share a test project?
You can refer to this example:

S12ZVL-TIM-FrequencyMeasurement-V1_0-CW106-TIC-EXAMPLE 

BR, Daniel

0 项奖励
回复