background image

  

 

User Guide 

41 of 67 

002-32601 Rev. *C  

 

 

2021-12-02 

 

EZ-

PD™ PMG1 MCU prototyping kits guide

 

CY7110/CY7111/CY7112/CY7113 

Kit operation 

 

See 

Table 14 

for troubleshooting information. 

Note:

 

The default USB PD sink firmware can be replaced by new firmware as part of the application 
development process. See 

Application development on CY711x kits using ModusToolbox

™ 

software

 for more details. 

The CY7113 EZ-

PD™ PMG1

-S3 MCU 

prototyping kit firmware support CAPSENSE™ se

nsing in addition to USB PD 

sink operation. 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 each button and observing the corresponding 

feedback LED behavior. When BTN1 is touched, LED5 will turn ON and for BTN2, LED6 will turn ON. The 
LEDs turn OFF when corresponding sensors are not touched. 

3.

 

For testing the 

CAPSENSE™ slider, place

 your finger on SLD1 and swipe from left to right. The feedback 

LEDs will glow in a sequence (LED7

 LED8 

 LED9 

 LED10 

 LED11). Then swipe from right to left, and 

LEDs will glow in reverse sequence (LED11 

 LED10 

 LED9 

 LED8 

 LED7). 

 

 

Figure 35 

CAPSENSE™ buttons and slider

 

 

 

 

 

 

 

 

 

 

Содержание CY7110

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: