The information herein is given to describe certain components and shall not be considered as a guarantee of
characteristics.
Terms of delivery and rights to technical change reserved.
We hereby disclaim any and all warranties, including but not limited to warranties of non-infringement, regarding
circuits, descriptions and charts stated herein.
Information
For further information on technology, delivery terms and conditions and prices please contact your nearest
Infineon Technologies Office (www.infineon.com).
Warnings
Due to technical requirements components may contain dangerous substances. For information on the types in
question please contact your nearest Infineon Technologies Office.
Infineon Technologies Components may only be used in life-support devices or systems with the express written
approval of Infineon Technologies, if a failure of such components can reasonably be expected to cause the failure
of that life-support device or system, or to affect the safety or effectiveness of that device or system. Life support
devices or systems are intended to be implanted in the human body, or to support and/or maintain and sustain
and/or protect human life. If they fail, it is reasonable to assume that the health of the user or other persons may
be endangered.
Data Sheet, V1.1, Dec. 2006
XC866
8-Bit Single-Chip Microcontroller
Microcontrollers
XC866 Data Sheet
Revision History:2006-12V1.1
Previous Version: V 0.1, 2005-01
V1.0, 2006-02
PageSubjects (major changes since last revision)
3Table 2 is updated for variant devices.
38Table 16 is updated for Flash data retention and endurance targets.
58Section 3.8.1 is updated for the recommended external oscillator circuitry.
93The ADC INL, DNL, GAIN and OFFSET are added.
103Table 43 is updated for on-chip oscillator characteristics.
104TCK clock rise time, TCK clock fall time, TDO valid output from TCK and
TDO high impedance to valid output from TCK are updated.
107Table 47 is added for thermal characteristics of the package.
We Listen to Your Comments
Any information within this document that you feel is wrong, unclear or missing at all?
Your feedback will help us to continuously improve the quality of this document.
Please send your proposal (including a reference to this document) to:
mcdocu.comments@infineon.com
XC8668-Bit Single-Chip Microcontroller
XC800 Family
1Summary of Features
• High-performance XC800 Core
– compatible with standard 8051 processor
– two clocks per machine cycle architecture (for memory access without wait state)
– two data pointers
• On-chip memory
– 8 Kbytes of Boot ROM
– 256 bytes of RAM
– 512 bytes of XRAM
– 4/8/16 Kbytes of Flash; or
8/16 Kbytes of ROM, with additional 4 Kbytes of Flash
(includes memory protection strategy)
• I/O port supply at 3.3 V/5.0 V and core logic supply at 2.5 V (generated by embedded
voltage regulator)
• On-chip OSC and PLL for clock generation
– PLL loss-of-lock detection
• Power saving modes
– slow-down mode
– idle mode
– power-down mode with wake-up capability via RXD or EXINT0
– clock gating control to each peripheral
• Programmable 16-bit Watchdog Timer (WDT)
• Four ports
– 19 pins as digital I/O
– 8 pins as digital/analog input
• 8-channel, 10-bit ADC
• Three 16-bit timers
– Timer 0 and Timer 1 (T0 and T1)
–Timer 2
• Capture/compare unit for PWM signal generation (CCU6)
• Full-duplex serial interface (UART)
• Synchronous serial channel (SSC)
• On-chip debug support
– 1 Kbyte of monitor ROM (part of the 8-Kbyte Boot ROM)
– 64 bytes of monitor RAM
• PG-TSSOP-38 pin package
• Temperature range T
:
A
– SAF (-40 to 85 °C)
– SAK (-40 to 125 °C)
XC866
Summary of Features
Data Sheet2 V1.1, 2006-12
XC866
Summary of Features
XC866 Variant Devices
The XC866 product family features devices with different configurations and program
memory sizes, temperature and quality profiles (Automotive or Industrial), offering costeffective solution for different application requirements.
The configuration of LIN BSL for XC866 devices are summarized in Table 1.
Table 1Device Configuration for LIN BSL
Device NameLIN BSL Support
XC866No
XC866LYes
The list of XC866 devices and their differences are summarized in Table 2.
Table 2Device Summary
Device
Type
Flash2)SAK-XC866*-4FRA5.0124–Automotive
Device NamePower
Supply
(V)
P-Flash
Size
(Kbytes)
D-Flash
Size
(Kbytes)
ROM
Size
(Kbytes)
Quality
Profile
1)
SAK-XC866*-4FRI5.0124–Industrial
SAK-XC866*-2FRA5.044–Automotive
SAK-XC866*-2FRI5.044–Industrial
SAK-XC866*-1FRA5.0/3.3 –4–Automotive
SAK-XC866*-1FRI5.0/3.3 –4–Industrial
SAF-XC866*-4FRA5.0124–Automotive
SAF-XC866*-4FRI5.0124–Industrial
SAF-XC866*-2FRA5.044–Automotive
SAF-XC866*-2FRI5.044–Industrial
SAF-XC866*-1FRA5.0/3.3 –4–Automotive
SAF-XC866*-1FRI5.0/3.3 –4–Industrial
SAK-XC866*-4FRA 3V 3.3124–Automotive
SAK-XC866*-4FRI 3V 3.3124–Industrial
SAK-XC866*-2FRA 3V 3.344–Automotive
SAK-XC866*-2FRI 3V 3.344–Industrial
SAF-XC866*-4FRA 3V 3.3124–Automotive
Data Sheet3 V1.1, 2006-12
XC866
Summary of Features
Table 2Device Summary
SAF-XC866*-4FRI 3V 3.3124–Industrial
SAF-XC866*-2FRA 3V 3.344–Automotive
SAF-XC866*-2FRI 3V 3.344–Industrial
ROMSAK-XC866*-4RRA5.0/3.3 –416Automotive
SAK-XC866*-4RRI5.0/3.3 –416Industrial
SAK-XC866*-2RRA5.0/3.3 –48Automotive
SAK-XC866*-2RRI5.0/3.3 –48Industrial
SAF-XC866*-4RRA5.0/3.3 –416Automotive
SAF-XC866*-4RRI5.0/3.3 –416Industrial
SAF-XC866*-2RRA5.0/3.3 –48Automotive
SAF-XC866*-2RRI5.0/3.3 –48Industrial
1)
Industrial is not for Automotive usage
2)
The flash memory (P-Flash and D-Flash) can be used for code or data.
Note: The asterisk (*) above denotes the device configuration letters from Table 1.
Ordering Information
The ordering code for Infineon Technologies microcontrollers provides an exact
reference to the required product. This ordering code identifies:
• The derivative itself, i.e. its function set, the temperature range, and the supply voltage
• the package and the type of delivery
For the available ordering codes for the XC866, please refer to your responsible sales
representative or your local distributor.
As this document refers to all the derivatives, some descriptions may not apply to a
specific product. For simplicity all versions are referred to by the term XC866 throughout
this document.
Port 1 is a 5-bit bidirectional general purpose I/O
port. It can be used as alternate functions for the
JTAG, CCU6, UART, and the SSC.
P1.027PURXD_0UART Receive Data Input
T2EXTimer 2 External Trigger Input
P1.128PUEXINT3External Interrupt Input 3
TDO_1JTAG Serial Data Output
TXD_0UART Transmit Data Output/
Clock Output
P1.529PUCCPOS0_1 CCU6 Hall Input 0
EXINT5External Interrupt Input 5
EXF2_0TImer 2 External Flag Output
RXDO_0UART Transmit Data Output
P1.69PUCCPOS1_1 CCU6 Hall Input 1
T12HR_0CCU6 Timer 12 Hardware Run
Input
EXINT6External Interrupt Input 6
P1.710PUCCPOS2_1 CCU6 Hall Input 2
T13HR_0CCU6 Timer 13 Hardware Run
Input
P1.5 and P1.6 can be used as a software chip
select output for the SSC.
XC866
Data Sheet9 V1.1, 2006-12
General Device Information
Table 3Pin Definitions and Functions (cont’d)
Symbol Pin
Number
Type Reset
State
Function
P2IPort 2
Port 2 is an 8-bit general purpose input-only port. It
can be used as alternate functions for the digital
inputs of the JTAG and CCU6. It is also used as the
analog inputs for the ADC.
P2.015Hi-ZCCPOS0_0 CCU6 Hall Input 0
EXINT1External Interrupt Input 1
T12HR_2CCU6 Timer 12 Hardware Run
Port 3 is a bidirectional general purpose I/O port. It
can be used as alternate functions for the CCU6.
CC60_0Input/Output of Capture/Compare
channel 0
CC61_2Input/Output of Capture/Compare
channel 1
COUT60_0 Output of Capture/Compare
channel 0
CC61_0Input/Output of Capture/Compare
channel 1
channel 1
channel 2
channel 2
CCU6 Trap Input
COUT63_0 Output of Capture/Compare
channel 3
Data Sheet11 V1.1, 2006-12
General Device Information
Table 3Pin Definitions and Functions (cont’d)
Symbol Pin
Number
V
V
V
V
V
V
DDP
SSP
DDC
SSC
AREF
AGND
18––I/O Port Supply (3.3 V/5.0 V)
19––I/O Port Ground
8––Core Supply Monitor (2.5 V)
7––Core Supply Ground
25––ADC Reference Voltage
24––ADC Reference Ground
Type Reset
State
Function
XTAL16IHi-ZExternal Oscillator Input
(NC if not needed)
XTAL25OHi-ZExternal Oscillator Output
(NC if not needed)
TMS11IPDTest Mode Select
RESET
38IPUReset Input
MBC1IPUMonitor & BootStrap Loader Control
XC866
Data Sheet12 V1.1, 2006-12
XC866
Functional Description
3Functional Description
3.1Processor Architecture
The XC866 is based on a high-performance 8-bit Central Processing Unit (CPU) that is
compatible with the standard 8051 processor. While the standard 8051 processor is
designed around a 12-clock machine cycle, the XC866 CPU uses a 2-clock machine
cycle. This allows fast access to ROM or RAM memories without wait state. Access to
the Flash memory, however, requires an additional wait state (one machine cycle). The
instruction set consists of 45% one-byte, 41% two-byte and 14% three-byte instructions.
The XC866 CPU provides a range of debugging features, including basic stop/start,
single-step execution, breakpoint support and read/write access to the data memory,
program memory and SFRs.
Figure 5 shows the CPU functional blocks.
Internal Data
Memory
External SFRs
External Data
Memory
Core SFRs
Regist er Int erfac e
Program Memory
f
CCLK
Memory Wait
Reset
Legacy Exter nal Interrupts (IEN0, IEN1)
External Interrupts
Non-Maskable Interrupt
16-bit R egis t ers &
Memory Interface
Opcode &
Imm ediate
Registers
Opcode D ecoder
State Mac hine &
Power Saving
Interrupt
Cont roller
ALU
Mult ipli er / D iv ider
Timer 0 / Timer 1
UART
Figure 5CPU Block Diagram
Data Sheet13 V1.1, 2006-12
Functional Description
3.2Memory Organization
The XC866 CPU operates in the following five address spaces:
• 8 Kbytes of Boot ROM program memory
• 256 bytes of internal RAM data memory
• 512 bytes of XRAM memory
(XRAM can be read/written as program memory or external data memory)
• a 128-byte Special Function Register area
• 4/8/16 Kbytes of Flash program memory (Flash devices); or
8/16 Kbytes of ROM program memory, with additional 4 Kbytes of Flash
(ROM devices)
Figure 6 illustrates the memory address spaces of the XC866-4FR device.
XC866
FFFF
H
F200
XRAM
512 bytes
Boot RO M
8 Kby tes
D-Fl ash Bank
1)
4 Kbytes
P-F lash B ank 2
2)
4 Kbytes
P-F lash B ank 1
2)
4 Kbytes
P-F lash B ank 0
1)
4 Kbytes
Progr am SpaceExt ernal Data S paceInternal Data S pace
1) For X C866-1FR devic e, physical ly one 4KB yte D-Flas h bank is mapped to both address range 0000H - 0FFFH and A 000H - AFFFH,
and the shaded banks are not availabl e.
2) For X C866-2FR devic e, the shaded banks are not av ailable.
F000
E000
C000
B000
A000
3000
2000
1000
0000
H
H
H
H
H
H
H
H
H
H
XRAM
512 bytes
FFFF
F200
F000
0000
H
H
H
Indirec t
Address
Internal RA M
7F
H
Internal RA M
H
00
H
Direct
Address
Speci al Function
Register s
Figure 6Memory Map of XC866 Flash Devices
FF
H
80
H
Data Sheet14 V1.1, 2006-12
Functional Description
Figure 7 illustrates the memory address spaces of the XC866-4RR device.
FFFF
H
XC866
XRAM
512 Bytes
Boot ROM
8 KBytes
Flash (4K-X bytes)
User ROM (X bytes)
Total 4 KByte s
User RO M
4 KB ytes
User RO M
8 KBytes
2)
1)
F200
F000
E000
C000
B000
A000
3000
2000
0000
H
H
H
H
H
H
H
H
H
XRAM
512 Bytes
F200
F000
0000
H
H
Indirec t
Addres s
Internal RAM
7F
H
H
00
H
Code S paceEx ternal Data SpaceInternal Data Space
1) For XC866-2RR device, the shaded area is not available and Flash is 4 Kbytes.
2) For XC866-4RR device: ROM = (12+X) KBytes, Flash = (4-X) Kbytes.
Special Function
Internal RAM
Direct
Addr ess
Regis ters
Memory Map User Mode
FF
H
80
H
Figure 7Memory Map of XC866 ROM Devices
Data Sheet15 V1.1, 2006-12
XC866
Functional Description
3.2.1Memory Protection Strategy
The XC866 memory protection strategy includes:
• Read-out protection: The Flash Memory can be enabled for read-out protection and
ROM memory is always protected.
• Program and erase protection: The Flash memory in all devices can be enabled for
program and erase protection.
Flash memory protection is available in two modes:
• Mode 0: Only the P-Flash is protected; the D-Flash is unprotected
• Mode 1: Both the P-Flash and D-Flash are protected
The selection of each protection mode and the restrictions imposed are summarized in
Table 4.
Table 4Flash Protection Modes
Mode01
ActivationProgram a valid password via BSL mode 6
SelectionMSB of password = 0MSB of password = 1
P-Flash contents
can be read by
P-Flash program
and erase
D-Flash contents
can be read by
D-Flash program PossibleNot possible
D-Flash erasePossible, on the condition that bit
Read instructions in the
P-Flash
Not possibleNot possible
Read instructions in any program
memory
DFLASHEN in register MISC_CON
is set to 1 prior to each erase
operation
Read instructions in the
P-Flash or D-Flash
Read instructions in the
P-Flash or D-Flash
Not possible
BSL mode 6, which is used for enabling Flash protection, can also be used for disabling
Flash protection. Here, the programmed password must be provided by the user. A
password match triggers an automatic erase of the read-protected Flash contents, see
Table 5 and Table 6, and the programmed password is erased. The Flash protection is
then disabled upon the next reset.
For XC866-2FR and XC866-4FR devices:
The selection of protection type is summarized in Table 5.
Data Sheet16 V1.1, 2006-12
Functional Description
Table 5Flash Protection Type for XC866-2FR and XC866-4FR devices
PASSWORDType of ProtectionFlash Banks to Erase when
Unprotected
1XXXXXXX
0XXXXXXX
B
B
Flash Protection Mode 1All Banks
Flash Protection Mode 0P-Flash Bank
For XC866-1FR device and ROM devices:
The selection of protection type is summarized in Table 6.
Table 6Flash Protection Type for XC866-1FR device and ROM devices
EraseSector 0
EraseSector 0 and 1
EraseSector 0 to 2
EraseSector 0 to 3
EraseSector 0 to 4
EraseSector 0 to 5
EraseSector 0 to 6
EraseSector 0 to 7
EraseSector 0 to 8
EraseAll Sectors
OthersEraseNone
Although no protection scheme can be considered infallible, the XC866 memory
protection strategy provides a very high level of protection for a general purpose
microcontroller.
Data Sheet17 V1.1, 2006-12
XC866
Functional Description
3.2.2Special Function Register
The Special Function Registers (SFRs) occupy direct internal data memory space in the
range 80
to FFH. All registers, except the program counter, reside in the SFR area. The
H
SFRs include pointers and registers that provide an interface between the CPU and the
on-chip peripherals. As the 128-SFR range is less than the total number of registers
required, address extension mechanisms are required to increase the number of
addressable SFRs. The address extension mechanisms include:
• Mapping
• Paging
3.2.2.1Address Extension by Mapping
Address extension is performed at the system level by mapping. The SFR area is
extended into two portions: the standard (non-mapped) SFR area and the mapped SFR
area. Each portion supports the same address range 80
of addressable SFRs to 256. The extended address range is not directly controlled by
the CPU instruction itself, but is derived from bit RMAP in the system control register
SYSCON0 at address 8F
. To access SFRs in the mapped area, bit RMAP in SFR
H
SYSCON0 must be set. Alternatively, the SFRs in the standard area can be accessed
by clearing bit RMAP. The SFR area can be selected as shown in Figure 8.
SYSCON0
System Control Register 0 Reset Value: 00
765432 10
to FFH, bringing the number
H
H
010RMAP
rrwrrw
FieldBitsType Description
RMAP0rwSpecial Function Register Map Control
0The access to the standard SFR area is
enabled.
1The access to the mapped SFR area is
enabled.
12rwReserved
Returns the last value if read; should be written
with 1.
01,[7:3] rReserved
Returns 0 if read; should be written with 0.
Data Sheet18 V1.1, 2006-12
XC866
Functional Description
Note: The RMAP bit must be cleared/set by ANL or ORL instructions. The rest bits of
SYSCON0 should not be modified.
As long as bit RMAP is set, the mapped SFR area can be accessed. This bit is not
cleared automatically by hardware. Thus, before standard/mapped registers are
accessed, bit RMAP must be cleared/set, respectively, by software.
SFR Data
(to/from CPU)
SYSCON0.RMAP
rw
Standard Area (R MAP = 0)
Module 1 SFRs
Module 2 SFRs
…...
Module n SFRs
Mapped Area (RMAP = 1)
Module (n+1) SFRs
Module (n+2) SFRs
…...
Module m SFRs
FF
H
80
H
FF
H
80
H
Direct
Internal Data
Memory Address
Figure 8Address Extension by Mapping
Data Sheet19 V1.1, 2006-12
XC866
Functional Description
3.2.2.2Address Extension by Paging
Address extension is further performed at the module level by paging. With the address
extension by mapping, the XC866 has a 256-SFR address range. However, this is still
less than the total number of SFRs needed by the on-chip peripherals. To meet this
requirement, some peripherals have a built-in local address extension mechanism for
increasing the number of addressable SFRs. The extended address range is not directly
controlled by the CPU instruction itself, but is derived from bit field PAGE in the module
page register MOD_PAGE. Hence, the bit field PAGE must be programmed before
accessing the SFR of the target module. Each module may contain a different number
of pages and a different number of SFRs per page, depending on the specific
requirement. Besides setting the correct RMAP bit value to select the SFR area, the user
must also ensure that a valid PAGE is selected to target the desired SFR. A page inside
the extended address range can be selected as shown in Figure 9.
SFR Address
(from CPU)
MOD_PAGE.PAGE
rw
PAGE 0
SFR0
SFR1
…...
SFRx
PAGE 1
SFR Data
(to/from CPU )
SFR0
SFR1
…...
SFRy
…...
PAGE q
SFR0
SFR1
…...
SFRz
Module
Figure 9Address Extension by Paging
Data Sheet20 V1.1, 2006-12
XC866
Functional Description
In order to access a register located in a page different from the actual one, the current
page must be left. This is done by reprogramming the bit field PAGE in the page register.
Only then can the desired access be performed.
If an interrupt routine is initiated between the page register access and the module
register access, and the interrupt needs to access a register located in another page, the
current page setting can be saved, the new one programmed and finally, the old page
setting restored. This is possible with the storage fields STx (x = 0 - 3) for the save and
restore action of the current page setting. By indicating which storage bit field should be
used in parallel with the new page value, a single write operation can:
• Save the contents of PAGE in STx before overwriting with the new value
(this is done in the beginning of the interrupt routine to save the current page setting
and program the new page number); or
• Overwrite the contents of PAGE with the contents of STx, ignoring the value written to
the bit positions of PAGE
(this is done at the end of the interrupt routine to restore the previous page setting
before the interrupt occurred)
ST3
ST2
ST1
ST0
STNR
value update
from CPU
PAGE
Figure 10Storage Elements for Paging
With this mechanism, a certain number of interrupt routines (or other routines) can
perform page changes without reading and storing the previously used page information.
The use of only write operations makes the system simpler and faster. Consequently,
this mechanism significantly improves the performance of short interrupt routines.
The XC866 supports local address extension for:
• Parallel Ports
• Analog-to-Digital Converter (ADC)
• Capture/Compare Unit 6 (CCU6)
• System Control Registers
Data Sheet21 V1.1, 2006-12
XC866
Functional Description
The page register has the following definition:
MOD_PAGE
Page Register fo r mod ule M OD Reset V alue : 00
765432 10
OPSTNR0PAGE
wwr rw
FieldBitsType Description
PAGE[2:0]rwPage Bits
When written, the value indicates the new page.
When read, the value indicates the currently active
page.
STNR[5:4]wStorage Number
This number indicates which storage bit field is the
target of the operation defined by bit field OP.
If OP = 10B,
the contents of PAGE are saved in STx before being
overwritten with the new value.
If OP = 11
the contents of PAGE are overwritten by the
contents of STx. The value written to the bit positions
of PAGE is ignored.
,
B
H
00ST0 is selected.
01ST1 is selected.
10ST2 is selected.
11ST3 is selected.
Data Sheet22 V1.1, 2006-12
FieldBitsType Description
OP[7:6]wOperation
0XManual page mode. The value of STNR is
ignored and PAGE is directly written.
10New page programming with automatic page
saving. The value written to the bit positions of
PAGE is stored. In parallel, the previous
contents of PAGE are saved in the storage bit
field STx indicated by STNR.
11Automatic restore page action. The value
written to the bit positions PAGE is ignored
and instead, PAGE is overwritten by the
contents of the storage bit field STx indicated
by STNR.
03r Reserved
Returns 0 if read; should be written with 0.
XC866
Functional Description
Data Sheet23 V1.1, 2006-12
XC866
Functional Description
3.2.3Bit Protection Scheme
The bit protection scheme prevents direct software writing of selected bits (i.e., protected
bits) using the PASSWD register. When the bit field MODE is 11
bit field PASS opens access to writing of all protected bits, and writing 10101B to the bit
field PASS closes access to writing of all protected bits. Note that access is opened for
maximum 32 CCLKs if the “close access” password is not written. If “open access”
password is written again before the end of 32 CCLK cycles, there will be a recount of
32 CCLK cycles. The protected bits include NDIV, WDTEN, PD, and SD.
PASSWD
Password RegisterReset Value: 07
76543210
PASS
whrhrw
PROTECT
FieldBitsType Description
MODE[1:0] rwBit Protection Scheme Control bits
00Scheme Disabled
11Scheme Enabled (default)
Others: Scheme Enabled
These two bits cannot be written directly. To change
the value between 11B and 00B, the bit field PASS
must be written with 11000
MODE[1:0] be registered.
PROTECT_S2rhBit Protection Signal Status bit
This bit shows the status of the protection.
0Software is able to write to all protected bits.
1Software is unable to write to any protected
bits.
PASS[7:3]whPassword bits
The Bit Protection Scheme only recognizes three
patterns.
11000BEnables writing of the bit field MODE.
10011BOpens access to writing of all protected bits.
10101BCloses access to writing of all protected bits.
, writing 10011B to the
B
_S
; only then, will the
B
MODE
H
Data Sheet24 V1.1, 2006-12
XC866
Functional Description
3.2.4XC866 Register Overview
The SFRs of the XC866 are organized into groups according to their functional units. The
contents (bits) of the SFRs are summarized in Table 7 to Table 15, with the addresses
of the bitaddressable SFRs appearing in bold typeface.
The CPU SFRs can be accessed in both the standard and mapped memory areas
(RMAP = 0 or 1).
Table 7CPU Register Overview
AddrRegister NameBit76543210
RMAP = 0 or 1
SPReset: 07
81
H
Stack Pointer Register
DPLReset: 00
82
H
Data Pointer Register Low
DPHReset: 00
83
H
Data Pointer Register High
PCONReset: 00
87
H
Power Control Register
TCONReset: 00
88
H
Timer Control Register
TMODReset: 00
89
H
Timer Mode Register
TL0Reset: 00
8A
H
Timer 0 Register Low
TL1Reset: 00
8B
H
Timer 1 Register Low
TH0Reset: 00
8C
H
Timer 0 Register High
TH1Reset: 00
8D
H
Timer 1 Register High
SCONReset: 00
98
H
Serial Channel Control Register
SBUFReset: 00
99
H
Serial Data Buffer Register
EOReset: 00
A2
H
Extended Operation Register
IEN0Reset: 00
A8
H
Interrupt Enable Register 0
IPReset: 00
B8
H
Interrupt Priority Register
IPHReset: 00
B9
H
Interrupt Priority Register High
PSWReset: 00
D0
H
Program Status Word Register
ACCReset: 00
E0
H
Accumulator Register
IEN1Reset: 00
E8
H
Interrupt Enable Register 1
Bit Field
H
Typerw
Bit FieldDPL7 DPL6 DPL5 DPL4 DPL3 DPL2 DPL1 DPL0
H
Typerwrwrwrwrwrwrwrw
Bit FieldDPH7 DPH6 DPH5 DPH4 DPH3 DPH2 DPH1 DPH0
H
Typerwrwrwrwrwrwrwrw
Bit FieldSMOD0GF1GF00IDLE
H
Typerwrrwrwrrw
Bit FieldTF1TR1TF0TR0IE1IT1IE0IT0
H
Typerwhrwrwhrwrwhrwrwhrw
Bit Field GATE10T1MGATE00T0M
H
Typerwrrwrwrrw
Bit FieldVAL
H
Typerwh
Bit FieldVAL
H
Typerwh
Bit FieldVAL
H
Typerwh
Bit FieldVAL
H
Typerwh
Bit Field
H
Typerwrwrwrwrwrwhrwhrwh
Bit Field
H
Typerwh
Bit Field
H
SM0 SM1SM2 RENTB8RB8TIRI
0TRAP_
Typerrwrrw
Bit FieldEA0ET2ESET1EX1ET0EX0
H
Type rw r rwrwrwrwrwrw
Bit Field0PT2PSPT1PX1PT0PX0
H
Typerrwrwrwrwrwrw
Bit Field
H
Typerrwrwrwrwrwrw
Bit FieldCYACF0RS1RS0OVF1P
H
Typerwrwhrwhrwrwrwhrwhrh
Bit FieldACC7 ACC6 ACC5 ACC4 ACC3 ACC2 ACC1 ACC0
H
Typerwrwrwrwrwrwrwrw
Bit Field ECCIP3ECCIP2ECCIP1ECCIP0EXMEX2 ESSC EADC
H
0PT2H PSH PT1H PX1H PT0H PX0H
Typerwrwrwrwrwrwrwrw
EN
SP
VAL
0DPSEL
0
Data Sheet25 V1.1, 2006-12
XC866
Functional Description
Table 7CPU Register Overview (cont’d)
AddrRegister NameBit76543210
BReset: 00
F0
H
B Register
IP1Reset: 00
F8
H
Interrupt Priority Register 1
IPH1Reset: 00
F9
H
Interrupt Priority Register 1 High
The system control SFRs can be accessed in the standard memory area (RMAP = 0).
Table 8System Control Register Overview
AddrRegister NameBit 76543210
RMAP = 0 or 1
SYSCON0Reset: 00
8F
H
System Control Register 0
RMAP = 0
SCU_PAGEReset: 00
BF
H
Page Register for System Control
RMAP = 0, Page 0
MODPISELReset: 00
B3
H
Peripheral Input Select Register
B4HIRCON0Reset: 00
Interrupt Request Register 0
IRCON1Reset: 00
B5
H
Interrupt Request Register 1
EXICON0Reset: 00
B7
H
External Interrupt Control Register 0
EXICON1Reset: 00
BA
H
External Interrupt Control Register 1
NMICONReset: 00
BB
H
NMI Control Register
BCHNMISRReset: 00
NMI Status Register
BCONReset: 00
BD
H
Baud Rate Control Register
BGReset: 00
BE
H
Baud Rate Timer/Reload Register
FDCONReset: 00
E9
H
Fractional Divider Control Register
FDSTEPReset: 00
EA
H
Fractional Divider Reload Register
FDRESReset: 00
EB
H
Fractional Divider Result Register
RMAP = 0, Page 1
Bit FieldB7B6B5B4B3B2B1B0
H
Typerwrwrwrwrwrwrwrw
Bit Field PCCIP3PCCIP2PCCIP1PCCIP0PXMPX2 PSSC PADC
H
Typerwrwrwrwrwrwrwrw
Bit Field PCCIP3HPCCIP2HPCCIP1HPCCIP0HPXMH PX2H PSSCH PADC
H
Typerwrwrwrwrwrwrwrw
Bit Field0RMAP
H
Typerrw
Bit FieldOPSTNR0PAGE
H
Typewwrrw
Bit Field0JTAG
H
TDIS
JTAG
TCKS
0EXINT
0IS
Typerrwrwrrwrw
Bit Field0EXINT6EXINT5EXINT4EXINT3EXINT2EXINT1EXINT
H
Typerrwhrwhrwhrwhrwhrwhrwh
Bit Field0ADCS
H
RC1
ADCS
RC0
RIRTIREIR
Typerrwhrwhrwhrwhrwh
Bit FieldEXINT3EXINT2EXINT1EXINT0
H
Typerwrw
Bit Field
H
Typerrwrwrw
Bit Field
H
0EXINT6EXINT5EXINT4
0NMI
ECC
NMI
VDDP
NMI
VDD
Typerrwrwrw
H
Bit Field
0FNMI
ECC
FNMI
VDDP
FNMI
VDD
Typerrwhrwhrwh
Bit FieldBGSEL0BRENBRPRER
H
Typerwrrwrwrw
Bit Field
H
Typerw
Bit Field
H
BGS SYNEN ERRSYNEOFSYNBRK NDOV FDM FDEN
BR_VALUE
Typerwrwrwhrwh
Bit FieldSTEP
H
Typerw
Bit FieldRESULT
H
Typerh
rwrw
NMI
NMI
FLASH
NMI
PLL
OCDS
rwrwrwrw
FNMI
FNMI
FLASH
FNMI
PLL
OCDS
rwhrwhrwhrwh
rwhrwhrwrw
H
URRIS
0
NMI
WDT
FNMI
WDT
Data Sheet26 V1.1, 2006-12
Loading...
+ 84 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.