USB-to-I2C Hardware User s Manual

Similar documents
WICE-SPI Hardware Operation Manual

Introducing AVR Dragon

USB to RS-422/485 Serial Adapter

ic-mq EVAL MQ1D EVALUATION BOARD DESCRIPTION

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

Transmitter Interface Program

INDEX. Trademarks All name and product s trademarks mentioned below are the property of their respective companies.

PRINTER DRIVER GUIDE (KODAK 305 Photo Printer)

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

3.2 inch QVGA TFT Color LCD User s Guide Version 1 & 2

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

CodeWarrior Development Studio for Freescale S12(X) Microcontrollers Quick Start

Software User Guide UG-461

User Manual. AS-Interface Programmer

UniPi technical documentation REV 1.1

CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup

USB-Blaster Download Cable User Guide

USB to VGA Adapter USB2VGAE2. Instruction Manual. USB 2.0 to VGA Multi Monitor External Video Adapter

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V th November L6470 Stepper Motor Shield

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor.

Windows Vista /Windows 7 Installation Guide

MFRD52x. Mifare Contactless Smart Card Reader Reference Design. Document information

Caplio Utility for Windows

SLC 5/05 Processors Firmware/Operating System ControlFLASH Upgrade

2-Port RS232/422/485 Combo Serial to USB2.0 Adapter (w/ Metal Case and Screw Lock Mechanism) Installation Guide

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

Thermostat Application Module Kit

_ v1.0. EVB-56x Evaluation & Development Kit for Motorola PowerPC MPC56x Microcontrollers USERS MANUAL. isystem, February /8.

MADRIX NEO Quick Start Guide & User Manual

GTS-4E Hardware User Manual. Version: V1.1.0 Date:

PSoC Programmer Release Notes

The $25 Son of a cheap timer This is not suitable for a beginner. You must have soldering skills in order to build this kit.

Sam440ep-flex User Guide

RIGtalk. Revision 5. Owner s Manual 2012.

P&E Microcomputer Systems, Inc. P.O. Box 2044, Woburn, MA 01888, USA

USB2.0 <=> I2C V4.4. Konverter Kabel und Box mit Galvanischetrennung

Intel RAID Controller Troubleshooting Guide

EPSON USB/Parallel Adapter User s Guide

- 35mA Standby, mA Speaking pre-defined phrases with up to 1925 total characters.

AC-PG-USBASP USBASP AVR Programmer

Designing VM2 Application Boards

ISP Engineering Kit Model 300

USB2VGA. Instruction Manual. USB to VGA Adapter. USB 2.0 to VGA External Multi Monitor Video Adapter

Arduino ADK Back. For information on using the board with the Android OS, see Google's ADK documentation.

1-Port R422/485 Serial PCIe Card

Pmod peripheral modules are powered by the host via the interface s power and ground pins.

SOFTWARE MANUAL. Please ensure that you read the instruction manual carefully before use. About software

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

Accessing I2C devices with Digi Embedded Linux 5.2 example on Digi Connect ME 9210

Yamaha 01V96 Version2 Upgrade Guide

FireWire Hi-Speed USB Combo Quick Installation Guide

Figure 1. 8-Bit USB Debug Adapter

PSoC Programmer Release Notes

Safety Precautions WARNINGS

Mongoose Pro Quick Start Guide

NHD-0420D3Z-FL-GBW-V3

JTAG-HS2 Programming Cable for Xilinx FPGAs. Overview. Revised January 22, 2015 This manual applies to the HTAG-HS2 rev. A

PN532 NFC RFID Module User Guide

USB 2.0 VGA ADAPTER USER MANUAL

PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version ( )

Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB

SATA150 TX2PLUS, TX4 QUICK START GUIDE. Version 1.2

Maxtor OneTouch User's Guide

Installing USB Drivers With Microsoft Windows XP

USB 2.0 Peripheral Switch USER MANUAL US221A / US421A

Instruction Guide. 4 Port Laptop-Sized USB 2.0 Mini Hub ST4200MINI. The Professionals Source For Hard-to-Find Computer Parts

EMBEDDED ACCESS CONTROL Hardware Installation Guide

TekBots TM Oregon State University. usb_cam User Guide. Version 1.0 By Adriaan Smit OSU EE Graduate Student

