cancel
Showing results for 
Search instead for 
Did you mean: 

How to set SPI_TX in DMA settings

Ruvi2006
Associate

Hi, I’m new to STM32. I wanted to set SPI_TX in DMA settings, but I think it has to be configured before using it, as you can see in the picture. I want to give an output for display... can anyone help to solve the problem?

 

AndrewNeil_0-1741705395983.png

 

1 REPLY 1
KDJEM.1
ST Employee

Hello @Ruvi2006 and welcome to the community;

 

You can configure GPDMA with 2 possible selections in STM32CubeMx: the Standard Request Mode and the Linked List Mode.

I recommend you to look at these FAQs and get inspired to configure SPI in GPDMA:

-  How to configure the GPDMA 

How to configure the linked list mode in STM32CubeMX

Also, I think the SPI_FullDuplex_ComDMA_Master.ioc file in SPI_FullDuplex_ComDMA_Master example can 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.