‎2021-04-27 10:23 PM
I am using TouchGFX Designer v 4.16.1, first I use the GUI template for board STM32F769 Discovery as startup. By default it set my color depth to 16 bpp. But I want to examine other color depth however under Config-> Display -> Color Depth, it only give me one option i.e. 16 bpp. Why? From datasheet, the hardware should support other color depth. What should I do to change my color depth?
Solved! Go to Solution.
‎2021-04-28 12:21 AM
Hi,
The application templates available in TouchGFX Designer are configured only for 1 color depth. Supporting 2 is actually quite complex as it often implies using different pins on the display/MCU and configurations. If you wish to use another bit depth you have to make the changes yourself through STM32CubeMX.
When selecting an application template of a board you can change its version by clicking on the top right box indicating the current version. Some of the old versions actually use another bit depth (we were asked by the Marketing teams to change them for some of the boards :grinning_face_with_sweat: ). For the STM32F769dk the AT version 3.0.0 is based on 24bpp, so you can have a loot at the STM32CubeMX configuration and the code to understand how to do it again for your project (or jsut use this version)
/Romain
‎2021-04-28 12:21 AM
Hi,
The application templates available in TouchGFX Designer are configured only for 1 color depth. Supporting 2 is actually quite complex as it often implies using different pins on the display/MCU and configurations. If you wish to use another bit depth you have to make the changes yourself through STM32CubeMX.
When selecting an application template of a board you can change its version by clicking on the top right box indicating the current version. Some of the old versions actually use another bit depth (we were asked by the Marketing teams to change them for some of the boards :grinning_face_with_sweat: ). For the STM32F769dk the AT version 3.0.0 is based on 24bpp, so you can have a loot at the STM32CubeMX configuration and the code to understand how to do it again for your project (or jsut use this version)
/Romain
‎2021-04-28 03:02 AM
Thank you @Romain DIELEMAN​ , but I could not see the 'top right box' to change the version, does this option only available on certain TouchGFX cersion?
‎2021-04-28 03:19 AM
The top right box is the thing under the name of the board with that grey arrow as you can see in the screenshot I shared. I dont know why I said top right arrow when it is not really in the top right :grinning_face_with_sweat:
/Romain
‎2021-04-29 10:31 PM
But I still could not see it :)
‎2021-05-04 02:24 AM
Basing myself on the screenshot you shared I believe you are not in the same location as in my screenshot. You have pressed the "I" in the creation window where I have pressed it after entering the "Choose an Application Template" section.
Do not press the information button in the following scenario. press the "change" button instead to enter the view I was in in my previous message.
/Romain
‎2021-05-06 06:55 PM
Aha, I got it now , thank you @Romain DIELEMAN​ :grinning_face:
‎2021-05-07 01:21 AM
No worries ^^
/Romain