Description
Description of defect
As #15285 we've got some issues with USART2 at 2400bps. We use classic BufferedSerial
We have different brand of connected devices working at 2400 bps and when using USART2 some have issues and are not responding
All devices work with USART1, LPUART1 at 2400 bps without any issue.
Issue is just on USART2 and at 2400 bps we tried 1200 bps on USART2 with great success (we can't go above 2400 on the devices we have)
We measured baud rate and looks like some shifting (more like 2450 than 2400) and may be some client devices are less or more strict than others on rate.
Target(s) affected by this defect ?
STM32WL
Toolchain(s) (name and version) displaying this defect ?
What version of Mbed-os are you using (tag or sha) ?
mbed-os-99.99.99
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
MBED Studio V1.4.5
How is this defect reproduced ?
Connect different devices on USART pins, send frame and wait answer, then do the same changing USART baud rate.
At 2400 bps on USART2 some devices are not responding (always the same)
I tried to use different clock source LSE (recommended for low baud rate) but not sure it's applied on USART2
"target.lpuart_clock_source": "USE_LPUART_CLK_LSE",
"target.lpuart_clock_source": "USE_LPUART_CLK_HSI",
I also changed prescaler value (1 2 4 8 16) nothing changed that's very strange.
@jeromecoutant any hints on configuration we could try (even calling HAL API) would be greatly appreciated, in the meanway we continue investigation.
Metadata
Metadata
Assignees
Type
Projects
Status
Status