AN2352 Cypress, AN2352 Datasheet - Page 8
![no-image](/images/no-image-200.jpg)
AN2352
Manufacturer Part Number
AN2352
Description
I2C USB Bridge Usage
Manufacturer
Cypress
Datasheet
1.AN2352.pdf
(8 pages)
www.DataSheet4U.com
The
configuration settings to EEPROM. In future use, these
configuration settings can be automatically loaded upon
start up. Use the command string below to save current
configuration settings as default:
s 42 30 01
For more details on port expander operation, refer to [3].
Programming I
Bridge
The CY8C9520 expander can be used to write and read
data from standard I
program BINTOUSB2IIC.exe, which was added to this
Application Note, converts binary data to a command file.
To program the device, the generated command file
should be opened in USB2IIC.exe program and all
command strings executed. The following steps must be
performed to program an I
1.
2.
3.
After this, the device will be programmed.
© Cypress Semiconductor Corporation, 2006. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no responsibility for the
use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor intended
to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize
its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of
Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges.
9/22/2006
Determine the I
programmed. To do this, click the Scan button and
choose the appropriate address from the list of
identified devices.
Pass the binary file (data for programming) through
the BINTOUSB2IIC.exe program. Three parameters
must be entered into the command line of the
program: file name of input and output files (default
output file is data.txt) and device I
is 0xA0). For example:
BINTOUSB2IIC.exe
Open the output file in the USB2IIC.exe program.
Send all command strings by checking the “Send All
Strings” box and clicking the Send button.
expander
p
allows
2
C EEPROM or SRAM devices. The
2
2
C address of the device to be
C EEPROM Using
2
data.bin data.txt
C memory device:
designers
2
to
C address (default
save
A2
current
Revision **
Conclusion
This Application Note demonstrates how to effectively pair
an I2C-USB bridge with the USB2IIC.exe software
program. If interested, read through the documentation on
the bridge internal protocol and structure [1]. It is also an
advantage to be familiar with writing software that works
with USB HID devices. The source code of the
USB2IIC.exe program is a good starting point for such
designing.
References
[1]. I2C-USB Bridge Guide, included in the CY3240-I2USB
kit available in the Cypress Online Store.
[2]. I2C-USB Bridge Quick Start Guide, included in the
CY3240-I2USB kit available in the Cypress Online Store.
[3]. AN2304 “I2C Port Expander with Flash Storage”
http://www.cypress.com/design/AN2304
Associated Project and Support
Materials
About the Author
test2.zip
test3.zip
test4.zip
usb2iic.exe
bittiusb2iic.exe
Background:
Contact:
Name
Name:
Title:
Valeriy Kyrynyuk
Engineer
Eight years experience with
fieldbus and communication
device designs.
lopik@lviv.farlep.net
Tachometer Example Project
CapSense Keypad Example Project
Three Channel ADC Example Project
PC Software for I2C-USB Bridge
PC Software for Binary Data Conversion
Description
San Jose, CA 95134-1709
Cypress Semiconductor
http://www.cypress.com
Phone: 408-943-2600
198 Champion Court
Fax: 408-943-4730
AN2352
- 8 -