Cypress Semiconductor CY8C24894 Uživatelský manuál Strana 1

Procházejte online nebo si stáhněte Uživatelský manuál pro ne Cypress Semiconductor CY8C24894. CY3240 USB-I2C Bridge Kit Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk

Shrnutí obsahu

Strany 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 (

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 8 - Introduction

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

Strany 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-

Strany 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

Strany 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

Strany 12

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 17 - 3. Kit Operation

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 23

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

Strany 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

Strany 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

Strany 26 - 4.2 Functional Description

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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.

Strany 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

Strany 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

Strany 34 - Code Examples

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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.

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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"

Strany 52

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

Strany 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

Strany 54

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

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

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

Strany 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

Komentáře k této Příručce

Žádné komentáře