Skip to main content
Associate
January 31, 2024
Solved

Develop custom board with STM32H747BIT6

  • January 31, 2024
  • 2 replies
  • 3289 views

Good afternoon,

I am developing an hardware with microcontroller in Object.

I'm using the LQFP208 package because in my opinion it's easier to solder/remove in my lab.

For my application I need the support for:

  • ETHERNET
  • FMC for SDRAM
  • QUADSPI
  • SDMMC1
  • USB OTG FS
  • LTDC
  • UART, I2C and SPI

when I try to create the IOC file I have some problems with the FMC setting for the SDRAM.

All the peripherals end with the green check instead I have a warning on the FMC and so I don't understand whether or not I can use this processor with these requirements.

Anyone could help me?

Thanks in advance

Alfredo

 

Best answer by mƎALLEm

No, The warning is not the same.

In the first warning: it points out a conflict between ETH and SDRAM but in the second one it's showing a conflict between two SDRAM banks which is from point of view not correct. Moreover the second SDRAM is not enabled so no reason to show a warning on something that was disabled.

So you can use Bank2 for SDRAM in your case.

I've already raised the behavior of CubeMx on ticket number 172341.

 

2 replies

mƎALLEm
Technical Moderator
January 31, 2024

Hello,

Normally you can use this device for this list of peripherals. What is the warning showing on the FMC? is it something related to shared GPIOs between the peripherals you're using (conflicting IOs)? If it's the case you need to juggle with the IOs selection to fit your application requirements.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Tesla DeLorean
Guru
January 31, 2024

There's also Data Sheets and Pencils,

SDRAM with large bus widths will eat pins

RGB via LTDC can eat upward of 16 or 24 pins, plus a couple of control pins.

 

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Associate
February 1, 2024

Good morning,

thanks for your soon reply! 

I recently started working with the STM32 and I'm reading a lot of datasheets. Many times it's not exactly easy to change microcontroller.

It is the first time I develop a board with STM32 microcontroller.

My design it is based on MB1381 Board.

I try to explain better what I see.

At the moment these are the peripherals I try to enable. Beside this LTDC controller too.

AlfredoFiori_0-1706773147822.png

 

I click each one peripherals and enable with following parameter:

  • MII: Full Duplex Only
  • QUADSPI: Bank1 with single/dual Lines
  • SDMMC1: SD 1 Bit
  • USB_OTG_FS: 

Then I see the pins correctly mapped on Microcontroller.

Subsequently I try to enable:

  • LTDC: RGB888 24Bit - DSI Mode

The peripherals is checked green but the pins are not automatically configurated.

Why the application does not default pins mapping?

AlfredoFiori_1-1706776110153.png

I have to load each pin one by one?

For now I left without LTDC pins not configurated.

Then I try to configurate the FMC.

I enable the SDRAM1 with the parameters in picture.

AlfredoFiori_2-1706776513192.png

Instantly some peripherals report a warning.

The default pins for FMC are mapped.

Following the warning I read

AlfredoFiori_3-1706776711038.png

At this point I change Ethernet to RMII

The warning disappared but in FMC remain.

AlfredoFiori_4-1706776872664.png

Partly disabled conflict with:

what exactly does it mean?

Thanks in advance 

Alfredo

 

 

 

 

 

 

 

 

mƎALLEm
Technical Moderator
February 1, 2024

Hello,

Thank your for the sharing.

Is that possible to share your ioc file?

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.