ZVMC256 TIM0 CH1 set as input capture

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

ZVMC256 TIM0 CH1 set as input capture

1,175件の閲覧回数
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,072件の閲覧回数
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 件の賞賛
返信