AnsweredAssumed Answered

DMA Peripheral Base Address

Question asked by asl.sean on Dec 5, 2013
Latest reply on Dec 5, 2013 by Clive One
Hi , 

I am new to Stm32 . While browsing through the examples i noticed something that i dont understand for DMA .

In the DMA-UART example,

// In the initialzation code
DMA_InitStructure.DMA_PeripheralBaseAddr = USARTy_DR_Base;
// In the header file
#define USARTy_DR_Base           0x40004404

From the datasheet , UART2 is at 0x4000 4400 - 0x4000 47FF.

Why does the header file defines it at 0x 4000 4404 ?