Skip to main content
zhuij.1
Associate II
March 15, 2021
Question

Use TouchGFX's 8-bit color depth mode on the STM32L4P5,will occur hardfault, but using 16-bit color depth will be normal,how to use TouchGFX's 8-bit color depth mode without hardfault?

  • March 15, 2021
  • 2 replies
  • 970 views

..

This topic has been closed for replies.

2 replies

Romain DIELEMAN
ST Employee
March 16, 2021

Hi,

Could you give more detail on your setup ? Are you working on a custom board or on the STM32L4P5 disco board ? Did you start your project from the application template available in Designer for this development kit or use it as source of inspiration for your configuration ? This application template uses the 8-bit color depth without hardfault, could you give a screenshot of the error / of the log if possible.

/Romain

zhuij.1
zhuij.1Author
Associate II
March 17, 2021

we are working on a custom LCD with the STM32L4P5 nucleo board,and use cubeMX to create touchgfx project.under 8-bit color depth mode ,when call the function of "touchgfxSignalVSync()",will into HardFault_Handler("touchgfxDisplayDriverTransmitBlock" don't call LCD driver routine).

cubeMX version:6.2.0

L4 packect version:1.17.0

touchgfx:4.16.1

Romain DIELEMAN
ST Employee
March 17, 2021

Could you try with the L4 FW package version 1.16 ?

/Romain

Romain DIELEMAN
ST Employee
March 16, 2021

I actually found an issue but I do not believe it is the same one as you. I will still explain it in case you face it later:

When I use the application template for the L4P5 disco board available in Designer, and open the generated ioc file with CubeMX 6.2 I face compilation errors. This is due to the latest fw package v1.17.0 causing issues we are currently investigating. We recommend to not "migrate" the project for now and keep using the FW package v1.16.0

/Romain