Skip to main content
MNapi
Senior II
April 10, 2024
Question

what are the MDMA setting for OCTOSPI

  • April 10, 2024
  • 3 replies
  • 2568 views

Those are the setting for STM32H7A3IIT6Q ?  (there is AN5050 where they show but DMA setting only)

I am trying to use

HAL_OSPI_Transmit_DMA(&hospi2, aTxBuffer)

(I have this chip working in interrupt mode fine , HAL_OSPI_Transmit_IT(&hospi2, aTxBuffer) but not MDMA)

1.png

I have this working for STM32L4P5G with following settings

2.png

 

This topic has been closed for replies.

3 replies

KDJEM.1
ST Technical Moderator
April 17, 2024

Hello @MNapi ,

Could you please give more details about the issue? 

Please try to increase the "Priority" of the "OCTOSPI1 FIFO threshold" and disable interrupts before calling HAL_OSPI_Transmit_DMA.

Please check those links to understand more about the MDMA and its channels : LINK1  , LINK2 and STM32Cube Expansion Package for STM32H7 Series MDMA.

May this discussion can help you.

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.
MNapi
MNapiAuthor
Senior II
April 17, 2024

The settings for MDMA in this chip are a little different. This is what I am trying to find out, how do I setup the MDMA.

I do have the OCTO SPI working STM32H7A3IIT6Q.

There a lot of examples for DMA and QSPI.

There is example for DMA and OSPI

 

But I cannot find how to setup for MDMA and STM32H7A3IIT6Q.

Tesla DeLorean
Guru
April 17, 2024