AnsweredAssumed Answered

Xbee STM32F4/7 USRT DMA

Question asked by grozea.ion on Aug 30, 2017
Latest reply on Feb 7, 2018 by grozea.ion

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?

 

Outcomes