Hi,
I've ran this same clock example on the 6472
EVM platform. On this platform, the periodic function does get called.
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.
Hi,
I've ran this same clock example on the 6472
EVM platform. On this platform, the periodic function does get called.
Hi Jim,
Yes, the TI81xx family of devices (including C6A816x) requires the timers' power & clock initialization to be performed and SYS/BIOS doesn't (& can't) do this. If you are running Linux on the A8, U-Boot should do this for you. Otherwise, your EVM should be accompanied with a .gel script (i.e. evm816x) that allows initializing the DMTimers to operate at 32Khz.
FYI, the DSP uses timer #3 by default for the Clock module. If the A8 is running BIOS, it will use timer #1.
Regards,
Shreyas
Shreyas,
I'm only running code on the DSP - nothing on the ARM side yet, so I enabled Timer 3 via a gel script. After adding the following lines to the gel file, the timer started working.
WR_MEM_32(CM_TIMER3_CLKSEL, 1);
WR_MEM_32(CM_ALWON_TIMER_3_CLKCTRL, 2);
while(RD_MEM_32(CM_ALWON_TIMER_3_CLKCTRL)!=0x2); // Check Power is ON
Thanks for the help, that solved my problem.
Jim
Hi Shreyas,
Could you help to provide an example code and document for non-CCS base?