Download Print this page

Advertisement

Quick Links

TECHWELL
User's Manual:
TW88XX
TW-Dongle
TW88xx
TW-Dongle
User's Manual
Techwell, Inc.
408 E. Plumeria Drive
San Jose, CA 95134
URL http://www.techwellinc.com
Disclaimer
This document provides technical information for the user. Techwell, Inc. reserves the right to modify the information in this
document as necessary. The customer should make sure that they have the most recent data sheet version. Techwell Inc.
holds no responsibility for any errors that may appear in this document. Customers should take appropriate action to ensure
their use of the products does not infringe upon any patents. Techwell Inc. respects valid patent rights of third parties and
does not infringe upon or assist others to infringe upon such rights.
TECHWELL, INC.

Advertisement

loading
Need help?

Need help?

Do you have a question about the TW88 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Techwell TW88 Series

  • Page 1 Customers should take appropriate action to ensure their use of the products does not infringe upon any patents. Techwell Inc. respects valid patent rights of third parties and does not infringe upon or assist others to infringe upon such rights.
  • Page 2 Initial for this revision Van Nguyen 11/1/2007 added FLIP Download website Van Nguyen 11/6/2007 Added Pin Description for JP2,JP3 Van Nguyen 2/20/2008 Updated Information for TW-Dongle Rev1.3 Van Nguyen 10/20/2008 Updated Information for TW-Dongle Rev2.0 Van Nguyen TECHWELL, INC. 10/20/2008...
  • Page 3: Table Of Contents

    TECHWELL User’s Manual: TW88XX TW-Dongle Table Of Content 1) TW_Dongle............................. 4 2) Start Driver installation (If needed) ....................4 3) Function of TW USB interface board..................... 6 4) TW_Dongle Modes......................... 6 5) Updating TW_Dongle Firmware ....................10 TECHWELL, INC. 10/20/2008...
  • Page 4: Tw_Dongle

    This board is designed to interface a PC to the evaluation or custom designed board. It has three main functional interfaces. It may be used as a USB-to-RS232, USB-to-I2C , or USB-to-SPI adapter. The USB controller is programmable, and a driver is provided to be used with Techwell’s TW_Terminal application. 2) Start Driver installation (If needed) Plugging in the TW_Dongle to a PC’s USB connector will automatically be detected.
  • Page 5 Installation will take place, and the following window will appear after it is completed. Click on “Finish” to close the wizard. The driver’s status can be confirmed by clicking [Start] menu ->[Control Panel]->[Systerm]->[Hardware]-> [Device Manager]->[Port (COM&LPT)]. If the driver was successfully installed, the device should show up in Ports as the picture shows below. TECHWELL, INC. 10/20/2008...
  • Page 6: Function Of Tw Usb Interface Board

    In this mode, TW_Dongle function same as a typical USB-to-UART adapter. The RS-232 interface must be used with the 2 jumpers installed according to the figure below. This mode can be chosen by selecting RS232 from TW_Terminal2. ([File]->[Setup]->[Connection]) TECHWELL, INC. 10/20/2008...
  • Page 7 There is also a jumper selection for 3.3V or 5V signal level. Settings in the terminal are the same as for RS-232. Tx/Rx Voltage Selection Jumper 3.3V Header Connection Description ( J9 ) Pin No. Signal Rx (uController side) Rx (Max232 side) Tx (uController side) Tx (Max232 side) 5&6 TECHWELL, INC. 10/20/2008...
  • Page 8 Winbond MCU on the TW8816 Evaluation Board). The Enable(EN) pin from the TW_Dongle will function to arbitrate the occupancy of the I2C bus. The Enable pin can be controlled from the terminal, by typing command “e 0” or “e 1.” TECHWELL, INC. 10/20/2008...
  • Page 9 User’s Manual: TW88XX TW-Dongle c) USB -> SPI This mode is similar to I2C mode. The PC will be the master device on the SPI interface. Pin Assignment (Used to Interface with Techwell’s Evaluation Boards) Pin1: SPI_CSN (P0) (P4) Pin2:...
  • Page 10: Updating Tw_Dongle Firmware

    ISP mode, and a new “Found new hardware wizard” dialog will show up. Follow the instruction and install the driver located at the FLIP-2_4_0 installed directory in previous step. It will appear as a “Jungo” device in Device Manager. TECHWELL, INC. 10/20/2008...
  • Page 11 Execute the FLIP program It will appear as an icon shortcut in Start menu->Programs->ATMEL->FLIP d) Click the button to configure the MCU type (AT89C5131). e) Click the button. Select “USB” type and then click on “open” to access the port TECHWELL, INC. 10/20/2008...
  • Page 12 TW-Dongle Load the firmware named “TWUSB.HEX” and click “Run” to update the firmware g) Press “Reset” button of the TW_Dongle to restart with the new firmware h) Check new firmware version by entering the TW_Terminal help message TECHWELL, INC. 10/20/2008...
  • Page 13 Command List in I2C mode to control the Px’s pins on the TW_Dongle. P <x> <x>: port write bit P <x>: Port read bit P A <xx>: Port write byte P A: Port read byte (* Pin 1) TECHWELL, INC. 10/20/2008...