Cypress CY8CKIT-043 Скачать руководство пользователя страница 23

CY8CKIT-043 PSoC® 4 M-Series Prototyping Kit Guide, Doc. #: 001-97606 Rev. **

23

Hardware

4.2.2

KitProg Board

PSoC 5LP on the KitProg board is used to program and debug the target PSoC 4 device. The
KitProg PSoC 5LP connects to the USB port of the computer through the PCB USB connector and to
the SWD interface of the target PSoC 4 device. See the 

KitProg User Guide

 for additional details

and functions provided by the KitProg.

Figure 4-3.  Schematic of PSoC 5LP (KitProg)

 
p

5(MSB)

P3

P3.3

Floating

G

GND read as binary 
floating pin is rea

Place Near PSoC 5LP

V

DDD

VCCA

KP_

D

P

KP_

D

M

KP_

D

M

_

P

KP_

D

P_

P

KP_P0_0

KP_P0_1

KP_P12_0

KP_P12_1

K

P

_P

12_6

KP_

VD

D

IO

2

KP_

VD

D

IO

0

VSSD

K

P

_P

12_7

KP_P12_2

KP_P2_6
KP_P2_7

KP_P12_4

KP_P3_6

KP_VDDIO3

VSSD

KP_P12_3

KP_

P3

_

0

KP_

P3

_

4

KP_

P3

_

5

K

P

_P

1_7

K

P

_P

1_6

KP_

P3

_

1

KP_

VC

C

D

KP_P12_5

KP_

P0

_

4

KP_

VC

C

D

KP_

P0

_

7

KP_

P0

_

5

KP_

P0

_

6

V

DDD

KP_VDDIO1

VDDA

KP_P1_6
KP_P1_7

VSSD

KP_P0_3
KP_P0_2

VSSD

KP_XRES

KP_XRES

VTARG

VBUS

R10

R2
15K

0603

R4

22E

K

Load

R12

0603

R5

22E

U1

CY8C5868LTI-LP039 QFN68

P2_6

1

P2_7

2

P12_4 I2C0_SCL, SIO

3

P12_5 I2C0_SDA, SIO

4

VSSB

5

IND

6

VBOOST

7

VBAT

8

VSSD

9

XRES

10

P1_0

11

P1_1

12

P1_2

13

P1_3

14

P1_4

15

P1_5

16

VDDIO1

17

P

1_6

18

P

1_7

19

P

12_6_S

IO

20

P

12_7_S

IO

21

P

15_6 D

P

22

P

15_7 D

M

23

V

DDD

24

VSSD

25

V

CCD

26

P

15_0

27

P

15_1

28

P

3_0

29

P

3_1

30

P

3_2

31

P

3_3

32

P

3_4

33

P

3_5

34

VDDIO3

35

V

DDIO

0

52

P0_3

51

P0_2

50

P0_1

49

P0_0

48

SIO_P12_3

47

SIO_P12_2

46

VSSD

45

VDDA

44

VSSA

43

VCCA

42

P15_3

41

P15_2

40

SIO, I2C1_SDA P12_1

39

SIO, I2C1_SCL P12_0

38

P3_7

37

P3_6

36

P

2_4

66

P

2_3

65

P

2_2

64

P

2_1

63

P

2_0

62

P

15_5

61

P

15_4

60

V

DDD

59

VSSD

58

V

CCD

57

P

0_7

56

P

0_6

55

P

0_5

54

P

0_4

53

V

DDIO

2

67

P

2_5

68

EPAD

69

R3
15K

Содержание CY8CKIT-043

Страница 1: ...CY8CKIT 043 PSoC 4 M Series Prototyping Kit Guide Doc 001 97606 Rev Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 Phone USA 1 800 858 1810 Phone Intnl 1 408 943 2600 www cypress com...

Страница 2: ...ten permission of Cypress Disclaimer CYPRESS 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 FI...

Страница 3: ...Software 13 2 3 Uninstall Software 15 3 Kit Operation 16 3 1 Theory of Operation 16 3 2 KitProg 17 3 3 Programming and Debugging the PSoC 4 Target Device 17 3 3 1 Programming Using PSoC Creator 17 3...

Страница 4: ...e Examples 33 5 1 Using the Kit Code Example 33 5 2 Using Built in PSoC Creator Code Examples with the Kit 37 Appendix 42 PSoC 4 M Series Prototyping Kit Schematics 42 Programming the PSoC 4 M Series...

Страница 5: ...om the factory default may affect its performance and cause interference with other apparatus in the immediate vicinity If such interference is detected suitable mitigating measures should be taken Th...

Страница 6: ...is not available use appropriate ESD protection by wearing an antistatic wrist strap attached to the chassis ground any unpainted metal surface on your board when handling parts Handling Boards The C...

Страница 7: ...n open footprint breakout board to maximize the end utility of the PSoC 4200M device This kit provides a low cost alternative to device samples while providing a platform to easily develop and integra...

