cancel
Showing results for 
Search instead for 
Did you mean: 

Is DMA able to access external FLASH in memory mapped mode?

Javier1
Principal

I am fiddling with a STM32WB5M discovery kit.

This kit includes a QuadSPI external NOR FLASH chip and i need to understand this in order to make early design choices.

0693W00000Y7iRzQAJ.png 

Could the DMA access that external FLASH memory space?

I didnt try it yet, but my limited understanding of how DMA magic works is telling me it wont work because QSPI is in the way... am i wrong?

is there any way to include external FLASH/RAM thats accessible by DMA?

we dont need to firmware by ourselves, lets talk
18 REPLIES 18

Hmm. According to that picture, DMA1 and DMA2 are connected to QSPI, but not clear does it mean access to only the registers or to memory mapped area too. Just try it ?

>>but not clear does it mean access to only the registers or to memory mapped area too

I was wondering the same thing

>>Just try it ?

Thats what im going to do, ill come back with results.

we dont need to firmware by ourselves, lets talk

AN4760

0693W00000Y7t0uQAB.png

we dont need to firmware by ourselves, lets talk

By the way, the STM32WB5MMGH6 is a SoM, not SoC - a system on a module, not a chip.

@Piranha​ got it

we dont need to firmware by ourselves, lets talk

For a DMA access only to registers would be a terribly useless design... ;)

@Piranha​ would you care to elaborate?

The specific application would be DMA reading a huge buffer from the external flash and driving a TIM PWM (WS2812B led arrays)

we dont need to firmware by ourselves, lets talk

My post was a response to a post by Pavel. :)