cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX wildcard dont show number from 0 to 5

fmaesso
Associate II

Hello,
I am using a custom board with the STM32L452RET. On this board:

  • SPI1 is connected to an IIS3DWB accelerometer,
  • SPI2 is connected to a 240x280 TFT display with an ST7789 controller and TouchGFX,
  • SPI3 is used with FatFs to access an SD card, following this tutorial: https://controllerstech.com/sd-card-using-spi-in-stm32/,
  • USB CDC is used for communication.

After adding FatFs, the wildcards with float values that should be displayed on the screen only show characters from 5 to 9. Characters from 0 to 4 appear as black blocks. I modified the text settings in TouchGFX in various ways. The only configuration that showed some results was changing the BPP in the typography from 4 to 8.

The images show the result with and without FatFs running.

I appreciate any help.

1 ACCEPTED SOLUTION

Accepted Solutions
fmaesso
Associate II

The problem lies in the project setup. I created a new project using the IOC, and everything worked. The solution was pointed out in https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/problem-with-touchgfx-and-sdmmc1-on-stm32h747i-disco/td-p/745399.

View solution in original post

1 REPLY 1
fmaesso
Associate II

The problem lies in the project setup. I created a new project using the IOC, and everything worked. The solution was pointed out in https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/problem-with-touchgfx-and-sdmmc1-on-stm32h747i-disco/td-p/745399.