Страница 8: ...uild your hardware system design in the main design workspace 2 Codesign your application firmware with the PSoC hardware 3 Configure Components using configuration tools 4 Explore the library of 100...

Страница 9: ...10 In the Find Example Project dialog shown in Figure 1 4 you have several options Filter for examples based on architecture or device family that is PSoC 3 PSoC 4 or PSoC 5LP project name or keyword...

Страница 10: ...tation Quick Start Guide This guide gives you the basics for developing PSoC Creator projects Simple Component example projects Choose File Example project These example projects demonstrate how to co...

Страница 11: ...ogramming the kit using MiniProg3 and the bill of materials BOM 1 4 Additional Learning Resources Cypress provides a wealth of information at www cypress com to help you to select the right PSoC devic...

Страница 12: ...tion embedded systems on Cypress Developer Community Forums 1 5 Technical Support If you have any questions our technical support team is happy to assist you You can create a support request on the Cy...

Страница 13: ...e formats a CY8CKIT 043 Kit Setup This installation package contains the files related to the kit including PSoC Creator and PSoC Programmer However it does not include the Windows Installer or Micros...

Страница 14: ...Series Prototyping kit installer automatically installs the required software if it is not present on your computer Following are the required software a PSoC Creator 3 2 or later This software is als...

Страница 15: ...ollowing location Install_Directory CY8CKIT 043 PSoC 4 M Series Prototyping Kit Default location Windows OS 64 bit C Program Files x86 Cypress CY8CKIT 043 PSoC 4 M Series Prototyping Kit Windows OS 32...

Страница 16: ...features KitProg It is an onboard programmer debugger which enables the user to program and debug the target PSoC 4200M device It can also act as a USB UART and USB I2 C bridge When used as a standalo...

Страница 17: ...ault this switch is not populated on board and the PSoC 4200M SWD lines are hard wried to the KitProg s SWD programming lines 10 pin program debug header This header provides support for program debug...

Страница 18: ...If you want to open the example project provided with the kit follow the instructions in the Code Examples chapter on page 33 3 Select Build Build Project or press Shift F6 to build the project as sh...

Страница 19: ...gram using PSoC Programmer 3 4 USB UART Bridge The KitProg can act as a USB UART bridge The UART lines between the KitProg and the target are hard wired on the board through the snappable area with UA...

Страница 20: ...device U1 CY8C5868LTI LP039 KitProg headers J8 and J9 SWD connection J3 and J7 USB finger connector J6 EZ BLE PRoC module U4 footprint only One DPDT switch SW4 to select the SWD target device footprin...

Страница 21: ...SDA P4_1 CMOD P4_2 CTANK P4_3 P4_4 P4_5 P4_6 KitProg TX P7_0 KitProg RX P7_1 P0_0 P0_1 P0_2 P0_3 WCO IN P0_4 WCO OUT P0_5 P0_6 SW1 P0_7 GND VDDD VDDIO GND P6_5 P6_4 P6_2 P6_1 P6_0 P2_7 P2_6 P2_5 P2_4...

Страница 22: ...tal subsystems allow flexibility and in field tuning of the design For more information refer to the PSoC 4 web page and the PSoC 4200M Family Datasheet Figure 4 2 Schematic of PSoC 4 Target PSoC 4200...

Страница 23: ...12_3 KP_P3_0 KP_P3_4 KP_P3_5 KP_P1_7 KP_P1_6 KP_P3_1 KP_VCCD KP_P12_5 KP_P0_4 KP_VCCD KP_P0_7 KP_P0_5 KP_P0_6 VDDD KP_VDDIO1 VDDA KP_P1_6 KP_P1_7 VSSD KP_P0_3 KP_P0_2 VSSD KP_XRES KP_XRES VTARG VBUS R...

Страница 24: ...KitProg board by snapping the perforated edge between the two boards 2 Power the remaining prototyping board via any of the VDD or VTARG terminals 3 Place an ammeter in series with the VDD or VTARG c...

Страница 25: ...oards 4 2 5 1 Functionality of J1 and J2 Headers Target Board The target board contains two dual inline headers J1 and J2 Both are 1 29 pin headers and include all of the I Os available on the PSoC 42...

Страница 26: ...IO J1_13 P1 6 GPIO LED LED1 J1_14 P1 7 GPIO SAR BYPASS J1_15 P2 0 GPIO J1_16 P2 1 GPIO J1_17 P2 2 GPIO J1_18 P2 3 GPIO J1_19 P2 4 GPIO J1_20 P2 5 GPIO J1_21 P2 6 GPIO J1_22 P2 7 GPIO J1_23 P6 0 GPIO J...

Страница 27: ...a low speed digital logic analyzer These headers also contain the KitProg bridge pins USB to UART and USB to I2C that can be used when the two boards are separated The J8 and J9 headers support 100 m...

