K32L3A
K32L3A
K32L3A
72 MHz Arm® Cortex®-M0+/M4F Dual Core Microcontroller
K32L3A60VPJ1AT
with up to 1280 KB Flash and 384 KB SRAM
NXP reserves the right to change the production detail specifications as may be
required to permit improvements in the design of its products.
• Two internal Watchdog and one external Watchdog Monitor • 1 x 32 ch. FlexIO supporting emulation of
• Low-leakage wakeup unit UART, I2C, SPI, I2S, Camera IF, LCD RGB,
• JTAG and Serial Wire Debug, version 2.0, programming and PWM/Waveform generation
debug interface with multi-drop capability • 4 x low power UART (LPUART)
• Trace Features for M4F • 4 x low power I2C (LPI2C) modules supporting
• Cross Trigger Interface up to 1 Mbps
• Embedded Trace Macrocell • 4 x 16-bit low power SPI (LPSPI) supporting
• Trace Port Interface Unit up to 24 Mbps
• Trace Features for M0+ • 1 x EMVSIM module supporting supporting
• Cross Trigger Interface ISO-7816 protocol
• Micro Trace Buffer • 1 x Serial Audio Interface (SAI) with support for
• Breakpoint and Watchpoint Unit I2S and AC'97
• Nested Vectored Interrupt Controller • 1 x Secure Digital Hardware Controller
• Memory Protection Unit (uSDHC)
• Extended Resource Domain Controller
I/O
Power Management • 104 General-purpose input/output pins (GPIO)
• Bypass mode: 1.71 V to 3.6 V
• Buck DC-DC converter: 2.1 V to 3.6 V Packages
• Core voltage bypass: 1.14 V to 1.45 V direct supply to core, • 176 VFBGA 9mm x 9mm x 0.86mm, 0.5mm
bypassing internal regulator pitch, -40 °C to 105 °C
• Independent VDDIO1 and VDDIO2 supply: 1.71 V to 3.6 V
• Independent VBAT(RTC): 1.71 V to 3.6 V
Related resources
Type Description
Selector Guide The NXP Solution Advisor is a web-based tool that features interactive application wizards and a
dynamic product selector.
Reference Manual The Reference Manual contains a comprehensive description of the structure and function
(operation) of a device.
Data Sheet The Data Sheet includes electrical characteristics and signal connections.
Chip Errata The chip mask set Errata provides additional or corrective information for a particular device mask
set.
Package drawing Package dimensions are provided in package drawings.
1 Ordering information
The following table summarizes the part numbers of the devices covered by this
document.
Table 1. Ordering information
Product Memory Package
Part Number Marking Flash SRAM (KB) Pin Count Package
(MB)
K32L3A60VPJ1AT K32L3A60VPJ1AT 1.25 384 176 VFBGA
2 Overview
The following figure shows the system diagram of this device
LPCMP1 LPIT1
TRGMUX1 LPSPI3 LPTMR2
PORTE w/ 6-bit DAC 4CH
128 KB
SRAM
LLWU1 LPI2C3 LPTPM3 WDOG1
GPIO
S0 S1 S2
AXBS1
M0 M2 M1 S3 M3
Clock
DMA1
Cortex M0+ CAU3 RTC OSC
(72 MHz –HSRun, 48 MHz –Run) 8 CH SCG
32 kHz
SCB MPU NVIC AWIC1
DMAMUX1
FIRC
32 CH LPFLL
48/52/56/60 MHz
IOPORT BP/WP SysTick DV/SQ
MTB SIRC
AHB-AP
I/D Cache
(4 KB) 2/8 MHz
CM0+ I/D Flash CTI
256 KB
M0 M1 M2 M3 M5 S4 M4
S0 S1 S3
AXBS0 S2
12-bit PORTA~D
48 KB
4CH
ROM
12 Bit
Note: When a core needs access the other AXBS domain resources, the corresponding MUx_CCR[CLKE] bit must be set. AXBS keeps active even if another core enters low power mode (and CPO).
The crossbar switch connects bus masters and slaves using a crossbar switch structure.
This structure allows up to four bus masters to access different bus slaves
simultaneously for AXBS1 and up to six for AXBS0, while providing arbitration
among the bus masters when they access the same slave.
2.1.3 NVIC
The Armv7-M exception model and nested-vectored interrupt controller (NVIC)
implement a relocatable vector table supporting many external interrupts, a single
non-maskable interrupt (NMI), and priority levels.
The NVIC replaces shadow registers with equivalent system and simplified
programmability. The NVIC contains the address of the function to execute for a
particular handler. The address is fetched via the instruction port allowing parallel
register stacking and look-up. The first sixteen entries are allocated to Arm internal
sources with the others mapping to MCU-defined interrupts.
2.1.4 AWIC
The primary function of the Asynchronous Wake-up Interrupt Controller (AWIC) is to
detect asynchronous wake-up events in stop modes and signal to clock control logic to
resume system clocking. After clock restart, the NVIC observes the pending interrupt
and performs the normal interrupt or event processing.
The device uses the following internal and external inputs to the AWIC module.
AWIC0 is AWIC in CM4F domain while AWIC1 is AWIC in CM0+ domain.
Table 2. AWIC0 Stop and VLPS wakeup sources
Wake-up source Description
System resets All available system resets sources are describted in SMC0
under MSMC chapter
SPM All available interrupt in SPM, such as low/high voltage
detect interrupt, low voltage detect/warnning interrupt, and
etc.
Pin PTA, PTB, PTC, PTD, PTE pin interrupts
LPUART0~3 Functional when using clock source which is active in Stop
and VLPS modes
LPI2C0~3 Address match wakeup
LPSPI0~3 Slave mode interrupt
I2S Functional when using an external bit clock or external
master clock
EMVSIM Any enabled interrupt can be a source as long as the module
remains clocked.
USB Controller Wakeup
Secure Digital Hardware Controller (SDHC) Wakeup
FlexIO Functional when using clock source which is active in Stop
and VLPS modes
LPTMR0~2 Functional when using clock source which is active in Stop,
VLPS and LLS/VLLS modes
TPM0~3 Functional when using clock source which is active in Stop
and VLPS modes
RTC Functional in Stop, VLPS, LLS and VLLSx modes
LPIT0/1 Any enabled interrupt can be a source as long as the module
remains clocked.
Tamper detect Interrupt
NMI NMI is routed to CM4F or CM0+ automatically, only boot
core has NMI
LPCMP0/1 Interrupt in normal or trigger mode
LPDAC Any enabled interrupt can be a source as long as the module
remains clocked.
2.1.5 Memory
This device has the following features:
• 384 KB of embedded RAM accessible (read/write) at CPU clock speed with 0 wait
states.
• 4 KB of embedded RAM used for flash programming acceleration RAM
• The non-volatile memory is divided into two arrays
• 2 blocks of program flash, providing 1 MB consisting of 4 KB sectors for CM4
• 1 block of program flash, providing 256 KB consisting of 2 KB sectors for
CM0+
The primary program flash memory contains an IFR space that stores default
protection settings and security information.
The protection setting can protect 64 regions of the primary program flash memory
and 16 regions of the secondary program flash memory from unintended erase or
program operations.
The security circuitry prevents unauthorized access to RAM or flash contents from
debug port.
• System register file
This device contains a 32-byte register file that is powered in all power modes.
Also, it retains contents during low power modes and is reset only during a power-
on reset.
• VBAT register file
This device includes a 32-byte register file. The register file is powered by the
VBAT domain and is powered in all modes as long as power is applied to the
VBAT supply.
The VBAT register file is only reset during the VBAT Power-on Reset
(PORVBAT) sequence.
1. The VBAT POR asserts on a VBAT POR reset source. It affects only the modules withinthe VBAT power domain: RTC
and VBAT Register File. These modules are not affected by the other reset types.
2. Except SPM_CORESC[ACKISO], SPM_CORESC[VSEL] and SPM_CORESC[VSEL_OFFSET]
3. The SIM_SDID, SIM_RREPCR1, SIM_RREPCR2, SIM_RREPSR1, SIM_RREPSR2, SIM_FCFG2, SIM_UIDH,
SIM_UIDM, SIM_UIDL, registers are not affected by the reset to exit from VLLS2 or VLLS3 modes.
4. Only if RESET_b is used to wake from VLLS mode.
5. The FTFE, LPCAC and LPLMEM modules cannot be reset when chip is waken up from VLLS2 or VLLS3 modes by
LLWU.
6. Except SMCx_PMCTRL and SMCx_PMSTAT of the MSMC.
The CM0+ core adds support for a programmable Vector Table Offset Register
(VTOR) to relocate the exception vector table after reset. This device supports booting
from:
• internal flash
• ROM
The Flash Option (FOPT) register in the Flash Memory module (FTFE_FOPT) allows
the user to customize the operation of the MCU at boot time. The register contains
read-only bits that are loaded from the NVM's option byte in the IFR spaces. Below is
boot flow chart for this device.
START
Boot Sequence
Core option is
RESET==0
read and stored in
SCG is enabled FOPT[BOOTCORESEL]
No
Yes FOPT No
[BOOT_PIN]
Modify clock ==0?
divider
Is
NMI = 0
No
?
Yes
10/11 FTFE_FOPT
[BOOT_SRC]
==?
00
Processor boot from
ROM Processor boots
from Flash
Blank chips default to boot from ROM and remap the vector table to ROM base
address, otherwise, it remaps to flash address.
If booting from ROM, the device executes in boot loader mode.
The frequency-locked loop (FLL) can generate a clock with the frequency of 48 MHz
or 72 MHz without the need of a reference (a reference clock may only be needed to
trim this clock). The FLL can be used as the system clock or clock source for other on-
chip modules.
The RTC oscillator supports low speed crystals (32.768 kHz) and can also support
external clock on the EXTAL32 pin for use with the RTC.
For more details on the clock operations and configurations, see Reference Manual.
Flash ROM
SCG_LPFLLTCFG[TRIMSRC] SCG
11
SCG_LPFLLTCFG[TRIMDIV] 0011
DIVCORE
8MHz/2MHz CG CORE_CLK
Slow 0010
IRC CORE_CLK
CG
PCC0 SYS_CLK (Gated)
Other
CG SLOW_CLK
DIVSLOW PLAT_CLK (Gated)
PLAT_CLK
CG BUS_CLK(Gated)
PCC0_xxx[CGC]
SCG_xCCR[SCS] SYS_CLK
CG SLOW_CLK(Gated)
(x=R, V, H)
BUS_CLK
DIVEXT CG DIVBUS
LPFLL_CLK LPFLL_DIV1_CLK
LPFLLDIV1
LPFLL_DIV2_CLK
LPFLLDIV2
LPFLL_DIV3_CLK
LPFLLDIV3
SIRC_CLK
SIRCDIV1
SIRC_DIV1_CLK Peripherals
LPFLL_DIVx_CLK
SIRC_DIV2_CLK SIRC_DIVx_CLK
SIRCDIV2
SIRC_DIV3_CLK FIRC_DIVx_CLK
SIRCDIV3
FIRC_CLK FIRC_DIV1_CLK
FIRCDIV1
FIRC_DIV2_CLK
FIRCDIV2
FIRC_DIV3_CLK
FIRCDIV3
PCC0_xxx[PCS] *
SCG_CLKOUTCNFG 0100 0000 0001 0011 0010 0101 Other
[CLKOUTSEL]
SCG CLKOUT
SPM CLKOUT/FB_CLKOUT*
LPO1kHz LPO_CLK
CM0+ SRAM
RTC RTC_CLKOUT
EXTAL32
RTC OSC
RTCOSC_CLK
XTAL32
Peripherals
LPFLL_DIVx_CLK
SIRC_DIVx_CLK
FIRC_DIVx_CLK
* FB_CLKOUT can be from DIVEXT divider only when SCG_CLKOUTCFNG[CLKOUTSEL]=0000 and
PCC_FLEXBUS[CGC]=1.
* One clock divider in PCC0 available for LPADC0 conversion clock.
PCC1_xxx[PCS]
In order to provide flexibility, many peripherals can select from multiple clock sources
for operation. This enables the peripheral to select a clock that will always be available
during operation in various operational modes.
The following table summarizes the clocks associated with each module.
2.1.9 Security
Security state can be enabled via programming Flash IFR SEC0 (index 0x80). After
enabling device security, the SWJ (SWD and JTAG) port cannot access the memory
resources of the MCU, and ROM boot loader is also limited to access flash and not
allowed to read out flash information via ROM boot loader commands.
Access interface Secure state Unsecure operation
SWJ (SWD and JTAG) port Cannot access memory source by SWD The debugger can write 1 to the System
interface Reset Request field and Flash Mass
Erase in Progress field of the MDM-AP
Control register to trigger a mass erase
(Erase All Blocks Unsecure) command
ROM boot loader Interface (LPUART/ Limit access to the flash, cannot read Send “FlashEraseAllUnsecure"
LPI2C/LPSPI/USB) out flash content command or attempt to unlock flash
security using the backdoor key
1. SR for reset related control and FF for power model related control
2. OFF for reset related control and FF for power model related control
3. It depends on MCU arbitration and SPM LPSEL/BGEN bit.
4. It depends on MCU arbitration and SPM LVDEN/BGEN/ALLREFN bit
5. It depends on MCU arbitration and SPM POREN bit.
6. It depends on MCU arbitration and SPM LPOEN/ALLREFN bit.
7. It depends on the configurations, see the next table for details.
8. Requires the VBAT supply to be properly powered.
9. It depends on SPM_CORELPCNFG[ALLREFEN] =1.
10. It depends on SPM_CORESC[VDDIOOVRIDE] = 1, SPM_CORELPCNFG[ALLREFEN] =1, and VDDIO2.
The following tables list all power mode combinations and corresponding power
behaviors.
Table 8. MCU power mode combinations
CM4F power mode1 CM0+ power mode2 Max CM4F core Max CM0+ core MCU power mode3
clock frequency clock frequency
RUN RUN 48MHz 48MHz RUN
RUN HSRUN 72MHz 72MHz HSRUN
RUN VLPR 48MHz 48MHz RUN
RUN VLPW 48MHz OFF RUN
RUN VLPS 48MHz OFF RUN
RUN STOP/PSTOP 48MHz OFF RUN
RUN LLS 48MHz OFF RUN
RUN VLLS 48MHz OFF RUN
HSRUN RUN 72MHz 72MHz HSRUN
HSRUN HSRUN 72MHz 72MHz HSRUN
HSRUN VLPR 72MHz 72MHz HSRUN
HSRUN VLPW 72MHz OFF HSRUN
HSRUN VLPS 72MHz OFF HSRUN
HSRUN STOP/PSTOP 72MHz OFF HSRUN
HSRUN LLS 72MHz OFF HSRUN
HSRUN VLLS 72MHz OFF HSRUN
VLPR RUN 48MHz 48MHz RUN
VLPR HSRUN 72MHz 72MHz HSRUN
VLPR VLPR 8MHz 8MHz VLP
VLPR VLPW 8MHz OFF VLP
VLPR VLPS 8MHz OFF VLP
VLPR STOP/PSTOP 48MHz OFF RUN
VLPR LLS 8MHz OFF VLP
VLPR VLLS 8MHz OFF VLP
VLPW RUN OFF 48MHz RUN
VLPW HSRUN OFF 72MHz HSRUN
VLPW VLPR OFF 8MHz VLP
Table 9. Note
FF Full functionality. In VLPR and VLPW, the system frequency is limited, but if a
module does not have a limitation in its functionality, it is still listed as FF.
Async Fully functional with alternate clock source, provided the selected clock source
remains enabled
SR Module state is retained but not functional.
LP Module operates in a lower power state.
Off Module is powered off and in reset state upon wake-up
The following table provides the modules that can wake MCU from low power
modes.
Modules VLPW STOP VLPS LLS VLLS3 VLLS1 VLLS0
RTC Y Y Y Y1 Y1 Y1 Y2
LPTMRx Y Y Y Y1 Y1 Y1 Y3
LPTPMx Y Y Y N N N N
LPITx Y Y Y N N N N
LLWUx Y Y Y Y Y Y Y
LPSPIx Y Y Y N N N N
LPI2Cx Y Y Y N N N N
FlexIO Y Y Y N N N N
LPUARTx Y Y Y N N N N
USB Y Y N N N N N
ADC Y Y Y N N N N
LPCMPx Y Y Y Y1 Y1 Y1 N
LVD/HVD Y Y Y Y Y Y Y
GPIO(except Y Y Y Y4 Y4 Y4 Y4
NMI,RESET)
NMI Y Y Y Y Y Y Y
RESET Y Y Y Y Y Y Y
Any RESET
HSRUN VLPW
4
5
12
WAIT VLPR
1
3
RUN 6
2 7
STOP
VLPS
10 8
9
LLS VLLS 11
2.1.11 LLWU
The LLWU module is used to wake MCU from low leakage power mode (LLS and
VLLSx) and functional only on entry into a low-leakage power mode. After recovery
from LLS, the LLWU is immediately disabled. After recovery from VLLSx, the LLWU
continues to detect wake-up events until the user has acknowledged the wake-up event.
The following is internal peripheral and external pin inputs as wakeup sources for the
Coretex-M4 core (CPU0).
The following is internal peripheral and external pin inputs as wakeup sources for the
Coretex-M0+ core (CPU1).
Table 12. Wakeup Sources for LLWU1 inputs
LLWU1 pin Module source or pin name
LLWU_P0 PTA1
LLWU_P1 PTA2
LLWU_P2 PTA22
LLWU_P3 PTA30
LLWU_P4 PTB1
LLWU_P5 PTB2
LLWU_P6 PTB4
LLWU_P7 PTB6
LLWU_P8 PTB7
LLWU_P9 PTB8
LLWU_P10 PTB16
LLWU_P11 PTB20
3. Requires the peripheral and the peripheral interrupt to be enabled. The LLWU's WUME bit enables the internal module
flag as a wakeup input. After wakeup, the flags are cleared based on the peripheral clearing mechanism.
4. The corresponding LLWU1_ME[3] is reserved.
5. The corresponding LLWU1_ME[4] is reserved.
6. The corresponding LLWU1_DE[3] is reserved.
7. The corresponding LLWU1_DE[7] is reserved.
2.1.13 INTMUX
The Interrupt Multiplexer (INTMUX) routes the interrupt sources to the interrupt
outputs. It provides interrupt status registers to monitor interrupt pending status and
vector numbers and implements the ability to logical AND or OR enabled interrupts on
a given channel.
The INTMUX has the following features:
• Supports 4 multiplex channels
• Each channel receives 32 interrupt sources and has one interrupt output
• Each interrupt source can be enabled or disabled
• Each channel supports logic AND or logic OR of all enabled interrupt sources
2.1.14 FlexBus
The FlexBus multifunction external bus interface controller is a hardware module.
The FlexBus has the following features:
• 6 independent, user-programmable chip-select signals (FB_CS5 – FB_CS0)
• 8-bit, 16-bit, and 32-bit transfers
• Programmable burst and burst-inhibited transfers selectable for each chip-select and
transfer direction
• Programmable address-setup time with reference to the assertion of a chip-select
2.1.16 EWM
The External Watchdog Monitor (EWM) is a redundant watchdog system which is
used to monitor external circuits, as well as the MCU software flow. This provides a
back-up mechanism to the internal watchdog that resets the MCU's CPU and
peripherals.
The EWM has the following features:
• Independent LPO_CLK clock source
• Programmable time-out period specified in terms of number of EWM LPO_CLK
clock cycles.
• Windowed refresh option
K32L3A, Rev. 1, 09/2019 29
NXP Semiconductors
Overview
2.1.17 XRDC
The Extended Resource Domain Controller (XRDC) provides an integrated, scalable
architectural framework for access control, system memory protection and peripheral
isolation.
The XRDC has the following features:
• Assignment of chip resources to processing "domains"
• Processor cores, non-core bus masters, slave memories and slave peripherals
• Each processing domain is assigned a unique domain identifier (domainID,
DID)
• DomainID is a new attribute associated with every system bus transaction
• Used in conjunction with user/privileged, secure/nonsecure attributes
• Access rights to slave targets defined in region descriptor registers for memories
and access control registers for peripherals
• Supports sharing of memory and peripherals with optional inclusion of hardware
semaphores to dynamically determine access rights
• Built upon a 4-level hierarchical access control model
• PrivSecure > PrivNonsecure > UserSecure > UserNonsecure
• Encoded into a 3-bit per-domain access control policy (ACP) used throughout
the XRDC
• Certain processors do not support the PrivNonsecure state. For these cores,
the model simplifies to a 3-state definition: PrivSecure > UserSecure >
UserNonsecure
• Programming model and hardware implementation is distributed across multiple
submodules
• Supports a broad, highly-configurable architecture definition
• Memory region descriptors support a format leveraged from earlier System
Memory Protection Units (SMPU)
2.1.18 MU
The Messaging Unit module enables two processors within the SoC to communicate
and coordinate by passing messages (e.g. data, status and control) through the MU
interface. The MU also provides the ability for one processor to signal the other
processor using interrupts.
The MU has the following features:
• Messaging control by interrupts or by polling
• Symmetrical processor interfaces with each side supporting the following:
• Three general-purpose flags reflected to the other side
• Four general-purpose interrupt requests reflected to the other side
• Four receive registers with maskable interrupt
• Four transmit registers with maskable interrupt
• The Processor B can take the Processor A out of low-power modes by asserting
one of the interrupts to the Processor A and vice versa
2.1.19 SEMA42
The SEMA42 is a memory-mapped module that provides robust hardware support
needed in multi-core systems for implementing semaphores and provides a simple
mechanism to achieve "lock and unlock" operations via a single write access. The
hardware semaphore module provides hardware-enforced gates as well as other useful
system functions related to the gating mechanisms.
2.1.20 TRGMUX
The trigger multiplexer (TRGMUX) module allows software to configure the trigger
inputs for various peripherals.
The TRGMUX module allows software to select the trigger source for peripherals.
Each peripheral has its own dedicated TRGMUX register.
2.2.1 MSMC
The Multi-System Mode Controller (MSMC) is responsible for sequencing the MCU
into and out of all stop and run power modes.
Specifically, it monitors events to trigger transitions between power modes while
controlling the power, clocks, and memories of the MCU to achieve the power
consumption and functionality of that mode. Additionally, the MSMC will arbitrate
between multiple cores in the MCU to provide each with the most optimal power
mode without negatively impacting the functionality of other cores.
2.2.2 CRC
This device contains one cyclic redundancy check (CRC) module which can generate
16/32-bit CRC code for error detection.
The CRC module provides a programmable polynomial and other parameters required
to implement a 16-bit or 32-bit CRC standard.
The 16/32-bit code is calculated for 32 bits of data at a time.
The CRC module has the following features:
• Hardware CRC generator circuit using a 16-bit or 32-bit programmable shift
register
• Programmable initial seed value and polynomial
• Option to transpose input data or output data (the CRC result) bitwise or bytewise.
This option is required for certain CRC standards. A bytewise transpose operation
is not possible when accessing the CRC data register via 8-bit accesses. In this
case, the user's software must perform the bytewise transpose function.
• Option for inversion of final CRC result
• 32-bit CPU register programming interface
2.2.3 LPDAC
The 12-bit low power digital-to-analog converter (LPDAC) is a low-power, general-
purpose DAC. The output of the DAC can be placed on an external pin or set as one of
the inputs to the analog comparator or ADC.
LPDAC module has the following features:
• On-chip programmable reference generator output. The voltage output range is
from 1⁄4096 Vin to Vin, and the step is 1⁄4096 Vin, where Vin is the input reference
voltage.
• Vin can be selected from two reference sources.
• 16-word depth FIFO supported with configurable watermark.
• Multiple operation modes.
• Buffer mode
• FIFO mode
• Swing back mode
• Software trigger and hardware trigger supported.
• Selectable performance levels: low power mode and high power mode.
• Interrupt and DMA support.
• Programmable Prescaler to generate the desired frequency for Card Clock and
Baud Rate Divisor to generate the internal ETU clocks for transmitter and
receiver for any F/D ratio
• Deep sleep wake-up via Smart Card presence detect interrupt
• Manual control of all Smart Card interface signals
• Automatic power down of port logic on Smart Card presence detect
• Support for 8-bit LRC and 16-bit CRC generation for bytes sent out from
transmitter and checking incoming message checksum for receiver
2.2.6 FlexIO
The FlexIO is a highly configurable module providing a wide range of protocols
including, but not limited to LPUART, I2C, SPI, I2S, Camera IF, LCD RGB, PWM/
Waveform generation. The module supports programmable baud rates independent of
bus clock frequency, with automatic start/stop bit generation. It also supports to work
in VLPR, VLPW, Stop, and VLPS modes when clock source remains enabled.
The FlexIO module has the following features:
• Array of 32-bit shift registers with transmit, receive and data match modes
• Double buffered shifter operation for continuous data transfer
• Shifter concatenation to support large transfer sizes
• Automatic start/stop bit generation
• 1, 2, 4, 8, 16 or 32 multi-bit shift widths for parallel interface support
• Interrupt, DMA or polled transmit/receive operation
• Programmable baud rates independent of bus clock frequency, with support for
asynchronous operation during stop modes
• Highly flexible 16-bit timers with support for a variety of internal or external
trigger, reset, enable and disable conditions
• Programmable logic mode for integrating external digital logic functions on-chip
or combining pin/shifter/timer functions to generate complex outputs
• Programmable state machine for offloading basic system control functions from
CPU with support for up to 8 states, 8 outputs and 3 selectable inputs per state
2.2.7 LPADC
This device contains one low power ADC module. This LPADC module supports
hardware triggers from TRGMUX. It supports wakeup of MCU in low power mode
when using internal clock source or external crystal clock.
2.2.8 LPCMP
The device contains two low power comparator modules which provide circuits for
comparing two analog input voltages. Each comprises a comparator (CMP), a DAC and
an analog mux (ANMUX).
The CMP circuit operates across the full range of the supply voltage. The DAC is a 64-
tap resistor ladder network that provides a selectable voltage reference for applications
requiring a voltage reference. The Analog MUX (ANMUX) provides a circuit for
selecting an analog input signal from eight channels.
The LPCMP has the following features:
• Two 8-to-1 channel MUXes to select input signal from eight channels
• Multiple operation modes to produce a wide range of outputs such as:
• Sampled
2.2.9 LPI2C
This device contains four LPI2C modules, which supports an efficient interface to an
I2C bus as a master and/or a slave. The LPI2C can continue operating in stop modes
provided an appropriate clock is available and is designed for low CPU overhead with
DMA offloading of FIFO register accesses. The LPI2C implements logic support for
standard-mode, fast-mode, fast-mode plus and ultra-fast modes of operation. The
LPI2C module also complies with the System Management Bus (SMBus)
Specification, version 2.
The LPI2C modules have the following features:
• Standard, Fast, Fast+ and Ultra Fast modes are supported
• High speed mode (HS) in slave mode
• High speed mode (HS) in master mode, if SCL pin implements current source
pull-up (device-specific)
• Multi-master support, including synchronization and arbitration. Multi-master
means any number of master nodes can be present. Additionally, master and slave
roles may be changed between messages (after a STOP is sent).
• Clock stretching: Sometimes multiple I2C nodes may be driving the lines at the
same time. If any I2C node is driving a line low, then that line will be low. I2C
nodes that are starting to transmit a logical one (by letting the line float high) can
K32L3A, Rev. 1, 09/2019 39
NXP Semiconductors
Overview
detect that the line is low, and thereby know that another I2C node is active at the
same time.
• When node detection is used on the SCL line, it is called clock stretching, and
clock stretching is used as a I2C flow control mechanism for multiple laves.
• When node detection is used on the SDA line, it is called arbitration, and
arbitration ensures that there is only one I2C node transmitter at a time.
• General call, 7-bit and 10-bit addressing
• Software reset, START byte and Device ID (also require software support)
The LPI2C master supports:
• Command/transmit FIFO of 4words.
• Receive FIFO of 4words.
• Command FIFO will wait for idle I2C bus before initiating transfer
• Command FIFO can initiate (repeated) START and STOP conditions and one or
more master-receiver transfers
• STOP condition can be generated from command FIFO, or generated automatically
when the transmit FIFO is empty
• Host request input to control the start time of an I2C bus transfer
• Flexible receive data match can generate interrupt on data match and/or discard
unwanted data
• Flag and optional interrupt to signal Repeated START condition, STOP condition,
loss of arbitration, unexpected NACK, and command word errors
• Supports configurable bus idle timeout and pin-stuck-low timeout
The LPI2C slave supports:
• Separate I2C slave registers to minimize software overhead because of master/slave
switching
• Support for 7-bit or 10-bit addressing, address range, SMBus alert and general call
address
• Transmit data register that supports interrupt or DMA requests
• Receive data register that supports interrupt or DMA requests
• Software-controllable ACK or NACK, with optional clock stretching on ACK/
NACK bit
• Configurable clock stretching, to avoid transmit FIFO underrun and receive FIFO
overrun errors
• Flag and optional interrupt at end of packet, STOP condition, or bit error detection
2.2.10 LPIT
This device contains two LPIT modules which are multi-channel timer modules
generating independent pre-trigger and trigger outputs. These timer channels can
operate individually or can be chained together. The LPIT can operate in low power
modes if configured to do so. The pre-trigger and trigger outputs can be used to
trigger other modules on the device.
Each timer channel can be configured to run independently and made to work in either
compare or capture modes.
The timer channels operate on an asynchronous clock, which is independent from the
register read/write access clock. Clock synchronization between the clock domains
ensures normal operations.
2.2.11 LPSPI
This device contains four low power Serial Peripheral Interface (SPI) module that
supports an efficient interface to an SPI bus as a master and/or a slave. The LPSPI can
continue operating in stop modes provided an appropriate clock is available and is
designed for low CPU overhead with DMA offloading of FIFO register accesses.
The LPSPI supports:
• Word size = 32 bits
• Configurable clock polarity and clock phase
• Master operation supporting up to 4 peripheral chip select
• Slave operation
• Command/transmit FIFO of 4 words
• Receive FIFO of 4 words
• Flexible timing parameters in master mode, including SCK frequency and delays
between PCS and SCK edges
• Support for full duplex transfers supporting 1-bit transmit and receive on each
clock edge
• Support for half duplex transfers supporting 1-bit transmit or receive on each
clock edge
• Support for half duplex transfers supporting 2-bit or 4-bit transmit or receive on
each clock edge (master only)
• Host request input can be used to control the start time of an SPI bus transfer
(master only)
• Receive data match logic supporting wakeup on data match
2.2.12 LPTMR
This device contains three low-power timer (LPTMR) which can be configured to
operate as a time counter with optional prescaler, or as a pulse counter with optional
glitch filter, across all power modes, including the low-leakage modes. It can also
continue operating through most system reset events, allowing it to be used as a time of
day counter.
The LPTMR module has the following features:
• 32-bit time counter or pulse counter with compare
• Optional interrupt can generate asynchronous wakeup from any low-power
mode
• Hardware trigger output
• Counter supports free-running mode or reset on compare
• Configurable clock source for prescaler/glitch filter
• Configurable input source for pulse counter
• Rising-edge or falling-edge
2.2.13 LPUART
This product contains four Low-Power UART modules, their clock sources are
selectable from LPFLL, SIRC, FIRC and SOSC, and can work in Stop and VLPS
modes. They also support 4x to 32x data oversampling rate to meet different
applications.
The LPUART module has the following features:
• Full-duplex, standard non-return-to-zero (NRZ) format
• Programmable baud rates (13-bit modulo divider) with configurable oversampling
ratio from 4x to 32x
• Transmit and receive baud rate can operate asynchronous to the bus clock:
• Baud rate can be configured independently of the bus clock frequency
• Supports operation in Stop modes
• Interrupt, DMA or polled operation:
• Transmit data register empty and transmission complete
• Receive data register full
• Receive overrun, parity error, framing error, and noise error
• Idle receiver detect
• Active edge on receive pin
42 K32L3A, Rev. 1, 09/2019
NXP Semiconductors
Overview
2.2.14 RTC
The RTC is an always powered-on block that remains active in all low power modes.
The time counter within the RTC is clocked by a 32.768 kHz clock sourced from an
external crystal using the oscillator or clock directly from EXTAL32 pin.
RTC is reset on power-on reset, and a software reset bit in RTC can also initialize all
RTC registers. During chip power-down, RTC is powered from the backup power
supply (VBAT), electrically isolated from the rest of the chip, continues to increment
the time counter (if enabled) and retain the state of the RTC registers. The RTC
registers are not accessible.
The RTC module has the following features:
2.2.15 I2S
This device contains one Inter-IC Sound (I2S) module which provides a synchronous
audio interface (SAI) that supports fullduplex serial interfaces with frame
synchronization such as I2S, AC97, TDM, and codec/DSP interfaces.
I2S module has the following features:
• Transmitter with independent bit clock and frame sync supporting 2 data lines
• Receiver with independent bit clock and frame sync supporting 2 data lines
• Each data line can support a maximum Frame size of 32 words
• Word size of between 8-bits and 32-bits
• Word size configured separately for first word and remaining words in frame
• Asynchronous 8 × 32-bit FIFO for each transmit and receive data line
• Supports graceful restart after FIFO error
• Supports automatic restart after FIFO error without software intervention
• Supports packing of 8-bit and 16-bit data into each 32-bit FIFO word
• Supports combining multiple data line FIFOs into single data line FIFO
2.2.16 uSDHC
The Ultra Secured Digital Host Controller (uSDHC) provides the interface between
the host system and the SD/SDIO/MMC cards.
The uSDHC module has the following features:
• Conforms to the SD Host Controller Standard Specification version 2.0
• Compatible with the MMC System Specification version 4.2/4.3/4.4/4.41
• Compatible with the SD Memory Card Specification version 2.0 and supports the
Extended Capacity SD Memory Card
• Compatible with the SDIO Card Specification version 2.0
• Designed to work with SD Memory, miniSD Memory, SDIO, miniSDIO, SD
Combo, MMC, MMC plus, and MMC RS cards
• Card bus clock frequency up to 48 MHz
• Supports 1-bit / 4-bit SD and SDIO modes, 1-bit / 4-bit / 8-bit MMC modes
• Supports single block/multi-block read and write
• Supports block sizes of 1 ~ 4096 bytes
• Supports the write protection switch for write operations
• Supports both synchronous and asynchronous abort
• Supports pause during the data transfer at block gap
• Supports SDIO Read Wait and Suspend Resume operations
• Supports Auto CMD12 for multi-block transfer
• Host can initiate non-data transfer command while data transfer is in progress
• Allows cards to interrupt the host in 1-bit and 4-bit SDIO modes, also supports
interrupt period
• Embodies a fully configurable 128x32-bit FIFO for read/write data
• Supports internal DMA capabilities
• Support voltage selection by configuring vendor specific register bit
• Supports Advanced DMA to perform linked memory access
2.2.17 TPM
This device contains four low power TPM modules (TPM) which support input
capture, output compare, and the generation of PWM signals to control electric motor
and power management applications. TPM0 and TPM2 have six channels while
TPM1 and TPM3 have two channels.
The TPM modules have the following features:
• TPM clock mode is selectable
2.2.18 TRNG
The Standalone True Random Number Generator (SA-TRNG) is a hardware accelerator
module that generates a 128-bit entropy as needed by an entropy-consuming module or
by other post-processing functions.
2.2.19 USB
This device contains one USB module which implements a USB2.0 full-speed
compliant peripheral and interfaces to the on-chip USBFS transceiver. It implements
keep-alive feature to avoid re-enumerating when exiting from low power modes and
enables FIRC48M to allow crystal-less USB operation.
The USBFS has the following features:
• USB 1.1 and 2.0 compatible FS device
• 16 bidirectional endpoints
• DMA or FIFO data stream interfaces
• Low-power consumption
• IRC48M with clock-recovery is supported to eliminate the 48 MHz crystal. It is
used for USB device-only implementation.
• Keep-alive feature is supported to power down system bus and CPU. USB can
respond to IN with NAK and wake up for SETUP/OUT.
2.2.20 VREF
The VREF can be used in applications to provide a reference voltage to external
devices, or used internally in the device as a reference to analog peripherals (such as
the ADC, LPDAC, or LPCMP). The Voltage Reference (VREF) can supply an
accurate voltage output that can be trimmed in 0.5 mV steps (for 1.2 V output) or 1.5
mV steps (for 2.1 V output). The voltage reference has 3 operating modes that provide
different levels of supply rejection and power consumption.
The VREF supports the following features:
A 100 nF capacitor must always be connected between VERF output (VREFO) pin
and VSSA if the VREF is used. This capacitor must be as close to VREFO pin as
possible.
2.2.21 TSTMR
The Time Stamp Timer (TSTMR) is a 56-bit clock cycle counter, reset by system
reset.
The TSTMR has the following features:
• Free-running Time Stamp Timer
2.2.22 CAU3
The Version 3 Cryptographic Acceleration Unit (CAU3) is a bus mastering IP module
that provides hardware acceleration of a variety of cryptographic symmetric key and
secure hash algorithms including DES, 3DES, AES-{128,192,256}, SHA-{1,256} as
well as acceleration of basic public key cryptography including Elliptical Curve
Cryptography (ECC). The execution of these algorithms is controlled by optimized
firmware developed by NXP that executes on the CAU3 module.
The CAU3 has the following features:
• Symmetric key functions: DES, 3DES, AES-{128,192,256}
• Secure hash functions: SHA-1, SHA-256
• Supoort secure hash acceleration
• AES-CBC, AES-CCM
• RSA and ECC acceleration
• Programmable task completion signaling: interrupt, event completion, DMA
request
• Significantly improved performance and power efficiency
• Common, portable CAU3 library written in C
• Arm embedded TLS library reference design
0x4000_0000
Reserved
0x4000_1000
MSCM
0x4000_2000
Reserved
0x4000_3000
SYSPM
0x4000_4000
CM4 corssbar switch
0x4000_5000
Reserved
0x4000_8000
DMA0 controleer
0x4000_9000
DMA0 controller transfer control descriptor
0x0000_0000 0x4000_A000
Reserved
0x4000_C000
CM4 Flash FlexBus
(1MB) 0x4000_D000
Reserved
0x4001_4000
xRDC MGR
0x000F_FFFF 0x4001_5000
Reserved xRDC MDAC
0x0100_0000
0x4001_6000
CM0+ Flash xRDC PAC
0x0103_FFFF (256 KB) 0x4001_7000
xRDC MRC
0x4001_8000
Reserved
0x0800_0000
0x0000_0000 0x4001_B000
CM4 ITCM RAM SEMA42
Code space 0x0800_FFFF 0x4001_C000
0x0103_FFFF Reserved
0x4002_0000
Reserved 0x0880_0000 MSMC_SMC0
ROM
0x0880_BFFF 0x4002_1000
0x0800_0000
DMAMUX0
0x4002_2000
Data space 0x0900_0000 EWM
CM0+ TCM
0x0800_FFFF 0x4002_3000
0x0901_FFFF SRAM FTFE
Reserved
0x4002_4000
0x0880_0000 LLWU0
Boot ROM 0x2000_0000 0x4002_5000
0x0880_BFFF CM4 DTCM MU-A
0x2002_FFFF SRAM 0x4002_6000
Reserved SIM
0x0900_0000 0x4002_7000
Data space SIM-DGO
0x0901_FFFF 0x4002_8000
SPM
Reserved 0x4000_0000 0x4002_9000
RGMUX0
0x1000_0000 0x4002_A000
FlexBus WDOG0
CM4 AIPS0
Execution 0x4002_B000
0x4007_FFFF PCC0
0x1FFF_FFFF Alias
0x2000_0000 Reserved 0x4002_C000
Data space SCG
0x4100_0000 0x4002_D000
0x2002_FFFF
CM0+ AIPS0 System register file
Reserved (see next figures 0x4002_E000
VBAT register file
for peripherals) 0x4002_F000
0x4000_0000 0x4107_FFFF CRC0
Reserved 0x4003_0000
Public LPIT0
0x4800_0000 0x4003_1000
peripheral FlexRAM RTC
0x4802_0FFF 0x4003_2000
0x4800_0FFF LPTMR0
Reserved 0x4003_3000
Reserved 0x4801_0000 LPTMR1
0x4003_4000
0xA000_0000 USB SRAM TSTMRA
FlexBus
0x4801_07FF 0x4003_5000
(External Reserved TPM0
0xAFFF_FFFF Memory) 0x4802_0000 0x4003_6000
TPM1
Rapid GPIO 0x4003_7000
Reserved (PTA/B/C/D) TPM2
0xE000_0000 0x4802_0FFF 0x4003_8000
Internal private EMVSIM0
0x4003_9000
peripheral bus 0xE000_0000
FlexIO0
0xE003_FFFF Instrumentation
0x4003_A000
0xE004_0000 Trace Macrocell LPI2C0
External private 0xE000_0FFF
0xE000_1000 0x4003_B000
peripheral bus Data Watchpoint LPI2C1
0xFFFF_FFFF
0xE000_1FFF and trace 0x4003_C000
0xE000_2000 LPI2C2
Flash patch and 0x4003_D000
breakpoint I2S0
0xE000_2FFF 0x4003_E000
Reserved uSDHC0
0x4003_F000
0xE000_F000 LPSPI0
System control 0x4004_0000
0xE000_EFFF space LPSPI1
0x4004_1000
LPSPI2
0xE004_0000 0x4004_2000
ITrace port LPUART0
0xE004_0FFF interface unit 0x4004_3000
0xE004_1000
LPUART1
Embedded trace 0x4004_4000
LPUART2
0xE004_1FFF macrocell
0x4004_5000
Reserved USB0
0x4004_6000
0xE004_4000 PORTA
Cross trigger
0x4004_7000
0xE004_4FFF interface PORTB
0x4004_8000
0xE008_0000 Miscellaneous PORTC
control module 0x4004_9000
0xE008_0FFF PORTD
0x4004_A000
LPADC0
0x4004_B000
LPCMP0
0x4004_C000
DAC0
0x4004_D000
VREF
0x0000_0000
CM4 Flash
(1MB) 0x4100_0000
Reserved
0x4100_8000
0x000F_FFFF
DMA1 controleer
Reserved 0x4100_9000
0x0100_0000 DMA1 controller transfer control descriptor
0x4100_A000
CM0+ Flash Reserved
0x0103_FFFF (256 KB) 0x4100_F000
IO port alias
0x4001_0000
0x0800_0000 Reserved
0x0000_0000
CM4 ITCM RAM 0x4101_B000
Code space SEMA42
0x0800_FFFF 0x4101_C000
0x0103_FFFF Reserved
0x0880_0000 0x4102_0000
Reserved ROM MSMC_SMC1
0x0880_BFFF 0x4102_1000
0x0800_0000 DMAMUX1
Data space 0x4102_2000
0x0900_0000 INTMUX0
CM0+ TCM
0x0800_FFFF 0x4102_3000
0x0901_FFFF SRAM LLWU1
Reserved
0x4102_4000
0x0880_0000 MU-B
Boot ROM 0x2000_0000
0x0880_BFFF CM4 DTCM 0x4102_5000
SRAM TRGMUX1
Reserved 0x2002_FFFF
0x4102_6000
0x0900_0000
WDOG1
0x4102_7000
Data space PCC1
0x0901_FFFF
0x4102_8000
0x4000_0000
CAU3
Reserved CM4 AIPS0 0x4102_9000
0x1000_0000 (See previous TRNG
FlexBus 0x4102_A000
figure for LPIT1
Execution
0x4007_FFFF peripherals) 0x4102_B000
0x1FFF_FFFF Alias LPTMR2
0x2000_0000 Reserved 0x4102_C000
Data space 0x4100_0000
TSTMRB
0x2002_FFFF 0x4102_D000
TPM3
Reserved CM0+ AIPS0 0x4102_E000
LPI2C3
0x4102_F000
0x4000_0000 0x4107_FFFF Reserved
Reserved 0x4103_0000
Public Reserved
0x4800_0000 0x4103_1000
peripheral FlexRAM Reserved
0x4802_0FFF 0x4800_0FFF 0x4103_2000
Reserved
Reserved
0x4103_3000
Reserved 0x4801_0000 Reserved
0xA000_0000 USB SRAM 0x4103_4000
Reserved
FlexBus
(External 0x4801_07FF 0x4103_5000
LPSPI3
0xAFFF_FFFF Memory) 0x4103_6000
LPUART3
Reserved 0x4103_7000
PORTE
0xE000_0000
0x4103_8000
Internal private LPCMP1
peripheral bus 0xE000_E010
0xE003_FFFF SysTick
0xF000_0000
External private 0xE000_E00F
0xE000_E100
peripheral bus NVIC
0xF0FF_FFFF
0xE000_ECFF
0xE000_ED00 System control
block
0xE000_ED8F
MPU-ARM
0xE000_ED90
Debug
0xE000_EFFF
Reserved
0xE00F_F000
Core ROM
0xE00F_FFFF space
0xF000_0000
MTB
0xF000_0FFF
0xF000_1000
DWT
0xF000_1FFF
0xF000_2000
Customer
0xF000_2FFF ROM table
0xF000_3000
0xF000_3FFF
MCM
0xF000_4000
MMDVSQ
0xF000_4FFF
Reserved
0xF000_6000
CTI
0xF000_6FFF
Reserved
0xF800_0000
IO port
0xF800_0FFF
3 Pinouts
Pin interrupt
176 VFBGA
Pin Name
C1 PTB3 ND Hi-Z N PD FS N N Y Y N N
C2 PTB4/ ND Hi-Z N PD FS N N Y Y N N
LLWU_
P6
D2 PTB5 ND Hi-Z N PD FS N N Y Y N N
E1 PTB6/ ND Hi-Z N PD FS N N Y Y N N
LLWU_
P7
E2 PTB7/ ND Hi-Z N PD FS N N Y Y N N
LLWU_
P8
F5 PTB8/ ND Hi-Z N PD FS N N Y Y N N
LLWU_
P9
F4 PTB9 ND Hi-Z N PD FS N N Y Y N N
D5 VSS — — — — — — — — — — —
C9 VDDIO1 — — — — — — — — — — —
G6 PTB11 ND Hi-Z N PD FS N N Y Y N N
G4 PTB12 ND Hi-Z N PD FS N N Y Y N N
G3 PTB13 ND Hi-Z N PD FS N N Y Y N N
G2 PTB14 ND Hi-Z N PD FS N N Y Y N N
G1 PTB15 ND Hi-Z N PD FS N N Y Y N N
H5 PTB16/ ND Hi-Z N PD FS N N Y Y N N
LLWU_
P10
K5 PTB17 ND Hi-Z N PD FS N N Y Y N N
H2 PTB18 ND Hi-Z N PD FS N N Y Y N N
Pin interrupt
176 VFBGA
Pin Name
K4 PTB19 ND Hi-Z N PD FS N N Y Y N N
J1 PTB20/ ND Hi-Z N PD FS N N Y Y N N
LLWU_
P11
J2 PTB21 ND Hi-Z N PD FS N N Y Y N N
L1 PTB22/ ND Hi-Z N PD FS N N Y Y N N
LLWU_
P12
J41 VSS — — — — — — — — — — —
J3 VDDIO1 — — — — — — — — — — —
L2 PTB24 ND Hi-Z N PD FS N N Y Y N N
L6 PTB25/ ND Hi-Z N PD FS N N Y Y N N
LLWU_
P13
L4 PTB26 ND Hi-Z N PD FS N N Y Y N N
M4 PTB28/ ND Hi-Z N PD FS N N Y Y N N
LLWU_
P14
L3 PTB29 ND Hi-Z N PD FS N N Y Y N N
M5 PTB30 ND Hi-Z N PD FS N N Y Y N N
M7 PTB31 ND Hi-Z N PD FS N N Y Y N N
N1 PTC0 ND Hi-Z N PD FS N N Y Y N N
M2 PTC1 ND Hi-Z N PD FS N N Y Y N N
N31 VSS — — — — — — — — — — —
J10 VDDIO1 — — — — — — — — — — —
N2 PTC7/ HD Hi-Z N PD FS N N Y Y N Y
LLWU_
P15
P3 PTC8 HD Hi-Z N PD FS N N Y Y N Y
Pin interrupt
176 VFBGA
Pin Name
R1 PTC9/ HD Hi-Z N PD FS N N Y Y N Y
LLWU_
P16
R2 PTC10 HD Hi-Z N PD FS N N Y Y N Y
T1 PTC11/ HD Hi-Z N PD FS N N Y Y N Y
LLWU_
P17
R3 PTC12/ HD Hi-Z N PD FS N N Y Y N Y
LLWU_
P18
U1 VDD_D — — — — — — — — — — —
CDC
U2 LP — — — — — — — — — — —
U3 GND — — — — — — — — — — —
T4 LN — — — — — — — — — — —
T3 VOUT_ — — — — — — — — — — —
AUX
T5 VOUT_ — — — — — — — — — — —
CORE
R9 VDDIO1 — — — — — — — — — — —
P9 VSS — — — — — — — — — — —
N15 VDD_C — — — — — — — — — — —
ORE
— PTC26 ND Hi-Z N PD FS N N Y Y N N
P6 PTC27 ND Hi-Z N PD FS N N Y Y N N
U5 PTC28 ND Hi-Z N PD FS N N Y Y N N
N6 PTC29 ND Hi-Z N PD FS N N Y Y N N
R7 PTC30 ND Hi-Z N PD FS N N Y Y N N
R5 VDDIO1 — — — — — — — — — — —
R13 VSS — — — — — — — — — — —
Pin interrupt
176 VFBGA
Pin Name
T7 PTD0 ND Hi-Z N PD FS N N Y Y N N
P7 PTD1 ND Hi-Z N PD FS N N Y Y N N
U7 PTD2 ND Hi-Z N PD FS N N Y Y Y N
T8 PTD3 ND Hi-Z N PD FS N N Y Y Y N
N8 PTD4 ND Hi-Z N PD FS N N Y Y Y N
N10 PTD5 ND Hi-Z N PD FS N N Y Y Y N
U9 PTD6 ND Hi-Z N PD FS N N Y Y Y N
P10 PTD7 ND Hi-Z N PD FS N N Y Y Y N
T9 PTD8/ HD Hi-Z N PD FS N N Y Y N Y
LLWU_
P19
U11 PTD9 HD Hi-Z N PD FS N N Y Y N Y
P11 PTD10/ HD Hi-Z N PD FS N N Y Y N Y
LLWU_
P20
R11 PTD11 HD Hi-Z N PD FS N N Y Y N Y
P5 VDDIO1 — — — — — — — — — — —
P131 VSS — — — — — — — — — — —
N4 USB0_ — — — — — — — — — — —
VSS
T11 USB0_ — — — — — — — — — — —
DP
T12 USB0_ — — — — — — — — — — —
DM
T13 VOUT3 — — — — — — — — — — —
3
U13 VREGI — — — — — — — — — — —
N
U15 VDDA — — — — — — — — — — —
U16 VREFH — — — — — — — — — — —
Pin interrupt
176 VFBGA
Pin Name
T15 VREF_ — — — — — — — — — — —
OUT
U17 VREFL — — — — — — — — — — —
T16 VSSA — — — — — — — — — — —
T17 DAC0_ — — — — — — — — — — —
OUT
R14 PTE0 ND Hi-Z N PD FS N N Y Y N N
R16 PTE1/ ND Hi-Z N PD FS N N Y Y Y N
LLWU_
P21
P12 PTE2 ND Hi-Z N PD FS N N Y Y Y N
N12 PTE3/ ND Hi-Z N PD FS N N Y Y Y N
LLWU_
P22
M11 PTE4 ND Hi-Z N PD FS N N Y Y Y N
R17 PTE5 ND Hi-Z N PD FS N N Y Y Y N
J8 VDD_C — — — — — — — — — — —
ORE
K101 VSS — — — — — — — — — — —
D13 VDDIO2 — — — — — — — — — — —
P16 PTE8/ ND Hi-Z N PD FS N N Y Y Y N
LLWU_
P23
N16 PTE9/ ND Hi-Z N PD FS N N Y Y Y N
LLWU_
P24
M13 PTE10/ HD Hi-Z N PD FS N N Y Y N Y
LLWU_
P25
M14 PTE11 HD Hi-Z N PD FS N N Y Y N Y
Pin interrupt
176 VFBGA
Pin Name
Pin interrupt
176 VFBGA
Pin Name
Pin interrupt
176 VFBGA
Pin Name
H9 VDD_C — — — — — — — — — — —
ORE
E14 VSS — — — — — — — — — — —
K9 VDDIO1 — — — — — — — — — — —
E10 PTA9 ND Hi-Z N PD FS N N Y Y N N
A9 PTA10 ND Hi-Z N PD FS N N Y Y N N
E8 PTA14 ND Hi-Z N PD FS N N Y Y N N
A7 PTA15 ND Hi-Z N PD FS N N Y Y N N
A171 VSS — — — — — — — — — — —
E4 VDDIO1 — — — — — — — — — — —
F7 PTA17 ND Hi-Z N PD FS N N Y Y N N
D8 PTA18 ND Hi-Z N PD FS N N Y Y N N
D7 PTA19 ND Hi-Z N PD FS N N Y Y N N
C7 PTA20 ND Hi-Z N PD FS N N Y Y N N
B7 PTA21 ND Hi-Z N PD FS N N Y Y N N
B6 PTA22/ ND Hi-Z N PD FS N N Y Y N N
LLWU_
P2
E6 PTA23 ND Hi-Z N PD FS N N Y Y N N
D6 PTA24 ND Hi-Z N PD FS N N Y Y N N
B5 PTA25 ND Hi-Z N PD FS N N Y Y N N
A5 PTA26 ND Hi-Z N PD FS N N Y Y N N
A3 PTA27 ND Hi-Z N PD FS N N Y Y N N
A2 PTA28 ND Hi-Z N PD FS N N Y Y N N
A131 VSS — — — — — — — — — — —
E3 VDDIO1 — — — — — — — — — — —
A1 PTA30/ ND Hi-Z N PD FS N N Y Y N N
LLWU_
P3
Pin interrupt
176 VFBGA
Pin Name
C4 PTA31 ND Hi-Z N PD FS N N Y Y N N
B3 PTB0 ND Hi-Z N PD FS N N Y Y Y N
C3 PTB1/ ND Hi-Z N PD FS N N Y Y N N
LLWU_
P4
B1 PTB2/ ND Hi-Z N PD FS N N Y Y N N
LLWU_
P5
B14 VSS — — — — — — — — — — —
B15 VSS — — — — — — — — — — —
B16 VSS — — — — — — — — — — —
C51 VSS — — — — — — — — — — —
C131 VSS — — — — — — — — — — —
C151 VSS — — — — — — — — — — —
C161 VSS — — — — — — — — — — —
D9 VSS — — — — — — — — — — —
D15 VSS — — — — — — — — — — —
F161 VSS — — — — — — — — — — —
H81 VSS — — — — — — — — — — —
H101 VSS — — — — — — — — — — —
K8 VSS — — — — — — — — — — —
N14 VDD_C — — — — — — — — — — —
ORE
R151 VSSA — — — — — — — — — — —
T2 VDD_D — — — — — — — — — — —
CDC
B2 PTA30/ ND Hi-Z N PD FS N N Y Y N N
LLWU_
P3
1. When an LPI2C module is enabled and a pin is functional for LPI2C, this pin is (pseudo-) open drain enabled. When
an LPUART module is enabled and a pin is functional for LPUART, this pin is (pseudo-) open drain configurable.
3.3.6 Analog
Table 41. LPADC0 signal descriptions
Chip signal name Module signal Description I/O
name
LPADC0_SE[23:0] CHnA (n=[23:0] A-side Analog Channel Inputs I
VDDA VDDA Analog Power Supply I
VSSA VSSA Analog Ground I
1. The available GPIO pins depends on the specific package. See the signal multiplexing section for which exact GPIO
signals are available.
1. The TAMPER signals have dedicated pins and are not included in the JTAG boundary scan. TAMPER0 is an exception
because it is priority muxed with the RTC_WAKEUP_b function. If TAMPER0 is enabled as either an input or output, the
RTC_WAKEUP_b function is disabled. The RTC_WAKEUP_b pin can be configured to assert on a Tamper Detect, if the
RTC enables the DryIce tamper detect interrupt.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17A
PTA30/
LLWU_P3 PTA28 PTA27 NC PTA26 NC PTA15 NC PTA10 NC NC NC VSS NC NC VSS VSS A
PTB2/ LL PTA30/ PTA22/ L NC
B LLWU_P3 PTB0 NC PTA25 PTA21 PTA4 PTA0 NC NC NC VSS VSS VSS NC B
WU_P5 LWU_P2
PTB4/ LL PTB1/ LL VSS
C PTB3 PTA31 NC PTA20 NC VDDIO1 NC NC NC VSS NC VSS VSS NC C
WU_P6 WU_P4
D NC PTB5 NC NC VSS PTA24 PTA19 PTA18 VSS NC PTA3 RESET_b VDDIO2 NC VSS NC NC D
TAMPER2
G PTB15 PTB14 PTB13 PTB12 NC PTB11 NC NC NC NC NC NC PTE28 PTE29 VBAT PTE30 G
4 Electrical characteristics
4.1.1 Definitions
Key terms are defined in the following table:
Term Definition
Rating A minimum or maximum value of a technical characteristic that, if exceeded, may cause
permanent chip failure:
• Operating ratings apply during operation of the chip.
• Handling ratings apply when the chip is not powered.
NOTE: The likelihood of permanent chip failure increases rapidly as soon as a characteristic
begins to exceed one of its operating ratings.
Operating requirement A specified value or range of values for a technical characteristic that you must guarantee during
operation to avoid incorrect operation and possibly decreasing the useful life of the chip
Operating behavior A specified value or range of values for a technical characteristic that are guaranteed during
operation if you meet the operating requirements and any other specified conditions
Typical value A specified value for a technical characteristic that:
• Lies within the range of values specified by the operating behavior
• Is representative of that characteristic during operation when you meet the typical-value
conditions or other specified conditions
NOTE: Typical values are provided as design guidelines and are neither tested nor
guaranteed.
4.1.2 Examples
Operating rating:
E
PL
AM
EX
Operating requirement:
E
PL
AM
EX
Operating behavior that includes a typical value:
E
PL
AM
EX
Fatal range Degraded operating range Normal operating range Degraded operating range Fatal range
Expected permanent failure - No permanent failure - No permanent failure - No permanent failure Expected permanent failure
- Possible decreased life - Correct operation - Possible decreased life
- Possible incorrect operation - Possible incorrect operation
–∞ ∞
Operating (power on)
n.) x.)
mi ma
ing( in g(
g rat rat
lin ling
nd nd
Ha Ha
–∞ ∞
Handling (power off)
4.2 Ratings
2. Determined according to IPC/JEDEC Standard J-STD-020, Moisture/Reflow Sensitivity Classification for Nonhermetic
Solid State Surface Mount Devices.
1. Determined according to IPC/JEDEC Standard J-STD-020, Moisture/Reflow Sensitivity Classification for Nonhermetic
Solid State Surface Mount Devices.
1. Determined according to JEDEC Standard JESD22-A114, Electrostatic Discharge (ESD) Sensitivity Testing Human
Body Model (HBM).
2. Determined according to JEDEC Standard JESD22-C101, Field-Induced Charged-Device Model Test Method for
Electrostatic-Discharge-Withstand Thresholds of Microelectronic Components.
3. Determined according to JEDEC Standard JESD78, IC Latch-Up Test.
1.14 V
1V
0V
700 µs 700 µs
Max. Max.
4.3 General
Low High
VIH
80%
Input Signal Midpoint1 50%
20%
VIL
Fall Time Rise Time
All digital I/O switching characteristics, unless otherwise specified, assume that the
output pins have the following characteristics.
• CL=30 pF loads
• Slew rate disabled
• Normal drive strength
1. The cores will still execute code in RUN if the core voltage is greater than 1.32 V. However full chip functionality is not
guaranteed when in RUN mode and the core voltage is greater than 1.32 V. The core voltage must only be elevated to
greater than 1.32 V when transitioning to HSRUN mode.
2. The VDDIO here is the Maximum of VDDIO1 and VDDIO2
3. All I/O pins are internally clamped to VSS through a ESD protection diode. There is no diode connection to the
corresponding VDDIO supply. If VIN greater than VIO_MIN (= VSS-0.3 V) is observed, then there is no need to provide
current limiting resistors at the pads. If this limit cannot be observed then a current limiting resistor is required. The
negative DC injection current limiting resistor is calculated as R = (VIO_MIN - VIN)/|IICIO|.
4. Open drain outputs must be pulled to whichever supply voltage corresponds to that IO, either VDDIO1 or VDDIO2 as
appropriate.
Table 61. VDDIO1 supply HVD, LVD and POR Operating Ratings
Characteristic Symbol Min Typ Max Unit
High Voltage Detect (High Trip Point) VHVDH — 3.72 — V
High Voltage Detect (Low Trip Point) VHVDL — 3.46 — V
POR re-arm voltage VPOR 0.8 1.1 1.5 V
Falling low-voltage detect threshold -- high range VLVDH 2.48 2.56 2.64 V
(LVDV=01)
Low-voltage warning thresholds -- high range V
VLVW1 2.62 2.70 2.78
Level 1 falling (LVWV=00)
VLVW2 2.72 2.80 2.88
Level 2 falling (LVWV=01)
Table 61. VDDIO1 supply HVD, LVD and POR Operating Ratings (continued)
Characteristic Symbol Min Typ Max Unit
Low-voltage inhibit reset/recover hysteresis -- high VHYS — 60 — mV
range
Falling low-voltage detect threshold -- low range VLVDL 1.54 1.60 1.66 V
(LVDV=00)
Low-voltage warning thresholds -- low range V
VLVW1 1.74 1.80 1.86
Level 1 falling (LVWV=00)
VLVW2 1.84 1.90 1.96
Level 2 falling (LVWV=01)
Low-voltage inhibit reset/recover hysteresis -- low VHYS — 40 — mV
range
NOTE
There is no LVD circuit for VDDIO2 domain
Table 62. Low Voltage Detect of VDD_CORE supply
Characteristic Symbol Min Typ Max Unit
Low Voltage Detect of VDD_CORE supply1 VLVD_VDD_CORE 0.95 1 1.08 V
1. PTC[12:7], PTD[11:8], and PTE[11:10] I/O have both high drive and normal drive capability selected by the associated
PORTx_PCRn[DSE] control bit. All other GPIOs are normal drive only. PTD[7:2], PTE[12,9:8,5:1], PTB[2,0] are also
fast pins.
2. Measured at VDDIO = 3.6 V
3. Measured at VDDIO supply voltage = VDDIO min and Vinput = VSS
• VLLS2/VLLS3 → RUN
— 13.1 17.0 μs
• LLS → RUN
— 7.2 9.4 μs
• VLPS → RUN
— 3.5 4.6 μs
• STOP → RUN
— 3.5 4.6 μs
• Core and system clocks running at 48 MHz, bus and flash clocks running at 24
MHz
• LPFLL at 48MHz
• Core 0 is the CM4 core and core 1 is the CM0+ core
Table 66. Power consumption operating behaviors in bypass mode
Symbol Description Temp Active Core VDDIO1 VDDIO2 Unit
(°C) core
Typ. Max Typ. Max Typ. Max
IDD Active core in RUN 25 0 5.060 5.566 0.194 0.214 0.0000161 0.0000177 mA
Inactive core in STOP 1 2.860 3.1460 0.194 0.214 0.0000148 0.0000163
while (1) loop All
peripheral clocks 0&1 6.365 7.002 0.194 0.214 0.0000162 0.0000179
disabled Execution 70 0 5.275 5.803 0.200 0.220 0.000209 0.000230
from flash
1 3.020 3.322 0.200 0.220 0.000210 0.000231
0&1 6.605 7.266 0.200 0.220 0.000209 0.000230
85 0 5.460 6.006 0.204 0.225 0.000476 0.000524
1 3.205 3.526 0.204 0.225 0.000474 0.000522
0&1 6.870 7.557 0.204 0.225 0.000476 0.000524
105 0 5.970 6.567 0.214 0.235 0.00138 0.00151
1 3.620 3.982 0.214 0.236 0.00137 0.00151
0&1 7.475 8.223 0.214 0.235 0.00137 0.00151
IDD Active core in RUN 25 0 6.485 7.134 0.194 0.214 0.0000153 0.0000168 mA
Inactive core in STOP 1 4.090 4.499 0.194 0.214 0.0000151 0.0000166
while (1) loop All
peripheral clocks 0&1 8.685 9.554 0.194 0.213 0.0000154 0.0000170
enabled Execution 70 0 6.665 7.332 0.200 0.220 0.000210 0.000231
from flash
1 4.260 4.686 0.200 0.220 0.000209 0.000230
0&1 8.915 9.807 0.200 0.220 0.000210 0.000231
85 0 6.885 7.574 0.204 0.225 0.000474 0.000521
1 4.430 4.873 0.204 0.225 0.000473 0.000520
0&1 9.180 10.098 0.204 0.225 0.000473 0.000520
105 0 7.355 8.091 0.214 0.235 0.00137 0.00151
1 4.870 5.357 0.214 0.236 0.00137 0.00151
0&1 9.755 10.731 0.214 0.235 0.00138 0.00151
IDD Active core in RUN 25 0 4.570 5.027 0.138 0.152 0.0000151 0.0000166 mA
Inactive core in STOP 1 2.360 2.596 0.138 0.152 0.0000151 0.0000166
while (1) loop Compute
Operation Execution 0&1 5.795 6.374 0.138 0.152 0.0000169 0.0000186
from flash 70 0 4.770 5.247 0.144 0.158 0.000211 0.000232
1 2.525 2.778 0.144 0.158 0.000210 0.000231
0&1 6.035 6.639 0.144 0.158 0.000209 0.000230
85 0 4.965 5.462 0.147 0.162 0.000472 0.000520
1 2.700 2.970 0.147 0.162 0.000471 0.000518
Table 67. Power consumption operating behaviors in low power mode (continued)
Symbol Description1 Core VDDIO1 VDDIO2 Unit No
tes
Typ. Max Typ. Max Typ. Max
IDD_VLLS3 Both cores are in 25 °C 2.38 3.00 1.28 1.61 0.015 0.018 µA
VLLS3 mode; core 70 °C 20.27 28.38 3.64 5.10 0.19 0.27
= 1.2 V, VDDIO1 =
VDDIO2 = 3 V2 85 °C 39.13 54.00 6.31 8.71 0.43 0.60
105 °C 88.77 121.61 14.55 19.93 1.29 1.77
IDD_VLLS1 Both cores are in 25 °C 0.41 0.52 1.06 1.33 0.014 0.018 µA
VLLS1 mode Core 70 °C 0.70 0.98 3.30 4.62 0.19 0.27
= 1.2V, VDDIO1 =
VDDIO2 = 3V3 85 °C 0.82 1.13 5.89 8.12 0.44 0.60
105 °C 1.18 1.62 13.62 18.65 1.29 1.77
1. The 25 °C data point applies to all valid operating temperatures 25°C and below.
2. ALL RAM Enabled.
3. The following bits were set: CORELPCNFG_ALLREFEN, CORELPCNFG_POREN, CORELPCNFG_LPOEN,
CORESC_RTCOVRIDE , CORESC_USBOVRIDE , CORESC_VDDIOOVRIDE.
1. Normal run mode, High speed run mode, and VLPR mode.
2. See ADC electrical specifications
NOTE
Only RESET_b pin has analog/passive filter.
1. Maximum TA can be exceeded only if the user ensures that TJ does not exceed the maximum. The simplest method to
determine TJ is: TJ = TA + RθJA × chip power dissipation.
1. Thermal test board meets JEDEC specification for this package (JESD51-9).
2. Determined in accordance to JEDEC JESD51-2A natural convection environment. Thermal resistance data in this report
is solely for a thermal performance comparison of one package to another in a standardized specified environment. It is
not meant to predict the performance of a package in an application-specific environment.
3. Junction temperature is a function of die size, on-chip power dissipation, package thermal resistance, mounting site
(board) temperature, ambient temperature, air flow, power dissipation of other components on the bard, and board
construction.
4. Thermal characterization parameter indicating the temperature difference between the package top and the junction
temperature per JEDEC JESD51-2.
The thermal characterization parameter (Psi-JT) can be used to determine the junction
temperature with a measurement of the temperature at the top of the package case using
the following equation:
TJ = TT + Psi-JT x chip power dissipation
Where TT is the thermocouple temperature at the top of the package.
J2
J3 J3
SWD_CLK (input)
J4 J4
SWD_CLK
J9 J10
J11
J12
SWD_DIO
J11
J2
J3 J3
TCLK (input)
J4 J4
TCLK
J5 J6
J7
J8
Data outputs
J7
TCLK
J9 J10
J11
J12
TDO
J11
2. Closed loop operation of the FIRC is only usable for USB device operation; it is not usable for USB host operation. It is
enabled by configuring for USB Device, selecting FIRC as USB clock source, and enabling the clock recover function
(USB_CLK_RECOVER_CTRL[CLOCK_RECOVER_EN]=1, SCG_FIRCCSR[FIRCREGOFF]=0).
3. FIRC startup time is defined as the time between clock enablement and clock availability for system use.
1. Selection of output frequency for Slow IRC between 2 MHz and 8 MHz is controlled by SCG_ SIRCCFG[RANGE].
2. This specification was obtained using an NXP developed PCB. Jitter is dependent on the noise characteristics of each
PCB and results will vary.
1. ΔFcl is dependent on reference clock accuracy. For example, if locked to crystal oscillator, ΔFcl is typically limited by
trimming ability of the module itself; if locked to other clock source which has 3% accuracy, then ΔFcl can only be
±3%.
1. When a crystal is being used with the 32 kHz oscillator, the EXTAL32 and XTAL32 pins should only be connected to
required oscillator components and must not be connected to any other devices.
1. Full temperature range of this device. A reduced range can be chosen to meet application needs.
2. Recommended crystal specification.
3. Sum of crystal initial frequency tolerance, crystal frequency stability, and aging tolerances given by crystal vendor.
4. Time from oscillator enable to clock stable. Dependent on the complete hardware configuration of the oscillator.
5. External oscillator connected to EXTAL32K. XTAL32K must be unconnected.
6. The parameter specified is a peak-to-peak value and VIH and VIL specifications do not apply. The voltage of the applied
clock must be within the range of VSS to VDD.
1. Specification is valid for all FB_AD[31:0], FB_BE/BWEn, FB_CSn, FB_OE, FB_R/W, FB_TBST, FB_TSIZ[1:0], FB_ALE,
and FB_TS.
2. Specification is valid for all FB_AD[31:0] and FB_TA.
FB_CLK
FB5
FB3
FB_A[Y] Address
FB4
FB2
FB_D[X] Address Data
FB_RW
FB_TS
FB_ALE
AA=1
FB_CSn AA=0
FB_OEn
FB4
electricals_read.svg
FB_BEn
FB5
AA=1
FB_TA AA=0
FB_TSIZ[1:0] TSIZ
S0 S1 S2 S3 S0
FB1
FB_CLK
FB2
FB3
FB_A[Y] Address
FB_RW
FB_TS
FB_ALE
AA=1
FB_CSn AA=0
FB_OEn
FB4
FB_BEn
electricals_write.svg
FB5
AA=1
FB_TA AA=0
FB_TSIZ[1:0] TSIZ
SD4
SD2
SD1
SD5
SDx_CLK
SD3
SD6
1. In low speed mode, card clock must be lower than 400 kHz, voltage ranges from 2.7 to 3.6 V.
2. In normal (full) speed mode for SD/SDIO card, clock frequency can be any value between 0–24 MHz. In high-speed
mode, clock frequency can be any value between 0–48 MHz.
3. In normal (full) speed mode for MMC card, clock frequency can be any value between 0–16 MHz. In high-speed mode,
clock frequency can be any value between 0–48 MHz.
4. To satisfy hold timing, the delay difference between clock input and cmd/data input must not exceed 2 ns.
SD1
SDx_CLK
SD2 SD2
The following table lists the eMMC4.4/4.41 timing characteristics. Be aware that only
DATA is sampled on both edges of the clock (not applicable to CMD).
Table 88. eMMC4.4/4.41 interface timing specification
ID Parameter Symbols Min Max Unit
Card Input Clock
SD1 Clock Frequency fPP 0 52 MHz
(eMMC4.4/4.41
DDR)
SD1 Clock Frequency fPP 0 50 MHz
(SD3.0 DDR)
uSDHC Output / Card Inputs SD_CMD, SDx_DATAx (Reference to CLK)
SD2 uSDHC Output tOD 2.5 7.1 ns
Delay
uSDHC Input / Card Outputs SD_CMD, SDx_DATAx (Reference to CLK)
SD3 uSDHC Input tISU 2.6 — ns
Setup Time
SD4 uSDHC Input Hold tLH 1.5 — ns
Time
1. Typical data retention values are based on measured response accelerated at high temperature and derated to a
constant 25°C use profile. Engineering Bulletin EB618 does not apply to this technology. Typical endurance defined in
Engineering Bulletin EB619.
2. Cycling endurance represents number of program/erase cycles at -40°C ≤ Tj ≤ 125°C.
4.4.6 Analog
1. Typical values assume VDDA = 3.0 V, Temp = 25 °C, fADCK = 1.0 MHz, unless otherwise stated. Typical values are for
reference only, and are not tested in production.
2. VDDA must be equal to the higher of VDDIO1 or VDDIO2.
3. VDDIOx is either VDDIO1 or VDDIO2 and is dependent on the IO supply associated with the ADC channel pin. If
VREFH is less than VDDIOx, then voltage inputs greater than VREFH but less than VDDIOx are allowed but result in
a saturated conversion result.
4. If VREFH is less than VDDA, then voltage inputs greater than VREFH but less than VDDA are allowed but result in a
saturated conversion result.
5. This resistance is external to the packaged device. To achieve the best results, the analog source resistance must be
kept as low as possible. The results in this data sheet were derived from a system that had < 8 Ω analog source
resistance. The RAS × CAS time constant should be kept to < 1 ns.
6. The startup time is defined as the duration from when (1) CFG[PWREN] is set or (2) when a trigger event initiates
command execution until the analog circuits are stable and ready to sample and convert analog input channels. When
CFG[PWREN]=0b0, the delay period controlled by CFG[PUDLY] after an initial trigger detect must exceed the analog
startup time of tADCSTUP to guarantee ADC operation.
SIMPLIFIED
INPUT PIN EQUIVALENT
CIRCUIT ZADIN
Pad
SIMPLIFIED
ZAS leakage CHANNEL SELECT
due to CIRCUIT
ADC SAR
input ENGINE
RAS protection
RADIN
VADIN
VAS CAS
RADIN
INPUT PIN
RADIN
INPUT PIN
RADIN
500
450
400
350
Sample Time (ns)
300
250
200
150
100
50
0
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
Source Resistance, RAS (kOhms)
Figure 21. Sample time vs input source resistance direct connect channels
500
450
400
350
Sample Time (ns)
300
250
200
150
100
50
0
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
Source Resistance, RAS (kOhms)
Figure 22. Sample time vs input source resistance channels connected through
external mux
NOTE
Direct connect channels are channels that are purely analog
channels and do not have any digital options. These include
LPADC0_SE15 and LPADC0_SE16. All other channels are
MUXed channels.
K32L3A, Rev. 1, 09/2019 129
NXP Semiconductors
Electrical characteristics
1. All accuracy numbers assume the ADC is calibrated with VREFH = 3.0 V
2. Typical values assume VDDA = 3.0 V, Temp = 25 °C unless otherwise stated. Typical values are for reference only and
are not tested in production.
3. Shortest sample time (CMDHa[STS]=0x0), continuous operation (command execution set for single or multi-command
sequential loop).
4. 1 LSB = (VREFH - VREFL)/2N
5. ADC conversion clock < 32 MHz, Max hardware averaging (CMDHa[AVGS] = 0x7)
6. Input data is 500 Hz sine wave. ADC conversion clock < 32 MHz.
7. IIn = leakage current. Refer to pin leakage specification in the packaged device's voltage and current operating ratings.
8. Set CFG[STS]=0b111.
10.9
10.8
ENOB
10.7
10.6
10 20 30
Figure 23. Typical ENOB vs. ADCK for 12-bit single-ended mode
1. CL must be connected to VREF_OUT if the VREF_OUT functionality is being used for either an internal or external
reference.
2. The load capacitance should not exceed +/-25% of the nominal specified CL value over the operating temperature
range of the device.
1. See the chip's Reference Manual for the appropriate settings of the VREF Status and Control register for Vout selection
of 1.2 V or 2.1 V.
2. Load regulation voltage is the difference between the VREF_OUT voltage with no load vs. voltage with defined load
3. To get best performance of VREF temperature drift, VREF_SC[ICOMPEN] must be set.
0.14
0.12
0.1
Hysteresis (V)
0.08 HYSTCTRL = 0
0.06 HYSTCTRL = 1
HYSTCTRL = 2
0.04
HYSTCTRL = 3
0.02
0
0 0.25 0.5 0.75 1 1.25 1.5 1.75 2 2.25 2.5 2.75 3 3.25 3.5
Vin level (V)
Figure 24. Typical hysteresis vs. Vin level (VDD = 3.3 V, HPMD = 1)
0.06
0.05
0.04
Hysteresis (V)
HYSTCTRL = 0
0.03
HYSTCTRL = 1
0.02 HYSTCTRL = 2
HYSTCTRL = 3
0.01
0
0 0.25 0.5 0.75 1 1.25 1.5 1.75 2 2.25 2.5 2.75 3 3.25 3.5
Vin level (V)
Figure 25. Typical hysteresis vs. Vin level (VDD = 3.3 V, HPMD = 0, NPMD = 0)
0.045
0.04
0.035
0.03
Hysteresis (V)
0.025 HYSTCTRL = 0
0.02 HYSTCTRL = 1
0.015 HYSTCTRL = 2
0.01 HYSTCTRL = 3
0.005
0
0 0.25 0.5 0.75 1 1.25 1.5 1.75 2 2.25 2.5 2.75 3 3.25 3.5
Vin level (V)
Figure 26. Typical hysteresis vs. Vin level (VDD = 3.3 V, HPMD = 0, NPMD = 1)
2. A small load capacitance (47 pF) can improve the bandwidth performance of the DAC.
6. VDDA = 3.0 V, reference select set for VDDA (DACx_CO:DACRFS = 1), high power mode (DACx_C0:LPEN = 0), DAC set
to 0x800, temperature range is across the full range of the device
2
DAC12 INL (LSB)
-2
-4
-6
-8
0 500 1000 1500 2000 2500 3000 3500 4000
Digital Code
1.499
1.4985
1.498
DAC12 Mid Level Code Voltage
1.4975
1.497
1.4965
1.496
-40 25 55 85 105 125
Temperature °C
4.4.7 Timers
See General switching specifications.
There is no timing relationship between the clock and the data. The clock that the EMV
SIM module provides to the Smart card is used by the Smart card to recover the clock
from the data in the same manner as standard UART data exchanges. All five signals of
the EMV SIM module are asynchronous with each other.
The smart card is initiated by the interface device; the Smart card responds with Answer
to Reset. Although the EMV SIM interface has no defined requirements, the ISO/IEC
7816 defines reset and power-down sequences (for detailed information see ISO/IEC
7816).
SI10
EMVSIMn_PD
EMVSIMn_RST
SI7
EMVSIMn_CLK
SI8
EMVSIMn_IO
SI9
EMVSIMn_VCCEN
The following table defines the general timing requirements for the EMV SIM
interface.
Table 99. Timing Specifications, High Drive Strength
ID Parameter Symbol Min Max Unit
SI EMV SIM clock frequency (EMVSIMn_CLK)1 Sfreq 1 5 MHz
1
SI EMV SIM clock rise time (EMVSIMn_CLK)2 Srise — 0.08 × (1/Sfreq) ns
2
SI EMV SIM clock fall time (EMVSIMn_CLK)2 Sfall — 0.08 × (1/Sfreq) ns
3
EMVSIMn_VCCEN
EMVSIMn_CLK
EMVSIMn_IO RESPONSE
T0
The following table defines the general timing requirements for the SIM interface.
Table 100. Timing Specifications, Internal Reset Card Reset Sequence
Ref Min Max Units
1 — 200 EMVSIMx_CLK
clock cycles
2 400 40,000 EMVSIMx_CLK
clock cycles
EMVSIMn_VCCEN
EMVSIMn_RST
EMVSIMn_CLK
EMVSIMn_IO RESPONSE
1 2
3 3
T0 T1
The following table defines the general timing requirements for the EMVSIM
interface..
Table 101. Timing Specifications, Internal Reset Card Reset Sequence
Ref No Min Max Units
1 — 200 EMVSIMx_CLK clock cycles
2 400 40,000 EMVSIMx_CLK clock cycles
3 40,000 — EMVSIMx_CLK clock cycles
SI10
EMVSIMn_PD
EMVSIMn_RST
SI7
EMVSIMn_CLK
SI8
EMVSIMn_IO
SI9
EMVSIMn_VCCEN
1. Frtcclk is OSC32KCLK, and this clock must be enabled during the power down sequence.
NOTE
Same timing is also followed when auto power down is
initiated. See Reference Manual for reference.
NOTE
The IRC48M meets the USB jitter specifications for
certification in Device mode when the USB clock recovery
mode is enabled. It does not meet the USB jitter
specifications for certification in Host mode operation.
This device does not have the USB_CLKIN signal available
and therefore cannot support Host mode operation.
Table 105. LPSPI master mode timing on slew rate enabled pads
Num. Symbol Description Min. Max. Unit Note
1 fop Frequency of operation fperiph/2048 fperiph/2 Hz 1
2 tSPSCK SPSCK period 2 x tperiph 2048 x ns 2
tperiph
Table 105. LPSPI master mode timing on slew rate enabled pads (continued)
Num. Symbol Description Min. Max. Unit Note
3 tLead Enable lead time 1/2 — tSPSCK —
4 tLag Enable lag time 1/2 — tSPSCK —
5 tWSPSCK Clock (SPSCK) high or low time tperiph - 30 1024 x ns —
tperiph
6 tSU Data setup time (inputs) 96 — ns —
7 tHI Data hold time (inputs) 0 — ns —
8 tv Data valid (after SPSCK edge) — 52 ns —
9 tHO Data hold time (outputs) 0 — ns —
10 tRI Rise time input — tperiph - 25 ns —
tFI Fall time input
11 tRO Rise time output — 36 ns —
tFO Fall time output
SS1
(OUTPUT)
3 2 10 11 4
SPSCK 5
(CPOL=0)
(OUTPUT) 5
10 11
SPSCK
(CPOL=1)
(OUTPUT)
6 7
MISO
MSB IN2 BIT 6 . . . 1 LSB IN
(INPUT)
8 9
MOSI
(OUTPUT) MSB OUT2 BIT 6 . . . 1 LSB OUT
1. If configured as an output.
2. LSBF = 0. For LSBF = 1, bit order is LSB, bit 1, ..., bit 6, MSB.
SS1
(OUTPUT)
2
3 10 11 4
SPSCK
(CPOL=0)
(OUTPUT)
5 5 10 11
SPSCK
(CPOL=1)
(OUTPUT)
6 7
MISO
(INPUT) MSB IN2 BIT 6 . . . 1 LSB IN
8 9
MOSI
(OUTPUT) PORT DATA MASTER MSB OUT2 BIT 6 . . . 1 MASTER LSB OUT PORT DATA
Table 106. LPSPI slave mode timing on slew rate disabled pads
Num. Symbol Description Min. Max. Unit Note
1 fop Frequency of operation 0 fperiph/4 Hz 1
2 tSPSCK SPSCK period 4 x tperiph — ns 2
3 tLead Enable lead time 1 — tperiph —
4 tLag Enable lag time 1 — tperiph —
5 tWSPSCK Clock (SPSCK) high or low time tperiph - 30 — ns —
6 tSU Data setup time (inputs) 2.5 — ns —
7 tHI Data hold time (inputs) 3.5 — ns —
8 ta Slave access time — tperiph ns 3
9 tdis Slave MISO disable time — tperiph ns 4
10 tv Data valid (after SPSCK edge) — 31 ns —
11 tHO Data hold time (outputs) 0 — ns —
12 tRI Rise time input — tperiph - 25 ns —
tFI Fall time input
13 tRO Rise time output — 25 ns —
tFO Fall time output
38 <<CLASSIFICATION>>
146 K32L3A, Rev. 1, 09/2019
<<NDA MESSAGE>>
NXP Semiconductors
Electrical characteristics
Table 107. LPSPI slave mode timing on slew rate enabled pads
Num. Symbol Description Min. Max. Unit Note
1 fop Frequency of operation 0 fperiph/4 Hz 1
2 tSPSCK SPSCK period 4 x tperiph — ns 2
3 tLead Enable lead time 1 — tperiph —
4 tLag Enable lag time 1 — tperiph —
5 tWSPSCK Clock (SPSCK) high or low time tperiph - 30 — ns —
6 tSU Data setup time (inputs) 2 — ns —
7 tHI Data hold time (inputs) 7 — ns —
8 ta Slave access time — tperiph ns 3
9 tdis Slave MISO disable time — tperiph ns 4
10 tv Data valid (after SPSCK edge) — 122 ns —
11 tHO Data hold time (outputs) 0 — ns —
12 tRI Rise time input — tperiph - 25 ns —
tFI Fall time input
13 tRO Rise time output — 36 ns —
tFO Fall time output
SS
(INPUT)
2 12 13 4
SPSCK
(CPOL=0)
(INPUT)
3 5 5
SPSCK 12 13
(CPOL=1)
(INPUT)
9
8 10 11 11
6 7
MOSI
(INPUT) MSB IN BIT 6 . . . 1 LSB IN
SS
(INPUT)
2 4
3 12 13
SPSCK
(CPOL=0)
(INPUT)
5 5 12 13
SPSCK
(CPOL=1)
(INPUT)
10 11 9
MISO see
SLAVE MSB OUT BIT 6 . . . 1 SLAVE LSB OUT
(OUTPUT) note
8 6 7
MOSI
(INPUT) MSB IN BIT 6 . . . 1 LSB IN
4.4.8.5 LPI2C
NOTE
The LPI2C async function clock must not be faster than 24
MHz.
Table 108. LPI2C specifications
Symbol Description Min. Max. Unit Notes
fSCL SCL clock frequency Standard mode (Sm) 0 100 kHz 1
Fast mode (Fm) 0 400 1, 2
Fast mode Plus (Fm+) 0 1000 1, 3
Ultra Fast mode (UFm) 0 5000 1, 4
High speed mode (Hs-mode) 0 3400 1, 5
4.4.8.6 LPUART
See General switching specifications.
4.4.8.7.1 Normal Run, Wait and Stop mode performance over the full
operating voltage range
This section provides the operating performance over the full operating voltage for the
device in Normal Run, Wait and Stop modes.
Table 109. I2S/SAI master mode timing
Num. Characteristic Min. Max. Unit
Operating voltage 1.71 3.6 V
S1 I2S_MCLK cycle time 40 — ns
S2 I2S_MCLK (as an input) pulse width high/low 45% 55% MCLK period
S3 I2S_TX_BCLK/I2S_RX_BCLK cycle time (output) 80 — ns
S4 I2S_TX_BCLK/I2S_RX_BCLK pulse width high/low 45% 55% BCLK period
S5 I2S_TX_BCLK/I2S_RX_BCLK to I2S_TX_FS/ — 15.5 ns
I2S_RX_FS output valid
S6 I2S_TX_BCLK/I2S_RX_BCLK to I2S_TX_FS/ 0 — ns
I2S_RX_FS output invalid
S7 I2S_TX_BCLK to I2S_TXD valid — 19 ns
S8 I2S_TX_BCLK to I2S_TXD invalid 0 — ns
S9 I2S_RXD/I2S_RX_FS input setup before 26 — ns
I2S_RX_BCLK
S10 I2S_RXD/I2S_RX_FS input hold after 0 — ns
I2S_RX_BCLK
S1 S2 S2
I2S_MCLK (output)
S3
I2S_TX_BCLK/ S4
I2S_RX_BCLK (output) S4
S5 S6
I2S_TX_FS/
I2S_RX_FS (output)
S9 S10
I2S_TX_FS/
S7
I2S_RX_FS (input)
S7 S8
S8
I2S_TXD
S9 S10
I2S_RXD
1. Applies to first bit in each frame and only if the TCR4[FSE] bit is clear
S11
S12
I2S_TX_BCLK/ S12
I2S_RX_BCLK (input)
S15 S16
I2S_TX_FS/
I2S_RX_FS (output) S13 S14
I2S_TX_FS/
I2S_RX_FS (input) S15
S19
S15 S16 S16
I2S_TXD
S17 S18
I2S_RXD
4.4.8.7.2 VLPR, VLPW, and VLPS mode performance over the full operating
voltage range
This section provides the operating performance over the full operating voltage for the
device in VLPR, VLPW, and VLPS modes.
Table 111. I2S/SAI master mode timing in VLPR, VLPW, and VLPS modes (full voltage
range)
Num. Characteristic Min. Max. Unit
Operating voltage 1.71 3.6 V
S1 I2S_MCLK cycle time 62.5 — ns
S2 I2S_MCLK pulse width high/low 45% 55% MCLK period
S3 I2S_TX_BCLK/I2S_RX_BCLK cycle time (output) 250 — ns
S4 I2S_TX_BCLK/I2S_RX_BCLK pulse width high/low 45% 55% BCLK period
S5 I2S_TX_BCLK/I2S_RX_BCLK to I2S_TX_FS/ — 45 ns
I2S_RX_FS output valid
S6 I2S_TX_BCLK/I2S_RX_BCLK to I2S_TX_FS/ — ns
I2S_RX_FS output invalid
S7 I2S_TX_BCLK to I2S_TXD valid — 45 ns
S8 I2S_TX_BCLK to I2S_TXD invalid — ns
S9 I2S_RXD/I2S_RX_FS input setup before — ns
I2S_RX_BCLK
S10 I2S_RXD/I2S_RX_FS input hold after 0 — ns
I2S_RX_BCLK
S1 S2 S2
I2S_MCLK (output)
S3
I2S_TX_BCLK/ S4
I2S_RX_BCLK (output) S4
S5 S6
I2S_TX_FS/
I2S_RX_FS (output)
S9 S10
I2S_TX_FS/
S7
I2S_RX_FS (input)
S7 S8
S8
I2S_TXD
S9 S10
I2S_RXD
Table 112. I2S/SAI slave mode timing in VLPR, VLPW, and VLPS modes (full voltage range)
Num. Characteristic Min. Max. Unit
Operating voltage 1.71 3.6 V
S11 I2S_TX_BCLK/I2S_RX_BCLK cycle time (input) 250 — ns
S12 I2S_TX_BCLK/I2S_RX_BCLK pulse width high/low 45% 55% MCLK period
(input)
S13 I2S_TX_FS/I2S_RX_FS input setup before 30 — ns
I2S_TX_BCLK/I2S_RX_BCLK
S14 I2S_TX_FS/I2S_RX_FS input hold after — ns
I2S_TX_BCLK/I2S_RX_BCLK
S15 I2S_TX_BCLK to I2S_TXD/I2S_TX_FS output valid — ns
S16 I2S_TX_BCLK to I2S_TXD/I2S_TX_FS output invalid 0 — ns
S17 I2S_RXD setup before I2S_RX_BCLK 30 — ns
S18 I2S_RXD hold after I2S_RX_BCLK — ns
S19 I2S_TX_FS input assertion to I2S_TXD output valid1 — 72 ns
1. Applies to first bit in each frame and only if the TCR4[FSE] bit is clear
S11
S12
I2S_TX_BCLK/ S12
I2S_RX_BCLK (input)
S15 S16
I2S_TX_FS/
I2S_RX_FS (output) S13 S14
I2S_TX_FS/
I2S_RX_FS (input) S15
S19
S15 S16 S16
I2S_TXD
S17 S18
I2S_RXD
1. The DC-DC converter generates 1.8 V at VOUT_AUX and 1.225 V at VOUT_CORE pins. VOUT_AUX can be used to
power the VDDIOx and VDDA supplies.
2. The DCDC converter generates 1.225 V at VOUT_CORE. This can be used to power the VDD_CORE supplies. This
supply must not be used to power any additional circuitry.
3. In Buck mode, DC-DC converter needs 2.1 V min to start, the supply can drop to 1.8 V (or VOUT_AUX target value +
50 mV; whichever is higher) after DC-DC converter settles.
1. Based on LDO is on and output at 1.8 V and 1.2 V. DCDC set to 1.8 V and 1.235 V
5 Design considerations
MCU
Input signal
1 2 ADCx
R
1
C
2
1
R
C
Design considerations
2
D
OSCILL
EXTAL
MCU 1
R1 VDD
1 2 RF
R2 R5
1 2 1 2 ADCx 1
High voltage input
3
R44 3 CRY
1
R3 1 2 C
1 2
2
2
OSCILLATOR OSCILLAT
MCU BAT54SW
EXTAL XTAL EXTAL
1 2 1 2
Figure 42. High voltage measurement with an ADC input
1
CRYSTAL CRYST
Cx
1 2 ADCx VDD
Analog input
2
1
R
C
1 VDD MCU
5.1.4 Digital design
2
1
10k
VDD
Ensure that all I/O pins cannot get pulled above VDDIOx (Max I/O is VDDIOx+0.3V).
OSCILLATOR
10kJ1 OSCILLAT
2
C 1 2 SWD_DIO
3 4 SWD_CLK EXTAL XTAL EXTAL
CAUTION
2
6 5 RESET_b
RESET_b
1
8 7
MCU9 1 2 1
1
Do not provide power to I/O pins prior to VDDIOx, especially
VDD
0.1uF 10 RESET_b
0.1uF
1
RF RF
2
2
RS
10k
• RESET_b 1pin R5
2
2 ADCx 1 2 1 2
2
1
1
R4 CRYSTAL CRYST
The RESET_b pin is an open-drain I/O pin that has an internal pullup resistor. An
1
Cx
1 2 C
external RC circuit is recommended to filter noise as shown in the following figure.
2
2
The resistor value must be in the range of 4.7 kΩ to 10 kΩ; the recommended
2
open drain
2
1
10k
J1 10k 10k
2
1 2 SWD_DIO
3 4 SWD_CLK
2
5 6 RESET_b NMI_b
RESET_b
7 8
RESET_bB
1
9 10
0.1uF
1
HDR_5X2
2
10k
2
NXP Semiconductors
10k
2
OUT 1 2 RESET_b
J1 10k 10k
2
1 2 SWD_DIO
3 4 SWD_CLK
2
5 6 RESET_b
RESET_b
7 8 Design considerations
1
9 10 RESET_b
0.1uF
1
HDR_5X2
When an external supervisor chip is connected to the RESET_b pin, a series
2
10k
resistor must be used to avoid damaging the supervisor chip or the RESET_b pin,
as shown in the following figure. The series resistor value (RS below) must be in
2
the range of 100 Ω to 1 kΩ depending on the external reset chip drive strength.
4 3
Select the open-drain output from the supervisor chip.
1
1 2 1 2 1 3
10k
1
CRYSTAL CRYSTAL
Cx Cy RESONATOR
2
DCx
2
OUT 1 2 RESET_b
1
RS
0.1uF
2
OSCILLATOR OSCILLATOR OSCILLATOR
EXTAL XTAL EXTAL XTAL EXTAL XTAL
• NMI pin
1
1
RF RF RF
RS RS RS
Do not add a pull-down resistor or capacitor on the NMI_b pin, because a low
2
2
DCx level on this pin will trigger
1 2
non-maskable interrupt.1 When
2
this pin is enabled
1
as 3
1
1
the NMI function, an external pull-up resistor
CRYSTAL
Cx (10 kΩ) as shown
CRYSTAL
Cy in the following RESONATOR
2
figure is recommended for robustness.
2
If the NMI_b pin is used as an I/O pin, the non-maskable interrupt handler is
required to disable the NMI function by remapping to another function. The NMI
function is disabled by programming the FOPT[NMI_DIS] bit to zero.
10k 10k
2
RESET_b NMI_b
1
0.1uF
2
VDD MCU
2 RESET_b
1
MCU
R1 VDD
Design considerations 1 2
the following figure. While pull-up or pull-down resistors are not required
3
R4
1
(SWD_DIO has an internal pull-up 1
R3
and
2 SWD_CLK has2 an internalCpull-down),
1
2
external 10 kΩ pull resistors are recommended for system robustness. The
2
BAT54SW
VDD
VDD MCU
1
10k
VDD
J1 10k
2
C 1 2 SWD_DIO
3 4 SWD_CLK
2
5 6 RESET_b
RESET_b
1
7 8
1
0.1uF 9 10 RESET_b
0.1uF
2
1
HDR_5X2
2
10k
2
Figure 46. SWD debug interface
Supervisor Chip VDD MCU
V_BRD
1
R31
10k
MCU_PWR 10.0K
J5
2
1 2 JTAG_TMS/SWD_DIO OUT 1 2 RESET_b
3 4 JTAG_TCLK/SWD_CLK
1
5 6 JTAG_TDO/SWD_SWO Active high, RS
KEY - PI N 7 8 JTAG_TDI open drain 0.1uF
9 10 RESET_b
2
11 12 TRACE_CLKOUT
13 14 TRACE_D0
15 16 TRACE_D1
17 18 TRACE_D2
19 20 TRACE_D3
B
HDR_19P
OSCILLATOR OSCILLATOR
MCU
EXTAL XTAL EXTAL XTAL EXT
1 2 1 2
1
CRYSTAL CRYSTAL
Cx Cy
ADCx Figure 48. Crystal connection
2
C
1
RF
kinetis/sw for more information and supporting collateral.
RS RS
2
ADCx 1 2 1 2
1
Run-time Software
1
10k 10k
• Kinetis SDK: kex.nxp.com or http://www.nxp.com/ksdk
2
6 Part identification
Part numbers for the device have fields that identify the specific part. Use the values of
these fields to determine the specific part.
7 Revision History
The following table provides a revision history for this document.