How to set SPI_TX in DMA settings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-03-11 7:58 AM - last edited on 2025-03-11 8:04 AM by Andrew Neil
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?
- Labels:
-
STM32CubeIDE
-
STM32CubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-03-12 1:49 AM
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 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-03-19 6:44 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-03-20 10:08 AM
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
