omprakash cn

UART receive(Not able to receive more than 17 bytes).MX233

Discussion created by omprakash cn on Feb 21, 2012
Latest reply on Feb 28, 2012 by shailendra Gour

In u-boot uart receive code:FIFO ENABLED,TXE,RXE,UARTEN.Interrupt disabled.
 
I'm trying to receive 100 bytes of data.
I'm facing problem in receiving more than 17 bytes of data.(once 17 bytes are received,STAT_RXFifoEmpty becomes=1.All the remaining bytes will  not be received)
 
 
Approach:
RXIFLSEL = 0x2 by default.  
I have tried with RXIFLSEL= all the values below mentioned(DATASHEET INFO). But still facing above mentioned problem.
In my u-boot "ISR" is disabled.
 
 /* Calculate and set baudrate for mx233*/
    quot = (CONFIG_UARTAPP_CLK * 32)/ 57600; //3415
    REG_SET(uartapp2_base + UARTAPP_LINECTRL, (quot & 0x3f)<< 8);   //frac
    REG_SET(uartapp2_base + UARTAPP_LINECTRL, ((quot>>6) & 0xffff)<< 16);  //div  
 
Please let me know, where I'm missing.

Outcomes