STM32F7 UART Communication Using DMA
UART Communication Using DMA Not Working
I have Nucleo-F767ZI Rev B board and using the STM32CubeIDE Version: 1.1.0.
To test and implement UAR-DMA communication as presented in:
STM32CubeMX basics: 10.11 STM32Cube HAL labs UART - UART DMA https://www.youtube.com/watch?v=BxFYmBYBmaU
My code:
/* USER CODE BEGIN 2 */
HAL_UART_Transmit(&huart3, (uint8_t *)"\n\r UART3", 8,100);
//HAL_UART_Transmit(&huart3, (uint8_t *)"\n\rHello", 7, 100);
HAL_UART_Transmit_DMA(&huart3, (uint8_t *) "\n\rHello", 7);
HAL_Delay(300);
HAL_UART_Transmit(&huart3, (uint8_t *)"\n\r UART3 OK", 11, 100);
If the DMA is selected only " UART3 " is printed, the UART3 sop working thereafter.
If the polling version is selected: " UART3 Hello UART3 OK" is printed.
The same will happen if a vector is the source of the for printing.
What I am missing here?
