cancel
Showing results for 
Search instead for 
Did you mean: 

SPI DMA on STM32L562

NithinD
Visitor

Hi everyone,

I'm working with the STM32L562 microcontroller and need to set up communication with the ADS8684 using SPI DMA. I am using SPI2, with the following pin configuration:

  • PC1 for MOSI
  • PC2 for MISO
  • PA9 for SCLK
  • PB12 for NSS

Could anyone guide me on how to implement SPI DMA to communicate with the ADS8684 efficiently? Any example code or advice would be greatly appreciated!

Thanks in advance!

1 REPLY 1
KDJEM.1
ST Employee

Hello @NithinD and welcome to the community;

 

To start with SPI, I recommend you to look to some SPI_DMA examples may help you:

SPI_FullDuplex_ComDMA_Master

SPI_FullDuplex_ComDMA_Slave

Getting started with SPI

 

I hope these resources help you.

Thank you.

Kaouthar

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.