background image

  

 

User Guide 

65 of 67 

002-32601 Rev. *C  

 

 

2021-12-02 

 

EZ-

PD™ PMG1 MCU prototyping kits guide

 

CY7110/CY7111/CY7112/CY7113  

Technical support 

 

Technical support

 

If you have any questions, create a support request on the Infineon 

Technical Support

 page. 

Summary of Contents for CY7110

Page 1: ...relevant sections based on your requirement Introduction Provides basic information on the kits the kit structure and software information EZ PD PMG1 MCU software tools Explains ModusToolbox software...

Page 2: ...CYPRESS programmer CYP 25 3 EZ PD PMG1 prototyping kit system design 26 3 1 Top level hardware design 26 3 2 Power section 27 3 2 1 Power modes 27 3 2 1 1 Programming mode 27 3 2 1 2 Operational mode...

Page 3: ...oftware 46 5 3 2 Debugging using ModusToolbox software 49 5 3 3 Programming using CYPRESS programmer CYP 51 5 4 Programming and Debugging using the 10 pin SWD interface 54 5 4 1 Programming using Mini...

Page 4: ...nderstand and compare the various features supported by the EZ PD PMG1 MCU controllers The EZ PD PMG1 MCU prototyping kits support the following key features Support for single port USB PD 3 0 sink ro...

Page 5: ...sink capability using CY711x kits Note that these are not included in the kit USB PD 3 0 compliant USB Type C power adapter for example Apple 30 W USB C power adapter for CY7110 CY7111 and CY7112 kit...

Page 6: ...EZ PD PMG1 MCU prototyping kits guide CY7110 CY7111 CY7112 CY7113 Introduction 1 3 Board details Figure 2 CY7110 EZ PD PMG1 S0 MCU prototyping kit Figure 3 CY7111 EZ PD PMG1 S1 MCU prototyping kit Fig...

Page 7: ...6 I O headers J6 J7 1 7 CAPSENSE slider supported in CY7113 8 User LED LED3 9 EZ PD PMG1 microcontroller CYPM1011 24LQXI in CY7110 CYPM1111 40LQXI in CY7111 CYPM1211 40LQXI in CY7112 and CYPM1311 48L...

Page 8: ...rog4 Four onboard LEDs The CY7113 kit has seven additional LEDs to indicate the status of CAPSENSE sensors CAPSENSE buttons and slider see Table 2 Table 2 Prototyping kit LEDs LED Color Description Ki...

Page 9: ...ernal circuit through wires The Type C contract voltage is available at the DC_OUT terminal block when a successful PD contract is established An onboard LDO regulates the Type C voltage to 3 3 V and...

Page 10: ...wered from the EZ PD PMG1 USB PD sink port The jumper should be in this position for normal kit operation 2 3 Programming mode The kit is powered from the KitProg3 USB Type C port The jumper should be...

Page 11: ...D3 and P2 1 pin through a 0 ohm resistor 7 SW2_IN 9 User button output SW2 is input to this EZ PD PMG1 MCU device This pin can be used to read button status externally P2 0 GPIO Connected to SW2 and P...

Page 12: ...to I2C bridge 7 P2 2 12 I2C SDA signal P2 2 GPIO 8 P2 0 9 User button SW2 input P2 0 GPIO 9 P0 1 8 SWD clock P0 1 GPIO 10 P0 0 7 SWD data P0 0 GPIO 11 P1 0 1 GPIO 12 P1 1 2 GPIO 13 NC 14 GND Ground 15...

Page 13: ...us externally P2 0 GPIO Connected to SW2 and P2 0 pin through a 0 ohm resistor 8 RESET 10 Reset pin 9 P4 1 30 UART Rx P4 1 GPIO Connected to KitProg3 by default from board revision 3 onwards For earli...

Page 14: ...SB 2 0 DP from the host side 6 P5 1 17 I2C SCL signal P5 1 GPIO Connected to KitProg3 for USB to I2C bridge 7 P5 0 16 I2C SDA signal P5 0 GPIO Connected to KitProg3 for USB to I2C bridge 8 P3 1 20 GPI...

