Skip to main content
Associate
July 1, 2026
Question

A problem occurred where the LCD screen could not be displayed, after configuring SDMMC2 and FileX with CubeMX. STM32N6570-DK.

  • July 1, 2026
  • 1 reply
  • 12 views

I’m a beginner with the STM32 series and STM32N6570-DK.

I’m using ‘TouchGFX 4.26.1 Designer’ and ‘STM32CubeIDE 2.1.1’ and ‘STM32CubeMX’.

First, I created a simple project for my STM32N6570-DK using TouchGFX. And, it displayed an image on the LCD normally.

Next, to use the SD card, I configured the fileX and SDMMC2 settings using CubeMX.

After that, when I regenerated the code using CubeMX, the LCD screen is not displaying properly.

 

Is there a guide on how to use an SD card in a project created with TouchGFX?

 

 

 

1 reply

Associate
July 3, 2026

I found what’s wrong.

SDMMC2_CK pin was assigned as PD2, so I changed that as PC2 then it can dispaly background image in LCD.

But, I met the other issue in _fx_media_open function in fx_media_open function. Returned value is ‘FX_BOOT_ERROR’.

_fx_partition_offset_calculate function returned 4.

 

Has anyone else seen a similar problem?