DataSheet.es    


PDF AN2352 Data sheet ( Hoja de datos )

Número de pieza AN2352
Descripción I2C USB Bridge Usage
Fabricantes Cypress 
Logotipo Cypress Logotipo



Hay una vista previa y un enlace de descarga de AN2352 (archivo pdf) en la parte inferior de esta página.


Total 8 Páginas

No Preview Available ! AN2352 Hoja de datos, Descripción, Manual

www.DataSheet4U.com
Application Note
AN2352
I2C-USB Bridge Usage
Author: Valeriy Kyrynyuk
Associated Project: Yes
Associated Part Family: CY8C24894
Software Version: PSoC Designer™ v. 4.3
Associated Application Notes and Kits: AN2304,
CY3240-I2USB, CY3242-IOX >> Available in Cypress Online Store
Abstract
This Application Note, which is included in the CY3240-I2USB kit available in the Cypress Online Store, details several
examples using the I2C-USB bridge design. It is also a supplement to the I2C-USB Bridge Quick Start Guide reference [2] at
the end of this document, also available in CY3240-I2USB. The Application Note contains details about implementing an I2C
interface into existing projects and using I2C communication to test, debug and tune device designs.
Introduction
The normal capabilities of a PC can be well expanded
upon by using the new I2C-USB bridge and its supporting
software. A PC with I2C-USB bridge can be useful for
following tasks:
Debug existing projects (using I2C communication
instead of UART, for example).
Acquire and manipulate data from various I2C
devices, such as ADCs, DACs, IO expanders,
sensors with I2C interfaces, etc.
Program EEPROM, SRAM devices.
Train users and demonstrate I2C device capabilities.
This Application Note details the following examples of
bridge usage:
1. Monitoring CapSense CSR User Module operation.
2. Monitoring tachometer operation.
3. Working with a 20-pin IO port expander with
EEPROM.
4. Programming 24Cxxx serial EEPROM devices.
5. Working with a PSoC-based 3-channel potentiometer.
The simplest way to implement I2C into a PSoC project
and attach the device to the bridge will also be looked at
closely. This document does not describe the internal
structure and protocol of the bridge. For this information
refer to the I2C-USB Bridge Guide reference [1] at the end
of this document, also available in CY3240-I2USB. The
USB2IIC.exe program was used in all examples. Details of
this program are described in [2].
Attach Device to Bridge
Execute the following steps to connect the device to the
I2C-USB bridge:
1. Connect GND of the device to GND of the bridge.
2. Connect the SDA, SCL lines to the bridge (Figure 1).
Bridge has 2.2k pull-up resistors connected to +5V.
3. Power the device from the Vdd pin on the bridge if it
does not have its own power supply. Note that the
connection of Vdd between the bridge and target
board is REQUIRED, even if the board is self-
powered. The bridge can (optionally) provide 3.3V or
5V, or it can work with an externally powered board
using 2.4V to 5.6V.
4. Connect the bridge to USB.
5. Run USB2IIC.exe program from PC.
6. Select the bridge in the list at the bottom center of the
screen.
9/22/2006
Revision **
-1-

1 page




AN2352 pdf
www.DataSheet4U.com
Figure 3. Tachometer Measurements
AN2352
The second example project (test3_cap) demonstrates a
CapSense-driven keypad. It indicates and collects data
from the CSR User Module measurements. This data
helps monitor keypad performance and optimize the CSR
User Module properties and PCB layout. The Slave_Addr
parameter for this example is set to 5. Figure 4 shows the
operation of this project – the period value during
sequential pressing of keypad buttons.
The command line of this example is as follows:
s 0B xk1 xk0 xl1 xl0 xm1 xm0 xn1 xn0 p
Figure 4. CSR Keypad Period Samples
6 000
5 500
5 000
4 500
4 000
3 500
3 000
2 500
2 000
0
gfedcb K
gfedcb L
gfedcb M
gfedcb N
50 100 150 200 250 300 350 400
9/22/2006
Revision **
-5-

5 Page










PáginasTotal 8 Páginas
PDF Descargar[ Datasheet AN2352.PDF ]




Hoja de datos destacado

Número de piezaDescripciónFabricantes
AN2352I2C USB Bridge UsageCypress
Cypress
AN2356Graphics LibraryCypress
Cypress

Número de piezaDescripciónFabricantes
SLA6805M

High Voltage 3 phase Motor Driver IC.

Sanken
Sanken
SDC1742

12- and 14-Bit Hybrid Synchro / Resolver-to-Digital Converters.

Analog Devices
Analog Devices


DataSheet.es es una pagina web que funciona como un repositorio de manuales o hoja de datos de muchos de los productos más populares,
permitiéndote verlos en linea o descargarlos en PDF.


DataSheet.es    |   2020   |  Privacy Policy  |  Contacto  |  Buscar