i2c to usb tool guide - coreriver semiconductor · 2014-03-26 · i2c to usb tool guide v1.1 sep...
TRANSCRIPT
![Page 1: I2C to USB Tool Guide - CORERIVER Semiconductor · 2014-03-26 · I2C to USB Tool Guide V1.1 Sep 2011 Application Note #061 (AN061-V1.1) Application Note Index Connection Protocol](https://reader035.vdocuments.us/reader035/viewer/2022062602/5e85759920e6b161690d689b/html5/thumbnails/1.jpg)
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)
![Page 2: I2C to USB Tool Guide - CORERIVER Semiconductor · 2014-03-26 · I2C to USB Tool Guide V1.1 Sep 2011 Application Note #061 (AN061-V1.1) Application Note Index Connection Protocol](https://reader035.vdocuments.us/reader035/viewer/2022062602/5e85759920e6b161690d689b/html5/thumbnails/2.jpg)
Application Note
Index
Connection
Protocol
I2C to USB Setup
Tctool Setup
Aurora Setup
Notices
[2]
![Page 3: I2C to USB Tool Guide - CORERIVER Semiconductor · 2014-03-26 · I2C to USB Tool Guide V1.1 Sep 2011 Application Note #061 (AN061-V1.1) Application Note Index Connection Protocol](https://reader035.vdocuments.us/reader035/viewer/2022062602/5e85759920e6b161690d689b/html5/thumbnails/3.jpg)
Application Note
1. Connection
Touch Screen Panel(TSP)
USB Cable
I2C to USBBoard
Connector MapMaster / Slave+3.3V - +3.3VGND – GNDTCLK – TCLKTMOD - TMOD
[3]
![Page 4: I2C to USB Tool Guide - CORERIVER Semiconductor · 2014-03-26 · I2C to USB Tool Guide V1.1 Sep 2011 Application Note #061 (AN061-V1.1) Application Note Index Connection Protocol](https://reader035.vdocuments.us/reader035/viewer/2022062602/5e85759920e6b161690d689b/html5/thumbnails/4.jpg)
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]
![Page 5: I2C to USB Tool Guide - CORERIVER Semiconductor · 2014-03-26 · I2C to USB Tool Guide V1.1 Sep 2011 Application Note #061 (AN061-V1.1) Application Note Index Connection Protocol](https://reader035.vdocuments.us/reader035/viewer/2022062602/5e85759920e6b161690d689b/html5/thumbnails/5.jpg)
Application Note
2. Protocol (2/3)
TSP (Slave)
Modify the “main.c” file in TSP code
[5]
![Page 6: I2C to USB Tool Guide - CORERIVER Semiconductor · 2014-03-26 · I2C to USB Tool Guide V1.1 Sep 2011 Application Note #061 (AN061-V1.1) Application Note Index Connection Protocol](https://reader035.vdocuments.us/reader035/viewer/2022062602/5e85759920e6b161690d689b/html5/thumbnails/6.jpg)
Application Note
2. Protocol (3/3)
TSP (Slave)
1. Modify the “def.h” file in TSP code
2. Rebuild
[6]
![Page 7: I2C to USB Tool Guide - CORERIVER Semiconductor · 2014-03-26 · I2C to USB Tool Guide V1.1 Sep 2011 Application Note #061 (AN061-V1.1) Application Note Index Connection Protocol](https://reader035.vdocuments.us/reader035/viewer/2022062602/5e85759920e6b161690d689b/html5/thumbnails/7.jpg)
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]
![Page 8: I2C to USB Tool Guide - CORERIVER Semiconductor · 2014-03-26 · I2C to USB Tool Guide V1.1 Sep 2011 Application Note #061 (AN061-V1.1) Application Note Index Connection Protocol](https://reader035.vdocuments.us/reader035/viewer/2022062602/5e85759920e6b161690d689b/html5/thumbnails/8.jpg)
Application Note
3. I2C to USB Setup (2/3)
3. UART setup
[8]
Open the “Device Manager Port Setup Advanced
![Page 9: I2C to USB Tool Guide - CORERIVER Semiconductor · 2014-03-26 · I2C to USB Tool Guide V1.1 Sep 2011 Application Note #061 (AN061-V1.1) Application Note Index Connection Protocol](https://reader035.vdocuments.us/reader035/viewer/2022062602/5e85759920e6b161690d689b/html5/thumbnails/9.jpg)
Application Note
3. I2C to USB Setup (3/3)
3. UART setup
[9]
Select the response time below 8msec
![Page 10: I2C to USB Tool Guide - CORERIVER Semiconductor · 2014-03-26 · I2C to USB Tool Guide V1.1 Sep 2011 Application Note #061 (AN061-V1.1) Application Note Index Connection Protocol](https://reader035.vdocuments.us/reader035/viewer/2022062602/5e85759920e6b161690d689b/html5/thumbnails/10.jpg)
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
![Page 11: I2C to USB Tool Guide - CORERIVER Semiconductor · 2014-03-26 · I2C to USB Tool Guide V1.1 Sep 2011 Application Note #061 (AN061-V1.1) Application Note Index Connection Protocol](https://reader035.vdocuments.us/reader035/viewer/2022062602/5e85759920e6b161690d689b/html5/thumbnails/11.jpg)
Application Note
4. TCTOOL Setup (2/2)
TCTOOL operation
[11]
![Page 12: I2C to USB Tool Guide - CORERIVER Semiconductor · 2014-03-26 · I2C to USB Tool Guide V1.1 Sep 2011 Application Note #061 (AN061-V1.1) Application Note Index Connection Protocol](https://reader035.vdocuments.us/reader035/viewer/2022062602/5e85759920e6b161690d689b/html5/thumbnails/12.jpg)
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
![Page 13: I2C to USB Tool Guide - CORERIVER Semiconductor · 2014-03-26 · I2C to USB Tool Guide V1.1 Sep 2011 Application Note #061 (AN061-V1.1) Application Note Index Connection Protocol](https://reader035.vdocuments.us/reader035/viewer/2022062602/5e85759920e6b161690d689b/html5/thumbnails/13.jpg)
Application Note
5. Aurora Setup (2/5)
Aurora Setup
[13]
Click the “Message” in Options and “ARRAY” in Dialog.
Please click the “Message” first.
![Page 14: I2C to USB Tool Guide - CORERIVER Semiconductor · 2014-03-26 · I2C to USB Tool Guide V1.1 Sep 2011 Application Note #061 (AN061-V1.1) Application Note Index Connection Protocol](https://reader035.vdocuments.us/reader035/viewer/2022062602/5e85759920e6b161690d689b/html5/thumbnails/14.jpg)
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.
![Page 15: I2C to USB Tool Guide - CORERIVER Semiconductor · 2014-03-26 · I2C to USB Tool Guide V1.1 Sep 2011 Application Note #061 (AN061-V1.1) Application Note Index Connection Protocol](https://reader035.vdocuments.us/reader035/viewer/2022062602/5e85759920e6b161690d689b/html5/thumbnails/15.jpg)
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.
![Page 16: I2C to USB Tool Guide - CORERIVER Semiconductor · 2014-03-26 · I2C to USB Tool Guide V1.1 Sep 2011 Application Note #061 (AN061-V1.1) Application Note Index Connection Protocol](https://reader035.vdocuments.us/reader035/viewer/2022062602/5e85759920e6b161690d689b/html5/thumbnails/16.jpg)
Application Note
5. Aurora Setup (5/5)
Aurora Operations
[16]
Commands1. TCTOOL mode : “tool=0”2. Aurora mode : “tool=1”
![Page 17: I2C to USB Tool Guide - CORERIVER Semiconductor · 2014-03-26 · I2C to USB Tool Guide V1.1 Sep 2011 Application Note #061 (AN061-V1.1) Application Note Index Connection Protocol](https://reader035.vdocuments.us/reader035/viewer/2022062602/5e85759920e6b161690d689b/html5/thumbnails/17.jpg)
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]