This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

interfacing between DUS controller and LPC through UART to monitor the co-ordinates of touch screen

there is one projected capacitive touch keypad which is interfaced to DUS 1000 controller(standard capacitive touch controller)..now my requirement is i have to recieve the cordinares which wil come when clicking on the touch screen needs to be monitored using LPC1769 controller through UART

Parents Reply Children
  • ya..
    3.Report Format
    Coordinate data transmitted from touch screen controller to the host computer is defined below.
    Transmission of the coordinate data will start once the host computer sends instruction for starting via coordinate output control command.

    Coordinate Data for Windows7:
    Firmware of Product ID=0x07D2
    Report ID will be 0x04, then mouse format will be placed after it.
    When touched with 2 fingers, coordinate will be informed one by one. (Serial version)
    0 1 2 3 4 5
    Report ID SW X coordinate Lower X coordinate Upper Y coordinate Lower Y coordinate Upper
    1 byte 1 byte 1 byte 1byte 1 byte

    Report ID: 0x04 fixed
    SW: b7: 1 fixed
    b6: 0=Packet Connectionã€1=Delimiter(1 Packet Ends)
    b5-b2: Finger ID(start from 0)Touch ID can be specified in multi-touch operation.
    b1: 1 fixed
    b0: 0=up, 1=down

    4. Command
    Commands transmitted from the host PC to touch screen controller are defined in this section.
    Commands are the same between USB and UART unless otherwise described.
    *Note
    At UART connection, issue a command only after 100ms or longer time passed from booting or reset -canceling.

    4-1. Basic Format
    All the commands will be transmitted and received in binary data.
    Basic format of command and response data

    Header Command Byte to send Argument Data
    1 byte 1 byte 1 byte 1 byte N byte

    Number of the byte to send = Argument + Data

    4-2. Command List
    Command: [Host PC → TPC]
    Header[0] Command[1] Byte to send[2] Argument[3] Parameter[4] Function Response from controller
    0x02 0x4C('L') 0x02 0x04 0x00 Acquisition of version information Yes
    0x02 0x4C('L') 0x02 0x06 0x00 Detail information of firmware Yes
    0x02 0x4C('L') 0x02 0x80 data Setting up No
    0x02 0x4C('L') 0x02 0x81 data Control of Coordinate output No
    0x02 0x4C('L') 0x01 0x17 - Adjust Offset Yes
    0x02 0x4C('L') 0x01 0x01 - Calibrate Offset Yes

  • the above one is the DUS controller Data format(protocol for transmission and receive)