cancel
Showing results for 
Search instead for 
Did you mean: 

How to do SPI + DMA?

SLEE.6
Associate II

Hi:

I know how to use SPI;

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

Is there a sample code?

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions
Giuseppe DI-GIORE
ST Employee

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

View solution in original post

2 REPLIES 2
Bouraoui Chemli
ST Employee

Hi @SLEE.6​ 

There is sample code. Which MCU do you use?

Bouraoui

Giuseppe DI-GIORE
ST Employee

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