cancel
Showing results for 
Search instead for 
Did you mean: 

I2S <>QSPI Flash via DMA

Buelent Cakir
Associate II
Posted on August 29, 2017 at 17:26

Hi Guys,

I'm struggeling with the I2S where the Datasource is an QSPI Flash (2 Datalines) on a STM32F446. How can I set on the right way the pointer to the Flash in the Function HAL_I2S_Transmit_DMA() for the DMA Transfer between Flash and I2S.

my Pointer to the Flash Memory (mappedmemory) is

__IO uint8_t *qspi_addr = (__IO uint16_t *)(0x90000000);

For supporting thanks a lot in advance.

#qspi #dma-transfer #i2s
5 REPLIES 5
Posted on August 29, 2017 at 17:40

Which I2S?

Buelent Cakir
Associate II
Posted on August 29, 2017 at 18:02

It's I2S3

The Size of the Sound is

#define AUDIO_FILE_SIZE      554122

How can I play that with a DMA Transfer in circular mode?

Posted on August 29, 2017 at 18:11

What exactly are the symptoms?

JW

Posted on August 29, 2017 at 18:18

When I'm copying a part in a buffer, then I can play this part. No issues. 

But the direct transfer doesn't work and sounds like that the pointer doesn't increment.  

Posted on August 29, 2017 at 18:22

Can you in debugger stop the program after starting the playback and read out  the given DMA's registers?

JW