cancel
Showing results for 
Search instead for 
Did you mean: 

How to transmit SPI data with DMA and low level (LL) functions?

Konami
Senior II

Are there any instructions/app notes discussing the steps required for a SPI transfer using DMA and the LL libraries? I found some samples online for UART and tried adapting them for SPI but am so far unsuccessful. I'm still debugging but in the meantime, I thought I'd ask the question.

1 REPLY 1
Imen.D
ST Employee

Hello @DB.7ujak​ ,

You'll probably want use STM32CubeMX tool to create your project and configure the SPI with DMA using LL APIs.

You can also check and use the working SPI example in the STM32CubeXX firmware package relevant to the STM32 device you are using.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen