2025-09-15 12:10 AM - last edited on 2025-09-15 1:32 AM by mƎALLEm
I want to enable the UART communication in MCSDK software which is very time critical task, i enabled UART with DMA, the problem is it cannot transmit more than 2 bytes even if i give 3 or more for transmission
HAL_UART_Transmit_DMA(&huart3, buffer, 3);
I get the call back
void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart)
{
uartransmissioncomplete = true;
}
after every 2 bytes.
I tested the same program only with UART it works fine transferring more bytes. So, can i just go ahead with transmitting 2 bytes for every call back function, or will i really be able to transfer more bytes in the complete project, since i don't want to disturb the main functionality, i want UART data for data logging.