Introduction Thank you for your interest in the CY3240-I2USB Kit. The CY3240-I2USB can be used with the Bridge Control Panel that is installed with PSoC Programmer. The kit is designed to test, tune, and debug programs that have an I2C slave interface. This document describes the working of CY3240 and includes example projects, which will help you get started with the bridging tool.
Click the File icon and then click Open. Displays an equation: Times New Roman 2 + 2 = 4 Text in gray boxes Describes cautions or unique functionality of the product. CY3240-I2USB I2C-USB Bridge Guide, Doc. # 001-66660 Rev.** Downloaded from Elcodis.com electronic components distributor [+] Feedback...
I2USB. Download the ISO file and create an installer CD or extract the ISO using WinRar and install the executables. 2. Click Install CY3240-I2USB Bridge Kit to start the installation, as shown in Figure 2-1. Figure 2-1. CY3240-I2USB Menu Note If auto-run does not execute, double-click cyautorun.exe file on the root directory of the...
Page 8
6. On the Product Installation Overview screen, select the installation type that best suits your requirement. The drop-down menu has three options: Typical, Complete, and Custom, as shown in Figure 2-4. 7. Click Next to start the installation. CY3240-I2USB I2C-USB Bridge Guide, Doc. # 001-66660 Rev.** Downloaded from Elcodis.com electronic components distributor [+] Feedback...
Page 9
9. A green checkmark appears against every package that is downloaded and installed, as shown Figure 2-5. 10.Wait until all the packages are downloaded and installed successfully. Figure 2-5. Installation Page CY3240-I2USB I2C-USB Bridge Guide, Doc. # 001-66660 Rev.** Downloaded from Elcodis.com electronic components distributor [+] Feedback...
To open an existing project, click File > Open ■ To experiment with the example projects, go to Example Projects on page 31 ■ CY3240-I2USB I2C-USB Bridge Guide, Doc. # 001-66660 Rev.** Downloaded from Elcodis.com electronic components distributor [+] Feedback...
Page 11
Getting Started 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. CY3240-I2USB I2C-USB Bridge Guide, Doc. # 001-66660 Rev.** Downloaded from Elcodis.com electronic components distributor [+] Feedback...
Note For more information, go to Bridge Control Panel > Help > Help Contents. Install Hardware No hardware installation is required for this kit. CY3240-I2USB I2C-USB Bridge Guide, Doc. # 001-66660 Rev.** Downloaded from Elcodis.com electronic components distributor [+] Feedback...
Page 14
Getting Started CY3240-I2USB I2C-USB Bridge Guide, Doc. # 001-66660 Rev.** Downloaded from Elcodis.com electronic components distributor [+] Feedback...
The maximum bandwidth of this configuration is 64 bytes. This is sufficient for most I2C-USB bridge applications (Figure 3-1). Figure 3-1. I2C-USB Bridge CY3240-I2USB I2C-USB Bridge Guide, Doc. # 001-66660 Rev.** Downloaded from Elcodis.com electronic components distributor [+] Feedback...
The CY3240 I2C-USB Bridge can be programmed using a MiniProg at the programming header of the bridge. To use MiniProg, use the ISSP Programming Header (J2) on the board as highlighted in Figure 3-4. CY3240-I2USB I2C-USB Bridge Guide, Doc. # 001-66660 Rev.** Downloaded from Elcodis.com electronic components distributor...
The demonstration board has built-in temperature sensor and photodiode. The measurement results of these are sent over I 1. Open the Variable Setting dialog box from the Chart menu. CY3240-I2USB I2C-USB Bridge Guide, Doc. # 001-66660 Rev.** Downloaded from Elcodis.com...
Page 18
Figure 3-7. The demo.ini file ini- tializes light and temperature variables and is available in the CY3240-I2USB kit CD or at the fol- lowing location: <Installed_directory>:\Cypress\CY3240-I2USB. 3. Load demo.iic file for iic commands that 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...
Page 19
This makes data collection easier. The data received from slave can be viewed either graphically or in a tabular form. 6. Click the Chart tab to view data graphically, as shown in Figure 3-9. CY3240-I2USB I2C-USB Bridge Guide, Doc. # 001-66660 Rev.** Downloaded from Elcodis.com electronic components distributor [+] Feedback...
Page 20
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. CY3240-I2USB I2C-USB Bridge Guide, Doc. # 001-66660 Rev.** Downloaded from Elcodis.com electronic components distributor [+] Feedback...
Page 21
Save Receive Data - To save received data shown on the status window of Bridge Control Panel. ■ Go to Bridge Control Panel Help from the Help menu for more information on the Bridge Control Panel and iic command format. CY3240-I2USB I2C-USB Bridge Guide, Doc. # 001-66660 Rev.** Downloaded from Elcodis.com electronic components distributor...
4.2.1 PSoC CY8C24849 Chipset The PSoC CY8C24894 on CY3240-I2USB Bridge board is pre-programmed to function as full fea- tured, full speed (12 Mbps) USB. This device enables creating customized peripheral (I/O) configu- rations that match the requirements of each individual application.
Pin No Connection Description +V Device To supply voltage to the bridge Ground pin of the bridge Interrupt pin Serial data line Serial clock line CY3240-I2USB I2C-USB Bridge Guide, Doc. # 001-66660 Rev.** Downloaded from Elcodis.com electronic components distributor [+] Feedback...
(if source current is 0.02 mA) and V (Low) is 0.4 V SN721 An array of SCR/diode bipolar structure for ESD and over-voltage protection ■ CY3240-I2USB I2C-USB Bridge Guide, Doc. # 001-66660 Rev.** Downloaded from Elcodis.com electronic components distributor [+] Feedback...
Example Projects All example projects are available in the CY3240-I2USB kit CD or at the following location: <Installed_directory>:\Cypress\CY3240-I2USB\Firmware Example Project 1: I2C-USB Demo Target Board Project 5.1.1 Project Description This example project demonstrates the data transfer between target board and host. The target board has a photodiode to measure light intensity and temperature values, which are acquired by the PSOC device (CY8C21123) to transmit to host.
CMPRG: Used to compare the data programmable reference threshold. PWRFB: Used to set the power level for this application. TIMER8: Used to wake up the application from sleep mode. CY3240-I2USB I2C-USB Bridge Guide, Doc. # 001-66660 Rev.** Downloaded from Elcodis.com...
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 CY3240-I2USB I2C-USB Bridge Guide, Doc. # 001-66660 Rev.** Downloaded from Elcodis.com electronic components distributor...
Need help?
Do you have a question about the CY3240-I2USB and is the answer not in the manual?
Questions and answers