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.
10 years, 9 months ago. This question has been closed. Reason: https://mbed.org/forum/bugs-suggestions/topic/4473/
Bug in UART library (NXP 16550 compatible UART)
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().
Posted to Bug&Suggestions forum https://mbed.org/forum/bugs-suggestions/topic/4473/
posted by Toyomasa Watarai 18 Jul 2013