cancel
Showing results for 
Search instead for 
Did you mean: 

H7x3: SDMMC2 - no DMA?

LCE
Principal II

Heyho,

I just changed a big PCB (1st revision working) with a H733 and added a micro SD cardholder and connected it to the SDMMC2 peripheral.

Only to find out later that this #2 does NOT work with the extra IDMA controller.

SDMMC1 is out of the question because I absolutely need I2SCKIN for the SAIs, and I didn't want to change the complete pin-out and PCB design (Altium says: Components on board: 1015).

I'm pretty sure I've checked the RM, but maybe I oversaw something...
So, is there any way to use another DMA with SDMMC2 ?

Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions

Hello,

I think you are confusing MDMA and IDMA.

The RM / table 472, states the synchronization availability between SDMMCx and MDMA (an external DMA). For SDMMC2, this synchro is not available. While IDMA is an internal DMA of the SDMMC which is available in both instances: SDMMC1 and SDMMC2.

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.

View solution in original post

3 REPLIES 3
LCE
Principal II

This post says SDMMC2 can use IDMA:
STM32H7 SDMMC2 DMA Configuration - STMicroelectronics Community

This table in RM0468 says no (X = supported):

LCE_0-1770101900330.png

 

Hello,

I think you are confusing MDMA and IDMA.

The RM / table 472, states the synchronization availability between SDMMCx and MDMA (an external DMA). For SDMMC2, this synchro is not available. While IDMA is an internal DMA of the SDMMC which is available in both instances: SDMMC1 and SDMMC2.

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.
LCE
Principal II

@mƎALLEm yeah, I read too quickly over that... :D

Thanks for the clarification!

I can definitely work without the MDMA flags, without the IDMA would have been bad.