Skip to main content
Konami
Senior
April 12, 2021
Question

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

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.

This topic has been closed for replies.

1 reply

ST Technical Moderator
April 28, 2021

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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks