Question
Xbee STM32F4/7 USRT DMA
Posted on August 30, 2017 at 20:32
Hi,
When using normal transmit on UART i can send a message from a router to a coordinator without no issue
HAL_UART_Transmit(&huart2, (uint8_t*)xFrame, sLen,100);
, but when i try to send it using
HAL_UART_Transmit_DMA(&huart2, (uint8_t*)xFrame, sLen);
{ _Error_Handler(__FILE__, __LINE__); } while (xUartReady != SET) { } xUartReady = RESET;The
xUartReady is handled in the callback function.
Did any of you had this issue? How it was solved?
#stm32f4 #uart-dma #xbee #stm32f7