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

Ads

Discussion Groups

Discussion Groups | TMS320C54x | uart interrupt trouble in C5407

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

uart interrupt trouble in C5407 - endy_dsp - Feb 20 10:38:00 2005





Hello,
In polling mode uart works fine but when I try to use Uart interrupts
in C5407 theres something wrong while reading data.
I do this way:

1) I set up the register IER (interrupt enable register) and enable
receive interrupt (IER=1)
2) I don't use FIFO.
3) In function uart_isr() I read RBR (receive buffer reg.) in such way:
// USAR = RBR_SUBADDR;
// rword = (USDR & 0x00FF);
4) I don't use CSL.

I receive interrupt only ones, but the buffer is not being read, and
data is still in RBR. Next time uart doesn't interrupt. What should I
do? I tried to insert a small delay before reading RBR in uart_isr()
but still the same.
Does anyone know what is going on?
Thanks for any help.
Maciek





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