Page 15: ...D3 is driven by firmware by default Use this pin to drive it externally P1 3 GPIO Connected to LED3 and P1 3 pin through a 0 ohm resistor 7 SW2_IN 9 User button output SW2 is input to EZ PD PMG1 MCU d...

Page 16: ...he device Connected through the non populated resistor diode 3 GND Ground 4 P2 4 23 GPIO 5 P2 5 24 GPIO 6 P0 1 28 I2C SCL signal P0 1 GPIO Connected to KitProg3 for USB to I2C bridge 7 P0 0 27 I2C SDA...

Page 17: ...of the on board LDO 3 3 V regulator output 2 VDDIO_IN 18 VDDIO alternate input Connected through the non populated resistor diode 3 GND 4 CC1 28 CC1 Signal 5 CC2 30 CC2 Signal 6 LED3_IN 11 User LED e...

Page 18: ...3 10 CAPSENSE slider sensor SLD1 status LED P5 3 GPIO Indicates status of CAPSENSE slider sensor SLD1 20 P5 5 11 User LED control input P5 5 GPIO J7 1 VDDD 43 EZ PD PMG1 S3 MCU internal LDO output VD...

Page 19: ...O CTANK CTANK capacitor connected through no load resistor 20 P5 14 8 CMOD P5 1 GPIO 1 3 4 KitProg3 header The KitProg3 module is the onboard programming and debug module on the prototyping kit It als...

Page 20: ...0 KitProg3 header pinout Pin Pin name Description 1 VDDD Target EZ PD PMG1 MCU internal regulator output 2 KP_VBUS KitProg3 VBUS programming VBUS 3 GND Ground 4 I2C_SCL I2C SCL signal between KitProg3...

Page 21: ...lation of ModusToolbox software and other Infineon software require administrator privilege this is not required to run the software once it is installed See the installation guide 9 Before you instal...

Page 22: ...es The configurator is available as a GUI and Command Line Interface CLI tool If you use the Eclipse IDE provided with ModusToolbox software you can access the device configurator tool from the IDE s...

Page 23: ...mware update DFU host tool is a stand alone program included with ModusToolbox software This tool is used to communicate with an EZ PD PMG1 MCU that has already been programmed with an application tha...

Page 24: ...e to control the application firmware The CAPSENSE configurator is available for CAPSENSE example projects using the CY7113 prototyping kit See the CAPSENSE configurator guide for details Figure 16 CA...

Page 25: ...r CYP is a stand alone cross platform flash programmer tool CYP provides a GUI to program erase verify and read the flash of the target MCU CYP supports the HEX SREC ELF and BIN programming file forma...

Page 26: ...uit TYPE C Connector VBUS_TYPE C VBUS VIN VCC_IN POWER LED 3 3V PMG1 MCU Power Section VCC_IN Infineon Parts LoadedParts No Load Parts KitProg3 PSoC 5LPMCU KP_VBUS 5 A Load Switch VBUS FET CONTROL CC1...

Page 27: ...igure 20 Power selection jumper 3 2 1 1 Programming mode For programming using the onboard KitProg3 the kit gets powered through the KitProg3 USB Type C port J1 When the programming mode setting is se...

Page 28: ...source a maximum current of 400 mA The power LED glows green when the regulator output is available Figure 21 Onboard 3 3 V LDO and power LED 3 2 3 Overvoltage protection circuit A MOSFET and Zener d...

Page 29: ...Q2 is OFF When an overvoltage fault occurs Q2 turns ON and pulls up the gate of Q3 to Q2 s drain voltage and turns OFF Q3 to prevent overvoltage from reaching the rest of the circuit The diode D3 con...

Page 30: ...112 CY7113 EZ PD PMG1 prototyping kit system design 3 2 5 Transient voltage protection diode The reverse diodes on VTARG D5 and KitProg3 VBUS D4 lines protect the power rail from transient voltage fro...

