cancel
Showing results for 
Search instead for 
Did you mean: 

What is the SPI1 address for the DMA controller?

mandrake
Senior
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;
2 REPLIES 2
Posted on December 17, 2011 at 06:13

&SPI1->DR

0x4001300C
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
mandrake
Senior
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.