I2C to USB Tool Guide - CORERIVER Semiconductor · 2014-03-26 · I2C to USB Tool Guide V1.1 Sep...

Post on 24-Mar-2020

11 views 1 download

Transcript of I2C to USB Tool Guide - CORERIVER Semiconductor · 2014-03-26 · I2C to USB Tool Guide V1.1 Sep...

Project Name

CORERIVER Semiconductor reserves the right to make corrections, modifications, enhancements, improvements, and otherchanges to its products and services at any time.

To discontinue any product or service, CORERIVER should inform customers of that before 3 months through its homepage.

Customers should obtain the latest relevant information before placing orders and should verify that such information iscurrent and complete.

The CORERIVER products listed in this document are intended for usage in general electronics applications. TheseCORERIVER products are neither intended nor warranted for usage in equipment that requires extraordinarily high qualityand/or reliability or a malfunction or failure of which may cause loss of human life or bodily injury..

I2C to USB Tool Guide

V1.1

Sep 2011

Application Note #061 (AN061-V1.1)

Application Note

Index

Connection

Protocol

I2C to USB Setup

Tctool Setup

Aurora Setup

Notices

[2]

Application Note

1. Connection

Touch Screen Panel(TSP)

USB Cable

I2C to USBBoard

Connector MapMaster / Slave+3.3V - +3.3VGND – GNDTCLK – TCLKTMOD - TMOD

[3]

Application Note

2. Protocol (1/3)

I2C to USB Board (Master)1. Edit the highlighted part in “TC500_user.h” file

considering the TSP configurations2. Rebuild the source files

[4]

Application Note

2. Protocol (2/3)

TSP (Slave)

Modify the “main.c” file in TSP code

[5]

Application Note

2. Protocol (3/3)

TSP (Slave)

1. Modify the “def.h” file in TSP code

2. Rebuild

[6]

Application Note

3. I2C to USB Setup (1/3)

1. Install the driver

2. After install the FTDI Driver, check the port assignment in the “Control Panel”

After install, check the port

assignment

[7]

Application Note

3. I2C to USB Setup (2/3)

3. UART setup

[8]

Open the “Device Manager Port Setup Advanced

Application Note

3. I2C to USB Setup (3/3)

3. UART setup

[9]

Select the response time below 8msec

Application Note

4. TCTOOL Setup (1/2)

TCTOOL Setup

[10]

Select the contents in the red box as follows : SCREEN, TC5xx or TC4xx, COMx, 500000 BAUS, UART, TSP Resolution

Application Note

4. TCTOOL Setup (2/2)

TCTOOL operation

[11]

Application Note

5. Aurora Setup (1/5)

Aurora Setup

[12]

Select the contents in the red box as follows : TC5xx or TC4xx, COMx, 500000 BAUS, UART

Application Note

5. Aurora Setup (2/5)

Aurora Setup

[13]

Click the “Message” in Options and “ARRAY” in Dialog.

Please click the “Message” first.

Application Note

5. Aurora Setup (3/5)

Aurora Operations

[14]

If the message is not valid, now Aurora works abnormally.We must change operation by the “tool=x” command.

Application Note

5. Aurora Setup (4/5)

Aurora Operations

[15]

If enter “tool=1” in the CMD window and clock CMD button,the message will change and Aurora will operate.

Application Note

5. Aurora Setup (5/5)

Aurora Operations

[16]

Commands1. TCTOOL mode : “tool=0”2. Aurora mode : “tool=1”

Application Note

6. Notices

We can change the modes by entering new command in Aurora command window. But, the command is available in only Aurora tool.

At first USB connection, TCTOOL mode is worked.

For updating the Firmware, re-build the master and slave together.

[17]