It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip
products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and
enhanced as new volumes and updates are introduced.
If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via
E-mail at docerrors@microchip.com. We welcome your feedback.
Most Current Data Sheet
To obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at:
http://www.microchip.com
You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page.
The last character of the literature number is the version number, (e.g., DS30000000A is version A of document DS30000000).
Errata
An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the
revision of silicon and revision of document to which it applies.
To determine if an errata sheet exists for a particular device, please check with one of the following:
• Microchip’s Worldwide Web site; http://www.microchip.com
• Your local Microchip sales office (see last page)
When contacting a sales office, please specify which device, revision of silicon and data sheet (include -literature number) you are
using.
Customer Notification System
Register on our web site at www.microchip.com to receive the most current information on all of our products.
DS00003416B-page 4 2020 Microchip Technology Inc.
CEC1712
Table Of Contents
1.0 General Description ........................................................................................................................................................................ 6
4.0 Power, Clocks, and Resets ........................................................................................................................................................... 65
5.0 ARM M4 Based Embedded Controller .......................................................................................................................................... 80
6.0 RAM and ROM ..............................................................................................................................................................................90
17.0 Real Time Clock ........................................................................................................................................................................ 189
21.0 Analog to Digital Converter ....................................................................................................................................................... 223
22.0 Blinking/Breathing LED ............................................................................................................................................................. 235
30.0 Security Features ...................................................................................................................................................................... 301
32.0 Test Mechanisms ...................................................................................................................................................................... 308
Appendix A: Data Sheet Revision History ......................................................................................................................................... 335
The Microchip Web Site .................................................................................................................................................................... 336
Customer Change Notification Service ............................................................................................................................................. 336
Customer Support ............................................................................................................................................................................. 336
Product Identification System ........................................................................................................................................................... 337
The CEC1712 device is a low power integrated embedded controller designed with strong cryptographic support . The
CEC1712 is a highly-configurable, mixed-signal, advanced I/O controller architecture. It contains a 32-bit ARM® CortexM4 processor core with closely-coupled memory for optimal code execution and data access. An internal ROM, embedded in the design, is used to store the power on/boot sequence and APIs available during run time. When VTR_CORE
is applied to the device, the secure boot loader API is used to download the custom firmware image from the system’s
shared SPI Flash device, thereby allowing system designers to customize the device’s behavior.
The CEC1712 device is directly powered by a minimum of two separate suspend supply planes (VBAT and VTR). The
CEC1712 has two banks of I/O pins that are able to operate at either 3.3 V or 1.8 V. Operating at 1.8V allows the
CEC1712 to interface with the latest platform controller hubs and will lower the overall power consumed by the device,
Whereas 3.3V allows this device to be integrated into legacy platforms that require 3.3V operation.
The CEC1712 secure boot loader authenticates and optionally decrypts the SPI Flash OEM boot image using the AES256, ECDSA P-384, SHA-384 cryptographic hardware accelerators. The CEC1712 hardware accelerators support 128bit and 256-bit AES encryption, ECDSA and EC_KCDSA signing algorithms, 1024-bits to 4096-bits RSA and Elliptic
asymmetric public key algorithms, and a True Random Number Generator (TRNG). Runtime APIs are provided in the
ROM for customer application code to use the cryptographic hardware. Additionally, the device offers lockable OTP storage for private keys and IDs. Additional features supported include Key Revocation, Roll back protection and DICE.
CEC1712 offers a software development system interface that includes a Trace FIFO debug port and a 2-pin Serail wire
debug (SWD)/ JTAG interface
1.1Family Features
TABLE 1-1:CEC1712 FEATURE LIST
FeaturesCEC1712 -84 WFBGA
Package84 pin WFBGA
Device ID0023_A2
Boundary Scan JTAG ID0223_2445
CPU32-bit ARM
SRAM256 kB
Code/Data Options (Primary use)224kB/32kB
Battery Backed SRAM64 bytes
Trace FIFO Debug PortYes
Internal DMA Channels12
32-bit Timer2
16-bit Timer2
Capture Timer Registers6
ICT Channels11
Compare TimerYes
Watchdog Timer (WDT)1
Hibernation Timer2
Week Timer1
Sub Week Timer1
RTC1
RTOS Timer1
Keyboard Matrix scan supportNo
SMBus 2.0 Host Controllers5
®
Cortex-M4
DS00003416B-page 6 2020 Microchip Technology Inc.
Note 1: Please refer to Boot ROM document for below set of optional OTP selectable feature.
1.2Boot ROM
Following the release of the RESET_EC signal, the processor will start executing code in the Boot ROM. The B oot ROM
executes the SPI Flash Loader, which downloads User Code from SPI Flash and stores it in the internal Code RAM.
Refer to CEC1712 Boot ROM document for further details.
1.3System Block Diagram
1.4CEC1712 Internal Address Spaces
The Internal Embedded Controller can access any register in the EC Address Space or Host Address Space.
DS00003416B-page 8 2020 Microchip Technology Inc.
The Pin Configuration chapter includes Pin List, Pin Multiplexing.
2.2Terminology and Symbols for Pins/Buffers
2.2.1BUFFER TERMINOLOGY
TermDefinition
#The ‘#’ sign at the end of a signal name indicates an active-low signal
nThe lowercase ‘n’ preceding a signal name indicates an active-low signal
PWRPower
Programmable as Input, Output, Open Drain Output, Bi-directional or Bi-directional with Open
Drain Output. Configurable drive strength from 2ma to12ma.
PIO
InI Type Input Buffer.
O2O-2 mA Type Buffer.
PECIPECI Input/Output. These pins operate at the processor voltage level (VREF_VTT)
SB-TSISB-TSI Input/Output. These pins operate at the processor voltage level (VREF_VTT)
Note:All GPIOs have programmable drive strength options of 2ma, 4ma, 8ma and 12ma.
GPIO pin drive strength is determined by the Pin Control Register Defaults field in
the Pin Control Register 2.
2.2.2PIN NAMING CONVENTIONS
• Pin Name is composed of the multiplexed options separated by ‘/’. E.g., GPIOxxxx/SignalA/SignalB.
• The first signal shown in a pin name is the default signal. E.g., GPIOxxxx/SignalA/SignalB means the GPIO is the
default signal.
• Parenthesis ‘()’ are used to list aliases or alternate functionality for a single mux option.
• Square brackets ‘[ ]’ are used to indicate there is a Strap Option on a pin. This is always shown as the last signal
on the Pin Name.
• Signal Names appended with a numeric value indicates the Instance Number. E.g., PWM0, PWM1, etc. indicates
that PWM0 is the PWM output for PWM Instance 0, PWM1 is the PWM output for PWM Instance 1, etc. The
instance number may be omitted if there in only one instance of the IP block implemented.
2.3Pin List
TABLE 2-1:CEC1712 PIN MAP
Ball mapSignal
D2nRESET_IN
F3GPIO057/VCC_PWRGD
E2GPIO106/PWROK
B2GPIO051/ICT1_TACH1
A3GPIO050/ICT0_TACH0
F2GPIO200/ADC00/TRACEDAT0
G2GPIO201/ADC01/TRACEDAT1
H2GPIO202/ADC02/TRACEDAT2
G1GPIO203/ADC03/TRACEDAT3
H1GPIO204/ADC04
DS00003416B-page 10 2020 Microchip Technology Inc.
Note:GPIO055/PWM2/SHD_CS0# should be pulled up for proper boot up of the chip.
2.4Pin Multiplexing
2.4.1DEFAULT STATE
The default state for analog pins is Input. The default state for all pins that default to a GPIO function is input/output/interrupt disabled. The default state for pins that differ is shown in the Section 3.5, "GPIO Register Assignments". Entries for
the Default State column are
The Power Rail column defines the power pin that provides I/O power for the signal pin.
DS00003416B-page 12 2020 Microchip Technology Inc.
CEC1712
2.4.3BUFFER TYPES
The Buffer Type column defines the type of Buffer associated with each signal. Some pins have signals with two different
buffer types sharing the pin; in this case, table shows the buffer type for each of the signals that share the pin.
Input signals muxed with GPIOs are marked as “I”
Output signals muxed with GPIOs are marked as “PIO”, because the GPIO input path is always active even when the
alternate function selected is “output only”. So the GPIO input can be read to see the level of the output signal.
Pad Types are defined in the Section 33.0, "Electrical Specifications," on page 310.
• I/O Pad Types are defined in Section 33.2.4, "DC Electrical Characteristics for I/O Buffers," on page 312.
• The abbreviation “PWR” is used to denote power pins. The power supplies are defined in Section 33.2.1, "Power
Supply Operational Characteristics," on page 310.
2.4.4GLITCH PROTECTION
Pins with glitch protection are glitch-free tristate pins and will not drive out while their associated power rail is rising.
These glitch-free tristate pins require either an external pull-up or pull-down to set the state of the pin high or low.
Note:If the pin needs to default low, a 1M ohm (max) external pull-down is required.
All pins are glitch protected.
Note:The power rail must rise monotonically in order for glitch protection to operate.
2.4.5OVER-VOLTAGE PROTECTION
If a pin is over-voltage protected (over-voltage protection = YES) then the following is true: If the pad is powered by 1.8V
+/- 5% (operational) it can tolerate up to 3.63V on the pad. This allows for a pull-up to 3.3V power rail +/- 10%. If the
pad is powered by 3.3V +/- 5% (operational) it can tolerate up to 5.5V on the pad. This allows for a pull-up to 5.0V power
rail +/- 10%.
If a pin is not over-voltage protected (over-voltage protection = NO) then the following is true: If the pad is powered by
1.8V +/- 5% (operational), it can tolerate up to 1.8V +10% (i.e., +1.98V max). If the pad is powered by 3.3V +/- 5% (oper-
ational) it can tolerate up to 3.3V +10% (i.e., +3.63V max).
2.4.6UNDER-VOLTAGE PROTECTION
Pins that are identified as having Under-voltage PROTECTION may be configured so they will not sink excess current
if powered by 3.3V and externally pulled up to 1.8V. The following configuration requirements must be met.
• If the pad is an output only pad type and it is configured as either open drain or the output is disabled.
• If the pin is a GPIO pin with a PIO pad type then is must be configured as open drain output with the input disabled. The input is disabled by setting the GPIO Power Gating Signals (PGS) bits to 11b.
All pins are under voltage protected.
2.4.7BACKDRIVE PROTECTION
Assuming that the external voltage on the pin is within the parameters defined for the specific pad type, the backdrive
protected pin will not sink excess current when it is at a lower potential than the external circuit. There are two cases
where this occurs:
• The pad power is off and the external circuit is powered
• The pad power is on and the external circuitry is pulled to a higher potential than the pad power. This may occur
on 3.3V powered pads that are 5V tolerant or on 1.8V powered pads that are 3.6V tolerant.
2.4.8EMULATED POWER WELL
Power well emulation for GPIOs and for signals that are multiplexed with GPIO signals is controlled by the Power Gating
Signals (PGS) option in the GPIO Pin Control Register. The Emulated Power Well column in the Pin Multiplexing table
defines the power gating programming options supported for each signal.
Note:VBAT powered signals do not support power emulation and must program the PGS bit field to 00b (VTR)
2.4.9GATED STATE
This column defines the internal value of an input signal when either its emulated power well is inactive or it is not
selected by the GPIO alternate function MUX. A value of “No Gate” means that the internal signal always follows the
pin even when the emulated power well is inactive.
Note:Gated state is only meaningful to the operation of input signals. A gated state on an output pin defines the
internal behavior of the GPIO MUX and does not imply pin behavior.
Note:Only the pins that are 5V tolerant have an entry in the 5VT column in the Pin Description Table.
2.4.10NOTES
The below notes are for all tables in this chapter.
TABLE 2-2:NUMBERED NOTES
NOTEDescription
Note 1An external cap must be connected as close to the VR_CAP pin/ball as possible with a routing resistance
and CAP ESR of less than 100mohms. The capacitor value is 1uF and must be ceramic with X5R or X7R
dielectric. The cap pin/ball should remain on the top layer of the PCB and traced to the CAP. Avoid adding
vias to other layers to minimize inductance.
Note 2This SMBus ports supports 1 Mbps operation as defined by I2C. For 1 Mbps I2C recommended capaci-
tance/pull-up relationships from Intel, refer to the Shark Bay platform guide, Intel ref number 486714. Refer
to the PCH - SMBus 2.0/SMLink Interface Design Guidelines, Bus Capacitance/Pull-Up Resistor Relationship.
Note 4The voltage on the ADC pins must not exceed 3.6 V or damage to the device will occur.
Note 5The VCI pins may be used as GPIOs. The VCI input signals are not gated by selecting the GPIO alternate
function. Firmware must disable (i.e., gate) these inputs by writing the bits in the VCI Input Enable Register
when the GPIO function is enabled.
Note 6The Over voltage protected GPIO pins will not support the Repeater mode mentioned in the GPIO pin con-
figuration register
Note 7Refer Configurable Signal Routing section under Pin Configuration chapter for details on using the <signal>
and <signal>_ALT. Both <signal> and <signal>_ALT cannot be enabled simultaneously.
Note 8 <Signal> with ‘#’ as suffix will be shown as <Signal>_n in MPLab Tools
Note 932kHz_IN is named CLK32kHz_IN in MPLab Tools
Note 10 Clock Enable Register Bits [3:2] should be configured to be driven by single ended 32Khz source. Connect
the pin to SUSCLK from PCH.
Note 11 When the JTAG_RST# pin is not asserted (logic'1'), the JTAG or ARM SWJ signal functions in the JTAG
interface are unconditionally routed to the GPIO interface; the Pin Control register for these GPIO pins has
no effect.When the JTAG_RST# pin is asserted (logic'0'), the signal functions in the JTAG interface are not
routed to the interface and the Pin Control Register for these GPIO pins controls the muxing. The pin control registers can not route the JTAG interface to the pins. System Board Designer should terminate this pin
in all functional state using jumpers and pull-up or pull down resistors, etc.
Note 12 The JTAG signals TDI,TDO,TMS,TCK are muxed with GPIO pins. Routing of JTAG signals to these pins
are dependent on DEBUG ENABLE REGISTER bits [2:0] and JTAG_RST# pin (Note . To configure these
GPIO pins for non JTAG functions, pull JTAG_RST# low externally and select the appropriate alternate
function in the Pin Control Register
Note 13 The BGPO pins may be used as GPIO. For this the BGPO power control register and GPIO pin control reg-
ister needs to be configured
Note 14 GPIO000/VCI_IN3#, if not used must be connected to VBAT through a high impedance resistor of the order
of 100k
DS00003416B-page 14 2020 Microchip Technology Inc.
TABLE 2-2:NUMBERED NOTES
NOTEDescription
Note 15 External pull up should be added on GPIO055/SHD_CS0# pin for proper booting
To accommodate the signal routing across packages, some Signals are routed to more than one GPIO. At any given
time, only the <Signal> or <Signal>_ALT can be selected. Both cannot be selected at the same time.
2.5.1SIGNAL DESCRIPTION BY INTERFACE
TABLE 2-4:SIGNAL DESCRIPTION BY INTERFACE
SIG_NAMEDescriptionNotes
ADC
ADCxxADC channel inputNote 5
‘xx’ is the index of the ADC input. Refer Family
features table to find the number of ADC
inputs supported in the package
Miscellaneous
I2C/SMBus Controller
I2Cxx_SDAI2C/SMBus Controller Port 0 DataNote 2
‘xx’ is the index of the I2C port. Refer Family
features table to find the number of I2C ports
supported in the package
I2Cxx_SCLI2C/SMBus Controller Port 0 ClockNote 2
GPIO
GPIOxGeneral Purpose Input Output Pins
PCR Interface
32KHZ_OUT32.768 KHz Digital Output
32KHZ_IN32.768 KHz Digital Input
nRESET_INExternal System Reset Input
PECI
PECI_DATPECI Bus
VREF_VTTProcessor Interface Voltage Reference
Quad Mode SPI Controller ports
PVT_CS#Private SPI Chip Select SPI_CS0# of QMSPI Controller
PVT_IO0Private SPI Data 0SPI_IO0 of QMSPI Controller
PVT_IO1Private SPI Data 1 SPI_IO1 of QMSPI Controller
PVT_IO2Private SPI Data 2 SPI_IO2 of QMSPI Controller
PVT_IO3Private SPI Data 3 SPI_IO3 of QMSPI Controller
PVT_CLKPrivate SPI Clock SPI_CLK of QMSPI Controller
SHD_CS1#Shared SPI Chip Select1 SPI_CS1# of QMSPI Controlelr
SHD_CS0#Shared SPI Chip Select SPI_CS0# of QMSPI Controller
SHD_IO0Shared SPI Data 0 SPI_IO0 of QMSPI Controller
SHD_IO1Shared SPI Data 1 SPI_IO1 of QMSPI Controller
SHD_IO2Shared SPI Data 2 SPI_IO2 of QMSPI Controller
SHD_IO3Shared SPI Data 3SPI_IO3 of QMSPI Controller
SHD_CLKShared SPI Clock SPI_CLK of QMSPI Controller
DS00003416B-page 26 2020 Microchip Technology Inc.
CEC1712
TABLE 2-4:SIGNAL DESCRIPTION BY INTERFACE (CONTINUED)
SIG_NAMEDescriptionNotes
FAN PWM and Tachometer
ICT0_TACH0Fan Tachometer Input 0
ICT1_TACH1Fan Tachometer Input 1
ICT2_TACH2Fan Tachometer Input 2
TACH3Fan Tachometer Input 3
PWMxPulse Width Modulator Output ‘x’ is the index of the PWM output. Refer Fam-
ily features table to find the number of PWM
outputs supported in the package
Input Capture/Compare timer
ICTxInput capture timer input ‘x’ is the index of the PWM output. Refer Fam-
ily features table to find the number of ICT
inputs supported in the package
CTOUT0Compare timer 0 toggle output
CTOUT1Compare timer 1 toggle output
Serial ports
UART_CLKUART Baud Clock Input
UART0_RXUART Receive Data (RXD)
UART0_TXUART Transmit Data (TXD)
UART0_CTS#Clear to Send Input
UART0_RTS#Request to Send Output
UART0_RI#Ring Indicator Input
UART0_DCD#Data Carrier Detect Input
UART0_DSR#Data Set Ready Input
UART0_DTR#Data Terminal Ready Output
JTAG
JTAG_RST#JTAG test active low resetNote 11,12
JTAG_TDIJTAG test data inNote 11,12
JTAG_TDOJTAG test data outNote 11,12
JTAG_CLKJTAG test clk; SWDCLKNote 11,12
JTAG_TMSJTAG test mode select; SWDIONote 11,12
TFDP_DATATrace FIFO debug port - data
TFDP_CLKTrace FIFO debug port - clock
TRACECLKARM Embedded Trace Macro ClockTrace Port is enabled by setting TRACE_EN
bit of ETM Trace enable register in EC Register Bank
TABLE 2-4:SIGNAL DESCRIPTION BY INTERFACE (CONTINUED)
SIG_NAMEDescriptionNotes
VSSVTR associated ground
VSS_VBATVBAT associated ground
VTR1VTR Suspend Power Supply
VTR2Peripheral Power Supply
VTR_PLLPLL power supply
VTR_REGMain Regulator Power supply
2.5.2STRAPPING OPTIONS
GPIO170 is used for the TAP Controller select strap. If any of the JTAG TAP controllers are used, GPIO170 must only
be configured as an output to a VTRx powered external function. GPIO170 may only be configured as an input when
the JTAG TAP controllers are not needed or when an external driver does not violate the Slave Select Timing.See Sec-