Harmony 3: how to start Timer2/3 interrupt? [solved]
core: v3.4.0, csp: v3.4.0
I would like to know the method to start the timer2/3 (32 bits timer) interrupt.
Project Graph is shown in the attached figure.
Three functions (TMR2_Start,TMR2_InterruptEnable, and EVIC_SourceEnable) are used as a test in app.c .
void APP_Initialize ( void )
/* Place the App state machine in its initial state. */
appData.state = APP_STATE_INIT;
EVIC_SourceEnable( _TIMER_3_IRQ );
However, the interrupt has never occurred, that is , __ISR(_TIMER_3_VECTOR, ipl1AUTO) TIMER_3_Handler (void) function
has never been called.
I would be happy if someone helped me.
post edited by yts - 2019/09/12 20:09:01