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.
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.