cancel
Showing results for 
Search instead for 
Did you mean: 

GPIO to DMA when triggered by external clock

con3
Senior
Posted on September 22, 2017 at 10:17

Morning everyone,

I was initially using a DMA via SPI to communicate with an ADC, although my design has shifted slightly and ill be using two fast I/O GPIO pins on the nucleo f446re to read in data coming from two outputs of an adc (parallel). I'd like to know if there is any way for me to configure the DMA to capture data from the GPIO pins. The ADC has its own clock that will be sent to the nucleo to inform it (via interrupt) when a new bit is present on the GPIO pins. So essentially have the nucleo read both pins(the data will be present pretty much simultaneously on both) and use the dma to route it to memory.

If the F446re can't do this, can any other nucleo.?

Also the Stm32f446re has a flexible memory controller, is this usable on the nucleo f446re?Cause I think I might require more storage than the available SRAM and would like to couple more onto the nucleo

Thanks in advance for any help!

#dma-transfer #stm32f4 #double-buffer-dma #dma-adc
1 ACCEPTED SOLUTION

Accepted Solutions
Posted on September 22, 2017 at 10:28

You may want to read the ''Reception'' part of AN4666.

Also the Stm32f446re has a flexible memory controller, is this usable on the nucleo f446re

0690X00000608JzQAI.png

JW

View solution in original post

4 REPLIES 4
Posted on September 22, 2017 at 10:28

You may want to read the ''Reception'' part of AN4666.

Also the Stm32f446re has a flexible memory controller, is this usable on the nucleo f446re

0690X00000608JzQAI.png

JW

Posted on September 22, 2017 at 10:32

Thank you for the quick reply! I missed that.. any chance you could please help me on the DMA section aswell?

Posted on September 22, 2017 at 10:47

First sentence of my above post?

JW

Posted on September 22, 2017 at 11:58

My apologies, I missed that.

Thank you for all the help!