Diodes AP33772S I2C User Manual

Usb pd sink controller

Advertisement

Quick Links

Introduction ........................................................................................................... 3
AP33772S Sink Controller ................................................................................... 3
2.1
Package Outline ...................................................................................................................... 3
2.2
Pin Descriptions ...................................................................................................................... 4
EVB Hardware Details .......................................................................................... 5
3.1
EVB TOP View ......................................................................................................................... 5
3.2
EVB Block Diagram ................................................................................................................. 5
3.3
EVB Schematics ...................................................................................................................... 6
3.4
Board Outline .......................................................................................................................... 6
3.5
EVB System BOM ................................................................................................................... 7
EVB Quick Setup and Function Description ..................................................... 8
4.1
Quick Setup Guide .................................................................................................................. 8
4.2
Application Circuit Description ............................................................................................ 11
I2C Command/Register Summary .................................................................... 13
5.1
I2C Command Format ........................................................................................................... 13
5.2
I2C Operation ......................................................................................................................... 13
5.3
Register Summary................................................................................................................. 13
5.4
Register Description ............................................................................................................. 15
Function Description .......................................................................................... 24
6.1
I2C Request Message ........................................................................................................... 24
6.2
Support EPR / AVS ................................................................................................................ 24
6.3
VOUT MOS Switch................................................................................................................. 24
6.4
LED Indication ....................................................................................................................... 24
6.5
Interrupt ................................................................................................................................. 24
6.6
CC Flip Indication .................................................................................................................. 24
6.7
Legacy Type A Charger with Type A-to-C Cable ................................................................. 25
6.8
Temperate Estimate .............................................................................................................. 25
AP33772S EVB User Guide
Rev. 2.0
AP33772S I2C USB PD Sink Controller

Table of Contents

