Question
DMA configuration for UART Rx
Posted on June 13, 2016 at 18:57
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 dataDstAddress : Which start address i should give? UART RX register or pointer from UART_HandleTypeDef.pRxBuffPtr structure. #dma-uart-usart-hal #nucleo #stm32cubemx