**Part Number:**TSC2046

**Other Parts Discussed in Thread:**ADS7846,

Hi everyone,

Im using TSC2046 for my 7 inch touch screen. Im trying to configure it with GUITDRV_ADS7846 Touch Screen Driver. But i have some issues. There are some parameters in this driver. These are :

unsigned Orientation;

int xLog0;

int xLog1;

int xPhys0;

int xPhys1;

int yLog0;

int yLog1;

int yPhys0;

int yPhys1;

And my values for this parameters :

.Orientation = 0,

.xLog0 = 0,

.xLog1 = (800 - 1),

.xPhys0 = 0,

.xPhys1 = 4095,

.yLog0 = 0,

.yLog1 = (480 - 1),

.yPhys0 = 0,

.yPhys1 = 4095,

When i use TSC2046 with these values, the ADC values that i received are not linear. For example ;

left top ADC values for X : 2400 , for Y : 2200

left bottomADC values for X : 2150, for Y : 1276

right top ADC values for X : 1652, for Y : 2725

right bottom ADC values for X : 1810, for Y : 2710.

Can you help me with this ? How i can configure this parameters?