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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

762 Views
omprak
Contributor I

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.

Tags (1)
0 Kudos
Reply
1 Reply

695 Views
shailendraGour
Contributor I

Hi omprakash ,

      This is shailendra Can you help me to how to communicate through serial Port (UART) ARM i.mx53 QSB.

plz little help i am new to ARM Cortex A-8 board.

                                                Thanks 

0 Kudos
Reply