Page 31: ...s an EZ PD PMG1 MCU driven LED LED3 you can configure the function through firmware Table 11 lists the GPIO assigned for LEDs in each kit The GPIOs need to be driven LOW to turn ON the user LED Figure...

Page 32: ...device does not have a reset pin Figure 27 10 pin SWD header 3 3 5 MCU I O header PMG1 kits have two I O headers all GPIOs PD specific function signals regulator output and other power signals are ro...

Page 33: ...ton the LED corresponding to the button turns ON when the button detects a touch In the CAPSENSE slider the LED corresponding to the sensor on which a finger is placed during a sliding action will tur...

Page 34: ...r enabling the drive in shield feature Table 13 Component and associated feature Component Associated feature GPIO LED GPIO CMOD Self capacitance sensing P5 1 2 2 nF capacitor connected to CMOD pin CT...

Page 35: ...n KitProg3 and EZ PD PMG1 MCU However the following older revisions of the PMG1 kit boards require manual external wire connection CY7110 board revision 3 or lower CY7111 board revision 2 or lower CY7...

Page 36: ...or a newer version is available 3 4 2 KitProg3 power and status LEDs The KitProg3 power LED amber turns ON when the KitProg3 module is supplying power to the target MCU The LED will always be ON in a...

Page 37: ...re shorted near the Type C connector In PMG1 S1 there is an internal USB 2 0 analog mux present which routes the system D and D lines to the Type C top or bottom port based on the CC Type C plug orien...

Page 38: ...ers can be configured to support both P and N type external power FETs The gate drivers are configured by default for NFET devices CY7112 EZ PD PMG1 S2 MCU kit has an IRF7907 dual N channel MOSFET fro...

Page 39: ...typing kit system design 3 6 3 DC_OUT terminal block DC_OUT terminal block J9 is a screw connector connected to the output of the load switch The USB PD contract established on the EZ PD PMG1 MCU USB...

Page 40: ...e CY711x EZ PD PMG1 MCU prototyping kits 1 Put the kit in operational mode by placing a jumper shunt on the power selection jumper J5 at positions 1 2 to select the USB C power adapter as the power so...

Page 41: ...ration The procedure for exercising CAPSENSE operation is as follows 1 The initial setup is the same to run USB PD sink firmware Follow Steps 1 to 5 2 The CAPSENSE buttons are exercised by touching ea...

Page 42: ...SB PD sink firmware Check whether the application code associated with the firmware downloaded on the kit implements blinking LED logic 2 No voltage is observed at the terminal block J9 The firmware d...

Page 43: ...2 CY7113 USBPD Sink This code example demonstrates USB C attach detection and USB PD contract negotiation using the EZ PD PMG1 MCU This is the default firmware loaded on CY7110 CY7111 and CY7112 kits...

Page 44: ...ing ModusToolbox software 5 2 Using the kit code example 1 Open Eclipse IDE for ModusToolbox software 2 Navigate to quick panel and click New application under Start Figure 36 Creating a new applicati...

Page 45: ...totyping kits guide CY7110 CY7111 CY7112 CY7113 Application development on CY711x kits using ModusToolbox software Figure 37 Selecting the BSP 4 Select the desired example project Enter the New applic...

Page 46: ...build applications 5 3 Programming and debugging using the KitProg3 interface 5 3 1 Programming using ModusToolbox software KitProg3 is a PSoC 5LP MCU based onboard programming and debugging solution...

Page 47: ...the prototyping kit using the KitProg3 interface from the ModusToolbox software 1 Open the Eclipse IDE for ModusToolbox software on the host PC For details see the Eclipse IDE for ModusToolbox softwa...

Page 48: ...CY711x kits using ModusToolbox software 5 In the project explorer select the correct project as the current active project as shown in Figure 40 Figure 40 Eclipse IDE for ModusToolbox software 6 On th...

