Skip to main content
Visitor II
April 12, 2021
Question

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

  • April 12, 2021
  • 1 reply
  • 905 views

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

    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