NXP Semiconductors
FXTH87E
FXTH87E, Family of Tire Pressure Monitor Sensors
FXTH87ERM
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2019. All rights reserved.
Reference manual
Rev. 5.0 — 4 February 2019
181 / 183
7.11.5
System Power Management Status and
Control 2 Register (SPMSC2) ......................... 48
7.11.6
System Power Management Status and
Control 3 Register (SPMSC3) ......................... 49
7.11.7
Free-Running Counter (FRC) .......................... 50
7.11.7.1 Software handler requirements ........................51
7.11.7.2 Initialization recommendations .........................51
7.12
System STOP exit status register (SIMSES) ....51
8
General Purpose I/O ......................................... 52
8.1
Unused pin configuration .................................54
8.2
Pin behavior in STOP modes .......................... 55
8.3
General purpose I/O registers ......................... 55
8.4
Port A registers ................................................55
8.5
Port B registers ................................................56
9
Keyboard Interrupt ............................................58
9.1
Features ...........................................................58
9.2
Modes of operation ..........................................58
9.2.1
KBI in STOP modes ........................................ 58
9.2.2
KBI in ACTIVE BACKGROUND mode .............58
9.3
Block diagram ..................................................58
9.4
External signal description ...............................59
9.5
Register definitions .......................................... 59
9.5.1
KBI status and control register (KBISC) ...........59
9.5.2
KBI pin enable register (KBIPE) ...................... 60
9.5.3
KBI edge select register (KBIES) .................... 60
9.6
Functional description ......................................61
9.6.1
Edge only sensitivity ........................................61
9.6.2
Edge and level sensitivity ................................ 61
9.6.3
KBI pullup/pulldown resistors ...........................61
9.6.4
KBI initialization ............................................... 62
10
Central processing unit ....................................62
10.1
Introduction ...................................................... 62
10.2
Features ...........................................................62
10.3
Programmer’s model and CPU registers ......... 63
10.3.1
Accumulator (A) ...............................................63
10.3.2
Index register (H:X) ......................................... 63
10.3.3
Stack pointer (SP) ........................................... 64
10.3.4
Program counter (PC) ..................................... 64
10.3.5
Condition code register (CCR) ........................ 64
10.4
Addressing modes ...........................................66
10.4.1
Inherent addressing mode (INH) ..................... 66
10.4.2
Relative addressing mode (REL) .....................66
10.4.3
Immediate addressing mode (IMM) ................. 66
10.4.4
Direct addressing mode (DIR) ......................... 66
10.4.5
Extended addressing mode (EXT) ...................67
10.4.6
Indexed addressing mode ............................... 67
10.4.6.1 Indexed, No Offset (IX) ....................................67
10.4.6.2 Indexed, No Offset with Post Increment (IX+) ...67
10.4.6.3 Indexed, 8-Bit Offset (IX1) ...............................67
10.4.6.4 Indexed, 8-Bit Offset with Post Increment
(IX1+) ............................................................... 67
10.4.6.5 Indexed, 16-Bit Offset (IX2) .............................67
10.4.6.6 SP-Relative, 8-Bit Offset (SP1) ........................67
10.4.6.7 SP-Relative, 16-Bit Offset (SP2) ......................67
10.5
Special operations ........................................... 68
10.5.1
Reset sequence ...............................................68
10.5.2
Interrupt sequence ...........................................68
10.5.3
WAIT mode operation ......................................69
10.5.4
STOP mode operation .....................................69
10.5.5
BGND instruction .............................................69
10.6
HCS08 instruction set summary ...................... 70
10.6.1
Instruction set summary nomenclature ............ 70
10.6.2
Operators .........................................................70
10.6.3
CPU registers .................................................. 70
10.6.4
Memory and addressing .................................. 70
10.6.5
Condition code register (CCR) bits ..................70
10.6.6
CCR activity notation .......................................71
10.6.7
Machine coding notation ..................................71
10.6.8
Source form ..................................................... 71
10.6.9
Address modes ................................................72
11
Timer Pulse-Width Module ...............................84
11.1
Features ...........................................................85
11.2
TPM1 configuration information .......................85
11.2.1
Block diagram ..................................................85
11.3
External signal description ...............................86
11.4
Register definition ............................................87
11.4.1
Timer status and control register (TPM1SC) ....87
11.4.2
Timer
counter
registers
(TPM1CNTH:TPM1CNTL) ............................... 88
11.4.3
Timer
counter
modulo
registers
(TPM1MODH:TPM1MODL) ............................. 89
11.4.4
Timer channel 0 status and control register
(TPM1C0SC) ................................................... 89
11.4.5
Timer
channel
value
registers
(TPM1C0VH:TPM1C0VL) ................................91
11.4.6
Timer channel 1 status and control register
(TPM1C1SC) ................................................... 91
11.4.7
Timer
channel
value
registers
(TPM1C1VH:TPM1C1VL) ................................93
11.5
Functional description ......................................93
11.5.1
Counter ............................................................ 94
11.5.2
Channel mode selection .................................. 95
11.5.2.1 Input capture mode ......................................... 95
11.5.2.2 Output compare mode .....................................95
11.5.2.3 Edge-aligned PWM mode ................................95
11.5.3
Center-aligned PWM mode ............................. 96
11.6
TPM1 interrupts ............................................... 97
11.6.1
Clearing timer interrupt flags ........................... 98
11.6.2
Timer overflow interrupt description .................98
11.6.3
Channel event interrupt description ................. 98
11.6.4
PWM end-of-duty-cycle events ........................98
12
Other MCU resources .......................................99
12.1
Pressure measurement ................................. 100
12.2
Temperature measurements ..........................100
12.3
Voltage measurements ..................................100
12.3.1
Internal band gap .......................................... 101
12.3.2
External voltages ........................................... 101
12.4
Optional acceleration measurements ............ 101
12.5
Optional battery condition check ....................102
12.6
Measurement firmware .................................. 103
12.7
Thermal shutdown ......................................... 104
12.7.1
Low temperature shutdown ........................... 104
12.7.2
High temperature shutdown ...........................104
12.7.3
Temperature shutdown recovery ................... 105
12.8
Free-Running Counter (FRC) ........................ 106
13
Periodic Wakeup Timer .................................. 107
13.1
Block diagram ................................................107
13.2
Wakeup divider register — PWUDIV ............. 108
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from