Touchgfx crash / garbage on screen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-23 9:16 AM
I am trying to setup touchgfx on a STM32H743II based custom board. When I run the code, it seems that
- only part of the screen is getting updated with some (wrong) fb data
- remaining screen is noise
- irrespective of my touchgfx screen color, I always see the same output on my display leading me to believe it could be some wrong pointer / address issue
What I have tried and confirmed
- external SDRAM is working fine. Have done a write / read / compare test and it passes. it is mapped at SDRAM BANK 1 (0xc0000000)
- display is working fine. I am able to show a proper image by pointing LTDC layer 1 buffer pointer to a c array containing image data
any idea what could be happening here
- Labels:
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-24 8:26 AM
That image looks like what I got when I attached a bigger display (and the screen pixel width and height changed), so check the width/height pixel counts.
It also doesn't hurt to do a review on the front & back porch values etc....and make sure you're looking at the right number of bytes per pixel if you're filling the buffer from a C loop (i.e. rgb565 uses 2 bytes where rgb888 uses 3).
Now I just gotta figure out why the screen looks like crap when trying the animated screen transitions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-24 7:36 PM
Hello ankitmcgill,
What is your display interface ? Would it be possible for you to share the project on this post ?
/Alexandre
