Hi,
I am using IMX RT 1050 micro controller EVK Board along with LCD size 480x272.
I have made my own custom GUI using appwizard and integrated into MCU Expresso IDE.
I have flashed the GUI into LCD and touch input is working properly using following emwin_support.c configuration parameters:
// LCD Size 480x272 EVK Board
#define APP_IMG_HEIGHT 272
#define APP_IMG_WIDTH 480
#define APP_HSW 41
#define APP_HFP 4
#define APP_HBP 8
#define APP_VSW 10
#define APP_VFP 4
#define APP_VBP 2
#define LCD_WIDTH 480
#define LCD_HEIGHT 272
#define LCD_BITS_PER_PIXEL 32
Now i am using custom board with LCD size 800x480 (Make AZ Systems) resolution using the same touch IC: FT 5336.
I have made GUI of size 800x472 using app wizard software and able to flash successfully into LCD.
But problem is:
Touch input is working only in first quadrant of LCD Display. I have used the following emwin_Support.c parameters: as per datasheet
#define APP_IMG_WIDTH 800//800
#define APP_IMG_HEIGHT 480//480
#define APP_HSW 48
#define APP_HFP 40
#define APP_HBP 40
#define APP_VSW 3
#define APP_VFP 13
#define APP_VBP 29
#define LCD_WIDTH 800//800//480
#define LCD_HEIGHT 480//480//272
#define LCD_BITS_PER_PIXEL 32//32
Is there any other configuration to be changed??
Could anyone guide me how to resolve the touch input issue mentioned above ASAP.
I have attached the Data Sheets of custom LCD & EVK LCD, Emwin_support.c files.
Thanks & Regards
Krishna Reddy
Mob: 9620620953