Dock Management Controller (DMC) : General Description
Dock Management Controller (DMC) : General Description
General Description
The CY7C65219-40LQXI Dock Management Controller (DMC) is a USB Billboard controller that is designed for managing USB dock
and monitor solutions. The DMC provides USB full-speed capability to support USB Billboard device class v1.21. It supports signed
and unsigned firmware download over USB to programmable dock components (such as USB PD Controller and Hub controller)
connected to the DMC. DMC uses Cypress’ proprietary M0S8 technology with a 32-bit, 48-MHz Arm® Cortex® -M0 processor with
128-KB flash, 8-KB SRAM, 20 GPIOs, full-speed USB device controller, and a Crypto engine for authentication. DMC provides
system-level ESD protection. DMC is available in a 40-QFN package.
Features Power
■ 2.7 V to 5.5 V operation
Dock Management Controller
■ USB Billboard device class v1.21 support ■ Independent supply voltage pin for GPIO that allows 1.71 V to
5.5 V signaling on the I/Os
■ Firmware update support and status reporting for DMC and all
programmable dock components ■ Reset: 30 µA, Deep Sleep: 30 µA, Sleep: 3.5 mA
32-bit MCU Subsystem System-Level ESD Protection
■ 48-MHz Arm Cortex-M0 CPU ■ On DPLUS and DMINUS pins
■ 128-KB Flash ■ ± 8-kV Contact Discharge and ±15-kV Air Gap Discharge based
■ 8-KB SRAM on IEC61000-4-2 level 4C
4x TCPWM
Programmable
I/O Matrix
Crypto Block
Flash
(128KB)
Cypress Semiconductor Corporation • 198 Champion Court • San Jose, CA 95134-1709 • 408-943-2600
Document Number: 002-20954 Rev. *A Revised December 22, 2017
CY7C65219
Contents
DMC Block Diagram ......................................................... 4 Device-Level Specifications ...................................... 13
Functional Overview ........................................................ 5 Digital Peripherals ..................................................... 15
CPU and Memory Subsystem ..................................... 5 System Resources .................................................... 17
Crypto Block ................................................................ 5 Ordering Information...................................................... 20
Firmware Update Support ........................................... 5 Ordering Code Definitions ......................................... 20
Full-Speed USB Subsystem........................................ 5 Packaging........................................................................ 21
Integrated Billboard Device ......................................... 5 Acronyms ........................................................................ 22
Peripherals .................................................................. 5 Document Conventions ................................................. 23
GPIO ........................................................................... 6 Units of Measure ....................................................... 23
Pinouts .............................................................................. 7 References and Links to Applications Collaterals ..... 24
Available Firmware and Software Tools......................... 9 Document History Page ................................................. 25
EZ-PD Dock DMC Configuration Generation Tool ...... 9 Sales, Solutions, and Legal Information ...................... 26
DMC Programming ......................................................... 10 Worldwide Sales and Design Support....................... 26
Programming the Device Flash over SWD Interface. 10 Products .................................................................... 26
Application Firmware Update over USB Interface..... 10 PSoC® Solutions ...................................................... 26
Applications .................................................................... 11 Cypress Developer Community................................. 26
Electrical Specifications ................................................ 12 Technical Support ..................................................... 26
Absolute Maximum Ratings....................................... 12
CPU Subsystem
DMC
SWD/TC SPCIF
Cortex
32-bit FLASH SRAM ROM
M0
128 KB 8 KB 8 KB
48 MHz
AHB-Lite FAST MUL
Read Accelerator SRAM Controller ROM Controller
NVIC, IRQMX
System Resources
Lite
System Interconnect (Single Layer AHB)
Power
Sleep Control Peripherals
WIC
POR REF
PWRSYS
PCLK Peripheral Interconnect (MMIO)
Clock
Clock Control
WDT USB-FS
IMO ILO
IOSS GPIO (3 x ports)
4 x TCPWM
CRYPTO
4 x SCB
Reset
Reset Control
XRES
Test
DFT Logic
DFT Analog
FS-PHY
Power Modes High Speed I/O Matrix
Active/Sleep
Deep Sleep
20 x GPIOs
I/O Subsystem
Note
1. See Acronyms section for more details.
Functional Overview
CPU and Memory Subsystem Firmware Update Support
CPU DMC has the capability to do firmware update to itself and other
dock components such as USB PD Controller and Hub
The Cortex-M0 CPU in DMC is part of the 32-bit MCU Controller. It implements the firmware update functionality and
subsystem, which is optimized for low-power operation with status reporting on a vendor interface using a full-speed USB 2.0
extensive clock gating. It mostly uses 16-bit instructions and device controller. DMC gets the firmware update request and
executes a subset of the Thumb-2 instruction set. This enables firmware content through the USB interface from the host. DMC
fully compatible binary upward migration of the code to higher communicates with dock components using SCB.
performance processors such as the Cortex-M3 and M4, thus
enabling upward compatibility. The Cypress implementation Unsigned Firmware Update
includes a hardware multiplier that provides a 32-bit result in one
cycle. It includes a nested vectored interrupt controller (NVIC) The firmware update procedure expects the host to send the
block with 32 interrupt inputs and also includes a Wakeup metadata of the programmable component's FW information.
Interrupt Controller (WIC). The WIC can wake the processor up This metadata includes SHA-256 of the individual firmware
from the Deep Sleep mode, allowing power to be switched off to image. DMC notifies the host to send the individual component's
the main processor when the chip is in the Deep Sleep mode. firmware image one by one and update to the dock component
The Cortex-M0 CPU provides a Non-Maskable Interrupt (NMI) connected to DMC through SCB. DMC verifies the firmware
input, which is made available to the user when it is not in use validity by comparing the received SHA-256 with the calculated
for system functions requested by the user. SHA-256 of the firmware received.
The CPU also includes a serial wire debug (SWD) interface, Signed Firmware Update
which is a two-wire form of JTAG. The debug configuration used The signed firmware update follows the same procedure as the
for DMC has four break-point (address) comparators and two unsigned firmware update but it uses RSA-2048/SHA-256 for
watchpoint (data) comparators. signing.
Flash Contact Cypress customer support for more information on the
The DMC device has a flash module with two banks of 64 KB signed firmware update.
flash, a flash accelerator, tightly coupled to the CPU to improve Refer to the EZ-PD™ Dock Reference Design Guide for more
average access times from the flash block. The flash block is details.
designed to deliver 1 wait-state (WS) access time at 48 MHz and
with 0-WS access time at 24 MHz. The flash accelerator delivers Peripherals
85% of single-cycle SRAM access performance on average.
Serial Communication Blocks (SCB)
SROM
DMC has four SCBs, which can be configured to implement an
A supervisory ROM that contains boot and configuration routines I2C, SPI, or UART interface. The hardware I2C blocks implement
is provided. full multi-master and slave interfaces capable of multimaster
arbitration. In the SPI mode, the SCB blocks can be configured
Crypto Block to act as master or slave.
DMC integrates a crypto block for hardware assisted In the I2C mode, the SCB blocks are capable of operating at
authentication of firmware images. The DMC Crypto block speeds of up to 1 Mbps (Fast Mode Plus) and have flexible
provides cryptography functionality. It includes hardware buffering options to reduce interrupt overhead and latency for the
acceleration blocks for Advanced Encryption Standard (AES) CPU. These blocks also support I2C that creates a mailbox
block cipher, Secure Hash Algorithm (SHA-1 and SHA-2), Cyclic address range in the memory of DMC and effectively reduce I2C
Redundancy Check (CRC), and pseudo random number communication to reading from and writing to an array in
generation. memory. In addition, the blocks support 128-deep FIFOs for
receive and transmit which, by increasing the time given for the
Full-Speed USB Subsystem
CPU to read data, greatly reduce the need for clock stretching
The FSUSB subsystem contains a full-speed USB device caused by the CPU not having read data on time.
controller as described in the Integrated Billboard Device
section. The I2C peripherals are compatible with the I2C Standard-mode,
Fast-mode, and Fast-mode Plus devices as defined in the NXP
■ USB2.0 Full-Speed (FS) PHY with integrated 5.0 V to 3.3 V I2C-bus specification and user manual (UM10204).
regulator
The I2C bus I/Os are implemented with GPIO in open-drain
■ 8-kV IEC ESD Protection on the following pins: DP, DM modes.
The I2C port on SCB 1-3 blocks of DMC are not completely GPIO
compliant with the I2C specification in the following aspects:
DMC has up to 20 GPIOs (these GPIOs can be configured for
2 GPIOs and SCB) and SWD pins, which can also be used as
■ The GPIO cells for SCB 1's I C port are not overvoltage-tolerant
GPIOs. The I2C pins from SCB 0 are overvoltage-tolerant.
and, therefore, cannot be hot-swapped or powered up
independently of the rest of the I2C system. The GPIO block implements the following:
■ Seven drive strength modes:
■ Fast-mode Plus has an IOL specification of 20 mA at a VOL of
❐ Input only
0.4 V. The GPIO cells can sink a maximum of 8-mA IOL with a
❐ Weak pull-up with strong pull-down
VOL maximum of 0.6 V.
❐ Strong pull-up with weak pull-down
■ Fast-mode and Fast-mode Plus specify minimum Fall times, ❐ Open drain with strong pull-down
which are not met with the GPIO cell; Slow strong mode can ❐ Open drain with strong pull-up
help meet this spec depending on the bus load. ❐ Strong pull-up with strong pull-down
❐ Weak pull-up with weak pull-down
Timer/Counter/PWM Block (TCPWM)
■ Input threshold select (CMOS or LVTTL)
DMC has four TCPWM blocks. Each implements a 16-bit timer,
counter, pulse-width modulator (PWM), and quadrature decoder ■ Individual control of input and output buffer enabling/disabling
functionality. in addition to the drive strength modes
■ Hold mode for latching previous state (used for retaining I/O
state in Deep Sleep mode)
■ Selectable slew rates for dV/dt related noise control to improve
EMI
During power-on and reset, the I/O pins are forced to the disable
state so as not to crowbar any inputs and/or cause excess
turn-on current. A multiplexing network known as a high-speed
I/O matrix is used to multiplex between various signals that may
connect to an I/O pin.
Pinouts
Table 2. DMC Pin Description for 40-QFN Device
Pin Map Name Description
40-QFN
1 NC NC
2 NC NC
3 NC NC
4 NC NC
5 NC NC
6 NC NC
7 P1.0 GPIO/UART_2_TX / SPI_2_MISO
8 P1.1 GPIO/UART_2_RX / SPI_2_SEL
GPIO/UART_0_RX/ UART_3_CTS/ SPI_3_MOSI/
9 P1.2
I2C_3_SCL
GPIO/UART_0_TX/ UART_3_RTS/ SPI_3_CLK/
10 P1.3
I2C_3_SDA
11 P1.6 GPIO / UART_1_TX / SPI_1_MISO
12 P1.4 GPIO / UART_3_TX/ SPI_3_MISO/ SWD_1_CLK
13 P1.5 GPIO / UART_3_RX/ SPI_3_SEL/ SWD_1_DAT
14 P1.7 GPIO / UART_1_RX / SPI_1_SEL
GPIO / UART_1_CTS / SPI_1_CLK/ I2C_1_SCL /
15 P2.0
SWD_0_DAT
GPIO / UART_1_RTS / SPI_1_MOSI/ I2C_1_SDA /
16 P2.1
SWD_0_CLK
17 VDDD VDDD supply Input / Output (2.7 V–5.5 V)
1.71 V–5.5 V supply for I/Os. This supply also powers the
18 VDDIO
global analog multiplex buses.
19 VCCD 1.8-V regulator output for filter capacitor
20 VSYS System power supply (2.7 V–5.5 V)
21 DPLUS USB 2.0 DP
22 DMINUS USB 2.0 DM
23 P2.4 GPIO
24 P2.5 GPIO / UART_0_TX/ SPI_0_MOSI
25 P2.6 GPIO / UART_0_RX/ SPI_0_CLK
26 XRES External Reset Input. Internally pulled-up to VDDIO.
I2C_0_SDA / GPIO_OVT / UART_0_CTS / SPI_0_SEL/
27 P0.0
TCPWM0
I2C_0_SCL / GPIO_OVT / UART_0_RTS / SPI_0_MISO/
28 P0.1
TCPWM1
29 NC NC
30 NC NC
31 NC NC
32 NC NC
33 VSS Ground Supply (GND)
NC
NC
40
39
38
37
36
35
34
33
32
31
NC 1 30 NC
NC 2 29 NC
NC 3 28 GPIO_OVT
NC 4 27 GPIO_OVT
NC 5 26 XRES
EPAD
NC 6 25 GPIO
GPIO 7 24 GPIO
GPIO 8 23 GPIO
GPIO 9 22 DMINUS
GPIO 10 21 DPLUS
11
12
13
14
15
16
17
18
19
20
VSYS
VDDD
VCCD
GPIO
GPIO
GPIO
GPIO
GPIO
GPIO
VDDIO
SWDCLK SWD_0_CLK
SWDIO SWD_0_DAT VDDD 1F
10V
XRES XRES
X7R
VDDIO
GND VSS
GND
PC D+/D-
Running
DMC
EZ-PD Dock
Firmware Update Tool
Applications
Figure 5 illustrates the application diagram of a dock/monitor I2C interface) and GPIOs. DMC communicates with the PD
using a DMC device. In this application, DMC is used as controller and Hub controller and provides their status. It also
Billboard and Firmware Update device for all programmable enables firmware update over the SCB interface.
dock components. More details including the schematic of the EZ-PD Dock
A typical dock/monitor application also includes a PD controller Reference Design can be found here.
for Type-C ports and Hub for port expansion. DMC is connected
to the PD controller and Hub controller through SCB (in this case
Figure 5. Dock/Monitor Application Diagram (40-QFN Device)
VDDD
VDDD 21
DPLUS
22
DMINUS
2.2K 2.2K 2.2K
37
I2C_SCL / P3.5
35
I2C EEPROM 36 P3.3 Dock Master Reset
I2C_SDA / P3.4
for Tier-2 HX3
8
WP P1.0
7 26
XRES
P1.1
Tier-2 HX3 33 0.1F
XRES
GND 10V
VCCD
X7R
19
1F
10V
X7R
Electrical Specifications
Absolute Maximum Ratings
Table 3. Absolute Maximum Ratings
Device-Level Specifications
All specifications are valid for –40 °C TA 105 °C and TJ 120 °C, except where noted.
Table 4. DC Specifications
Note
2. If VDDIO > VDDD, GPIO P2.4 cannot be used. It must be left unconnected. See Table 2 for pin numbers.
I/O
Table 6. I/O DC Specifications
XRES
Table 8. XRES DC Specifications
Spec ID Parameter Description Min Typ Max Units Details/Conditions
Input voltage HIGH
SID.XRES#1 VIH_XRES 0.7 × VDDIO – – V CMOS input
threshold on XRES pin
Input voltage LOW
SID.XRES#2 VIL_XRES – – 0.3 × VDDIO V CMOS input
threshold on XRES pin
Input capacitance on Guaranteed by charac-
SID.XRES#3 CIN_XRES – – 7 pF
XRES pin terization
Input voltage hysteresis Guaranteed by charac-
SID.XRES#4 VHYSXRES – 0.05 × VDDIO – mV
on XRES pin terization
Digital Peripherals
The following specifications apply to the Timer/Counter/PWM peripherals in the Timer mode.
Pulse Width Modulation (PWM) for GPIO Pins
Table 9. PWM AC Specifications
(Guaranteed by Characterization)
Spec ID Parameter Description Min Typ Max Units Details/Conditions
Fc max = CLK_SYS.
SID.TCPWM.3 TCPWMFREQ Operating frequency – – Fc MHz
Maximum = 48 MHz.
SID.TCPWM.4 TPWMENEXT Input trigger pulse width 2/Fc – – ns For all trigger events
Minimum possible width of
Overflow, Underflow, and CC
SID.TCPWM.5 TPWMEXT Output trigger pulse width 2/Fc – – ns
(Counter equals Compare
value) outputs
Minimum time between
SID.TCPWM.5A TCRES Resolution of counter 1/Fc – – ns
successive counts
Minimum pulse width of PWM
SID.TCPWM.5B PWMRES PWM resolution 1/Fc – – ns
output
Minimum pulse width between
SID.TCPWM.5C QRES Quadrature inputs resolution 1/Fc – – ns
quadrature-phase inputs
I2C
Table 10. Fixed I2C DC Specifications
(Guaranteed by Characterization)
Spec ID Parameter Description Min Typ Max Units Details/Conditions
SID149 II2C1 Block current consumption at 100 kHz – – 60 µA –
SID150 II2C2 Block current consumption at 400 kHz – – 185 µA –
SID151 II2C3 Block current consumption at 1 Mbps – – 390 µA –
SID152 II2C4 I2C enabled in Deep Sleep mode – – 1.4 µA –
System Resources
Power-on-Reset (POR) with Brown Out SWD Interface
Table 18. Imprecise Power On Reset (PRES) (Guaranteed by Characterization)
Spec ID Parameter Description Min Typ Max Units Details/Conditions
Power-on Reset (POR) rising trip
SID185 VRISEIPOR 0.80 – 1.50 V –
voltage
SID186 VFALLIPOR POR falling trip voltage 0.70 – 1.4 V –
Memory
Table 26. Flash AC Specifications
Spec ID Parameter Description Min Typ Max Units Details/Conditions
SID.MEM#3 FLASH_ERASE Row erase time – – 15.5 ms –
Row (Block) write time (erase
SID.MEM#4 FLASH_WRITE – – 20 ms –
and program)
SID.MEM#8 FLASH_ROW_PGM Row program time after erase – – 7 ms –
SID178 TBULKERASE Bulk erase time (64 KB) – – 35 ms –
SID180 TDEVPROG Total device program time – – 7.5 s Guaranteed by characterization
Flash retention, TA ≤ 55 °C,
SID182 FRET1 20 – – years Guaranteed by characterization
100 K P/E cycles
Flash retention, TA ≤ 85 °C,
SID182A FRET2 10 – – years Guaranteed by characterization
10 K P/E cycles
Flash retention, TA ≤ 105 °C,
SID182B FRET3 3 – – years Guaranteed by characterization
10 K P/E cycles
Ordering Information
Table 27 lists the DMC part numbers and features.
Table 27. DMC Ordering Information
Part Number Application Default FW Package Si ID
CY7C65219-40LQXIT Application launcher and 2 copies of
Docks/Monitors application FW that can update DMC 40-QFN 1D0A
CY7C65219-40LQXI as unsigned firmware update
Packaging
Table 28. Package Characteristics
Parameter Description Conditions Min Typ Max Units
TA Operating ambient temperature Industrial –40 25 85 °C
TJ Operating junction temperature Industrial –40 25 100 °C
TJA Package JA (40-pin QFN) – – – 17 °C/W
TJC Package JC (40-pin QFN) – – – 2 °C/W
001-80659 *A
Document Conventions
Units of Measure
Table 32. Units of Measure
Symbol Unit of Measure
°C degrees Celsius
Hz hertz
KB 1024 bytes
kHz kilohertz
k kilo ohm
Mbps megabits per second
MHz megahertz
M mega-ohm
Msps megasamples per second
µA microampere
µF microfarad
µs microsecond
µV microvolt
µW microwatt
mA milliampere
ms millisecond
mV millivolt
nA nanoampere
ns nanosecond
ohm
pF picofarad
ppm parts per million
ps picosecond
s second
sps samples per second
V volt
IMPORTANT NOTE REGARDING PROTECTED FIRMWARE DOWNLOAD: Cypress has implemented protections in the product to prevent unauthorized firmware updates from being applied to the
product. However, no computing device or system can be absolutely secure. Therefore, the parties agree that Cypress shall not have any liability arising out of any failure of the product's security
features, such as the inability to load firmware or a breach allowing the loading of unauthorized firmware.
Notice regarding compliance with Universal Serial Bus specification. Cypress offers firmware and hardware solutions that are certified to comply with the Universal Serial Bus specification, USB
Type-C™ Cable and Connector Specification, and other specifications of USB Implementers Forum, Inc (USB-IF). You may use Cypress or third party software tools, including sample code, to modify
the firmware for Cypress USB products. Modification of such firmware could cause the firmware/hardware combination to no longer comply with the relevant USB-IF specification. You are solely
responsible ensuring the compliance of any modifications you make, and you must follow the compliance requirements of USB-IF before using any USB-IF trademarks or logos in connection with any
modifications you make. In addition, if Cypress modifies firmware based on your specifications, then you are responsible for ensuring compliance with any desired standard or specifications as if you
had made the modification. CYPRESS IS NOT RESPONSIBLE IN THE EVENT THAT YOU MODIFY OR HAVE MODIFIED A CERTIFIED CYPRESS PRODUCT AND SUCH MODIFIED PRODUCT
NO LONGER COMPLIES WITH THE RELEVANT USB-IF SPECIFICATIONS.
© Cypress Semiconductor Corporation, 2017. This document is the property of Cypress Semiconductor Corporation and its subsidiaries, including Spansion LLC ("Cypress"). This document, including
any software or firmware included or referenced in this document ("Software"), is owned by Cypress under the intellectual property laws and treaties of the United States and other countries worldwide.
Cypress reserves all rights under such laws and treaties and does not, except as specifically stated in this paragraph, grant any license under its patents, copyrights, trademarks, or other intellectual
property rights. If the Software is not accompanied by a license agreement and you do not otherwise have a written agreement with Cypress governing the use of the Software, then Cypress hereby
grants you a personal, non-exclusive, nontransferable license (without the right to sublicense) (1) under its copyright rights in the Software (a) for Software provided in source code form, to modify and
reproduce the Software solely for use with Cypress hardware products, only internally within your organization, and (b) to distribute the Software in binary code form externally to end users (either
directly or indirectly through resellers and distributors), solely for use on Cypress hardware product units, and (2) under those claims of Cypress's patents that are infringed by the Software (as provided
by Cypress, unmodified) to make, use, distribute, and import the Software solely for use with Cypress hardware products. Any other use, reproduction, modification, translation, or compilation of the
Software is prohibited.
TO THE EXTENT PERMITTED BY APPLICABLE LAW, CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS DOCUMENT OR ANY SOFTWARE
OR ACCOMPANYING HARDWARE, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. No computing
device can be absolutely secure. Therefore, despite security measures implemented in Cypress hardware or software products, Cypress does not assume any liability arising out of any security breach,
such as unauthorized access to or use of a Cypress product. In addition, the products described in these materials may contain design defects or errors known as errata which may cause the product
to deviate from published specifications. To the extent permitted by applicable law, Cypress reserves the right to make changes to this document without further notice. Cypress does not assume any
liability arising out of the application or use of any product or circuit described in this document. Any information provided in this document, including any sample design information or programming
code, is provided only for reference purposes. It is the responsibility of the user of this document to properly design, program, and test the functionality and safety of any application made of this
information and any resulting product. Cypress products are not designed, intended, or authorized for use as critical components in systems designed or intended for the operation of weapons, weapons
systems, nuclear installations, life-support devices or systems, other medical devices or systems (including resuscitation equipment and surgical implants), pollution control or hazardous substances
management, or other uses where the failure of the device or system could cause personal injury, death, or property damage ("Unintended Uses"). A critical component is any component of a device
or system whose failure to perform can be reasonably expected to cause the failure of the device or system, or to affect its safety or effectiveness. Cypress is not liable, in whole or in part, and you
shall and hereby do release Cypress from any claim, damage, or other liability arising from or related to all Unintended Uses of Cypress products. You shall indemnify and hold Cypress harmless from
and against all claims, costs, damages, and other liabilities, including claims for personal injury or death, arising from or related to any Unintended Uses of Cypress products.
Cypress, the Cypress logo, Spansion, the Spansion logo, and combinations thereof, WICED, PSoC, CapSense, EZ-USB, F-RAM, and Traveo are trademarks or registered trademarks of Cypress in
the United States and other countries. For a more complete list of Cypress trademarks, visit cypress.com. Other names and brands may be claimed as property of their respective owners.
Authorized Distributor
Cypress Semiconductor:
CY7C65219-40LQXI CY7C65219-40LQXIT