2025-10-13 11:27 AM
I created a simple project back in May (simple - some buttons, temperature display) and mounted in a box (landscape/0 rotation).
I went to reuse the display with a new TouchGFX project (same box) and it is flipped 180! When I load the old code, correct side up, new project in TouchGFX and it is upside down.
I checked the forum and this isn't easy to do and requires extra code - how is this even possible?
For reference, it is a fairly new STM32F469I-DISCO (blue) purchased in May of 2025. Old project - SDCARD/Headphone jack faces down.
Solved! Go to Solution.
2025-10-15 7:10 AM
Previously, two TBSs were available in TouchGFX Designer for the STM32F469I-DK. One of these was called STM32F469I-DISCO-REV-AU1 and covered the new revision of the discovery kit with a new display. However, the two TBSs were combined into one, which is now the only option available in TouchGFX Designer. I can see that this happened in the same new release of the TBS as the software for the display update was improved. You can also see it in the changelog. This is of course a bit unfortunate in your current situation.
Do you want to use the previous implementation, or do you primarily need assurance that this will not happen again? The change was made solely to simplify the complex and confusing software implementation. Therefore, the orientation will not be changed again - it was just an unavoidable side effect. I can locate the latest published version of the AU1-specific TBS and provide it to you if you would like .. ?
Best regards,
Johan
2025-10-13 11:41 AM
Just wanted to add that the orientation of my old project matches this:
2025-10-13 11:46 AM
Here is another one that matches my previous project.
So something changed - the new project, I just created a new one and put one button w/text. Flipped 180.
2025-10-13 2:41 PM
There's usually an LCD setting for screen rotation and mirroring. Screens typically have a shorter product lifecycle. It's possible a new screen was sourced instead of an old one. Just a guess. The board has undergone something like 10 revisions per the product page.
Default orientation per the user manual seems to be rotated vs what you show.
Discovery boards aren't meant to be used in final products.
2025-10-13 11:01 PM
Hello @PaulK101.
The display is natively portrait, and the direction of the scanline cannot be changed. Therefore, converting it to landscape orientation requires specific handling. If it is simply set up as landscape, tearing will occur.
Previously, the conversion was performed manually by splitting the display into four blocks. However, this implementation was complex and confusing. Starting from version 3.0.19 of the TBS, this process was simplified. The display is now set up as portrait, and the Rotate90 feature in TouchGFX is used to rotate it. However, Rotate90 rotates in the opposite direction compared to the previous manual implementation. As a result, the display appears rotated 180° compared to your old project. If you prefer the old implementation, you should use TBS version 3.0.18 or older.
Best regards,
Johan
2025-10-15 6:32 AM - edited 2025-10-15 6:55 AM
It's literally the same board - why is it flipped 5 months later when I create a new project? If screen orientation isn't something that is easily set in TouchGFX, how can I trust my production hardware won't do the same thing if I do an update 5 months later?
2025-10-15 6:45 AM
If I go back to an older version, it won't work on this board. It is the -AU1 version and it looks like it is the latest rev.
One curious thing - the .IOC from my old project is called STM32F469I-DISCO-REV-AU1.IOC. When I create a new project now, the file is called STM32F469I-DISCO.IOC.
Was there a change in TouchGFX Designer or is this board missing from list when I create a new project?
2025-10-15 7:06 AM
That's why you either:
- do not simply update stuff you didn't write yourself, always keep the working versions of external sources
- test changes / stuff before production
2025-10-15 7:10 AM
Previously, two TBSs were available in TouchGFX Designer for the STM32F469I-DK. One of these was called STM32F469I-DISCO-REV-AU1 and covered the new revision of the discovery kit with a new display. However, the two TBSs were combined into one, which is now the only option available in TouchGFX Designer. I can see that this happened in the same new release of the TBS as the software for the display update was improved. You can also see it in the changelog. This is of course a bit unfortunate in your current situation.
Do you want to use the previous implementation, or do you primarily need assurance that this will not happen again? The change was made solely to simplify the complex and confusing software implementation. Therefore, the orientation will not be changed again - it was just an unavoidable side effect. I can locate the latest published version of the AU1-specific TBS and provide it to you if you would like .. ?
Best regards,
Johan
2025-10-15 7:45 AM
That's the point, I DID write it using TouchGFX. I didn't write the code to draw every little pixel on the screen because I used TouchGFX. I have the original code I did write and it still compiles and works correctly with the original orientation.
And this is a new project using the original dev board. Not sure what your contribution to this thread is?