Skip to main content
July 27, 2020
Question

STM32F7 usart DMA tx

  • July 27, 2020
  • 1 reply
  • 1208 views

Hello ;

I am trying to test usart DMA on F7 . I only can transmite one time ; when i call usart init again its ok . but i still could not understand why .

Could you help please

 while (1)
 {
 /* USER CODE END WHILE */
 
 /* USER CODE BEGIN 3 */
		
		
 
		
		HAL_Delay(500);
		/* Get the CR register value */
 
HAL_UART_Transmit_DMA(&huart6, text, 21);
 
 
 /* USART6 DMA Init */
 /* USART6_TX Init */
 
		 
		//HAL_UART_Transmit_DMA(&huart6, text, 21);
 }
 /* USER CODE END 3 */
}

Thank you

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
July 27, 2020

Check for completion, check for error/status returned by function.

If processor stuck, break in with debugger and determine where. Is it expecting interrupt and callback functions to be implemented?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..