Philips
P89LPC908, P89LPC906, P89LPC907
user manual
Ports
Block Diagram P89LPC906
Framing Error
CPU Clock Cclk Wakeup Delay
Logic Symbols
PIN Configurations
Power-On reset code execution
LOW Power Select P89LPC906
Bootvec
Features
Overflows. Mode
Page 40
Philips Semiconductors
User’s Manual - Preliminary -
I/O PORTS
P89LPC906/907/908
2003 Dec 8
40
Page 39
Page 41
Image 40
Page 39
Page 41
Contents
User Manual
Table of Contents
Brownout Detection Power-On Detection Power Reduction Modes
Power-On reset code execution
103
List of Figures
List of Figures
PIN Configurations
P89LPC906
Logic Symbols
Product Comparison
Block Diagram P89LPC906
KB Code Flash
CPU
Oscillator Divider
Block Diagram P89LPC907
Uart
Byte Data RAM
Clock
Block Diagram P89LPC908
Data RAM Port
PIN Descriptions P89LPC906
PIN Descriptions P89LPC907
P1.0
TxD
P1.2
PIN Descriptions P89LPC908
Keyboard Input P1.0 P1.5
P1.1
RxD
Special function registers
Special function registers table P89LPC906
MSB LSB
Hex
Special function registers table P89LPC907
CMP1 Cmpref
TRIM.5 TRIM.4 TRIM.3 TRIM.2 TRIM.1 TRIM.0 WDCON#
Special function registers table P89LPC908
KB2 KB6 KB5 KB4
TL0
Memory Organization
Data
SFR
Code
Enhanced CPU
Clock Definitions
CPU Clock Oscclk
LOW Speed Oscillator Option P89LPC906
Oscillator Option SELECTION- P89LPC906
Clock Output P89LPC906
ON-CHIP RC Oscillator Option
Watchdog Oscillator Option
CPU Clock Cclk Wakeup Delay
BIT Symbol Function
External Clock Input Option P89LPC906
CPU Clock Cclk Modification Divm Register
LOW Power Select P89LPC906
High freq
Med freq
Low freq
CPU
Clocks
Flag Bits Address Enable Bits Priority Ranking
Interrupt Priority Structure
Summary of Interrupts P89LPC906 Description
Interrupt Arbitration
External Interrupt Inputs
External Interrupt PIN Glitch Suppression
Summary of Interrupts P89LPC907,P89LPC908 Description
TI & RI
Bopd EBO Rtcf Kbif
Interrupts
Port Configurations
QUASI-BIDIRECTIONAL Output Configuration
Number of I/O Pins Available Clock Source Reset Option
RST
Open Drain Output Configuration
Port latch data
INPUT-ONLY Configuration
PUSH-PULL Output Configuration
Port 0 Analog Functions
Strong Port latch data Port pin Input data Glitch rejection
Port Output Configuration P89LPC907
Port Output Configuration P89LPC906
Port Output Configuration P89LPC908
Ports
Ports
Tmod
TMOD.7
TMOD.6
TMOD.3
Overflows. Mode
Mode
Tamod P89LPC907
TAMOD.7-1
Tcon
Pclk
T0C/T = Overflow TLn THn TFn Interrupt T0 Pin
T0C/T = Overflow
THn TFn
Pclk TL0
Timer Overflow Toggle Output P89LPC907
TR0 ENT0 Pclk TH0
Timers 0
REAL-TIME Clock Source
FOSC2 FOSC1 FOSC0 RTCS10
UCFG1.2 UCFG1.1 UCFG1.0 Cclk Frequency RTC Clock Frequency
Xclk
Divm Cclk
RC Oscillator/DIVM
WDT Oscillator/DIVM
Undefined
External clock/DIVM
Changing RTCS1-0
Reset Sources Affecting the REAL-TIME Clock
REAL-TIME Clock INTERRUPT/WAKE UP
Rtccon
REAL-TIME CLOCK/SYSTEM Timer
Brownout Detection
Power Reduction Modes
POWER-ON Detection
Brownout Options
Power Reduction Modes
Pcon
Pcona
Power Monitoring Functions
Uart
Modes
SFR Space
Baud Rate Generator and Selection
Updating the BRGR1 and BRGR0 Sfrs
SFR Locations for UARTs
Break Detect
Framing Error
Brgcon
Scon
More about Uart Mode
Sstat
Serial Port Mode 0 Double Buffering Must Be Disabled
Framing Error and RI in Modes 2 and 3 with SM2 =
FE and RI when SM2 = 1 in Modes 2
More about Uart Modes 2
PCON.6 RB8 SMOD0
Double Buffering
Double Buffering in Different Modes
9TH BIT BIT 8 in Double Buffering Modes 1, 2
Transmission with and without Double Buffering
Multiprocessor Communications
Automatic Address Recognition
Uart
Uart
POWER-ON Reset Code Execution
Block Diagram of Reset
Rstsrc
Comparator Configuration
Comparator and Power Reduction Modes
Internal Reference Voltage
Comparator Interrupt
CIN1A CO1 CMP1 Cmpref
Comparator Configuration Example
Analog Comparators
Kbpatn
Kbcon
Kbmask
Watchdog Function
Watchdog timer configuration
Wdte Wdse Function
Feed Sequence
Wdcon
P89LPC906/907/908 Watchdog Timeout Values
PRE2-PRE0
Watchdog Timer in Timer Mode
Prescaler Reset Pclk
Watchdog
Control register
Power Down Operation
Watchdog Clock Source
Prescaler
CLK
Watchdog Timer
Watchdog Timer
Dual Data Pointers
Software Reset
AUXR1
MOVCA, @A+DPTR
Move code byte relative to Dptr to the accumulator
MOVXA, @DPTR
MOVX@DPTR, a
Features
Using Flash AS Data Storage
General Description
Introduction to IAP-LITE
Flash Program Memory
Fmcon
Accessing Additional Flash Elements
Assembly language routine to erase/program all or part of a
Reading Additional Flash Elements
ERASE-PROGRAMMING Additional Flash Elements
UCFG1
Fmadrl
Conf
UCFG1
User Configuration Bytes
P89LPC906
User Security Bytes
SECx
Address xxxxh
Unprogrammed value 00h
Bootvec
Bootstat
Arithmetic
Logical
Mnemonic Description Bytes Cycles Hex Code
Data Transfer
Boolean
Branching
Reti
B8-BF
D8-DF
Miscellaneous
2003 Dec Initial release
104
Index
Dual Data Pointers
Port 0 12, 13
SFR
109
P89LPC906/907/908
Related pages
Troubleshooting for Homelite UT08921
Specifications for Snapper 7800849
Error message for Seagate DL585
Wiring Diagram Models 331 for Rheem 136-1826
Prepare spare batteries when going out for recording for Panasonic HC-V100
Climatizzazione Senza Installazione for DeLonghi Pac 1000
Parts List NO. M1870301004C for Multiquip dca25ssiu3
Using the language code list for Pioneer XV-DV370
Top
Page
Image
Contents