Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Bug in UART library (NXP 16550 compatible UART)
This forum topic has been closed.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
This forum topic has been closed.
Hi,
A bug report has been posted to Japanese forum:
https://mbed.org/forum/ja/topic/4471/
It seems to be a problem in UART library (only for NXP 16550 compatible UART).
When sending operation is happened during receiving operation, receiving operation seems to be broken by serial_putc() function.
It appeared only in full-duplex communication, not in half-duplex communication.
<http://mbed.org/users/mbed_official/code/mbed-src/file/f9e72c209510/vendor/NXP/LPC1768/hal/serial_api.c>
Because THR and RBR register shared same address, receiving data has been wrongly read in serial_putc().