STM32F413 - Delay at the end of UART transmit
Hello,
I am encountering an issue with the STM32F413 MCU: when transmitting data over UART, there is a short delay between the stop bit of one byte and the start bit of the next byte when transmitting data one byte at a time.
I compared the behavior of this chip with that of the STM32H743, which does not produce the extra bit.
The first image shows the timing when repeatedly transmitting the byte 0x0F at 9600 baud with 1 stop bit and no parity on the STM32H743 Nucleo board. Each byte is the expected size of ~1ms

The image below is the same code running on the STMF413 Nucleo board with the same settings. The extra time can be seen at the end of each stop bit.

For both boards I generated code using STM32CubeMX with UART 2 enabled and added the following code in the main function:
uint8_t data = 0x0F;
while(true)
{
HAL_UART_Transmit(&huart2, &data, 1, HAL_MAX_DELAY);
}Any insight on why this behaviour is occurring? And are there any MCUs similar to the F413 that are known to not have this problem?