3-Port FireWire 800/400 PCI Host Card

GPS/GLONASS SiRFstarV Evaluation Kit EVA5100-A

EXTERNAL HARD DRIVE Maxtor OneTouch User s Guide

Keep it Simple Timing

How To Add A Usb Secondary Ipo Bootloader To An Lpc23Xx Flash Device To A Flash Device

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

McAfee Encrypted USB Hard Disk Non-Bio Quick Start Guide

Features Reference. About Unified Communication System. Before Using This Machine. Starting a Meeting. What You Can Do During the Meeting

EPSON USB/Parallel Adapter User s Guide

SoundLAB Software Download Software from the Bogen website:

VSCOM USB PRO Series Industrial I/O Adapters

We reserve the right to make technical changes.

+Denotes lead-free and RoHS-compliant. C5 C10, C17, C18

DATASHEET. ADAM Arduino Display Adaptor Module. Arduino Compatible Shield P/N: 4Display-Shield-FT843 For the 4D Systems 4DLCD-FT843 Display

AN111: Using 8-Bit MCUs in 5 Volt Systems

Troubleshooting and Diagnostics

Network Video Recorder. User s Manual v Model: SVR-504/508/516/516+

EvB 5.1 v5 User s Guide

Table of Contents. 1. Overview Materials Required System Requirements User Mode Installation Instructions..

Your Multimeter. The Arduino Uno 10/1/2012. Using Your Arduino, Breadboard and Multimeter. EAS 199A Fall Work in teams of two!

BabyWare Imperial PC Software

Nuvoton Nu-Link Debug Adapter User Manual

Quick Start Guide Vodafone Mobile Broadband USB Stick. Designed for Vodafone

Orbit PCI Mk 2 Network Card. User Manual. Part No Issue 4

Regulatory Compliance. IC Certification. FCC Certification. Declaration of Conformity

INSTALLATION MANUAL XM3 Reader

The Wireless LAN (Local Area Network) USB adapter can be operated in one of the two following networking configurations :

HARDWARE MANUAL. BrightSign HD120, HD220, HD1020. BrightSign, LLC Lark Ave., Suite 200 Los Gatos, CA

Future Technology Devices International Ltd

USB 2.0 to DVI External Video Adapter USB 2.0 to VGA External Video Adapter

