Hi,
I posted below, but let me also post here.
http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/t/138467.aspx
I faced the trouble to use timer plus on OMAPL137, in 32bit chained mode with period reload.
As I tried, like below, timer never started counting. But,
- 32bit Unchained mode with period reload was OK
- 32bit Chained mode with continuous operation was OK
So I'm suspicious that timer plus on OMAPL147 supports 32bit chained mode with period reload.
Do you have any idea?
-----------------------------------------------------
tmr0Regs->TGCR = CSL_FMKT(TMR_TGCR_TIMMODE,32_CHAIN)
| CSL_FMKT(TMR_TGCR_PLUSEN,ENABLE)
| CSL_FMKT(TMR_TGCR_TIM12RS,NO_RESET)
| CSL_FMKT(TMR_TGCR_TIM34RS,NO_RESET)
| CSL_FMK(TMR_TGCR_PSC34,0x1);
CSL_FINS(tmr0Regs->PRD12,TMR_PRD12_PRD12,TIMER_PERIOD);
CSL_FINS(tmr0Regs->PRD34,TMR_PRD34_PRD34,TIMER_PERIOD);
CSL_FINS(tmr0Regs->REL12,TMR_REL12_REL12,TIMER_PERIOD);
CSL_FINS(tmr0Regs->REL34,TMR_REL34_REL34,TIMER_PERIOD);
CSL_FINST(tmr0Regs->TCR,TMR_TCR_ENAMODE12,EN_CONTRELOAD);
------------------------------------------------------
thanks & best rgards,
Hirofumi Fujita