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

DMA and cpu simultaneous access to SRAM in stm32f407

  • May 27, 2015
  • 3 replies
  • 708 views
Posted on May 27, 2015 at 20:24

Hello

Can DMA access SRAM at the same time the CPU is accessing it or vice versa?

Thanks.

    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    May 27, 2015
    Posted on May 27, 2015 at 20:35

    Not exactly, access is arbitrated through the bus matrix.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    armindavatgaran
    Associate III
    May 27, 2015
    Posted on May 27, 2015 at 20:52

    So parallel access isn't possible?

    Is it hardware related(SRAM access implementation limit)?

    Tesla DeLorean
    Guru
    May 27, 2015
    Posted on May 27, 2015 at 20:55

    It's not a dual ported design, because that's significantly more complicated, and most of the time you aren't accessing at the ''same'' time. Access is serialized, so accesses occur one after another, depending on who came first, while not precluding either from timely access.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..