Skip to main content
Buelent Cakir
Associate II
August 29, 2017
Question

I2S <>QSPI Flash via DMA

  • August 29, 2017
  • 2 replies
  • 1105 views
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
This topic has been closed for replies.

2 replies

waclawek.jan
Super User
August 29, 2017
Posted on August 29, 2017 at 17:40

Which I2S?

Buelent Cakir
Associate II
August 29, 2017
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?

waclawek.jan
Super User
August 29, 2017
Posted on August 29, 2017 at 18:11

What exactly are the symptoms?

JW

Buelent Cakir
Associate II
August 29, 2017
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.