Hello Kevin The user call back support is valid in the Interrupt mode. If the user wants to go with the polling Model, user needs to check whether the timer is overflowing or not. The below example snippet works for your use case. The Timer example is already available in the MCU+SDK 10.1. Please look at the paths below. C:\ti\mcu_plus_sdk_am64x_10_01_00_32\examples\drivers\timer\timer_interrupt C:\ti\mcu_plus_sdk_am64x_10_01_00_32\examples\drivers\gp_timer uint32_t status =0 ; while(1) { status = TimerP_isOverflowed(gTimerBaseAddr[CONFIG_TIMER0] ); if(status) { TimerP_clearOverflowInt(gTimerBaseAddr[CONFIG_TIMER0] ); } } Regards, Anil.
↧