AnsweredAssumed Answered

Same Memory base address In DMA

Question asked by mahmoud boroumand on Aug 9, 2017
Latest reply on Aug 10, 2017 by mahmoud boroumand

Hello 

 

Can i use same memory base address in two dma (dma1 ,dma 2) for transfer date to Peripheral?

DMA_DeInit(DMA1_Channel7);
DMA_InitStructure.DMA_PeripheralBaseAddr = (uint32_t) & GPIOA->ODR;
DMA_InitStructure.DMA_MemoryBaseAddr = (uint32_t)BUFFER;

 

 

DMA_DeInit(DMA2_Channel7);
DMA_InitStructure.DMA_PeripheralBaseAddr = (uint32_t) & GPIOB->ODR;
DMA_InitStructure.DMA_MemoryBaseAddr = (uint32_t)BUFFER;

 

Is it have any problem?

Outcomes