Skip to main content
mandrake
Associate III
December 17, 2011
Question

What is the SPI1 address for the DMA controller?

  • December 17, 2011
  • 2 replies
  • 532 views
Posted on December 17, 2011 at 04:36

I am attempting to transmit SPI1 data using DMA2. What is the SPI1 PeripheralBaseAddr to be used in the following statement?

DMA_InitStructure.DMA_PeripheralBaseAddr = (uint32_t)SPI1_DR_ADDRESS;
    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    December 17, 2011
    Posted on December 17, 2011 at 06:13

    &SPI1->DR

    0x4001300C
    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    mandrake
    mandrakeAuthor
    Associate III
    December 17, 2011
    Posted on December 17, 2011 at 21:23

    Thanks once again, Clive. SPI and DMA now working fine. You guys are so prompt with the answers.