cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, I'm using a FTM32767ZI and trying to receive data from host using HAL_UART_Receive_DMA(). I enabled DMA settings for RX and generated code using STM32CubeIDE. However I can't receive any data by calling HAL_UART_Receive_DMA.

3to4
Associate

I already confirmed HAL_UART_Receive() can receive expected data. However I can't using HAL_UART_Receive_DMA.

When I looked into RDR register (huart.Instance->RDR), I can see the first 1 byte of data sent from target is received. But the data isn't copied to data buffer specified to the 2nd argument of HAL_UART_Receive_DMA().

What do I miss something I need to be add in order to make DMA transfer work ?

I think that generated code fulfills to work DMA well..

0 REPLIES 0