Page 49: ...ure that LED4 which is the power LED glows green 4 Connect the kit to the host PC through programming KitProg3 USB Type C port Ensure that LED1 and LED2 glow amber LED2 which is KitProg3 Power LED ind...

Page 50: ...e quick panel click Application name Program KitProg3_MiniProg4 from the Launches section to download the firmware into the kit 6 After program download completes change the jumper to short 1 2 of the...

Page 51: ...programming of the EZ PD PMG1 MCU prototyping kits and EZ PD PMG1 MCU devices Do the following to program the prototyping kit using the KitProg3 interface from the CYP 1 Connect the power section jump...

Page 52: ...Open programming file dialog browse to the location of the HEX SREC ELF or BIN file to be loaded Select the file and click Open Figure 46 Loading the programming file 6 Click Connect CYP connects to...

Page 53: ...of 67 002 32601 Rev C 2021 12 02 EZ PD PMG1 MCU prototyping kits guide CY7110 CY7111 CY7112 CY7113 Application development on CY711x kits using ModusToolbox software Figure 48 Programming through CYPR...

Page 54: ...ector Connect the MiniProg4 programmer to the 10 pin SWD connector on the kit using a 10 pin ribbon cable The MiniProg4 does not supply power to the target board in its default configuration The follo...

Page 55: ...ng ModusToolbox to program PMG1 kits Once the configuration has been updated as described above the procedure to initiate programming through the Eclipse IDE for ModusToolbox software is the same as t...

Page 56: ...options set PSOC4_USE_ACQUIRE To enable power cycle programming for the CY7110 set the value to 2 To enable reset programming for the CY7111 CY7112 and CY7113 set the value to 1 5 In Config options ad...

Page 57: ...the Open Programming File dialog browse to the location of the HEX SREC ELF or BIN file to be loaded Select the file and click Open 6 Under Program Settings select Programming Mode according to the c...

Page 58: ...110 kit The EZ PD PMG1 S0 MCU is acquired using power cycle for programming debug operations J Link software v7 54 and above supports power cycle mode acquisition for EZ PD PMG1 S0 MCUs To support the...

Page 59: ...rogram J Link from the Launches section 6 In case you want to debug the application click Application name Debug J Link from the Launches section The IDE will switch to debugging mode and will halt at...

Page 60: ...jumper J5 to configure the kit in operational mode 3 Connect the USB PD sink port to the USB PD source to activate the onboard LDO load switch and user LED Ensure that LED4 power LED glows green 4 Con...

Page 61: ...ipse IDE for ModusToolbox software provides a tool for selecting and configuring parameters of the PD stack Do the following to configure PDOs and PD parameters using the EZ PD configurator Tool 1 Ope...

Page 62: ...xpand Figure 58 EZ PD configurator and list of categories You can configure the port Information source PDO sink PDO SCEDB configuration and SKEDB configuration parameter categories in the tool For mo...

Page 63: ...sink PDOs Maximum is 7 Sink PDO PDO number enable To enable to disable a specific PDO Sink PD PDO number Configure the PDO value Sink PDO min max current Configure the min max PDO current Note See sec...

Page 64: ...10 CY7111 CY7112 CY7113 4 Datasheets EZ PD PMG1 S0 MCU datasheet EZ PD PMG1 S1 MCU datasheet EZ PD PMG1 S2 MCU datasheet EZ PD PMG1 S3 MCU datasheet 5 AN232553 Getting started with EZ PD PMG1 MCU on M...

Page 65: ...002 32601 Rev C 2021 12 02 EZ PD PMG1 MCU prototyping kits guide CY7110 CY7111 CY7112 CY7113 Technical support Technical support If you have any questions create a support request on the Infineon Tec...

Page 66: ...prototyping kits guide CY7110 CY7111 CY7112 Added following details about the new revision of kit boards PMG1 MCU to KitProg3 UART signals are connected by default Replaced kit board images with newe...

Page 67: ...nd any applicable legal requirements norms and standards concerning customer s products and any use of the product of Infineon Technologies in customer s applications The data contained in this docume...

Reviews: