AnsweredAssumed Answered

ZVMC256  TIM0 CH1 set as input capture

Question asked by shiwei li on Jul 27, 2019
Latest reply on Aug 15, 2019 by Daniel Martynek

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

Outcomes