CY3240-I2USB USB-I2C Bridge GuideDoc. # 001-66660 Rev.*BCypress Semiconductor198 Champion CourtSan Jose, CA 95134-1709Phone (USA): 800.858.1810Phone (
10 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BGetting StartedNote If auto-run does not execute, double-click cyautorun.exe file on the root d
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 11Getting StartedFigure 2-4. Installation Type Options8. When the installation begins, a list of
12 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BGetting StartedFigure 2-6. Installation Complete PageAfter the software installation, verify t
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 13Getting Started2.2 PSoC DesignerPSoC Designer is the revolutionary integrated design environmen
14 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BGetting Started2.3 PSoC ProgrammerTo open PSoC Programmer, click Start > All Programs > C
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 15Getting Started2.4 Bridge Control PanelThe Bridge Control Panel is used with CY3240 USB-I2C Bri
16 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BGetting Started
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 173. Kit Operation3.1 IntroductionThis chapter provides key information regarding the CY3240 USB-
18 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BKit OperationPerform the following steps to connect the device to CY3240 USB-I2C Bridge, as sho
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 19Kit Operation3.3 Connect Demonstration Board to Bridge1. Connect the I2C slave demonstration bo
2 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BCopyrightsCopyrights© Cypress Semiconductor Corporation, 2011-2013. The information contained he
20 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BKit OperationFigure 3-7. Variable Setting Box2. The demo.ini file initializes light and temper
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 21Kit OperationFigure 3-8. Bridge Control Panel Editor Screen View5. Click in the last line, whi
22 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BKit OperationFigure 3-9. Bridge Control Panel Graphical Screen View 8. Click the Stop button t
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 23Kit OperationFigure 3-10. Bridge Control Panel Tabular Screen ViewThe File menu has these opti
24 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BKit Operation
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 254. HardwareThis section provides an overview of the hardware, including power system, jumper se
26 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BHardwareFigure 4-2. Demo Board4.2 Functional DescriptionThe USB-I2C Bridge is connected to the
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 27Hardware4.2.1 PSoC CY8C24894 ChipThe PSoC CY8C24894 on the CY3240 USB-I2C Bridge board is prepr
28 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BHardware4.2.2 USB Mini B ConnectorUSB Mini B connector communicates between the PC and the brid
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 29HardwareFigure 4-6. ISSP Header Schematic4.2.4 GPIO PinsGPIO plays an important role in custom
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 3Contents1. Introduction 51.1 Kit Contents ...
30 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BHardwareFigure 4-7. GPIO Pin Schematic4.2.5 I2C Slave Interface ConnectorThe I2C slave interfa
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 31HardwareFigure 4-8. I2C Slave Interface Schematic4.2.6 Demo BoardThe demo board lights the two
32 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BHardwareFigure 4-9. Demo Board Chip Schematic
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 335. Code ExamplesAll code examples are available in the CY3240 USB-I2C Bridge kit CD or at the f
34 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BCode Examples5.1.2 USB-I2C Demo Board Flowchart6WDUW6HW5$0EXIIHUORFDWLRQ(QDEOH*OREDO,QWHU
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 35Code Examples5.1.3 Creating My First PSoC 1 Project1. Open PSoC Designer.2. To create a new pro
36 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BCode Examples8. For this project, click CY8C21123-24SXI; then click Select.Figure 5-3. Device
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 37Code Examples10.By default, the project opens in Chip view, as shown in Figure 5-4.Figure 5-4.
38 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BCode Examples12.In this folder, right-click on ADC10 and select Place. The user module (UM) is
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 39Code Examples14.Click on AnalogColumn_InputMUX_0 to change from Port_0_3 to Port_0_5.Figure 5-9
4 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BContentsA. Appendix 59A.1 Schematic...
40 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BCode Examples16.Select Analog ADC Module and click on ADC Input to select AnalogColumn_InputSel
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 41Code Examples18.In the User Modules window, expand the Digital Comm folder and double-click on
42 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BCode Examples20.Default properties of EzI2C _1 is shown in the following figure.Figure 5-15. D
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 43Code Examples23.By default, the PWM8 is placed as shown in the following figure.Figure 5-18. P
44 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BCode Examples25.Click on Row_0_Output_0 bus to open the Digital Interconnect window; configure
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 45Code Examples27.Configure parameters of PWM8_1.Figure 5-22. Parameter Window of PWM8_128.In th
46 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BCode Examples29.By default, the PWM8_2 is placed, as shown in Figure 5-24. Figure 5-24. Placem
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 47Code Examples31.Click on Row_0_Output_2 bus to open the Digital Interconnect window; configure
48 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BCode Examples33.Configure the parameters of PWM8_2.Figure 5-28. Parameter Window of PWM8_234.C
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 49Code Examples35.Open the existing main.c file in Workspace Explorer. Replace the existing main.
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 51. IntroductionThank you for your interest in the CY3240 USB-I2C Bridge Kit. The CY3240 USB-I2C
50 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BCode Examples41.Click on the Program button to start programming the board.Figure 5-31. Progra
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 51Code Examples5.1.4 Verify Output1. Connect the demo board to the bridge board.Figure 5-34. Dem
52 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BCode Examples6. Load the demo.ini file, by clicking the Load button to initialize light and tem
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 53Code Examples8. The first two lines in the demo.iic file show how to control the LEDs on the bo
54 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BCode ExamplesPWRFB: Used to set the power level for this application.TIMER8: Used to wake up th
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 55Code Examples5.2.3 USBtoIIC Flowchart,QLWLDOL]DWLRQRI,&86%%ULGJH7XUQWR6OHHSPRGH"
56 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BCode Examples$ %& '6HQG ,&5HVWDUW0DNH5HVWDUW&RQGLWLRQ6HQG $GGU %\WH0DNH6W
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 57Code Examples5.2.4 Verify OutputWhen connected to the demonstration board, the green LED on the
58 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BCode Examples
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 59A. AppendixAll hardware files are available in the CY3240 USB-I2C Bridge kit CD or at the follo
6 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BIntroductionprovided USB 2.0 cable. During prototyping, the MiniProg can be used as an in-system
60 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BFigure A-3. Diode SchematicFigure A-4. Voltage Regulator Schematic
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 61Figure A-5. PSoC CY8C24894 SchematicA.1.2 Demo Board SchematicFigure A-6. Demo Board Schemati
62 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BA.2 USB-I2C Bridge Board LayoutFigure A-7. Top ViewFigure A-8. Bottom ViewA.2.1 Demo Board La
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 63A.3 Bill of Materials (BOM)A.3.1 USB-I2C Bridge BOMItem Qty Reference Description Manufacturer
64 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BA.3.2 Demo BoardItem Qty Reference Description Manufacturer Mfr Part NumberPCB Cypress Semicond
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 7IntroductionFile > OpenRepresents menu paths:File > Open > New ProjectBoldDisplays comm
8 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BIntroduction
CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 92. Getting StartedThis chapter describes the installation and configuration of the CY3240 USB-I2
Commentaires sur ces manuels