cancel
Showing results for 
Search instead for 
Did you mean: 

what are the MDMA setting for OCTOSPI

MNapi
Senior II

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

 

3 REPLIES 3
KDJEM.1
ST Employee

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 Accept as Solution on the reply which solved your issue or answered your question.

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.