XBee USB Adapter Board (#32400)

Checking the Package Contents. Installing the Printer Software. Connecting. Unpacking the. the Printer. Printer. Attaching

Transcription:

USB-to-I2C Hardware User s Manual http://www.i2ctools.com/

Information provided in this document is solely for use with the USB-to-I2C product from SB Solutions, Inc. SB Solutions, Inc. reserves the right to make changes or improvements to this document at any time without notice. SB Solutions, Inc. assumes no liability whatsoever in the sale or use of this product, including infringement of any patent or copyright. Reasonable efforts have been made to ensure the accuracy of the information presented. However, SB Solutions, Inc. assumes no responsibility for the accuracy of the information. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of SB Solutions, Inc. P.O. Box 4506 Cary, NC 27519-4506 Microsoft and Windows are registered trademarks of Microsoft Corporation. Other brand names are trademarks or registered trademarks of their respective owners. Copyright 2004-2013 SB Solutions, Inc. All rights reserved. ii

Table of Contents INTRODUCTION... 1 USB-TO-I2C KIT CONTENTS... 1 DISCLAIMER AND WARRANTY... 2 GETTING STARTED... 3 Assumptions... 3 Static Handling Precautions... 3 MINIMUM SYSYEM REQUIREMENTS... 3 ADAPTER POWER REQUIREMENTS... 3 INSTALLATION... 3 USB-to-I2C Software... 3 USB-to-I2C Hardware connection to computer USB port... 3 HARDWARE DESCRIPTION... 4 SPI Port... 5 I²C Port... 5 GPIO... 5 USB-TO-I2C HARDWARE TO TARGET CONNECTION... 7 Minimum hardware connection between USB-to-I2C and User Hardware... 7 Typical hardware connection between USB-to-I2C and User Hardware... 7 USING USB-TO-I2C TO POWER USER s SYSTEM... 7 FIRMWARE UPDATES... 8 SOFTWARE UPDATES... 11 TECHNICAL SUPPORT... 11 TROUBLESHOOTING... 11 iii

INTRODUCTION The USB-to-I2C Hardware connects to a standard USB port found on most IBMcompatible PCs and provides bi-directional communication with I²C devices using the I²C protocol. The Hardware is powered directly from the PC's USB port. The LED, located beside the USB connector, illuminates after it has successfully been enumerated by the USB host. The USB-to-I2C software runs on Windows 98SE, ME, 2000, XP, Vista and is compatible with any PC hardware having a minimum of a Pentium processor and an USB port. The software allows the user to select a memory device (EEPROM, FRAM, or SRAM) from a menu and also provides several Universal modes to allow communication with most I²C devices. The USB-to-I2C software is designed to operate only with the included USB-to-I2C hardware. USB-TO-I2C KIT CONTENTS USB-to-I2C Hardware USB-to-I2C software installation CD-ROM (optional) which loads the following files: Software license agreement USB-to-I2C user Registration Form USB-to-I2C Software User s Manual USB-to-I2C Hardware User s Manual USB-to-I2C Installation and User's Guide USB-to-I2C application USB-to-SPI application I²C and SPI DLL and examples 1

DISCLAIMER AND WARRANTY Proper use of USB-to-I2C is the sole responsibility of the user. SB Solutions, Inc. is not responsible for any damage resulting from misuse or improper installation. SB Solutions, Inc. will, at our option, repair or replace a defective USB-to-I2C hardware within thirty (30) days of the purchase date. Return shipping is the responsibility of the user. 2

GETTING STARTED Assumptions We are assuming the user of this product has experience with the I²C Bus protocol. The I 2 C Bus specification is a good source of detailed information about the I 2 C Bus. The complete specification can be downloaded from the NXP Semiconductors website. Static Handling Precautions The USB-to-I2C hardware contains CMOS devices that can be damaged by ESD. It is recommended to use a ground strap or touching the PC case or other grounded source before unpacking or handling the USB-to-I2C hardware. MINIMUM SYSYEM REQUIREMENTS PC Pentium 60 processor (or equivalent), 8 MB RAM, and 16 MB of hard drive space One USB port (either 2.0 or 1.1 compatible) 32-bit or 64-bit versions of XP, Vista, Windows 7, and Windows 8 CD-ROM Drive for installation (note that we recommend using the latest installation package available for download from our website): http://www.i2ctools.com/downloads.html ADAPTER POWER REQUIREMENTS The USB-to-I2C hardware obtains its power from the computer s USB port. It should not be powered by an external power source. INSTALLATION USB-to-I2C Software You must have Administrator privileges to install the software Insert the USB-to-I2C installation CD-ROM into the appropriate drive. The installation software should automatically start If the installation software does not start automatically, double-click on the Setup.exe file on the CD-ROM Complete and send in the registration form via email USB-to-I2C Hardware connection to computer USB port Neutralize any ESD (static charge) by touching the bare metal on the rear of your computer before removing the USB-to-I2C Hardware from the packaging Connect the USB-to-I2C Hardware to a USB Port using a standard USB cable 3

The LED beside the USB port should illuminate HARDWARE DESCRIPTION The figure above shows the items on the hardware which you should become familiar with. Here are the details: USB Port this is where you plug the usb cable into the board USB LINK LED the LED should be illuminated when the cable has been connected between the PC and the USB-to-I2C hardware, and the software has been installed correctly. J2 Header Header J1 contains the connections to a user target application. A 14-pin ribbon cable is included with the following definitions: Signal Pin # Ribbon cable color wire VCC 1 Brown VP 2 Red SSN 3 Orange SCL 4 Yellow MISO 5 Green GND 6 Blue MOSI 7 Violet 4

SDA 8 Gray GND 9 White IN 10 Black SCLK 11 Brown OUT 12 Red 3.3V 13 Orange 5V 14 Yellow VCC is the 3.3V power for the USB-to- I2C hardware. This supply is active whenever the hardware is plugged into a USB port. It is provided here to supply the pull-up resistors. It can also be used to power a user s target hardware. VP supplies the power to the I²C pullup resistors (see RPU). Note that the USB-to-I2C hardware by default has the jumpers connected at RPU and it is up to the user to ensure that a voltage source is connected to the VP pin. A pull-up voltage, up to 5.5V maximum, may be applied to the VP pin. If pull-up resistors are not required, please remove the two jumpers at connector RPU. It is not be necessary to apply a voltage at VP if the RPU jumper are not installed. SPI Port the SPI signals are connected to the target system from this port. Note that these signals drive a 3.3V output. To communicate with a SPI slave, you require four signals and GND: SSN Slave Select (also known as CS or Chip Select) MISO Master In Slave Out is connected to the SPI slave output MOSI Master Out Slave In is connected to the SPI slave input SCLK Serial Clock outputs the clock to the slave device The SPI pins may be used as IO pins controlled by the DLL, if not used for SPI functionality. I²C Port connect these two pins (SDA and SCL) and GND to your target system. Details can be found in the section titled USB-to-I2C Hardware To Target Connection of this document. SCL is the serial clock generated by the USB-to-I2C hardware. Clock stretching is supported. SDA is the bidirectional I²C data pin. Supply a voltage at VP for the pull-up resistors or remove the jumpers at RPU before using the I2C port. It is advisable to remove the jumpers when connecting the USB-to-I2C hardware to a target system, assuming the target already has pull-up resistors. This will allow you to use the USB-to-I2C hardware at the voltage of your target system. The I²C pins may be used as open-drain IO pins controlled by the DLL, if not used for I2C functionality. GPIO the USB-to-I2C hardware has one general purpose input and one general purpose input. 5

IN pin operates as an input with the following characteristics: INPUT PORT CHARACTERISTICS Vil low level input voltage 0.3*VDD = 0.99V Vih high level input voltage 0.7*VDD = 2.31V Note that the microcontroller is a 3.3V device but this input is 5V tolerant. The OUT pin has the following characteristics: OUTPUT PORT CHARACTERISTICS V oh 2.9V (min @ 4 ma) 0.4V (max @ 3.2mA) V ol 3.3V Switched Output provides the user with the ability to power a low power target system at 3.3V. The USB-to-I2C software has the ability to switch this output on and off. The total current provided by the USB-to-I2C Hardware to the target system should not exceed 40mA. It is the user s responsibility to ensure that excessive current is not drawn from this supply pin. 5V Switched Output provides the user with the ability to power a low power target system at 5V. The USB-to-I2C software has the ability to switch this output on and off. The total current provided by the USB-to-I2C Hardware to the target system should not exceed 40mA. It is the user s responsibility to ensure that excessive current is not drawn from this supply pin. Jumper RPU allows the user to connect 3.3Kohm pull-up resistors, which are connected between the I²C pins (SDA and SCL) and the VP pull-up voltage. The jumpers should be removed when connecting the USB-to-I2C hardware to a target system, if pull-up resistors are already available on the target system. 14-pin Ribbon Cable The USB-to-I2C hardware is shipped with a 14-pin ribbon cable with a 2x7 pin connector. The connector has a 0.1 (2.54mm) spacing. The pin configuratio n of the connector, when 14-pin connector VCC VP SSN SCL MISO GND MOSI SDA GND IN 6 viewed from above, is shown here.

USB-TO-I2C HARDWARE TO TARGET CONNECTION When connecting the USB-to-I2C Hardware to an I²C target system, a cable with a minimum of three (3) wires will be required. The SDA, SCL, and GND on the USB-to-I2C Hardware must be connected to their corresponding signals on the target. The USB-to-I2C Hardware has 3.3K pull-up resistors connected to pin VP on the 14-pin header. If the VP is not connected, you must remove the jumpers at RPU. If the jumpers are left in the circuit, ensure that VP has a voltage source applied, and note that the total I²C sink current of 3mA is not exceeded when the target pull-ups and USB-to-I2C pull-ups are taken into consideration. The SDA and SCL lines may be pulled up to a voltage range between 3.3V and 5.5V. It may work at voltages down to 2.5V; however, the noise margins will be lower. Minimum hardware connection between USB-to-I2C and User Hardware (Jumpers at RPU removed) Typical hardware connection between USB-to-I2C and User Hardware (Internal pull-up resistors jumpers at RPU) USING USB-TO-I2C TO POWER USER S SYSTEM When connecting the USB-to-I2C Hardware to the user s hardware, the target system can be self-powered or it may be powered from the VCC, 3.3V or 5V connectors on the USB-to- I2C hardware. The 3.3V and 5V power outputs can be turned on and off using the USB-to-I2C software or DLL. To turn on the power, select the appropriate item under the Options menu. A check 7

mark will be shown in the menu beside an enabled power output. The status bar at the bottom of the USB-to-I2C software will also indicate if a power output is enabled. Note that the 3.3V and 5V power outputs are disabled upon hardware reset. To use the USB-to-I2C hardware in a 3.3V environment, you will need to connect the SCL, SDA, GND and 3.3V (or the VCC pin) to your target system. The pull-up resistors may be left in the circuit or they may be removed by removing the jumpers at RPU. If using the onboard pull-up resistors, you should connect an appropriate voltage to VP. USB-to-I2C Hardware used to power a user application Important note: the total current consumed by the USB-to-I2C hardware and the target system must be limited to 100mA by the user when using the power outputs. The USB-to-I2C hardware uses about 60mA so the target system can consume a maximum of 40mA. FIRMWARE UPDATES The firmware in the USB-to-I2C hardware can be updated by the user. No special software is required for the update. The firmware can be updated by using the following procedure. 1. Disconnect the USB-to-I2C hardware from the USB port. It should also be disconnected from any user target hardware. 2. Place a jumper across the bottom two pins of jumper JFU (see figure in the Hardware Description section of this document). 3. Plug the USB-to-I2C hardware into the computer s USB port. 4. The USB-to-I2C hardware will be displayed as a mass storage device in Windows, as shown below. 8

5. Select the firmware.bin file and delete it. You will be asked if you would like to delete the file. Choose Yes. 9

6. Place the new firmware update into the folder. 7. Disconnect the USB-to-I2C hardware from the USB port. 8. Remove the jumper from JFU. You can now use the USB-to-I2C hardware with updated firmware. You can check to see which firmware revision is loaded by clicking on About in the Help menu in the USB-to-I2C software. 10

SOFTWARE UPDATES The USB-to-I2C software has a built-in update feature which allows you to check for updates whenever your PC has an internet connection. This feature can be found under the Options menu. USB-to-I2C updates can also be downloaded manually from the following website: http://www.i2ctools.com/updates.html Check our website periodically for update announcements and information. TECHNICAL SUPPORT Technical Support for USB-to-I2C is available via an email to support@i2ctools.com. TROUBLESHOOTING If you have problems with the software installation, ensure that you have Admin Privileges. If the installer application doesn t launch when the CD-ROM is inserted, then manually browse the CD-ROM and find the Setup.exe file in the root directory of the CD. Double-click on the Setup.exe file to start the installation process. The Adapter has 3.3k pull-up resistors connected to the I 2 C bus lines. Ensure that additional pull-up resistors in the connected target system do not bring the pull-up resistance below 1.6k for 5V systems or 1.1K for 3.3V systems. The on-board pull-up resistors can be removed from the system by removing the pull-up resistor jumpers RPU (see Hardware Description above). USB-to-I2C monitors the communications on the I 2 C bus for proper operation of connected peripherals; any errors on the bus are detected and reported by the software. Bus communication is stopped if errors are detected and can be resumed when the (hardware) problem is corrected and the transmission retried. Keep the original USB-to-I2C installation CD-ROM in the event the software needs to be re-installed. Future USB-to-I2C updates from our Website may require a previous installation from the original media. If you get a Timeout message when using the software, make sure that there is a pullup connected to the SDA and SCL pins. The Timeout occurs when either, or both, of the I2C pins are held low for more than 0.5 seconds. If pull-ups are connected, remove the connection to the target system. Reset the hardware by removing the USB cable and reinserting it. Make sure that all three jumpers are connected then try 11

sending an I2C message. If you still get a Timeout, then microcontroller has probably been damaged. The unit will need to be returned for repair. If all else fails, email a description of the problem you are having to us at support@i2ctools.com. Note that all technical support requests must begin with an email to this email address. 12