background image

 

Kit Operation 

CY4502 EZ-

PD™ CCG2 Development Kit Guide, Doc. No. 001-96601 Rev. *B 

28 

3.7.2.2  Configuring USB-Serial device as USB-I2C Master 

Steps  to  configure  the  USB-SERIAL  device  as  a  USB-I2C  Master  Bridge  and  GPIO_1  as  Input  GPIO  (One  time 
configuration) are as below:  

1.  Navigate  to  the  bin  folder  from  the  location  given  below  and  launch  the  USB  SERIAL  Configuration  utility 

executable:  

i. 

Default  path  for  32-bit  operating  system:  C:\Program  Files\Cypress\USB-Serial  SDK\1.0\bin\  USB  Serial 
Configuration Utility.exe  

ii. 

Default path for 64-bit operating system: C:\Program Files (x86)\Cypress\USB-Serial SDK\1.0\bin\ USB Serial 
Configuration Utility.exe  

Note:

  the  USB-Serial  SDK  gets  installed  as  a  prerequisite  with  CY4502  DVK  installer  at  the  default  location 

“C:\Program  Files\Cypress\USB-Serial  SDK  for  32-bit  operating  system  or  location  “C:\Program  Files 
(x86)\Cypress\USB-Serial SDK for 64-bit operating system. 

2.  Go to Select Target tab. USB-

SERIAL device will be listed in the ‘Select Device’ drop down list. Click Connect.  

3.  Navigate to SCB tab. Choose Mode as 

“I2C” and Protocol as “Vendor”.  

4. 

Note:

 If the USB-SERIAL device is already configured as USB-I2C Master, the Mode and Protocol will be listed 

as “I2C” and “Vendor” respectively. Then the steps 4 to 9 can be skipped. 

5.  Click Configure. Set frequency as 400000Hz and Mode as Master. Click OK.  

6.  Click Configure button located adjacent to Notification LED option. Make sure all notification LEDs are selected as 

‘None’. Hit OK.  

7. 

Go to Cap Sense/BCD/GPIO tab and select ‘Unused GPIO’s drive mode’ option.  

8.  Configure GPIO 01 as Input in the drop down list and click OK.  

9.  Click Program button located at the bottom of the utility.  

10. 

Go to Device Menu and select ‘Reset Device’. The USB-SERIAL device will re-enumerate and come up with the 
selected configuration. You may now exit the utility. 

11.  After successful configuration of the USB-SERIAL device, go to Step 4 of section 

3.7.2

  

 

 

Содержание EZ-PD CY4502

Страница 1: ...CY4502 EZ PD CCG2 Development Kit Guide Doc No 001 96601 Rev B Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 Phone USA 1 800 858 1810 Phone Intnl 1 408 943 2600 http www cypress com...

Страница 2: ...d States and foreign United States copyright laws and international treaty provisions Cypress hereby grants to licensee a personal non exclusive non transferable license to copy use modify create deri...

Страница 3: ...12 2 3 Install Software 12 2 4 Uninstall Software 12 3 Kit Operation 13 3 1 Theory of Operation 13 3 2 Jumpers 14 3 3 CCG2 Single Chip EMCA Application 15 3 4 CCG2 Two Chip EMCA Application One Chip...

Страница 4: ...No 001 96601 Rev B 4 Appendix A Troubleshooting Guide 34 Appendix B PCB Layout 35 B 1 Top Layer 35 B 2 Bottom Layer 35 B 3 Ground Layer 1 36 B 4 Ground Layer 2 36 B 5 Power Layer 1 37 B 6 Power Layer...

Страница 5: ...on ESD can damage boards and associated components Cypress recommends that the user perform procedures only at an ESD workstation If an ESD workstation is not available use appropriate ESD protection...

Страница 6: ...board provided with the DVK It documents different types of firmware downloading and debugging methods with detailed instructions This guide briefly explains the hardware interfaces available on the d...

Страница 7: ...b page for additional learning resources including a datasheet a technical reference manual application notes knowledge base articles and training videos Visit the CCG1 web page for additional informa...

Страница 8: ...es USB PD to provide the cable s characteristics End Of Packet EOP K code marker used to delineate the end of a packet I2 C Inter integrated circuit Packet An entire unit of PD communication including...

Страница 9: ...or a hub that connects to a host or a hub DFP USB Universal Serial Bus USB IF Universal Serial Bus Implementers Forum Vendor Defined Message VDM PD Data Message defined for vendor standards usage The...

Страница 10: ...e Installation package CY4502Setup exe contains the kit hardware files documents guides and cc_flash utility Double click on CY4502Setup exe to start the installer Click Next on the first screen to st...

Страница 11: ...tion Wizard 3 Accept the license agreement for the software components and click Next The kit will now install on your machine Figure 2 3 Figure 2 3 Installation Progress 4 When installation is comple...

Страница 12: ...3 Install Software When installing the CY4502 DVK the installer checks if the required software is installed in the system If the required applications are not installed then it installs them as prere...

Страница 13: ...ndicate the powered chip The two CYPD2103 devices in the CY4502 board are shipped with factory installed firmware that demonstrates the functionality of CCG2 controllers in EMCA USB PD Type C cables T...

Страница 14: ...position for the two chip EMCA solution with both chips powered shown in Figure 3 9 Note The configuration with both chips powered will work in this DVK irrespective of which Type C plug connector J1...

Страница 15: ...pers to enable SOP response of U2 CYPD2103 14LHXIT Short Enables SOP response by pulling GPIO D3 low CYPD2103 firmware is configured to detect the presence of the VCONN supply in the VCONN1 VCONN2 pin...

