Sign In
Upload
Manuals
Brands
NXP Semiconductors Manuals
Motherboard
K32L2A31VLL1A
NXP Semiconductors K32L2A31VLL1A Manuals
Manuals and User Guides for NXP Semiconductors K32L2A31VLL1A. We have
1
NXP Semiconductors K32L2A31VLL1A manual available for free PDF download: Reference Manual
NXP Semiconductors K32L2A31VLL1A Reference Manual (1379 pages)
Brand:
NXP Semiconductors
| Category:
Motherboard
| Size: 12 MB
Table of Contents
Table of Contents
3
Chapter 1 About this Document
43
Overview
43
Purpose
43
Audience
43
Conventions
43
Numbering Systems
43
Typographic Notation
44
Special Terms
44
Chapter 2 Introduction
45
Overview
45
K32 L2A Introduction
45
Feature Summary
45
Block Diagram
49
Chapter 3 Chip Configuration
51
Introduction
51
Clock Gating
51
Module to Module Interconnects
52
Interconnection Overview
52
Analog Reference Options
52
Core Modules
53
Introduction
53
Arm Cortex M0+ Core
53
Debug Facilities
54
Buses, Interconnects, and Interfaces
54
System Tick Timer
54
Caches
54
Interrupt Connections
55
Asynchronous Wake-Up Interrupt Controller (AWIC)
59
System Modules
60
Crossbar Switch
60
Low-Leakage Wake-Up Unit (LLWU)
61
Dmamux
62
Watchdog (WDOG)
64
System Register File Configuration
64
Peripheral Clock Control (PCC) Configuration
65
System Register File Configuration
66
Security
67
CAU Configuration
67
Analog
68
16-Bit SAR ADC Configuration
68
CMP Configuration
70
Vref
72
12-Bit DAC Configuration
74
Timers
75
Timer/Pwm Module Configuration
75
Lpit
77
Low Power Timer (LPTMR)
78
RTC Configuration
79
Communication Interfaces
80
Universal Serial Bus (USB) FS Subsystem
80
LPSPI Configuration
86
Lpi2C
87
LPUART Configuration
88
EMVSIM Configuration
89
K32 L2A Reference Manual, Rev
89
Flexio
89
Human-Machine Interfaces (HMI)
90
GPIO Configuration
90
TSI Configuration
91
Signal Multiplexing Integration
93
Signal Multiplexing Configuration
93
Chapter 4 Memory Map
95
SRAM Sizes
95
System Memory Map
95
Flash Memory Maps
97
Flash Memory Map
97
SRAM Memory Map
98
Bit Manipulation Engine
98
Peripheral Bridge (AIPS-Lite) Memory Map
99
AIPS0 Peripheral Slot Assignments
99
AIPS1 Peripheral Slot Assignments
103
Chapter 5 Clock Distribution
107
Introduction
107
Clock Sources
108
SCG Output Clocks
109
Divcore_Clk
109
Divslow_Clk
109
Peripheral Functional Clocks
109
Peripheral Clock Summary
112
DIV3 Peripheral Clocking
114
DIV1 Peripheral Clocking
115
Programming Model
116
Other Clock Sources
117
Osc32Kclk
117
LPO Low Power Oscillator
117
Clock Definitions
117
Clocking Details
118
Internal Clocking Requirements
119
Clock Divider Values after Reset
120
Clock Gating
121
Flash Memory Clock
121
Chapter 6 Reset and Boot
123
Introduction
123
Reset
124
Power-On Reset (POR)
124
System Reset Sources
124
MCU Resets
127
Reset_B Pin
128
Debug Resets
129
Boot
129
Boot Sources
129
FOPT Boot Options
130
Boot Sequence
132
Chapter 7 Power Management
135
Introduction
135
Clocking Modes
135
Partial Stop
135
DMA Wakeup
136
Compute Operation
137
Peripheral Doze
138
Clock Gating
139
Power Mode Architecture
139
Power Modes
139
Entering and Exiting Power Modes
142
Module Operation in Low-Power Modes
142
Chapter 8 Security
147
Introduction
147
Debug Security
147
Flash Security
147
Chapter 9 Debug
149
Introduction
149
Debug Port Pin Descriptions
149
Debug and Trace Block Diagram
150
SWD Status and Control Registers
151
MDM-AP Control Register
152
MDM-AP Status Register
153
Debug Resets
155
Micro Trace Buffer (MTB)
156
Debug in Low-Power Modes
156
Debug and Security
157
Chapter 10 Signal Multiplexing and Signal Descriptions
159
Introduction
159
Pinout
159
Package Types
159
Signal Multiplexing and Pin Assignments
159
K32 L2A Pinouts
164
Module Signal Description Tables
166
Core Modules
167
System Modules
167
Clock Modules
167
Memories and Memory Interfaces
167
Analog
168
Timer Modules
168
Communication Interfaces
170
Human-Machine Interfaces (HMI)
173
Chapter 11 Analog-To-Digital Converter (ADC)
175
Introduction
175
Features
175
Block Diagram
176
ADC Signal Descriptions
177
Analog Power (VDDA)
178
Analog Ground (VSSA)
178
Voltage Reference Select
178
Analog Channel Inputs (Adx)
179
Differential Analog Channel Inputs (Dadx)
179
Memory Map and Register Definitions
179
ADC Status and Control Registers 1 (Adcx_Sc1N)
180
ADC Configuration Register 1 (Adcx_Cfg1)
184
ADC Configuration Register 2 (Adcx_Cfg2)
185
ADC Data Result Register (Adcx_Rn)
186
Compare Value Registers (Adcx_Cvn)
188
Status and Control Register 2 (Adcx_Sc2)
189
Status and Control Register 3 (Adcx_Sc3)
191
ADC Offset Correction Register (Adcx_Ofs)
192
ADC Plus-Side Gain Register (Adcx_Pg)
193
ADC Minus-Side Gain Register (Adcx_Mg)
193
ADC Plus-Side General Calibration Value Register (Adcx_Clpd)
194
ADC Plus-Side General Calibration Value Register (Adcx_Clps)
195
ADC Plus-Side General Calibration Value Register (Adcx_Clp4)
195
ADC Plus-Side General Calibration Value Register (Adcx_Clp3)
196
ADC Plus-Side General Calibration Value Register (Adcx_Clp2)
196
ADC Plus-Side General Calibration Value Register (Adcx_Clp1)
197
ADC Plus-Side General Calibration Value Register (Adcx_Clp0)
197
ADC Minus-Side General Calibration Value Register (Adcx_Clmd)
198
ADC Minus-Side General Calibration Value Register (Adcx_Clms)
198
ADC Minus-Side General Calibration Value Register (Adcx_Clm4)
199
ADC Minus-Side General Calibration Value Register (Adcx_Clm3)
199
ADC Minus-Side General Calibration Value Register (Adcx_Clm2)
200
ADC Minus-Side General Calibration Value Register (Adcx_Clm1)
200
ADC Minus-Side General Calibration Value Register (Adcx_Clm0)
201
Functional Description
201
Clock Select and Divide Control
202
Voltage Reference Selection
203
Hardware Trigger and Channel Selects
203
Conversion Control
204
Automatic Compare Function
212
Calibration Function
213
User-Defined Offset Function
215
Temperature Sensor
216
MCU Wait Mode Operation
217
MCU Normal Stop Mode Operation
217
Initialization Information
218
ADC Module Initialization Example
219
Application Information
221
External Pins and Routing
221
Sources of Error
223
Chapter 12 Crossbar Switch Lite (AXBS-Lite)
227
Introduction
227
Features
227
Memory Map / Register Definition
228
Functional Description
228
General Operation
228
Chapter 13 Bit Manipulation Engine2 (BME2)
229
Introduction
229
Features
230
Modes of Operation
230
Memory Map and Register Definition
230
Functional Description
231
BME Decorated Stores
231
BME Decorated Loads
238
Application Information
244
Chapter 14 Kinetis ROM Bootloader
247
Chip-Specific Information
247
Kinetis Bootloader Peripheral Pinmux
247
Bootloader Memory Access
248
Introduction
248
Functional Description
250
Memory Maps
250
The Kinetis Bootloader Configuration Area (BCA)
251
Start-Up Process
253
Clock Configuration
256
Bootloader Entry Point / API Tree
256
Bootloader Protocol
257
Bootloader Packet Types
262
Bootloader Command API
270
Bootloader Exit State
293
Peripherals Supported
294
LPI2C Peripheral
294
LPSPI Peripheral
296
Quadspi Peripheral
299
LPUART Peripheral
307
USB Peripheral
309
Get/Setproperty Command Properties
313
Property Definitions
315
SB File Decryption Support
316
Decryption Using MMCAU
317
Verifying the Application in Flash Using CRC-32
318
Kinetis Bootloader Status Error Codes
319
Chapter 15 Cryptographic Acceleration Unit (CAU)
323
Introduction
323
CAU Block Diagram
323
Overview
325
Features
326
Memory Map/Register Definition
326
Status Register (Caux_Casr)
328
Accumulator (Caux_Caa)
329
General Purpose Register (Caux_Can)
329
Functional Description
330
CAU Programming Model
330
CAU Integrity Checks
332
CAU Commands
334
Application/Initialization Information
341
Code Example
341
Assembler Equate Values
342
Chapter 16 Comparator (CMP)
345
Introduction
345
CMP Features
345
6-Bit DAC Key Features
346
ANMUX Key Features
346
CMP, DAC and ANMUX Diagram
347
CMP Block Diagram
348
Memory Map/Register Definitions
350
CMP Control Register 0 (Cmpx_Cr0)
350
CMP Control Register 1 (Cmpx_Cr1)
351
CMP Filter Period Register (Cmpx_Fpr)
353
CMP Status and Control Register (Cmpx_Scr)
353
DAC Control Register (Cmpx_Daccr)
354
MUX Control Register (Cmpx_Muxcr)
355
Functional Description
356
CMP Functional Modes
356
Power Modes
366
Startup and Operation
367
Low-Pass Filter
368
CMP Interrupts
370
DMA Support
370
CMP Asynchronous DMA Support
371
Digital-To-Analog Converter
372
DAC Functional Description
372
Voltage Reference Source Select
372
DAC Resets
373
DAC Clocks
373
DAC Interrupts
373
CMP Trigger Mode
373
Chapter 17 Cyclic Redundancy Check (CRC)
375
Introduction
375
Features
375
Block Diagram
375
Modes of Operation
376
Memory Map and Register Descriptions
376
CRC Data Register (CRC_DATA)
377
CRC Polynomial Register (CRC_GPOLY)
378
CRC Control Register (CRC_CTRL)
378
Functional Description
379
CRC Initialization/Reinitialization
379
CRC Calculations
380
Transpose Feature
381
CRC Result Complement
383
Chapter 18 12-Bit Digital-To-Analog Converter (DAC)
385
Introduction
385
Features
385
Block Diagram
385
Memory Map/Register Definition
386
DAC Data Low Register (Dacx_Datnl)
388
DAC Data High Register (Dacx_Datnh)
388
DAC Status Register (Dacx_Sr)
388
DAC Control Register (Dacx_C0)
389
DAC Control Register 1 (Dacx_C1)
391
DAC Control Register 2 (Dacx_C2)
392
Functional Description
392
DAC Data Buffer Operation
392
DMA Operation
393
Resets
394
Low-Power Mode Operation
394
Chapter 19 Direct Memory Access Multiplexer (DMAMUX)
395
Introduction
395
Overview
395
Features
396
Modes of Operation
396
External Signal Description
397
Memory Map/Register Definition
397
Channel Configuration Register (Dmamuxx_Chcfgn)
398
Functional Description
398
DMA Channels with Periodic Triggering Capability
399
DMA Channels with no Triggering Capability
401
Always-Enabled DMA Sources
402
Initialization/Application Information
403
Reset
403
Enabling and Configuring Sources
403
Enhanced Direct Memory Access (Edma)
407
Introduction
407
Edma System Block Diagram
407
Block Parts
408
Features
409
Modes of Operation
410
Memory Map/Register Definition
411
TCD Memory
411
TCD Initialization
411
TCD Structure
412
Reserved Memory and Bit Fields
412
Control Register (Dmax_Cr)
418
Error Status Register (Dmax_Es)
421
Enable Request Register (Dmax_Erq)
423
Enable Error Interrupt Register (Dmax_Eei)
425
Clear Enable Error Interrupt Register (Dmax_Ceei)
426
Set Enable Error Interrupt Register (Dmax_Seei)
427
Clear Enable Request Register (Dmax_Cerq)
428
Set Enable Request Register (Dmax_Serq)
429
Clear DONE Status Bit Register (Dmax_Cdne)
430
Set START Bit Register (Dmax_Ssrt)
431
Clear Error Register (Dmax_Cerr)
432
Clear Interrupt Request Register (Dmax_Cint)
433
Interrupt Request Register (Dmax_Int)
434
Error Register (Dmax_Err)
435
Hardware Request Status Register (Dmax_Hrs)
437
Enable Asynchronous Request in Stop Register (Dmax_Ears)
439
Channel N Priority Register (Dmax_Dchprin)
440
TCD Source Address (Dmax_Tcdn_Saddr)
441
TCD Signed Source Address Offset (Dmax_Tcdn_Soff)
441
TCD Transfer Attributes (Dmax_Tcdn_Attr)
442
TCD Minor Byte Count (Minor Loop Mapping Disabled) (Dmax_Tcdn_Nbytes_Mlno)
443
TCD Signed Minor Loop Offset (Minor Loop Mapping Enabled and Offset Disabled)
443
(Dmax_Tcdn_Nbytes_Mloffno)
443
TCD Signed Minor Loop Offset (Minor Loop Mapping and Offset Enabled)
445
(Dmax_Tcdn_Nbytes_Mloffyes)
445
TCD Last Source Address Adjustment (Dmax_Tcdn_Slast)
446
TCD Destination Address (Dmax_Tcdn_Daddr)
446
TCD Signed Destination Address Offset (Dmax_Tcdn_Doff)
447
TCD Current Minor Loop Link, Major Loop Count (Channel Linking Enabled)
447
(Dmax_Tcdn_Citer_Elinkyes)
447
TCD Current Minor Loop Link, Major Loop Count (Channel Linking Disabled)
449
(Dmax_Tcdn_Citer_Elinkno)
449
TCD Last Destination Address Adjustment/Scatter Gather Address (Dmax_Tcdn_Dlastsga)
450
TCD Control and Status (Dmax_Tcdn_Csr)
450
TCD Beginning Minor Loop Link, Major Loop Count (Channel Linking Enabled)
453
(Dmax_Tcdn_Biter_Elinkyes)
453
TCD Beginning Minor Loop Link, Major Loop Count (Channel Linking Disabled)
454
(Dmax_Tcdn_Biter_Elinkno)
454
Functional Description
455
Edma Basic Data Flow
455
Fault Reporting and Handling
458
Channel Preemption
461
Performance
461
Initialization/Application Information
465
Edma Initialization
465
Programming Errors
467
Arbitration Mode Considerations
468
Performing DMA Transfers
468
Monitoring Transfer Descriptor Status
472
Channel Linking
474
Dynamic Programming
475
Suspend/Resume a DMA Channel with Active Hardware Service Requests
479
Chapter 21 Smart Card Interface Module (EMV SIM)
481
Introduction
481
Features
481
Block Diagram
482
Design Overview
482
Signal Description
484
Memory Map and Registers
485
Version ID Register (Emvsimx_Ver_Id)
486
Parameter Register (Emvsimx_Param)
486
Clock Configuration Register (Emvsimx_Clkcfg)
487
Baud Rate Divisor Register (Emvsimx_Divisor)
488
Control Register (Emvsimx_Ctrl)
489
Interrupt Mask Register (Emvsimx_Int_Mask)
493
Receiver Threshold Register (Emvsimx_Rx_Thd)
496
Transmitter Threshold Register (Emvsimx_Tx_Thd)
496
Receive Status Register (Emvsimx_Rx_Status)
498
Transmitter Status Register (Emvsimx_Tx_Status)
501
Port Control and Status Register (Emvsimx_Pcsr)
504
Receive Data Read Buffer (Emvsimx_Rx_Buf)
506
Transmit Data Buffer (Emvsimx_Tx_Buf)
507
Transmitter Guard ETU Value Register (Emvsimx_Tx_Getu)
507
Character Wait Time Value Register (Emvsimx_Cwt_Val)
508
Block Wait Time Value Register (Emvsimx_Bwt_Val)
508
Block Guard Time Value Register (Emvsimx_Bgt_Val)
509
General Purpose Counter 0 Timeout Value Register (Emvsimx_Gpcnt0_Val)
509
General Purpose Counter 1 Timeout Value (Emvsimx_Gpcnt1_Val)
510
Functional Description
510
Initialization
510
Smart Card Interface and Control
512
EMV SIM Receiver
515
EMV SIM Transmitter
519
LRC and CRC
521
Message Handling
523
Protocol Timers
525
Answer to Reset (ATR) Detection
528
Chapter 22 Flexible I/O (Flexio)
533
Introduction
533
Overview
533
Features
533
Block Diagram
534
Modes of Operation
535
Flexio Signal Descriptions
535
Memory Map and Registers
535
FLEXIO Register Descriptions
535
Functional Description
565
Shifter Operation
565
Timer Operation
571
Pin Operation
573
Application Information
575
UART Transmit
575
UART Receive
576
SPI Master
578
SPI Slave
580
I2C Master
582
I2S Master
583
I2S Slave
585
Camera Interface
586
Motorola 68K/Intel 8080 Bus Interface
587
Low Power State Machine
589
Chapter 23 Flash Memory Controller (FMC)
593
Introduction
593
Overview
593
Features
594
Modes of Operation
594
External Signal Description
594
Memory Map and Register Descriptions
594
Flash Access Control (FAC) Function
595
Memory Map and Register Definitions
595
FAC Functional Description
595
Initialization and Application Information
601
Chapter 24 Flash Memory Module (FTFA)
603
Introduction
603
Features
604
Block Diagram
604
Glossary
605
External Signal Description
606
Memory Map and Registers
607
Flash Configuration Field Description
607
Program Flash IFR Map
607
Program Flash Erasable IFR Map
608
Register Descriptions
609
Functional Description
622
Flash Protection
623
Flash Access Protection
623
Interrupts
625
Flash Operation in Low-Power Modes
625
Functional Modes of Operation
626
Flash Reads and Ignored Writes
626
Read While Write (RWW)
626
Flash Program and Erase
626
Flash Command Operations
627
Margin Read Commands
632
Flash Command Description
633
Security
653
Reset Sequence
655
Chapter 25 Interrupt Multiplexer (INTMUX)
657
About this Module
657
Introduction
657
Features
657
Block Diagram
657
Memory Map and Register Definition
658
Channel N Control Status Register (Intmuxx_Chn_Csr)
659
Channel N Vector Number Register (Intmuxx_Chn_Vec)
660
Channel N Interrupt Enable Register (Intmuxx_Chn_Ier_31_0)
661
Channel N Interrupt Pending Register (Intmuxx_Chn_Ipr_31_0)
661
Functional Description
662
Configuring Output Channels
662
INTMUX Vectors
663
Chapter 26 Low-Leakage Wakeup Unit (LLWU)
665
Introduction
665
Features
665
Modes of Operation
666
Block Diagram
667
LLWU Signal Descriptions
668
Memory Map/Register Definition
669
Version ID Register (LLWU_VERID)
670
Parameter Register (LLWU_PARAM)
671
LLWU Pin Enable 1 Register (LLWU_PE1)
671
LLWU Pin Enable 2 Register (LLWU_PE2)
674
LLWU Module Interrupt Enable Register (LLWU_ME)
677
LLWU Module DMA Enable Register (LLWU_DE)
679
LLWU Pin Flag Register (LLWU_PF)
681
LLWU Module Interrupt Flag Register (LLWU_MF)
686
LLWU Pin Filter Register (LLWU_FILT)
688
Functional Description
691
LLS Mode
691
VLLS Modes
692
Initialization
692
Chapter 27 Low Power Inter-Integrated Circuit (LPI2C)
693
Introduction
693
Overview
693
Features
693
Block Diagram
695
Modes of Operation
695
Advertisement
Advertisement
Related Products
NXP Semiconductors K32 L2A Series
NXP Semiconductors K32L2A41VLL1A
NXP Semiconductors K32L2A41VLH1A
NXP Semiconductors K32L2A31VLH1A
NXP Semiconductors K32W148-EVK
NXP Semiconductors KIT34932SEKEVB
NXP Semiconductors KITPF5030SKTEVM
NXP Semiconductors SAFE ASSURE KITPF5300SKTEVM
NXP Semiconductors KW45B41Z-LOC
NXP Semiconductors KITFS23SKTEVM
NXP Semiconductors Categories
Motherboard
Microcontrollers
Computer Hardware
Control Unit
Controller
More NXP Semiconductors Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL