Skip to main content
SLEE.6
Associate II
Dec 15, 2020 7:20 AM UTC
Solved

How to do SPI + DMA?

Hi:

I know how to use SPI;

but, i want SPI+DMA, How to configure?

Is there a sample code?

This topic has been closed for replies.
Giuseppe DI-GIORE
ST Employee
Jan 11, 2021 2:58 PM UTC

Hello,

actually there is SPC5Studio tool which includes a lot of applications configuring SPI + DMA.

SPC5Studio is available here.

Also: this application note [link] describes how to emulate I2S on top of SPI using DMA.

It could help.

Regards,

Giuseppe

2 replies

Bowman32
ST Employee
Dec 15, 2020 4:50 PM UTC

Hi @SLEE.6​ 

There is sample code. Which MCU do you use?

Bouraoui

Giuseppe DI-GIORE
ST Employee
Jan 11, 2021 2:58 PM UTC

Hello,

actually there is SPC5Studio tool which includes a lot of applications configuring SPI + DMA.

SPC5Studio is available here.

Also: this application note [link] describes how to emulate I2S on top of SPI using DMA.

It could help.

Regards,

Giuseppe