My reference to the Programming guide is
https://www.lcd-module.de/fileadmin/eng/pdf/zubehoer/GT911%20Programming%20Guide_20140804_Rev00.pdf

On Tuesday, December 1, 2020 at 5:02:31 PM UTC+2 mr.j...@gmail.com wrote:

>
> Hello, currently i am working on GT911, 7 inch touchscreen for OrangePi 
> Plus2E,  i can successfully work with I2C bus with no problem and 
> successfully assigned INT and RST pins and touches are being detected but 
> it is reporting wrong X/Y values.
> I am using this driver from GOODIX 
> https://github.com/goodix/gt9xx_driver_android
> I am using this configuration array which is 800*480 and i want this 
> resolution, max X value is reaching 360 and Y is 600, I tried to manipulate 
> the second to fifth Byte values which are responsible for X/Y axis 
> resolutions but with no luck.
> here is my array, i would be glad if i got some help, many thanks.
>
> #define CTP_CFG_GROUP0 {\
>    0x43,0x20,0x03,0xE0,0x01,0x0A,0x0D,0x00,0x01,0x2F,\
>    0x14,0x0F,0x37,0x28,0x03,0x05,0x00,0x00,0x00,0x00,\
>    0x00,0x00,0x00,0x18,0x1A,0x1E,0x14,0x8C,0x2E,0x0E,\
>    0x3F,0x3D,0x48,0x09,0x00,0x00,0x00,0xBA,0x02,0x1D,\
>    0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
>    0x00,0x1E,0x5A,0x94,0xC5,0x02,0x08,0x00,0x00,0x04,\
>    0xEE,0x21,0x00,0xC6,0x29,0x00,0xA1,0x34,0x00,0x7C,\
>    0x41,0x00,0x6E,0x51,0x00,0x64,0x00,0x00,0x00,0x00,\
>    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
>    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
>    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
>    0x00,0x00,0x02,0x04,0x06,0x08,0x0A,0x0C,0x0E,0x10,\
>    0x12,0x14,0x16,0x18,0x1A,0x1C,0x00,0x00,0x00,0x00,\
>    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
>    0x00,0x00,0x00,0x02,0x04,0x06,0x08,0x0A,0x0C,0x0F,\
>    0x10,0x12,0x13,0x14,0x16,0x18,0x1C,0x1D,0x1E,0x1F,\
>    0x20,0x21,0x22,0x24,0x26,0x28,0x29,0x2A,0x00,0x00,\
>    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
>    0x00,0x00,0x00,0x00,0x63,0x01}
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/febca9ff-f9f7-4e28-bb22-0542cc0a0e44n%40googlegroups.com.

Reply via email to