Associate III
August 10, 2021
Solved
[SOLVED] STM32L0 possible bug with DMA
- August 10, 2021
- 2 replies
- 1653 views
Hey!
I'm trying sending message over UART with DMA with following code and CubeMX configuration (attached pictures)
char welcome[] = "hi!\r\n";
HAL_UART_Transmit_DMA(&huart2, (uint8_t*) welcome, strlen(welcome));Nothing else is changed.
MCU doesn't send anything. The "HAL_UART_Transmit_IT" & "HAL_UART_Transmit" functions work.
I'm using NUCLEO-L010, tried exact same configuration with another NUCLEO-F303 board and "HAL_UART_Transmit_DMA" works as expected.
Code doesn't stuck or give any error messages during debug.
What did I miss?
