UART DMA receive or transmit only
Posted: Mon May 04, 2015 9:08 am
Hi,
My name is Arif,
I build a project and design PCB with STM32F407 using 4 Serial and 2 SPI. I forgot to open datasheet about DMA mapping,
I confusing about using SPI2 that DMA stream same location with UART3 and UART4. UART3 i used serial driver and not using DMA.
But, for UART4 i used uart driver for receive only, then i want to use STM32_DMA_STREAM_ID(1, 4) to SPI2_TX,
Any suggestions?
Thx, Arif
My name is Arif,
I build a project and design PCB with STM32F407 using 4 Serial and 2 SPI. I forgot to open datasheet about DMA mapping,
I confusing about using SPI2 that DMA stream same location with UART3 and UART4. UART3 i used serial driver and not using DMA.
But, for UART4 i used uart driver for receive only, then i want to use STM32_DMA_STREAM_ID(1, 4) to SPI2_TX,
Any suggestions?
Thx, Arif