Skip to main content
con3
Senior
September 22, 2017
Solved

GPIO to DMA when triggered by external clock

  • September 22, 2017
  • 4 replies
  • 1094 views
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
This topic has been closed for replies.
Best answer by waclawek.jan
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

4 replies

waclawek.jan
waclawek.janBest answer
Super User
September 22, 2017
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

con3
con3Author
Senior
September 22, 2017
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?

waclawek.jan
Super User
September 22, 2017
Posted on September 22, 2017 at 10:47

First sentence of my above post?

JW