Sign in

username:

password:



Not a member?

Search c54x



Search tips

Subscribe to c54x



c54x by Keywords

5409 | 5416 | AD5 | ADC | BIOS | Boot | Booting | Bootloader | C540 | C5402 | C5409 | C5416 | CCS | Codec | DMA | Dmad | DSK | DSKPlus | Dsplib | EVM | FFT | FIR | Flash | GPIO | HPI | Initialization | Interrupt | JTAG | LOG_printf | MCBSP | RFFT | RTDX | Sampling | STLM | UART | VC540


Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | TMS320C54x | 5402, problems using timer 1

Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).

  

Post a new Thread

5402, problems using timer 1 - Author Unknown - Nov 10 17:41:00 1999

I have made a delay function where I use Timer 1. It seems to work fine
until the first timer underflow.
I can see that the Timer1 flag is set in the interrupt flag register,
but the flag is not reset when the interrupt
is taken. The other interrupts I use in my program resets their
interrupt flags when the interrupts are
executed.
I have also tried to reset the TINT1 flag in the IFR register by
writing a "1" to the TINIT1 bit, but the flag is not
reset.
This flag can also be set by DMA channel 1. I have disabled the DMA
channel and also set the INTOSEL value
in the DMPREC register to 0 ( bit 7 and 6 ). Thus, the interrupt flag
is set by the Timer 1 interrupt and not the
DMA channel 1.
I have also tried to use Timer 0 instead of Timer 1 in my delay
function, and this works fine.

Have anyone used the Timer 1 register in the 5402 ? There has to be a
difference between Timer 0 and
Timer 1 since my delay function works fine with Timer 0 and not with
Timer 1 !

Best regards
Torgeir Jakobsen
e-mail:


______________________________
Start your Android Ice Cream Sandwich development on TI's AM35x Sitara ARM Cortex-A8 processor today.



(You need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )