AnsweredAssumed Answered

DMA configuration for UART Rx

Question asked by hobb.epy on Jun 13, 2016
Latest reply on Jun 14, 2016 by hobb.epy
Hi,
I m using nucleo board STM32F103 and Keil Compiler.
I have configured UART and DMA(for UART Rx) using CubeMX. 


But, While starting DMA using HAL_DMA_Start_IT function i m confused. following is the prototype of the function.


HAL_StatusTypeDef HAL_DMA_Start_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t DataLength)


SrcAddress               : Here i think array where i can store the data
DstAddress               : Which start address i should give? UART RX register or pointer from UART_HandleTypeDef.pRxBuffPtr structure.

Outcomes