cancel
Showing results for 
Search instead for 
Did you mean: 

FrameBuffer being populated incorrectly?

Hafez1
Associate III

Hi. Using a STM32L4R9I-Discovery board with a connected ST7789VI screen. I'm trying to display a design I made in TouchGFX, yet I'm getting some distortion in the middle and quite a bit of misalignment where the bottom part of the screen is on the top and the top is on the bottom. ALso, I've noticed that the right and left sides of the screen sometimes get mixed up. 

I initially thought it was the flushing that was the issue, but I printed the framebuffer content pre-flushing and I noticed that I had corrupt/missing pixel data around where I'm experiencing the distortion (pictures attached). Can anyone help out please?

 

11 REPLIES 11

Ignore the attached files. Just the link. Thanks Mohammad.

Thank you!

I can see in your X-CUBE-TOUCHGFX configuration, you have set the display to be 320x240, but as we discussed it should be 240x320

Display dimensionsDisplay dimensions

So, please change the Width to 240 and the Height to 320, and check if it helps.

Mohammad MORADI
ST Software Developer | TouchGFX