Страница 16: ...IO SWD_ CLK E2 D1 I2C_0 _SCL I2C_0 _SDA A3 A2 B4 CC1 GPIO GPIO D3 C2 CC2 A4 E4 VCONN1 C4 VCONN2 VDDIO E1 RD1 B3 VSS D4 GPIO D2 GPIO B2 GPIO C3 0 1uF 1uF VDDIO 4 7 k This EMCA solution contains a CCG2...

Страница 17: ...red VCONN1 VBUS CC Type C Plug Type C Plug VCONN2 GND SuperSpeed and HighSpeed Lines CCG2 CYPD2103 20FNXIT VDDD E3 A1 VCCD VSS C1 XRES B1 SWD_ IO SWD_ CLK E2 D1 I2C_0 _SCL I2C_0 _SDA A3 A2 B4 CC1 GPIO...

Страница 18: ...wo Chip EMCA Application Diagram Both Chips Powered VCONN1 VBUS CC Type C Plug Type C Plug VCONN2 GND SuperSpeed and Hi Speed Lines CCG2 CYPD2103 20FNXIT VDDD E3 A1 VCCD VSS C1 XRES B1 SWD_ IO SWD_ CL...

Страница 19: ...oller s and the CY4502 board are powered Table 3 2 LED indicators in CY4502 CY4502 Configuration Reference Connector to Host LED Description CCG2 Single Chip EMCA Application Section 3 3 J1 LED1 CCG2...

Страница 20: ...Remove zero ohm resistors R1248 R1249 on the CCG1 Host Demo board 5 Ensure that the CCG1 Client Demo board Figure 3 11 has the jumper settings listed in Table 3 4 Figure 3 11 CCG1 Client Demo board T...

Страница 21: ...and check the data integrity 3 7 Programming the CCG2 Device CCG2 devices can be upgraded to keep pace with USB IF specification changes The on chip 32 KB flash can be programmed using the serial wire...

Страница 22: ...and Debug Kit from the Cypress webpage To use PSoC Programmer follow these steps 1 Start PSoC Programmer from Start All Programs Cypress PSoC Programmer 2 Connect one end of the USB cable to the Mini...

Страница 23: ...rogram the hex file onto the chip 10 When the file is successfully programmed Programming Succeeded appears in the Actions window 3 7 2 Programming the CCG2 Device Using a CCG1 Host Demo Kit over the...

Страница 24: ...s after this procedure is over you will need to restore the board to its normal host functionality Contact Cypress for more details 1 Program the CCG1 chip in the CCG1 Host Demo board with the firmwar...

Страница 25: ...Demo board 6 The CC_Flash Utility can be found at the location Install Directory CY4502 CCG2 DVK version Util or can be downloaded CC_Flash Utility zip from this Cypress webpage 7 Launch the Command l...

Страница 26: ...Application configuration section 3 3 only the U1 firmware can be upgraded by connecting CY4502 board using Type C plug J1 or J2 to the CCG1 Host Demo board connector J15 using the following command c...

Страница 27: ...ck OK to close the window Upon closing the window Click the Utilities tab and then click the Upgrade Firmware button On successful upgrade the Action and Results window displays the firmware update me...

Страница 28: ...Cypress USB Serial SDK for 64 bit operating system 2 Go to Select Target tab USB SERIAL device will be listed in the Select Device drop down list Click Connect 3 Navigate to SCB tab Choose Mode as I2...

Страница 29: ...own in Figure 4 1 It covers the following topics CCG2 controllers Type C plugs SWD connectors Headers Figure 4 1 CY4502 board Hardware Block Diagram SWD Connector for programming CCG2 LEDs CCG signal...

Страница 30: ...pers to select the responsiveness to SOP packets for U1 U2 respectively J1 J2 USB Type C plugs J3 J4 SWD connectors J9 20 pin header Not mounted on the DVK 4 2 CCG2 Controller CY4502 board consist of...

Страница 31: ...SS_TX_P SS_RX_P and SS_RX_M USB 2 0 pins D and D cable power signals VBUS and GND sideband use SBU signals SBU1 SBU2 and the configuration channel CC VCONN that are available on the J1 and J2 USB Type...

Страница 32: ...tails on Alternate mode In Alternate mode activity on the SBU lines does not interfere with USB PD BMC communications SBU signals are not implemented for USB 3 0 USB2 0 only cable applications Table 4...

Страница 33: ...tional data bus used to transmit or receive data from the CCG2 device as shown in Figure 4 6 The RESET signal is used to pull down the RESET pin of the CCG2 device to bring it into the Programming mod...

Страница 34: ...ings are in accordance with those in CCG2 Two Chip EMCA Application both chips powered LED1 does not glow when connected in one chip two chip configuration Corrupted flash or blank flash of CCG2 contr...

Страница 35: ...CY4502 EZ PD CCG2 Development Kit Guide Doc No 001 96601 Rev B 35 Appendix B PCB Layout B 1 Top Layer B 2 Bottom Layer...

Страница 36: ...Appendix B PCB Layout CY4502 EZ PD CCG2 Development Kit Guide Doc No 001 96601 Rev B 36 B 3 Ground Layer 1 B 4 Ground Layer 2...

Страница 37: ...Appendix B PCB Layout CY4502 EZ PD CCG2 Development Kit Guide Doc No 001 96601 Rev B 37 B 5 Power Layer 1 B 6 Power Layer 2...

Страница 38: ...ory Document Title CY4502 EZ PD CCG2 Development Kit Guide Document Number 001 96601 Revisio n Issue Date Origin of Change Description of Change 04 14 2015 GAYA Initial version of kit guide A 04 17 20...

Отзывы: