Cypress Semiconductor CY8C24894 Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Non Cypress Semiconductor CY8C24894. CY3240 USB-I2C Bridge Kit Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer

Résumé du contenu

Page 1 - USB-I2C Bridge Guide

CY3240-I2USB USB-I2C Bridge GuideDoc. # 001-66660 Rev.*BCypress Semiconductor198 Champion CourtSan Jose, CA 95134-1709Phone (USA): 800.858.1810Phone (

Page 2

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

Page 3 - Contents

CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 11Getting StartedFigure 2-4. Installation Type Options8. When the installation begins, a list of

Page 4 - A. Appendix 59

12 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BGetting StartedFigure 2-6. Installation Complete PageAfter the software installation, verify t

Page 5 - 1. Introduction

CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 13Getting Started2.2 PSoC DesignerPSoC Designer is the revolutionary integrated design environmen

Page 6 - 1.3 Document History

14 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BGetting Started2.3 PSoC ProgrammerTo open PSoC Programmer, click Start > All Programs > C

Page 7

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

Page 8 - Introduction

16 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BGetting Started

Page 9 - 2. Getting Started

CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 173. Kit Operation3.1 IntroductionThis chapter provides key information regarding the CY3240 USB-

Page 10 - Getting Started

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

Page 11

CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 19Kit Operation3.3 Connect Demonstration Board to Bridge1. Connect the I2C slave demonstration bo

Page 12

2 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BCopyrightsCopyrights© Cypress Semiconductor Corporation, 2011-2013. The information contained he

Page 13 - 2.2 PSoC Designer

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

Page 14 - 2.3 PSoC Programmer

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

Page 15 - 2.4 Bridge Control Panel

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

Page 16

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

Page 17 - 3. Kit Operation

24 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BKit Operation

Page 18 - 3.2.1 Program USB-I2C Bridge

CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 254. HardwareThis section provides an overview of the hardware, including power system, jumper se

Page 19 - Kit Operation

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

Page 20

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

Page 21

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

Page 22

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

Page 23

CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 3Contents1. Introduction 51.1 Kit Contents ...

Page 24

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

Page 25 - 4. Hardware

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

Page 26 - 4.2 Functional Description

32 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BHardwareFigure 4-9. Demo Board Chip Schematic

Page 27 - 4.2.1 PSoC CY8C24894 Chip

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

Page 28 - 4.2.3 ISSP Programming Header

34 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BCode Examples5.1.2 USB-I2C Demo Board Flowchart6WDUW6HW5$0EXIIHUORFDWLRQ(QDEOH*OREDO,QWHU

Page 29 - 4.2.4 GPIO Pins

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

Page 30 - Hardware

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

Page 31 - 4.2.6 Demo Board

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.

Page 32

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

Page 33 - 5. Code Examples

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

Page 34 - Code Examples

4 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BContentsA. Appendix 59A.1 Schematic...

Page 35

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

Page 36

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

Page 37 - Figure 5-4. Default View

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

Page 38

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

Page 39

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

Page 40

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

Page 41

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

Page 42

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

Page 43

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

Page 44

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.

Page 45 - PWM8 in the design

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

Page 46

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

Page 47 - GlobalOutEven_2

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

Page 48

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

Page 49

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

Page 50

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

Page 51 - 5.1.4 Verify Output

CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 55Code Examples5.2.3 USBtoIIC Flowchart,QLWLDOL]DWLRQRI,&86%%ULGJH7XUQWR6OHHSPRGH"

Page 52

56 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BCode Examples$ %& '6HQG ,&5HVWDUW0DNH5HVWDUW&RQGLWLRQ6HQG $GGU %\WH0DNH6W

Page 53 - 5.2 USBtoIIC Code Example

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

Page 54

58 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BCode Examples

Page 55 - 5.2.3 USBtoIIC Flowchart

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

Page 56

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

Page 57 - 5.2.4 Verify Output

60 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BFigure A-3. Diode SchematicFigure A-4. Voltage Regulator Schematic

Page 58

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

Page 59 - A. Appendix

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

Page 60 - Figure A-3. Diode Schematic

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

Page 61 - A.1.2 Demo Board Schematic

64 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BA.3.2 Demo BoardItem Qty Reference Description Manufacturer Mfr Part NumberPCB Cypress Semicond

Page 62 - A.2.1 Demo Board Layout

CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*B 7IntroductionFile > OpenRepresents menu paths:File > Open > New ProjectBoldDisplays comm

Page 63 - A.3 Bill of Materials (BOM)

8 CY3240 USB-I2C Bridge Guide, Doc. # 001-66660 Rev.*BIntroduction

Page 64 - A.3.2 Demo Board

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

Pas de commentaire