KL14 Ref Manual Datasheet by NXP USA Inc.
o"
a
9
w 9
9?“?
o ‘
Evvexqv. .1
mm m 50mm:
mmvmm
freescale“




























uuln/

muck
Program
KL4x Family128-256KB 64-121pin l ”MW/v 0%» 8
KL3x Family 64-256KB 64-121pin i ”MW” 8
KL2x Family 32-256KB 32-121pin l W 9%»
KL1x Family 32-256KB 32-80pin i W
KLOx Family 8-32KB 16-48pin l ”W”,
i Low power W Mixed signal @USB 8 Segment LCD



mum:

mum:



mum:




ES
52.xw50 2w?



mack log":
SSE
5:228 535.;
3532, Sam:
flue
621V 3:928
29533: $33
flue
6sz 3:225
$22 Sim
E: 3%.;
$554.33
621V 3:928
szmmEms axon
qywle
L 250
>555. Imam
ES
SEimcoo 2w?
flue
”@2951
5.2% 5536
qywle

flue
12:3 .3320
5:228 mun:
aywle
:23“ 22.9..
5,535, 3.3m
8.2 5,3
Swim
ulvhk
$222,? Ema
we:
0E
5:928
aoéwé {moi
m: .o

m: .0
Esme fin:
655 3335

nun-o
A
$3. mum 3mm
$5 . mum 52mm
V
2:29.32 :33

n no
22% 2: 35a

E :23



@5wa :SE Eggm

93% 2 saw
2:29.32 72%
uu .m
as:
3 fig
2:29.32 Ema
9:35:37: 63%
$8
32‘ $.50 25






rump

rllvd

rum

wwk
re cloc
form c
syste
clock
sh cloc
Clock options for some
peripherals (see note)
RTCJJLKIN

uluhk

mum:
SIM,COPCTRL[COPCLKS]
mum:
ERCLK32K
—»
MCGPLLCLK 894/
mum:











vluuk

vluuk

rune

mum:

mum:




DPACC APACC
Data[3 a] A[3 1 RnW Dala[31:0] A[a:2] RnV—Vl
0
§ 2
c c
w
o
8 .:
m
E %E ,
.2 g 1 t
8‘ 2% a
n: n: V n
n. e g 5
a 1— 5 L
g e g
E m .
g i u Generic
3 8 a“; DebugPorl
(DP)
I
V
APSEL Dala[3|:0] A[7 1 A[3 2] “VII
Decode
AHBAmesPort E E g
(mam MDM-AP ! .5
§ 5 E
BusMalrix
Seminal and satusneg'aer
Deuiptions
SW-DP
See me ARM Debug \meflace v5p‘ Supp‘emem
SELECHG‘ 24] (APSEL) se‘ects me AP
SELECTU A] (APEANKSEL) selects me bank
A[3 21mm me APACC se‘ecvs me vegls‘er
mm" the bank
AHB-AP
SELECHS‘ 24] = 0x00 selects me AHEAP
See ARM documemauun my iunhev deiafls
M DM-AP
SELECHS‘ 24] = 0on selects me MDM-AP
SELECTU A] = om se‘ecvs the bank my. sum: and cm
A[3 2] = 2m se‘ec‘s the sum: Regmy
A[3 2] = 2m se‘ec‘s the 0mm Regmy
SELECTU A] = DxF se‘ects me bank mm m
A[3 2] = 2w se‘ec‘s the m Reglster
1m vegls‘er reads 0x00101020)


“and

uaud
2i iswem
amua

r M:

mu
jjjjjjjjjjjjjjjjjjjj
flflflflflflflflflflflflflflflflflflflfl
3
mm
mm
8
8
mm
«m
mm
mm
g
3
8
mm
R
em
3
«N
3
N
a
ULILIIJUULILIUULILIUULILIUULILI
O
EEEEEEEEEEEEEEEEEEEE
.wu
flflflflfll‘ll‘ll‘ll‘lflflflflflflfl
$
3
3
mm
3
E
m
E
E
mm
mm
3
0
an
.n
on
¢~
2
Q
ma
ma
«N
mm
mm
.m
cm
2
m.
C
LILIULILILIIJIJIJULILILI
«mm»;
m
n—
a
H— SmK
u
g
EEEEEEEEEEEEEEEE
ooh;
.npn
«a»;
mapm
UHLILI
H_;.
H?
U:
HULILIQ
EEEEEEEEEEEE
333333333333
WWI—lflflflflflflflflfl
m
mum:
v EwatfiiFm
mnkm
m Ewaififini
Baku
EEEEEEEE
_I_j_l__l_jj_l__l_
Hflflflflflflfl
«Sh
Eh
3K
SmE

mum:

mum:

mum:



m: .0

m: .0

m: .0
fiH
m: .o
0 Passive input filter is disabled on the corresponding pin.
memo
0 Corresponding Pin Central Register is not updated with the value in GPWD.





m: .0

l
|
!
Selects the clock source for the TPM coumer clock


m: .o






iH
m: .o
Tms bu centre‘s the clock gate to the DMA Mux module.

me. . .o
ThlS lleld specllles the amount of program flash memory available on the device . Undefined values are


u


muue

HHHH


0 FOR detect circuit is enabled in VLLSO
00070001
Current power mode is RUN



ll










fig;

m: .o

m: .o

muud
my low leakge mode
v wt
P
V
+ a fl)
5 a e
+ + fi
~>
V
>
a n
O C
LLI'U

"name
00 External input pin disabled as wakeup input

m: .o

m: .o

"name
0 LLWU7P6 input was not a wakeup source

m: .o

Indicates that an enabled internal peripheral was a source of exiting a low-leakage power mode. To clear
0 Pin Filter 1 was not a wakeup source
0 Pin Filter 2 was not a wakeup source







00000 Bus clockfiltercount is 1

Cortex-Mm Core
m m
Asu m ‘ an 1
m
LD/ST SNFT MUL
rm
AHEEMS IOPort MTBPon
—>
—>ma
DMA ch<—> m2
AXBS
-Lile
CMO+ Core Platform
PHAM <— ram="" array="">—><—>EME<—>
Slave
Perlpherals
FMC 4
>
NVM
Array
Nate: BME can be accessed only by the core.
—>—>—>
m: .o
CYCLE RULER
reg_addr_data_dp
x+1
x+2
x+3
3|3029252726252423222120191817161514131211w g a 7 s 5
ioandb 0 1 D 0 0 1 - - - - - - memiaddr
ioandh 0 1 D 0 0 1 - - - - - - memiaddr
ioandw010 0 01- - - - - - memiaddr
313029282726252423222120I9I817161514I3I211109 5 7 s 5 4‘3 210
ioorb 0 1 0 0 1 0 - - - - - - memiaddr
ioorh 0 1 0 0 1 0 - - - - - - memiaddr 0
ioorw o 1 o o 1 o - - - - - - memjddr ‘0 o
313029282726252A23222I201918171615I4I31211109 a 7 s 5
ioxorb010 011- - - - - - memiaddr
ioxorh010 011- - - - - - memiaddr
ioxorw010 01 1 - - - - - - memiaddr
313029282726252A23222I20191817161514131211109 a 7 s 5
iobfib0101--bbb-www memiaddr
iobfih 0 1 0 1 - b b b b w memiaddv
E
E
E
iobfiw0101bbbbbwwww memiaddr

I "II IIIII
reg_addr_data_dp

reg_addr_data_dp
313029282726252423222120191817161514131211109B7654‘32IO
Lolaclb 0 1 0 0 1 0 - - b b b - memiaddv
Lolaclh 0 1 0 0 1 0 - b b b b - memiaddr 0
Lolaclw 0 1 0 0 1 0 b b b b b - memiaddr ‘0 0
313029282726252A232221201918171615141312111U9 a 7 e 5 413 210
iolaslb 0 1 0 0 1 1 - - b b b - memiaddr
iolaslh 0 1 0 0 1 1 - b b b b - memiaddv 0
iolaslw 0 1 0 0 1 1 b b b b b - memiaddr 1 0 0
1 1 1 1 1
31302928272625242322212019l817161514131211I119E7654‘32IG
ioubfxb 0 1 0 1 - - b b b - w w w memiaddr
ioubth 0 1 0 1 - b b b b w w w w memiaddr O
ioubfxw0101bbbbbwwww memiaddr ‘00

"Wu

Aw":




0 Request is cleared.
m: .o

