How can I set up periodic interrupts using the timer module on the AM335x SOC?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
There are multiple ways to implement periodic interrupts based on timer. Here we describe 3 methods.
1. Using the timer module of SYS/BIOS. Please refer to this FAQ which has a use case of the timer module.
2. Using the OSAL timer API. Please refer to pdk_am335x_1_0_17\packages\ti\osal\test\src\main_osal_test.c, specifically function OSAL_timer_test().
3. Using the PDK starterware. Please refer to C:\ti\pdk_am335x_1_0_17\packages\ti\starterware\examples\dmtimer and this E2E post for details.
Finally, when you use the timer, please make sure to enable the timer either through CCS GEL file or the board library, as described in the following E2E posts: