Skip to main content
Associate
March 11, 2025
Question

How to set SPI_TX in DMA settings

  • March 11, 2025
  • 2 replies
  • 818 views

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

 

2 replies

KDJEM.1
Technical Moderator
March 12, 2025

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.
KDJEM.1
Technical Moderator
March 19, 2025

Hello @Ruvi2006,

 

Any update about this issue? Is your request answered?

 

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.
Ruvi2006Author
Associate
March 20, 2025

Hi @KDJEM.1 

I don’t know it’s my side issue or something. I tried different SPI pins, but it didn’t work also I tried some examples to check if the board has the issue that not using the SPI it worked perfectly.. Crying Face

 

Thank you