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.

RTOS: IR transmitter implementation and failure to use timers on DM816x

Tool/software: TI-RTOS

We are implementing four IR transmitter interfaces on DM816x using TIMER3, TIMER4, TIMER5, TIMER6 and TIMER7. Our IR transmitter kernel module uses /arch/arm/plat-omap/dmtimer.c. If we use the IR remitter without video playback it works perfectly fine. But once we start video and try to use the transmitter module, it fails with kernel error -16 (EBUSY 16 /* Device or resource busy */).

We could figure out the reason for the failure. C674x uses both TIMER3 and TIMER4 (component-sources/syslink_2_20_02_20/packages/ti/syslink/family/common/ti81xx/ti81xxdsp/Dm8168DspPwr.c) and IR module failed to use both TIMER3 and TIMER4 clock. IR transmitter implementation use OMAP_TIMER_SRC_SYS_CLK clock source and C674x uses 32 KHz clock source. 

I really appreciate if you could suggest a right solution for the above problem.

 

Thanks

msa