Страница 28: ...en this button is pressed the XRES lines of the PSoC 4200M and EZ BLE are connected to ground which in turn resets the devices Bootload the KitProg When this button is held down while plugging the Kit...

Страница 29: ...Button 4 2 6 3 LEDs The PSoC 4 M Series Prototyping kit contains three LEDs The amber LED Indicates that the board is powered from the PCB USB connector This LED will not light when the board is powe...

Страница 30: ...uired to interface an external 32 kHz crystal oscillator Note The crystal oscillator is not placed on the board it can be soldered on pins P0 5 and P0 4 Figure 4 14 System Capacitors Circuit Diagram 4...

Страница 31: ...is not populated and the Kit Prog SWD connections are hardwired to PSoC 4200M through zero ohm resistors R18 and R16 Table 4 7 EZ BLE Connections To program the EZ BLE module using Kitprog follow thes...

Страница 32: ...the zero ohms resistors R18 and R16 4 Move the DPDT switch to position A as shown in Figure 4 16 to program PSoC 4200M and to position B as shown in Figure 4 17 to program the EZ BLE module Figure 4 1...

Страница 33: ...the Firmware folder in the installation location For more code examples visit the PSoC 3 PSoC 4 and PSoC 5 code examples page which lists all PSoC Creator code examples available across application no...

Страница 34: ...s generated after a successful build process Figure 5 2 Build Example Project from PSoC Creator 5 Connect the PSoC 4 M Series Prototyping kit to the PC using the KitProg PCB USB port J6 as described i...

Страница 35: ...opens the programming window if the device is not yet acquired Select KitProg and click the Port Acquire button as shown in Figure 5 4 Figure 5 4 Port Acquire 8 After the device is acquired it is sho...

Страница 36: ...rogramming is successful the blue LED LED1 on the board should start displaying the breathing effect at approximately 1 Hz rate From the Workspace Explorer in PSoC Creator open the CE97634 PSoC 4 Brea...

Страница 37: ...nd use the built in PSoC Creator examples 1 Launch PSoC Creator from Start All Programs Cypress PSoC Creator version PSoC Creator version 2 On the Start Page click Find Example Project under Examples...

Страница 38: ...ind Examples Window 4 You can use any project that appears in the list with the kit As an example we will select the ADC_SAR_Seq_DieTemp_PSoC4 project and see how to use it with CY8CKIT 043 5 Select t...

Страница 39: ...e in the range 0 to 1 024 V on a pin and sends the measured voltage and device die temperature over UART In addition the project controls the brightness of an LED using a PWM based on the value measur...

Страница 40: ...3 make sure the device used is CY8C4247AZI M485 as shown in Figure 5 11 Build the project and program the kit as explained in Using the Kit Code Example on page 33 Figure 5 11 Device Selector Settings...

Страница 41: ...program like PuTTY or HyperTerminal Refer to chapter 5 of the KitProg User Guide for details on how to configure and use the software with KitProg The UART used in the example uses con figuration prov...

Страница 42: ...60252 01 CY8CKIT 043 PSoC 4 M Series Prototyping Kit B Title Size Document Number R CYPRESS SEMICONDUCTOR 2015 630 60252 01 CY8CKIT 043 PSoC 4 M Series Prototyping Kit B Title Size Document Number R...

Страница 43: ...Kit B 3 3 Friday June 12 2015 Title Size Document Number R Date Sheet of CYPRESS SEMICONDUCTOR 2015 630 60252 01 CY8CKIT 043 PSoC 4 M Series Prototyping Kit B 3 3 Friday June 12 2015 Title Size Docum...

Страница 44: ...Prog via the 5 pin SWD header or the 10 pin JTAG header To do this connect wires or a 5 pin 100 mil spaced header to J3 or a 10 pin JTAG header to J5 on the target board The PSoC 4 M Series Prototypin...

Страница 45: ...5A 20V SOD 123 Fairchild Semicon ductor MBR0520L 9 1 F1 PTC Resetta ble Fuse FUSE PTC Resettable 0 50A 16V 1210 SMD Bel Fuse Inc 0ZCH0050FF2G 10 1 LED1 User LED BLUE LED BLUE CLEAR 0805 SMD Lite On In...

Страница 46: ...29 1 C7 1 0 uFd CAP CERAMIC 1 0UF 25V X5R 0603 10 Taiyo Yuden TMK107BJ105KA T 30 1 J4 HDR 1x2 CONN HEADR BRKWAY 100 02POS STR TE Connectivity 9 146280 0 02 31 1 J5 50MILKEYED SMD CONN HEADER 10 PIN 50...

Страница 47: ...47 Revision History CY8CKIT 043 PSoC 4 M Series Prototyping Kit Guide Revision History Document Title CY8CKIT 043 PSoC 4 M Series Prototyping Kit Guide Document Number 001 97606 Revision Issue Date O...

Отзывы: