‎2023-02-03 08:56 PM
‎2023-02-05 07:04 PM
Hi,
The TouchGFX example does not use the ST7735s LCD controller but the ST7789v LCD controller.
You can find the driver code for the ST7735s LCD controller in the STM32CubeMX repository:
-> /<user name>/STM32Cube/Repository/STM32Cube_FW_G0_v1.6.1/Drivers/BSP/Components
If you cannot find the /STM32Cube_FW_G0_v1.6.1 repository you need to open STM32CubeMX and download the STM32G0 software pack.
/Romain
‎2023-02-05 09:53 PM
I do not need to configure x-cube-display package in CubeMX yet? My lcd interface is 4 lines spi of st7735s inside the lcd.How can we create the project in CubeMX or TouchGFX firstly. THANKS.
.
‎2023-02-06 02:02 AM
with TFT + SPI -> i used this lib:
https://github.com/adafruit/Adafruit-ST7735-Library
maybe is useful for you also. :)
‎2023-02-06 05:23 AM
Thank for both of you.
‎2023-02-06 05:10 PM
Hi,
The software pack I refered to is different from the x-cube-display. To create a project in STM32CubeMX you need to select the right mcu in the MCU selector (click new project when you open STM32CubeMX). Here is an article ( chinese version) on how to do this step by step. From there you can follow the other articles in the documentation to start to set up your project. To generate a TouchGFX from this newly created STM32CubeMX project, follow this article (chinese version) explaining how to configure and use the TouchGFX Generator in STM32CubeMX. Go trough the next articles step by step afterwards.
/Romain