1 of 34
www.diodes.com
EVB User Guide
© 2024 Copyright Diodes Incorporated. All Rights Reserved.
July 2024

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AP33772S I2C and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Diodes AP33772S I2C

  • Page 1: Table Of Contents

    Interrupt ..........................24 CC Flip Indication ........................24 Legacy Type A Charger with Type A-to-C Cable ..............25 Temperate Estimate ......................25 1 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 2 Request Process ........................30 Initial Configuration ......................31 Compliance Test ....................32 Chapter 9. Revision History ....................33 Chapter 10. 2 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 3: Chapter 1. Introduction

    Figure 1 – A typical TCD uses the AP33772S PD Sink Controller with I2C Interface to request power from a USB Type-C PD3.1/PPS Compliance Source Adaptor Chapter 2. AP33772S Sink Controller 2.1 Package Outline ISENP FLIP Figure 2 – AP33772S Package Outline 3 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 4: Pin Descriptions

    – Digital I/O pin; all are 5.0V operation – Digital input pin; all are 5.0V operation – Digital output pin; all are 5.0V operation 4 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 5: Chapter 3. Evb Hardware Details

    Internal Power Module Type-C in TCD Receptacle PWR_EN VOUT ISENP AP33772S 5.1kΩ 5.1kΩ Figure 4 – AP33772S Evaluation Board Block Diagram 5 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 6: Evb Schematics

    The AP33772S EVB outline and floor plan are shown in Figure 6, and the connector and jumper location are listed in Table 2. Figure 6 – Connector and jumper locations 6 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 7: Evb System Bom

    DP, DN, I²C, & other test pins D3~D6 Zener Diode (option) Table 3 – BOM list of the AP33772S EVB’s schematics 7 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 8: Chapter 4. Evb Quick Setup And Function Description

    EVB, please make sure to power the AP33772S EVB board first before applying power to the Host System. The AP33772S EVB’s power- sequencing requirement (being powered up first) is necessary due to the I2C design for the SDA and SCL pins. 8 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 9 PDO: 20000mV/3.00A~3.24A, You only need to Enter PDO ID “4” Step 4: select PDO 9 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 10 Enter “5”.When you complete the confirmation of operating voltage and current, system output will become your target. Step 5: select current 10 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 11: Application Circuit Description

    NTC thermistor’s temperature and resistance values need to be set by the user through I2C. Then the host MCU can read and calculate the temperature and enable OTP (overtemperature protection) and de-rating functions through the I2C interface. 11 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 12 Pin Function I2C Data I2C Clock Issue an interrupt to the host MCU Table 4 – I2C interface pin list 12 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 13: Chapter 5. I2C Command/Register Summary

    AP33772S I2C USB PD Sink Controller EVB User Guide Chapter 5. I2C Command/Register Summary As an I2C slave device, the AP33772S’s physical address is 0x52. All AP33772S I2C-related control operations and commands are summarized in this chapter. 5.1 I2C Command Format Device Address Format...
  • Page 14 Result and status of PD request or command message Table 5 – AP33772S Register Summary Attribute Convention Readable / Writable Read-Only Read-Clear Write-Only 14 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 15: Register Description

    0: Normal mode 1: DR (de-rating) mode Reserved Reserved Reserved Reserved PDMOD 1: PD source connected LGCYMOD 1: Legacy source connected (non-PD) 15 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 16 The resistance value of the NTC thermistor at 25°C (unit: Ω) TR25 15:0 2710h The default value is 2710h (10000Ω) 16 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 17 The latest requested voltage; LSB 50mV VREQ 15:0 0000h The value depends on the PD negotiation result after setting PD_REQMSG (VOLTAGE_SEL). 17 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 18 (mV); the LSB is 80mV. OVPTHR The default value is 19h (2000mV), which means the OVP Threshold Voltage is V +2000mV by default. VREQ 18 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 19 11:10 0000h SRC_SPR_PDO5 0000h For data format, refer to SRC_SPR_PDO4 0000h SRC_SPR_PDO1 ~ SRC_SPR_PDO7 SRC_SPR_PDO3 0000h SRC_SPR_PDO2 0000h SRC_SPR_PDO1 0000h 19 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 20 If bit[14]=0 (Fixed PDO) : Voltage in 100mV units VOLTAGE_MAX If bit[14]=1 (PPS APDO) : Maximum Voltage in 100mV units 20 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 21 : The Operating Current of an RDO (The Operating Current Select parameter of PD_REQMSG) For more information, refer to the “Peak Current” section of the USB PD Specification. 21 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 22 The PD_CMDMSG register is defined as the command message that issues the specific USB PD command. AP33772S AP33772S AP33772S AP33772S AP33772S Reserved Reserved Reserved Reserved HRST 1: Issue Hard Reset command 22 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 23 2: Invalid command or argument 3: Command not supported or rejected 4: Transaction failed. No GoodCRC is received after sending Others: Reserved 23 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 24: Chapter 6. Function Description

    FLIP output is high. CC Flip Indication CC Detection CC1 Attached CC2 Attached FLIP Output Low (0) High (1) 24 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 25: Legacy Type A Charger With Type A-To-C Cable

    Temperature = 50°C + (2.250kΩ - 4.161kΩ) / (- 0.08944 kΩ/°C) = 71.4°C So, the TEMP register value is to be set at 47h (71°C). 25 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 26: Chapter 7. Protection

    1 and the associated VOUT MOS switches are turned off. The host MCU will need to load a new PD_CMDMSG to start the PD negotiation process, resuming quick-charging operation. 26 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 27: Overtemperature Protection (Otp) And De-Rating

    DN impedance over 2200ms. If the DN pin impedance check is normal, the AP33772S will start to negotiate with the source. 27 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 28: Chapter 8. Firmware Flow

    AP33772S I2C USB PD Sink Controller EVB User Guide Chapter 8. Firmware Flow 8.1 Firmware Block Diagram 28 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 29: Firmware Startup Process

    Finally, the STATUS.READY flag is set to 1, indicating that the startup process is completed and the host MCU can send requests thereafter. 29 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 30: Request Process

    After writing to the PD_REQMSG register, the host MCU should wait for the STATUS.READY flag to be set high and then read the PD_MSGRLT register to obtain the negotiation result. 30 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 31: Initial Configuration

    “ON” since VREQ voltage (15V) is more than VSELMIN voltage (9V). By modifying the initial configuration, the host appliance can ensure that VOUT voltage is always greater than 9V. 31 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 32: Chapter 9. Compliance Test

    EVB User Guide Chapter 9. Compliance test Product Testing Information  Product Name: AP33772S  Model: CY33772S  USB-IF TID: 10062 32 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 33: Chapter 10. Revision History

    EVB User Guide Chapter 10. Revision History Revision Hardware Version Firmware Version Change Description Date First release 11/16/2023 Remove VDC 05/03/2024 33 of 34 AP33772S EVB User Guide July 2024 www.diodes.com © 2024 Copyright Diodes Incorporated. All Rights Reserved. Rev. 2.0...
  • Page 34 The Information contained herein is for informational purpose only and is provided only to illustrate the operation of Diodes’ products described herein and application examples. Diodes does not assume any liability arising out of the application or use of this document or any product described herein.

Table of Contents