Hi,
I'm trying to use the 3:4-half of Timer1 in an OMAPL137 in continous reload mode (ENAMODE34 = 3), but I am not able to make the timer start counting. Setting the timer in ENAMODE34 = 1 or 2 works as intended, but using mode 3 results in a static counter value of 0. This is my timer setup:
t1->tcr = (t1->tcr & 0xffff);
t1->tim[1] = 0;
t1->tgcr |= (1<<1);
t1->prd[1] = CLOCK_PERIOD;
t1->rel[1] = CLOCK_PERIOD;
t1->tgcr = (0<<8) | (t1->tgcr & 0x1f);
t1->tcr = (0x00d0<<16) | (t1->tcr & 0xffff);
If i change the last line from 0x00d0 to 0x0090 or 0x0050, everything works. Have I missed some step to get mode 3 working?