EZ-PD™ CCG4
Functional Overview
CPU and Memory Subsystem
CPU
USB-PD Subsystem (SS)
EZ-PD CCG4 has two USB-PD subsystems consisting of USB
Type-C baseband transceivers and physical-layer logic. These
transceivers perform the BMC and the 4b/5b encoding and
decoding functions as well as the 1.2-V analog front end. This
subsystem integrates the required termination resistors to
identify the role of the EZ-PD CCG4 solution. RD is used to
identify EZ-PD CCG4 as a UFP in a DRP application. When
configured as a DFP, integrated current sources perform the role
of RP or pull-up resistors. These current sources can be
programmed to indicate the complete range of current capacity
on VBUS defined in the USB Type-C spec. EZ-PD CCG4
responds to all USB-PD communication.
The Cortex-M0 CPU in EZ-PD CCG4 is part of the 32-bit MCU
subsystem, which is optimized for low-power operation with
extensive clock gating. It mostly uses 16-bit instructions and
executes a subset of the Thumb-2 instruction set. This enables
fully compatible binary upward migration of the code to higher
performance processors such as the Cortex-M3 and M4, thus
enabling upward compatibility. The Cypress implementation
includes a hardware multiplier that provides a 32-bit result in one
cycle. It includes a nested vectored interrupt controller (NVIC)
block with 32 interrupt inputs and also includes a wakeup
interrupt controller (WIC). The WIC can wake the processor up
from the Deep Sleep mode, allowing power to be switched off to
the main processor when the chip is in the Deep Sleep mode.
The Cortex-M0 CPU provides a nonmaskable interrupt (NMI)
input, which is made available to the user when it is not in use
for system functions requested by the user.
The USB-PD sub-system contains two 8-bit SAR (successive
approximation register) ADCs for analog to digital conversions.
The ADCs include an 8-bit DAC and a comparator. The DAC
output forms the positive input of the comparator. The negative
input of the comparator is from a 4-input multiplexer. The four
inputs of the multiplexer are a pair of global analog multiplex
busses an internal bandgap voltage and an internal voltage
proportional to the absolute temperature. All GPIO inputs can be
connected to the global analog multiplex busses through a
switch at each GPIO that can enable that GPIO to be connected
to the mux bus for ADC use. The CC1 and CC2 pins of both
Type-C ports are not available to connect to the mux busses.
The CPU also includes a serial wire debug (SWD) interface,
which is a 2-wire form of JTAG. The debug configuration used for
EZ-PD CCG4 has four break-point (address) comparators and
two watchpoint (data) comparators.
Flash
The EZ-PD CCG4 device has a flash module with a flash
accelerator, tightly coupled to the CPU to improve average
access times from the flash block. The flash block is designed to
deliver two wait-states (WS) access time at 48 MHz and with
0-WS access time at 16 MHz. The flash accelerator delivers 85%
of single-cycle SRAM access performance on average. Part of
the flash module can be used to emulate EEPROM operation if
required.
To support the latest USB-PD 3.0 specification, CCG4 has
implemented the fast role swap feature. Fast Role Swap enables
externally powered docks and hubs to rapidly switch to bus
power when their external power supply is removed. For more
details, refer to Section 6.3.17 (FR_Swap Message) in the
USB-PD 3.0 specification.
CCG4 is designed to be fully interoperable with revision 3.0 of
the USB Power Delivery specification as well as revision 2.0 of
the USB Power Delivery specification.
SROM
A supervisory ROM that contains boot and configuration routines
is provided.
CCG4 supports Extended Messages containing data of up to 260
bytes. The Extended Messages will be larger than expected by
the USB-PD 2.0 hardware. To accommodate Revision 2.0 based
systems, a Chunking mechanism is implemented such that
Messages are limited to Revision 2.0 sizes unless it is
discovered that both systems support the longer Message
lengths.
Document Number: 001-98440 Rev. *F
Page 6 of 30