Zhai Xiao

A timer issue of JN5168

Discussion created by Zhai Xiao on Aug 18, 2017
Latest reply on Apr 1, 2018 by Li siyu

Hi

   

   I'm using JN5168, and my board cannot enter timer ISR. Here's my initialize codes below:

   

   // Enable period interrupt generation and output

   vAHI_TimerEnable(E_AHI_TIMER_3, 4, FALSE, TRUE, TRUE);

   

   // Register my interrupt callback

   vAHI_Timer3RegisterCallback(Timer3Callback);

   

   // Start Timer3 as repeat mode

   vAHI_TimerStartRepeat(E_AHI_TIMER_3, 500, 1000);

   

   The PWM output can be generated, my timer callback haven't been involved.

   I hope someone can solve my problem, thanks~

 

 

   

   

Outcomes