31 1 0
Nth desrirralidrr address S
W source address A
31 1 0
2nd desrirralidrr address 3
2nd source address A
1st destinalron address S
1s: source address A
Alum bit 4?
Odd word address
Even word address
47 sran bit
Odd word address
Even word address
muud

m: .o


[i
"name
NOTE: If the EN bit is set to 0 because the MTB,FLOW[WATERMARK] field is set, then it is not






MTBDWT,CTRL[26] : NOEXTFR‘G : 1, external match signals are not supported

0 No match.
0 No match.

Coresighl access port
l
Redlemion from [he
1 System ROM labia, H innlemenled
l
Flycatchev ROM table
Coresigh! ID
Pmmars
|
v
f
System control space i fl
W] was wamhpoim um :Bveakpoim unll
$ | CmsSighl ID | | CuIeSghl ID |
Flycatmer CPUID
Debug mnlml | walcnmml omlml | | Braskpmm ounlml |
1 Optional component








muud









muud
DR QO DR 01 DREQZ DREQS
DA
DCDCDCDC




"name
Tms bu cfears the state machine for DMA channel 2. When changing the DMACZ field to select a different
the DMA channel 3. Effectively, the DMAREQC register provides a software-controlled routing matrix of
"name
After being written with one of the allowed values, bits 31-20 read back as the written value.
m: .o
greater than OFiFFFFh causes a configuration error when the channel starts to execute.
m: .o

m: .o







muud

777777777777777777

"name

"name
0 Slow internal reference clock selemed.


Table 24-7. PLL External Reference Divide Facior (continued)
"name
any Slop mode. Otherwise, a reset request may occur while in Step mode. CMEO should also be set to a
0 PLL has not lost lock since LOLS 0 was las: cleared.
"name
0 Source of internal reference clock is me slow clock (32 kHz IRC).


0
Interrupt request is generated on a PLL loss oi lock indication. The PLL loss oi lock interrupt enabie bil






ATCV Expected Count Value = 21*(Fe / Fr)
Expected CountValue =(Fe/ Fr) *21*(128)






@§&@
0 @omVQ


@g




uluhk
fl
fl
F
lock selectloT
XTAL
EXTAL
ID!
Crystal m Resonalor
ID}
Crys1al or Resonamr
_‘i_x
ID!
Crystal or Resonalor

0 External reference clock is inactive.
OSCCLK
External Clock Mode




muue



muud



m: .o

"name
0 Flash command in progress
H

00 Freescale factory access granted
"mu-o


Program flash













|||||||||||||||||||||||









muud
W 81555.:
$22355
m =0 2
o g 4
E
:25
magi
.m
Comr | sequence
m as.
E, E:


“5.5
“5.5
[I
“5.5
1|
“5.5
Configures the ADC for very high-speed operation. The conversion sequence is altered with 2 ADCK

- Soltware trtgger: When software trigger is selected, a conversion is initiated following a write to
0 Calibration completed normally.
nnnnn

nnnnn







ConversionTime = SFCAdder+ AverageNum x [BCT+ LSTAdder + HSCAdder]






Temp = 2 5 ‘ [( VTEMP ‘ VTEMPZS] + m)




.Wa

-Wa
RAS + RADIN =SC / (FMAX * NUMTAU * CADIN)

.Wa
1 =( VREFHJ/ZN

Aw":



V _m>m_‘


"name
CMP Trigger mode depends on an external timer resource to periodically enable the CMP and 6-bit DAC

"mu-o
0
\nterrupt is disabled
0 V is selected as resistor ladder nelwork supply reference V.
NOTE: When an inappropriate operation selects the same input for both muxes, the comparator








.....
TH fl:



muud
ELSOE EL
ELSNE ELS
m: .0

0 LPTPM counter has not overflowed.





m: .o
Configures the LPTPM behavior in debug made. All other configurations are reserved.
my moms counting ‘5 up.
MOD = exoooa
‘ \\\\\\\\\\\\\\\
‘IT II—I—‘T \T
4—» 1 H
m ‘
w—r‘
pennd a1 counmg = (MOD + 0x000” x pennd a1 “my mama munler clock
MOD = oxuum
m I
synchmmzer
+
I_LJ
mmer modme coumer
MOD : OXDOOS
C
“n rm un n" "
r a r a '
¢ 4 4 Jr Jr
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
\_l
I:
MOD : 0x0005
C
oun I'm un nn H
, a r a '
¢ 4, 4 4 4
\ \ \ ‘ ‘
WI
\—|
\_l
MOD : OXOOOS
C
oun nn H" “n "
e! a f a ’
¢ ¢ ¢ 4 ¢
\ \ \ ‘
counter overflow counter overflow counter overflow
channel (n) match
MOD : axooos
C
MOD : oxooos
C
MOD : oxoma
C
umer module counter: D
12 x MOD)
counter
counter
nne‘
counler




H
H H
f f



Rarennble




Lruull



memo
00 Prescaler/glitch filter clock 0 selected.





“5.5

nnnnn
80h Time Prescaler Register overflows every 32896 clock cycles.
“5.5
0 No effect.
nnnnn
[I
0 Seconds interrupt is disabled.





muud
MASTE R SLAVE
muud
FIN CONTROL


"name
0
\nterrupts from SPRF and MODF are inhibimd—use polling



m: .o






—%8

glj
E n, ,
BAUD RATE DIVIDER







gig:

muud
Module Enable Address
SCL SDA


Seiects the direction of master and slave transfers. In master mode this bit must be set according to the

- Any nonzero calling address is received that matches the address in the RA register.
"name
0 Normal drive mode
"name
Ii the SHEN bit is set (01 and the IZC module is in an idle or disabled state when the MCU signals to enter
Tms lleld contains the slave address to be used by the l2C module. The field is used in the 7-bit address
"name
0 SMBus alen response address mamhing is disabled

MSB LSB M55 LSB


‘ ‘ ‘ SlanflounlmngghPeHnfl
\ntamm CounlavResel

uuuuu


fijfij



SCL‘ SDA
s






muud
< inlemaibus="">
JET
1rB‘TTramrm Shm He +
SHIFI' DiRECTI 9 D ’
\_h—> i 5
1—!—>
E» —»W
:2: —J
gm
|:|—>
HE HE
%
“5.5
< 21="" baud="" clock="" eaudrate="" internal="" bus="" a="" 4="">
GENERATOR
RECEIVE
STOP
VARIABLE Izarr RECEIVE
E
LBKDE
RxD
LOOP
RSR
From Tra
RxD
E
I U
9
’ PARITV

“5.5

“5.5
Tms bu can be wrmen to 1 to place the UART receiver in a standby state where it waits for automatic
“5.5
0 No parity error.
“5.5
0 L83 (him) is the first bit tha: is vansmined following me Stan bit Funher, me firs: bi: received aher me

“5.5
0 OR interrupts disabled: use polling.

“5.5

0 Receiver samples input data using ihe rising edge oi ihe baud raie clock.









INTERNAL BUS
T DA REG
TD
ER(
SER12§BRO
u.
o
23 HEN TRANSM‘T SHIFI' REGIS
5 3 1
V
1—:
w
PREAMBLE (ALL IS)
LOAD FROM UAHT D
SHIFT ENABLE
BREAK (ALL 0s)
INTERNAL BUS
SBR12§BRO UART DATA REGISTER 1UART,D)
MgfgCLE BAUD DIVIDER
“Err RECEIVE SHu-‘r REGISTER
RE DATA
5 7 6 5 4 3 2 I 0 L
RAF RECOVERV
SHII-‘r DIREC'no j)
m
“5.5

“5.5
This bit has no meaning or effect unless the LOOPS bit is set to 1. When LOOPS is set, the receiver input
“5.5
0 Normal transminer operation.
“5.5
3H 15, these bit times and the stop bits lime count toward the full character time of logic high, 10 or 11 bit

“5.5
BRK13 setects a longer transmitted break character length. Detection of a framing error is not affected by
such as when it is used to generate mark or space parity, it need not be written each time UAR‘LD is
nnnnn

Module Divude By
(1 through 5191)
{/L
UART Madule C‘ocka
sannza]
Divide By
Baud Rate Genevator
on u [samzsana] :a
16
4 Tx Baud Rate
Rx Samphng Clock
116 x Baud Rate)
UART Module Clock
SBR[1220] x 16
Baud Rate :









muud

m: .0







freescale‘

