Using LPUART to transmit byte wise: Space between Bytes
Hello,
I have a STM32 L081KZT and want to use the LPUART to send an Array of bytes, byte wise. For that, I use HAL_UART_Transmit_IT to send the first Byte of the Array and HAL_UART_TxCpltCallback to recursively write the rest of the Array with HAL_UART_Transmit_IT byte by byte. When I look at the Transmission with my Oscilloscope I see the above image. There are spaces between the bytes, which make my Transmission much longer than needed. When I send the same Array with HAL_UART_Transmit, I have no spaces in between the bytes and the Transmission is much shorter.
I am doing this for current consumption optimization and I have to do it byte by byte, because I must be able to send a special Byte in between a transmission.
Is there a way to cut these spaces? Or is there a better approach to this?
Thanks in advance
