Skip to main content
armindavatgaran
Associate III
May 1, 2015
Question

GPIO to memory transfers through DMA

  • May 1, 2015
  • 2 replies
  • 724 views
Posted on May 01, 2015 at 15:43

Hello

Which DMA(1,2), stream and channels can be used for GPIO to memory transfers?

Thanks.

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    May 1, 2015
    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    stcom9174
    Associate III
    October 27, 2017
    Posted on October 27, 2017 at 09:25

    Hello Clive One,

    Your link doesn't work for me - do you have an updated link or maybe it is posted somewhere else?

    The particular part I have does have an internal USB peripheral; but the design I am using has external USB attached to GPIO (FIFO); would like to be able to DMA that as an 8-bit register to/from internal SRAM.

    In this case would have to be async unless I can use one of the control signals as a sync pulse; which may be possible.

    Thanks In Advance,

    John W.

    waclawek.jan
    Super User
    October 27, 2017
    Posted on October 27, 2017 at 10:21

    Clive's link is

    https://community.st.com/0D50X00009XkiEgSAJ

     

    Note, that there is a significant difference between DMAs in F2/F4/F7 and F1/F0/L0/L1/L4; and also there's a difference in placing the GPIOs in the buses system, the significantly differing being F1 and L0 (and, of course, H7, which is another world on its own). As Clive said, the RM and the DMA ANs (AN4101/AN4031 and AN4666 which deals specifically with your question) are your friends.

    JW

    stcom9174
    Associate III
    October 27, 2017
    Posted on October 27, 2017 at 11:04

    Thanks for the quick help Jan, yes, on this particular processor; since they did an async I/F - will be difficult - still; nice to see how you guys have been dealing with it.

    Thanks Again; and Have A Great Weekend!

    John W.