I'm trying to set up UART communication with DMA using the STM32f103C8 controller.
I'm trying to receive data with DMA but I can't able to receive data continuously.
Can anyone correct me if I made a mistake?
I'm using STM32f103C8 registers to code.
communication :USART3
pins PB10-TX, PB11-RX
DMA channels - DMA1_channel1 for TX , DMA1_channel3 for RX
Hello!
You could consider using CubeMX which generates everything you need.
Now a DMA has to be either "armed" manually or re-arm itself automatically,
and you get interrupts everytime you got a full of half buffer. All this is configurable
in CubeMX.
Dora.
Hello!
You could consider using CubeMX which generates everything you need.
Now a DMA has to be either "armed" manually or re-arm itself automatically,
and you get interrupts everytime you got a full of half buffer. All this is configurable
in CubeMX.