Bug in UART code generation in STM32CubeIDE 1.4.2 ?
I upgraded from STM32CubeIDE 1.3.1 to 1.4.2, and got issues with UART speed. To eliminate error sources, I just made a minimum project with UART transmit. At 115200bps, the bit-time should be 8.68us (and it is with IDE1.3.1), but it comes out as 7.82us with IDE 1.4.2, which just gives garble.
The clock config was done with the GUI. This is with HSI clock source. It does not matter if the HSI is used directly or with PLL, still wrong bit-timing. It will give correct timing if the MSI (4MHz) clock is used. I could not see immediately from the code generation what was wrong.
Could you please confirm issue, or is there a work-around, or something I am missing? In the mean-time I need to get back to IDE1.3.
FYI: Chip: STM32L431VC - same issue on both UART1 and UART2.
