Hi all.
I'm trying ti configure DMtimer3 to call a function every 50 microseconds.
I've followed this discussion: http://e2e.ti.com/support/arm/sitara_arm/f/791/p/194331/695180.aspx#695180 with no success
1) I've tried to use StarterWare DMTimer functions:
Hwi_Params_init(&hwiParams); void my_dmtimer_hwi ( UArg arg ) DMTimerIntStatusClear( SOC_DMTIMER_3_REGS, (DMTIMER_INT_OVF_EN_FLAG | DMTIMER_INT_TCAR_EN_FLAG | DMTIMER_INT_MAT_EN_FLAG) ); return; } |
Timer_Params timerParams; Timer_Params_init(&timerParams); void my_dmtimer_hwi( UArg arg ) led_toggle() } |