This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Uart Overrun error if S0IN > 0x7f

I am using an LPC213x with Keil UV3 (just installed mkd3.04 update).

If I try to receive any data greater than 0x7f, I immediately get an overrun error. This question was asked back in June but was never answered. The update did nothing to fix this.

You can duplicate this by running any Keil example project (like DHRY) and type "S1IN = 0x80". You will immediately get an overrun error.

To get around this, I must disable the RxLineStatus interrupt, else I will always get the interrupt.

Thanks,
Brian

Parents
  • I am using 9600 Baud, 1 Stop bit, No Parity.

    I have tried 2 stop bits and various slower baud rates, but nothing helps.

    We have a previous project in the field which uses the same LPC213x and uses the Uart for communications (and it receives values greater than 0x7f) and it doesn't create problems on real hardware, but still generates this error in simulator mode.

Reply
  • I am using 9600 Baud, 1 Stop bit, No Parity.

    I have tried 2 stop bits and various slower baud rates, but nothing helps.

    We have a previous project in the field which uses the same LPC213x and uses the Uart for communications (and it receives values greater than 0x7f) and it doesn't create problems on real hardware, but still generates this error in simulator mode.

Children