2025-05-18 12:00 PM
Hi
I am new to STM32. I am porting a design from NXP's Crossover Processor RT to STM32H7xx. I have a Nucleo H743 eval board that i started using and testing.
I have created a new project in Cube IDE V1.18.1, selected H743, and selected various modules and configured IOs for those. I intend to use ethernet in RMII mode, QSPI Bank1, SDMMC1, 2xI2C, 4xSPI, 4xUART/USART, USB FS.
I get conflicts other than the pinouts. I guess that it is because of Clock/DMA or some internal resource. I read the reference manual (RM033) and data sheet of H7, also pdfs of QSPI, SDMMC, I2C etc. But could not find out what to check and correct.
In parallel I am doing the hardware schematics too. Need help/pointer so that I can address the limitations and create a correct hardware design.
Thanks.
2025-05-18 12:23 PM
Hello @jawwadh and welcome to the ST Community.
Could you please give more details about the issue on your SW configuration throw the STM32CubeMX (integrated on the STM32CubeIDE). Maybe some screenshots may help too. For the HW design, you can refer to the AN4839 and the AN5419 depending on the STM32H7 you want to use.
Best Regards.
STTwo-32
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.
2025-05-18 1:58 PM
Thank you so much for quick response. I have skimmed both the ANs and they are very useful and cleared most questions.
Here are a few of my questions. I really appreciate your and STs help.
1 - I have attached the report generated by IDE, The ether in RMII mode has ** that is "The pin is affected with a peripheral function but no peripheral mode is activated". This means that whatever the conflicting function with Eth is, is not being used. So eth is ok, am I correct.
2- Apart from report, there are other warnings as seen in the IDE GUI.
SDMMC1 has yellow warning that is:
QSPI has warning too:
What does these hints mean, how to find out what resource is in conflict, e.g. how could UART7 Mode Async and effect QUADSPI, is it some clock related thing? or DMA?. How to resolve
3 - I want to use WiFi Module with SDIO Interface and uSD on SDMMC bus. The documentation says that SDMMC is SDIO compatible. Specifically it says "The SD/SDIO MMC card host interface (SDMMC) provides an interface between the AHB..."
That means I can use both. Is that correct
4 - I want to use QSPI Flash and QSPI Memory. I have ..BK1_NCS and ..BK2_NCS. Can i use both, I believe I have to enable both banks and I see there is a conflict. What other options do i have to put ram with out using parallel memory. If I have to chose 1 thing on QSPI, can i chose QSPI SDRAM ?.
Thanks for your time and support. Appreciate.
2025-05-18 4:48 PM
Yellow exclamation points do not indicate errors or things that need fixed. They indicate that some or additional features cannot be enabled due to pins in use.
As for how much you can have in use at the same time, it depends on what exactly you want and how many pins you have available. Peripherals are only available on a few different pins at most.
For example, in your screenshot, I2C3 cannot be enabled in any mode because its pins are tied up with other functions, so it is displayed in red.
There are two SDMMC peripherals. You can use both provided the package has enough pins.
QSPI can only support one thing at a time, generally, unless they have the same interface.
2025-05-19 12:19 AM
Thanks again.
My Question regards SDMMC is that, I can only use one SDMMC peripheral because I need pins to be used in other places. So using one SDMMC peripheral on STM32, can i put two devices e.g. a uSD card and WiFi module that has SDIO.
I read a discussion somewhere on STM32 whereby someone replied that SDMMC interface on STM only supports one device. The selection of device is in the CMD field of SDMMC frame, but the bus does not support multiple devices so the recommended solution was to put intermediatory chip for arbitration.
What is your advice.