Announcement

Collapse
No announcement yet.

Touch screen of uLCD43PT

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Touch screen of uLCD43PT

    Object
    - uLCD43PT resistive
    - controller AR1020
    - software AR1020.inc

    Good morning,
    i have problems with the calibration of the touch screen uLCD43PT using the software "ART1020_touch_calibration" and therefore i read the data sheet of the AR1020 and the software uesd for the calibration.
    Since the I2C bus is used, the AR1020 uses the signal SDO to communicate when it is "ready" (pin 6 SIQ is not read from Picaso) which becomes the signal "CT_INT" (page 22 of schematic uLCD43).

    This signal is connected to pin 48 of Picaso GFX2, while the file "AR1020.inc" refers to pin 16:
    *
    * constant SIQ_PIN # 16 / / pin definition for AR1020 SIQ pin (HI When data ready)
    * while (pin_Read (SIQ_PIN) == 0) / / wait for device ready
    *
    *

    the pin 16 is the data D0 for the Picaso GFX2.

    It 'correct??

    Max - Italy

  • #2


    Are you using the program from this post:
    http://4d.websitetoolbox.com/post/show_single_post?pid=1274328420&postcount=38

    I just used it about a month ago on the same display, and it worked great for me...... What version of PMMC do you have installed?
    _______________
    Best Regards,
    Howard

    Comment


    • #3


      Hello,
      Yes i'm using this tools for the calibration, the Pmmc is the 3.0 or 3.1 or 3.2.

      To recalibrate the touch screen correctly was necessary to init the EEPROM configuration of AR1020 with the default value: this was done by a writing of a value 0xFF in the location 0x00 of the EEprom and power off.
      After this procedure the touch works fine !

      But i found a error in the code of tha file AR1020.inc:
      the programs check the pin 16 for the ready state

      *
      *from AR1020.inc
      *
      * #constant SIQ_PIN 16 // pin definition for AR1020 SIQ pin (HI when data ready)
      * while(pin_Read(SIQ_PIN)==0); // wait for device ready
      *
      *
      instead of pin 48.

      Max Italy

      Comment

      Working...
      X