Capacitive Touchscreen problem

Leonardo Fernandes
I bought a kit mini210s with display S70 andCapacitive Touch Panel
Controller is FT5x06, but touch screen have problem.

http://www.youtube.com/watch?v=Fri73ALsqzM&feature=youtu.be

This seems to be physical/electrical problem, someone help me ?

davef
Tempting to say "just don't take your finger off the ethernet connector".

Are you touching the case on the ethernet connector? Which is grounded?

I would try placing the touchscreen on a metal plate ensuring that nothing
on the bottom side of the touchscreen actually connects to the metal plate.
 Maybe, use a sheet of paper on the metal plate ... just don't short out
any components on the bottom side of the screen! Then connect the metal
plate to the PCB ground on the mini210, possibly best at one of the PCB
mounting screw holes. 

Possible explanation is that your body is picking up mains hum or ?? and by
grounding yourself on the ethernet connector that that interference is
prevented from affecting the screen.

If both units were in a metal or screened box of some sort, you may not
have this problem.

Leonardo Fernandes
Shield of conector ethernet is ground.
I did the recommended, but the problem continues.

Dave Festing
Can you power the unit from a battery pack?

Then go outside away from potential interference sources in your work area
and see if it behaves differently.

Have you got an oscilloscope?

I assume that you did not try the last suggestion, as it would require
quite a bit of work.

When you tried "the recommended", could you "ground" yourself on the metal
plate and get it to work properly?

Dave Festing
Based on my resistive touchscreen mini2440 experience there is a file that
sets up quite a few touchscreen parameters.

Are you using a default setup file or have you modified it?

What touchscreen operational parameters can you control in your setup?

Leonardo Fernandes
The test on a metal plate grounded, with batery, and outside of work area,
has reduced interference:
http://www.youtube.com/watch?v=zYpA7ULa-gc

but, far from any source of noise the result was excellent:
http://www.youtube.com/watch?v=4q1ejACkxXM

even without the metal plate:
http://www.youtube.com/watch?v=qHhc7xSZWtQ

My body is picking up mains hum 60Hz. 


Setup file was not modified:
linux-2.6.35.7/arch/arm/mach-s5pv210/mach-mini210.c

code:
  #ifdef CONFIG_TOUCHSCREEN_FT5X0X
  #include <plat/ft5x0x_touch.h>
  static struct ft5x0x_i2c_platform_data ft5x0x_pdata = {
    .gpio_irq               = S5PV210_GPH1(6),
    .irq_cfg                = S3C_GPIO_SFN(0xf),
    .screen_max_x   = 480,
    .screen_max_y   = 272,
    .pressure_max   = 255,
  };
  #endif


pressure_max parameter no have effect

The problem continues.

Reggie
Hi, this looks wrong for a start:

    .screen_max_x   = 480,
    .screen_max_y   = 272,

As the s70 7" screens are 800x480, unless it picks up resolution from
somewhere else and that's a fallback value? :-)

Reggie
do you have any kind of control over which devices are powered where you
work?  it could be that some device has a cruddy cheap external psu that's
causing the noise issues.

Reggie
Lastly, what piece of software are you using to test the touchscreens with?

Leonardo Fernandes
This value is overhead to 800x600 in the same file

static void __init mini210_map_io(void)
{
...
#ifdef CONFIG_TOUCHSCREEN_FT5X0X
        ft5x0x_pdata.screen_max_x = lcd->width;
        ft5x0x_pdata.screen_max_y = lcd->height;
#endif

Leonardo Fernandes
I meant 800x480

Leonardo Fernandes
I'm using Touch_Test_1.4
http://www.freewarelovers.com/android/app/touch-test

Dave Festing
> My body is picking up mains hum 60Hz.

You did verify with an oscilloscope probe on the end of your finger?

Tends to suggest that you are in an environment with a lot of 60Hz floating
around, the unit is not packaged correctly or conducted mains current from
your power supply is getting into places where it should not.

Did running it off batteries not help?

The type of file I was referring to for the mini2440 is called ts.conf
which has a few settings for the touchscreen.  If there is a similar file
for your machine it sounds like it must have the default values ... that
someone else believes should work for most people.

Reggie
just tested my s70 with the apk and its rock solid stable.

Reggie
Have you made sure that you've pushed the connectors on fully and that the
ffc cable is in straight on the connectors too?  when you connect the lcd
cable to the main board you should hear it click.