cancel
Showing results for 
Search instead for 
Did you mean: 

FSMC Display shows only 3 odd lines of image i.e. y= 0,3,6,9. using Touch GFX

VTHUT.1
Associate

Hello,

We are developing an application with TouchGFX using partial buffer method.

Here is our configuration.

0693W00000BcByvQAF.jpg 

our application has custom LCD support. The application reads data for LCD from external SPI flash and tries to send it to LCD.

Now the app calls "touchgfxDisplayDriverTransmitBlock" function where we have implemented calling LCD_Drawpicture routine.

0693W00000BcC1fQAF.jpg 

This function gets called and LCD_Drawpicture also works fine, however, we observed that this function always gets variable "h = 3" . Since h is always 3, we are only getting 3 rows on the screen as can be seen in the picture.

(Please ignore RED color, that is what we set in the LCD initialization to check LCD is working, using LCD library, before initializing touchGFX)

0693W00000BcBdzQAF.jpg 

this is what we expect our application to show.

0693W00000BcC7TQAV.jpg 

Please let me know if any other data is needed in order to get proper help from the community.

Please suggest what we are missing.

Any help will be greatly appreciated.

Thank You in advance.

1 REPLY 1
MM..1
Chief III

Your custom driver isnt complete and partial buffers read here Lowering Memory Usage with Partial Framebuffer | TouchGFX Documentation