background image

CY3240-I2USB

 I2C-USB Bridge Guide

Doc. # 001-66660 Rev.**

Cypress Semiconductor

198 Champion Court

San Jose, CA 95134-1709

Phone (USA): 800.858.1810

Phone (Intnl): 408.943.2600

http://www.cypress.com

[+] Feedback 

Downloaded from 

Elcodis.com

 

electronic components distributor

 

Содержание CY3240-I2USB

Страница 1: ...Guide Doc 001 66660 Rev Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 Phone USA 800 858 1810 Phone Intnl 408 943 2600 http www cypress com Feedback Downloaded from Elcodis com electr...

Страница 2: ...MAKES NO WARRANTY OF ANY KIND EXPRESS OR IMPLIED WITH REGARD TO THIS MATERIAL INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE Cypress reserv...

Страница 3: ...onstration Board Test 17 4 Hardware 23 4 1 System Block Diagram 23 4 2 Functional Description 24 4 2 1 PSoC CY8C24849 Chipset 25 4 2 2 USB Mini B Connector 25 4 2 3 ISSP Programming Header 26 4 2 4 GP...

Страница 4: ...c 39 A 1 1 I2C USB Bridge Schematic 39 A 1 2 Demo Target Board Schematic 42 A 2 I2C USB Bridge Board Layout 43 A 2 1 Demo Target Board Layout 43 A 3 BOM 44 A 3 1 I2C USB Bridge BOM Rev E 44 A 3 2 Demo...

Страница 5: ...ge Board example project when shipped See Chapter 5 for more details Chapter 2 of this document describes the installation and configuration of CY3240 I2USB Chapter 3 explains the programming of a PSo...

Страница 6: ...ist of PSoC Designer related trainings http www cypress com rID 40543 1 4 Document History 1 5 Documentation Conventions Revision PDF Creation Date Origin of Change Description of Change 01 25 2011 RK...

Страница 7: ...reen appears Note You can also download the latest kit installer from http www cypress com go CY3240 I2USB Download the ISO file and create an installer CD or extract the ISO using WinRar and install...

Страница 8: ...the location of the folder for the setup files using Change as shown in Figure 2 3 5 Click Next to launch the installer Figure 2 3 InstallShield Wizard 6 On the Product Installation Overview screen s...

Страница 9: ...ins a list of packages appears on the Installation Page 9 A green checkmark appears against every package that is downloaded and installed as shown in Figure 2 5 10 Wait until all the packages are dow...

Страница 10: ...he installation process Also verify your installation by opening PSoC Programmer with the kit board attached to USB 2 2 PSoC Designer PSoC Designer 5 1 is the revolutionary integrated design environme...

Страница 11: ...arted Figure 2 7 PSoC Designer Interconnect View Note For more details on PSoC Designer see the PSoC Designer IDE Guide located at InstalledDirectory Cypress PSoC Designer version Documentation Feedba...

Страница 12: ...gram the hex file on the chip 4 Close PSoC Programmer 2 4 Bridge Control Panel The Bridge Control Panel is used with CY3240 I2C USB Bridge to enable communication with I2C slave devices This program i...

Страница 13: ...ting Started Figure 2 9 Selecting the Bridge Note For more information go to Bridge Control Panel Help Help Contents 2 5 Install Hardware No hardware installation is required for this kit Feedback Dow...

Страница 14: ...14 CY3240 I2USB I2C USB Bridge Guide Doc 001 66660 Rev Getting Started Feedback Downloaded from Elcodis com electronic components distributor...

Страница 15: ...as 50 kHz 100 kHz and 400 kHz The number of devices that can be connected is constrained only by the I2 C address limit and phys ical ability of the I2 C bus For more details see the I2C Specificatio...

Страница 16: ...the bridge if it does not have its own power supply Note that the Vdd connection between the bridge and target board is required even if the board is self powered Optionally the bridge can provide 3...

Страница 17: ...y to the board from Bridge Control Panel The LED red on the bridge board lights up as shown Figure 3 6 LED Red on the Bridge Board 3 Click List the bridge will find I2C slave demonstration board at 0x...

Страница 18: ...t can be sent to demo target board the demo iic file is available in the CY3240 I2USB kit CD or at the following location Installed_directory Cypress CY3240 I2USB Go to File Open File demo iic to sele...

Страница 19: ...m the device and then click the Repeat button On clicking Repeat the command that is sent last is repeated until Stop is clicked This makes data collection easier The data received from slave can be v...

Страница 20: ...it Operation Figure 3 9 Bridge Control Panel Graphical Screen View 7 Click the Stop button to stop scanning 8 Click the Table tab to view data in a tabular form as shown in Figure 3 10 Feedback Downlo...

Страница 21: ...Data To save the data sent to the demo target board from Bridge Control Panel Save Receive Data To save received data shown on the status window of Bridge Control Panel Go to Bridge Control Panel Hel...

Страница 22: ...22 CY3240 I2USB I2C USB Bridge Guide Doc 001 66660 Rev Kit Operation Feedback Downloaded from Elcodis com electronic components distributor...

Страница 23: ...USB Mini B connector ISSP programming header GPIO pins I2C slave interface connector Figure 4 1 I2C USB Bridge Board Demo target board consists of CY8C21123 chip LED Photodiode ISSP programming header...

Страница 24: ...a master in the I2 C bus and is controlled by the PC program via USB In addition a demonstration PC program is included with the project to demonstrate bridge operation with connected I2C slave Figure...

Страница 25: ...necting the bridge to host via USB Lights up LED red on external power supply to target device Acts as interface between the host and target device Figure 4 4 PSoC CY8C24894 Hardware Schematic 4 2 2 U...

Страница 26: ...nto the chip connect the MiniProg for programming the chip The ISSP connector consists of the following Table 4 1 ISSP Programming Header Connection Details Pin No Connection Description 1 V Device To...

Страница 27: ...D input TP11 P2 6 44 External Voltage Reference VREF input TP10 P0 0 45 Analog column mux input TP9 P0 2 46 Analog column mux input TP8 P0 4 47 Analog column mux input TP7 P0 6 48 Analog column mux in...

Страница 28: ...nsists of two devices MAX3378 and SN721 MAX3378 Is used to convert the voltage level between the target device Vcc and host level voltage VL Has bidirectional level translation accepts VL 1 2 V Min to...

Страница 29: ...e CY8C21123 is used to control the two LEDs based on input from the host using Bridge Control Panel The PSoC device updates the I2C register with the sensor information which can be read by any I2C ma...

Страница 30: ...30 CY3240 I2USB I2C USB Bridge Guide Doc 001 66660 Rev Hardware Figure 4 9 Demo Board Chip Schematic Feedback Downloaded from Elcodis com electronic components distributor...

Страница 31: ...re values which are acquired by the PSOC device CY8C21123 to transmit to host This project uses the following modules to display temperature and light intensity values ADC10 Used to obtain the digital...

Страница 32: ...32 CY3240 I2USB I2C USB Bridge Guide Doc 001 66660 Rev Example Projects 5 1 2 Hardware Connections Figure 5 1 Functional Blocks Feedback Downloaded from Elcodis com electronic components distributor...

Страница 33: ...CY3240 I2USB I2C USB Bridge Guide Doc 001 66660 Rev 33 Example Projects 5 1 3 I2C USB Demo Target Board Flowchart Feedback Downloaded from Elcodis com electronic components distributor...

Страница 34: ...ues on Bridge Control Panel 5 2 Example Project 2 I2C USB Bridge Board Project 5 2 1 Project Description This project demonstrates communication between the bridge and host After each packet is receiv...

Страница 35: ...CY3240 I2USB I2C USB Bridge Guide Doc 001 66660 Rev 35 Example Projects 5 2 2 Hardware Connections Figure 5 3 Functional Bocks Feedback Downloaded from Elcodis com electronic components distributor...

Страница 36: ...36 CY3240 I2USB I2C USB Bridge Guide Doc 001 66660 Rev Example Projects 5 2 3 I2C USB Bridge Flowchart Feedback Downloaded from Elcodis com electronic components distributor...

Страница 37: ...CY3240 I2USB I2C USB Bridge Guide Doc 001 66660 Rev 37 Example Projects Feedback Downloaded from Elcodis com electronic components distributor...

Страница 38: ...mple Projects 5 2 4 Verify Output When connected to the demonstration board LED green blinks on the bridge indicating transfer operation between the bridge and PC Figure 5 4 Verify Output Feedback Dow...

Страница 39: ...C USB Bridge Guide Doc 001 66660 Rev 39 A Appendix A 1 Schematic A 1 1 I2C USB Bridge Schematic Figure A 1 Reverse Current Protection Schematic Feedback Downloaded from Elcodis com electronic componen...

Страница 40: ...240 I2USB I2C USB Bridge Guide Doc 001 66660 Rev Figure A 2 USB Connection with Voltage Suppressor Schematic Figure A 3 Diode Schematic Feedback Downloaded from Elcodis com electronic components distr...

Страница 41: ...CY3240 I2USB I2C USB Bridge Guide Doc 001 66660 Rev 41 Figure A 4 Voltage Regulator Schematic Feedback Downloaded from Elcodis com electronic components distributor...

Страница 42: ...B I2C USB Bridge Guide Doc 001 66660 Rev Figure A 5 PSoC CY8C24894 Schematic A 1 2 Demo Target Board Schematic Figure A 6 Demo Board Schematic Feedback Downloaded from Elcodis com electronic component...

Страница 43: ...e Guide Doc 001 66660 Rev 43 A 2 I2C USB Bridge Board Layout Figure A 7 Top View Figure A 8 Bottom View A 2 1 Demo Target Board Layout Figure A 9 Top View Feedback Downloaded from Elcodis com electron...

Страница 44: ...ohm MCR03EZPJ104 17 2 R14 R15 RES 7 5K OHM 1 10W 5 0603 SMD Yageo RC0603JR 077K5L 18 2 R16 R17 RES 30K OHM 1 10W 5 0603 SMD Yageo RC0603JR 0730KL 19 3 R18 R19 R20 RES 47 OHM 1 10W 5 0603 SMD Yageo RC0...

Страница 45: ...75K OHM 1 8W 5 0805 SMD Yageo America RC0805JR 0775KL 311 75KARCT ND 3 2 R2 R3 RES 1 0K OHM 1 8W 5 0805 SMD Yageo America RC0805JR 071KL 311 1 0KARCT ND 4 1 D1 Visible Light Sensor Microsemi Inc LX19...

Страница 46: ...46 CY3240 I2USB I2C USB Bridge Guide Doc 001 66660 Rev Feedback Downloaded from Elcodis com electronic components distributor...

Отзывы: