This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TL16C752D: about LSR and FIFO questions

Part Number: TL16C752D

Hi Dear experts,

My customer has some questions about TL16C752D, please kindly help on it!

1. what is the status of LSR bit 1(RX overrun Error) when FIFO is in writing procedure?

2. Do we support FIFO write and read at the same time?

3. how long time does it take to update LSR bit1?    

Thanks very much!

Joyce

  • Hello Joyce

    1.- If the receiver is not overruning, the status will be 0 even if is writing, else, will be 1.

    2.- This is not possible because when you write/read on the UART, you have to use the parallel port (this port is input/output). Then is necessary do it separetely.

    3.- After receive the data and full the RHR register, when the next data arrives, the time will be 1 BCLK. Then you have to consider your current baud rate.

    Let me know if you have any other questions.

    Regards
    Francisco
  • Hi Francisco,

    Thanks a lot for your prompt reply. My customer found receiver FIFO is full, but there is more data coming in, and at this time LSR bit 1 and bit 0 status is changing between 0 and 1.

    ZTE didn't use flow control function.

    Can you please help identify what is the root cause of LSR strange status?

    thanks very much!

    Joyce

               

  • Hello Joyce

    This device can only receive up to 64 bytes, if you want to receive more data, it is necessary to empty the FIFO (FIFO reading). LSR [0] indicates that it has data in the receiver. It is much better to avoid overrun in the receiver.

    Regards
    Francisco