Hi all,
I'm currently working on 6670 uart driver. PC send data to DSP via uart. After I've initialized uart, the rx pin of DSP still in low state, the value of LSR was 0xf9, while PC was in
sending state. After the receive buffer has benn read once, the value of LCR is 0x60. I knew that the value of 0xf9 indicated that there have been a framing error and a overrun
error. Why? Is there something wrong with the configuration of uart?
The uart is configured in non FIFO mode, one bit stop, 8 bits data, no patity bit, the frequency of BCLK is sixteen times (16×) the baud rate, and transmit and receive interrupt is
disabled. I intend to use polling mode to check if there is more data to receive or send. Could you tell me where the problem was?
Thank you
Best regards
Nick