Associate
November 12, 2021
Question
__HAL_LINKDMA(__HANDLE__, __PPP_DMA_FIELD__, __DMA_HANDLE__)
- November 12, 2021
- 3 replies
- 3830 views
I am using STM32F427ZIT6 with both USART1 and USART3. Both USART ports are DMA enable. I use STM32CubeMX version 6.2.1 to generate the code.
My problem is when USART3 is not transmitted, USART1 communication works as expected.
When USART3 is transmitted, USART1 data is corrupted. My question is
__HAL_LINKDMA(uartHandle,hdmatx,hdma_usart1_tx);
__HAL_LINKDMA(uartHandle,hdmatx,hdma_usart3_tx);
Would the same hdmatx cause my problems?