Open huarunlin opened 2 years ago
@huarunlin thank you for raising this issue.Please take a look at the following comments:
Could you add some more detail to the description? A good description should be at least 25 words. What target(s) are you using? What toolchain(s) are you using? What Mbed OS version are you using? It would help if you could also specify the versions of any tools you are using? How can we reproduce your issue?
NOTE: If there are fields which are not applicable then please just add 'n/a' or 'None'. This indicates to us that at least all the fields have been considered. Please update the issue header with the missing information.
Hi For history, code seems quite old since #5962
@huarunlin do you find a correction ?
Myabe you can check #14925 discussion ?
When I debugged the STM32L496vg, I found that the serial overrun error interrupt flag clearing process is inconsistent with the st reference manual
https://github.com/ARMmbed/mbed-os/blob/91b793c4fd1ad7f02b8db5a2e0d77daf63e5c836/targets/TARGET_STM/TARGET_STM32L4/serial_device.c#L60-L64
ST RM0351 Reference manual: