cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F750Z8T6, SDRAM and QSPI and TouchGFX : hardfault occurs randomly

MPast.1
Senior II

Hi everyone,

I'm trying to make a simple project consisting of STM32F750Z8T6 (taking instructions from QSPI), a 480x272 display (using LTDC), and a W9812G6KH-6I SDRAM (using FMC).

The project consists of a single screen representing an analog and a digital clock.

The project seems to work but suddenly a random hardfault occurs and I don't understand why.

Can anyone help me figure out what is the cause of the error?

Which settings did I set incorrectly

I share the project (Application + Booloader)

APPLICATION = https://files.fm/f/n4vjbjyca

BOOTLOADER = https://files.fm/f/b625v68z5

Best regards

12 REPLIES 12
MPast.1
Senior II

Hi Nicolas,

after some retry I adjust the last setting, but I have problems with "animations".

Look these videos: https://files.fm/u/58gbsgxaa

Who is responsable of this problem?

Thanks

N. SANTINI
ST Employee

Hi,

From what I see it seems that frame buffer gets corrupted or at least the reading of the frame buffer content is incorrect.

This may be linked to a clocking issue, what is the FMC clock in your project?

According to datasheet (DS12535_DS10915_DS10916_Book.book (st.com)) Rev 1 page 175 the maximum FMC_SDCLK is 100Mhz, maybe you are above this value? In this case the behavior is not guaranteed.

(Please note that I will be out-of-office next week),

Best regards,

Nicolas

MPast.1
Senior II

I want to thank N. SANTINI for his great support and show you the final result:

Everything works OK!

https://files.fm/u/xdp6et8jn

(At the moment I'm investingating, but the strange behaviour of the previous post, can happen when debugger is connected to the board. Everything is OK when FW is in release mode.)

best regards.