Skip to main content
michael239955_st
Associate II
January 12, 2014
Question

external DMA triggering using a GPIO pin

  • January 12, 2014
  • 5 replies
  • 1367 views
Posted on January 13, 2014 at 00:40

Hi,

is it possible to trigger a DMA transfer (8 bit data from gpios) on a falling edge on a gpio pin? (without using interrupts!!!).

I think it is standard on all other mcu's with dma support (like kinetis mcus or nxp/ti devices) but i can't find any solution on ST cortex M3/M4 devices...:(.

Greetz
    This topic has been closed for replies.

    5 replies

    Tesla DeLorean
    Guru
    January 13, 2014
    Posted on January 13, 2014 at 01:40

    The STM32 is pretty lame it that regard, you can perhaps play games with a timer input and DMA triggering.

    For clocked input, look at the camera interface (DCMI)
    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    michael239955_st
    Associate II
    January 13, 2014
    michael239955_st
    Associate II
    January 13, 2014
    Posted on January 13, 2014 at 17:07

    ok that works.

    But it is limited to 6 MHz on the input channel of the timer???

    (on a stm32f103 @ 72 MHz(

    Tesla DeLorean
    Guru
    January 13, 2014
    Posted on January 13, 2014 at 17:25

    Your idea of very expensive, and

    http://www.mouser.com/ProductDetail/Altera-Corporation/5CSEBA6U23C6N/?qs=sGAEpiMZZMtOXy69nW9rM/O7BajVnW5VytLYGIaRZOc%3d

    appear to be different.

    I haven't evaluated the maximum frequency for an F1 design.
    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    waclawek.jan
    Super User
    January 13, 2014
    Posted on January 13, 2014 at 18:19

    I wonder whether DMA from FSMC to SRAM (memory-to-memory) could be used for this purpose, employing NWAIT as the handshake signal.

    I know that FSMC is available on the 100+ pin devices only, too; it's just an academic question :)

    JW