The 8xC251Tx may contain design defects or err ors known as errata which may cause
the product to deviate from published specifications. Such errata are not covered by
Intel's warranty. Current characterized errata are available on request.
Information in this document is provided in connection with Intel products. No license, express or implied, by
estopp el or otherwise, to an y intellectual property rights is granted by this document. Except as provid ed in Intel's
Term s and C onditi ons of S ale for s uch pr oducts , Intel assumes no liab ility whatsoev er, and Inte l discl aims an y
expres s or implied w arranty, relati ng to sale and/or use of Intel produ c ts including liability or warranties relating to
fitnes s for a particul ar purpose, me rchantabilit y, or inf ringement of any patent, copyright or other intellectua l
propert y ri ght. Inte l pro duc ts are no t in tend ed for us e in me dic al, lif e sav ing, or lif e sus tai ning appli cati ons. Inte l
may make changes to specifications and product descriptions at any time, without notice. Contact your local Intel
sales office or your distributor t o obtain the latest specifications and before placing your product order.
Design ers mu st not r ely on the absenc e or cha racter istics of any fe atures o r instru ctio ns marke d "rese rved" or
"undefined." Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or
incompatibilities arising from future changes to them.
The 8x C251Tx ma y contai n desi gn def ects o r error s kno wn as er rata w hich m ay cau se the produ ct to de viat e
from published specifications. Current characterized er rata are av ailable on request.
Copies of documents which have an ordering number and are referenced in this document, or other Intel
literature, may be obtained from:
Table 1.8xC251Tx Signal Summary................................................................................. 2
Table 2.8xC251Tx Signal Descriptions......... .................................... ................................ 3
Table 3.Special Function Register (SFR) Map.................................................................. 6
Table 4.Second Serial I/O Port Signals ............................................................................ 7
Table 5.Second Serial I/O Port Special Function Registers.............................................. 8
Table 6.SCON1 Special Function Register Definitions ..................................................... 9
Table 7.BGCON S pe c ia l F unc tion Regis te r D e fin it i o ns ................. .. ... ......... ... .......... .. .... 10
Table 8.IE1 Spec ia l F unc tion Regist e r D ef in itions... .......... .. .......... .. ... ......... ... .......... .. .... 11
Table 9.IPH1 Spe c ia l F unc tion Regist e r D ef in it io n s ............ .. ... .......... .. .......... .. .......... .. .. 11
Table 10.IPL1 Spe c ia l Fun c tio n R eg i st er De f in itions. .......... .. .......... .. ... ......... ... .......... .. .... 11
Table 11.Interru p t P rio r it y of Se c o nd S er ia l I/O Port....... .. ... ......... ... ......... ... .......... .. ... ...... 11
Table 12.UCONFIG1 bit definitions for the 8xC251Tx...................................................... 12
Table 13.Summary of the EDF# and WSB#[1:0] Configuration Options........................... 13
273138-002 December 2003 v
8xC251 Tx Hardware Description
vi December 2003 273138-002
1.0 INTRODUCTION TO THE 8xC251Tx
8xC251Tx Hardware Description
This Har dware Des criptio n describ es the 8x C251TB, 8xC25 1TQ (referred to collec tively as the 8xC 251Tx)
embedded microcontroller, which is the newest member of the MCS
®
251 microcontroller family. The
8xC251Tx is pin and code compatible with the 8xC251Sx but is enhanced wi th the additio n of new features.
This document addresses the differences between the two members of the MCS 251 microcontroller family.
For a detailed description of the MCS
251 microcontroller core and standard peripherals shared by both the
8xC251Sx and 8xC251Tx, please refer to the 8xC251SA, 8xC251SB, 8xC251SP, 8xC251SQ Embedded Microcontroller User’s Manual (272795).
1.1Comparing the 8xC251Tx and 8xC251Sx
The differences between the 8xC251Tx and the 8xC251Sx are briefly described here.
• The maximum operating frequency of the 8xC251Tx is 24 Mhz compared to 16 MHz for the 8xC251Sx.
• The 8xC251Tx has two serial I/O ports while the 8xC251Sx has one. The pins for the second serial I/O
port are multiplexed with other functional pin s .
• The 8xC251Tx has a new co nf iguration option (Ext e nd ed Data Fl oa t tim ing) to allow interfacing w ith
slower me mories. This feature is supp orted by a bit in the configuration byte, UCONFIG1. The corre
sponding bit in the 8xC251Sx has a different function.
• The 8xC251Tx is offered in with factory programmed ROM while the 8xC251Sx is also offered with
P3.2/INT0#1412Bus Control & Status
P3.3/INT1#1513NamePLCCDIP
EA#3531P3.6/WR#1816
RST109P3.7/RD#/A161917
XTAL12118ALE3330
XTAL22019PSEN#3229
NOTE: Pins in this font indicate function s associated with the second serial I/O port.
4440
12
2220
1
23,24
2
8xC251Tx Hardware Description
T able 2. 8xC251Tx Sign al Des cr iptions (Sh e et 1 of 3)
Signal
Name
A17OAddres s Li ne 17. Output to memory as the 18th external address bit
A16OAddress Line 16. See RD#.P3.7/RD#
A15:8*OAddress Lines. Upper address lines for the external bus.P2.7:0
A7:0I/OAddress/Data Lines. Multiplexed lower address lines and data lines
ALEOAddress Latch Enable. ALE signals the start of an external bus
CEX0
CEX1
CEX2
CEX3
CEX4
EA#IExternal Access. Direct program acces s es to on-chip or off-chip
ECIIPCA External Clock Input. External clock input to the 16 bit PCA
INT1:0#IExternal Interrup ts 0 and 1. These inputs set IE1:0 in the TCON
P0.7:0I/OPort 0. This is an 8 bit, open drain, bidirectional I/O port.AD7:0
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
P2.7:0I/OPort 2. This is an 8 bit, bidirectional I/O port with internal pullups.A15:8
* The descriptions of A15:8/P2.7:0 and AD7:0/P0.7:0 are for non page mode configuration. If configured in
page mode, Port 0 carries the lower address bits (A7:0) and Port 2 carries the upper address bits (A15:8)
and the data (D 7: 0)
TypeDescription
(A17) in extended bus applications, depending on the values of bits
RD0 and RD1 in configuration byte UCONFIG0 (see Chapter 4,
"Device Configuration," of t he 8xC251SA, 8xC251SB, 8xC251S P, 8xC251SQ Embedded Microcontroller User’s Manual (272795). See
also RD# and PSEN#.
for external bus.
cycle an d ind ic at e s tha t va lid add r es s inf o rm ati on is av ai labl e on li n es
A15:8 and A7:0. An external latch can use ALE to dem ultiplex the
address from the address/data bus.
I/OProgrammable Counter Array (PCA) input/output pins. These are
input signals for the PCA capture mode and output signals for the
PCA com pare mode and P CA PWM mode.
code memory. For EA# = 0, all program memory accesses are off
chip. For EA# = 1, all program memory accesses are on-chip if the
address is within the range of the on-chip program memory; other
wise the access is off-chip. The value of EA# is latched at reset. For
devic es without on-chip program memory, EA# mu st be strapped to
ground.
timer.
register. If bits IT1:0 in the TCON register are set, units IE1:0 are set
by the falling edge on the INT1#/INT0#. If bits IT1:0 are clear, bits
IE1:0 are set by a low level on INTO1:0# .
I/OPort 1. This is an 8 bit, bidirectional I/O port with internal pullups.T2
Table 2. 8xC251Tx Signal Descriptions (Sheet 2 of 3)
Signal
Name
P3.0
P3.1
P3.2
P3.3
P3.4
P3.5
P3.6
P3.7
TypeDescription
I/OPort 3. This is an 8 bit, bidirectional I/O port with internal pullupsRXD
Alternate
Function
TXD
INT0#
INT1#
T0
T1
WR#
RD#/A16
PSEN#OProgram Store Enable. Read sign al ou tp ut to ex te r na l me mo r y.
Asserted for the address range specified by the configuration byte
UCONFIG0, bits RD1:0.
RD#ORead. Read signal outp ut to externa l mem ory. Asserted for the
address range specified by the configuration byte UCONFIG0, bits
RD1:0.
P3.7/A16
RSTIReset. Reset input to the chip. Holding this pin high for 64 oscillator
period s whi le th e os cil lat or is ru nn in g res et s the de vi ce. The po r t pin s
are driven to their reset conditions when a voltage greater than VIH1
is applied, whether or not the oscillator is running. This signal has a
Schmitt trigger input. Connecting the RST pin to V
capacitor provides power-on reset. Asserting RST when the chip is in
idle mo de or powerdown mode returns the chip to normal operation.
RXDI/OReceive Seria l Data. RXD send an d r ecei ve s da t a in se r ial I /O mode
0 and receives data in serial I/O modes 1, 2 and 3.
RXD1I/ORe ceive Serial Data 1. RXD send and receives data in serial I/O
mode 0 and receives data in serial I/O modes 1, 2 and 3 for the sec
ond serial I/O port.
T1:0ITimer 1:0 External Clock Inputs. When Timer 1:0 op er a te s as a
through a
CC
P3.0
P1.2/ECI
-
P3.5:4
counter, a falling edge on the T1:0 pin increments the count.
T2I/OTimer 2 Clock Input/Output. For Timer 2 capture mode, this signal
is the external clock input. For the clock-out mode, it is the timer 2
P1.0
clock input.
T2EXITimer 2 External Input. In Timer 2 captur e mod e, a fal li ng edge ini-
tiates a capture of Timer 2 registers. In auto-reload mode, a falling
edge causes the Timer 2 registers to be reloaded. In the up-down
counter mode, this signal determi nes the count direction:
P1.1
• 1=up
• 0 = down.
TXDOTransmit Seria l D ata. TXD outputs the shift clock in serial I/O mode
TXD1OT ransmit Serial Data 1. TXD ou tputs the shift clock in serial I/O
V
CC
* The descriptions of A15:8/P2.7:0 and AD7:0/P0.7:0 are for non page mode configuration. If configured in
page mode, Port 0 carries the lower address bits (A7:0) and Port 2 carries the upper address bits (A15:8)
0 and transmits serial data in serial I/O modes 1, 2 and 3.
mode 0 and t r ansm it s se ria l dat a i n seri al I /O mode s 1 , 2 a nd 3 f o r th e
second serial I/O port.
PWRSupply Voltage. Connect this pin to the +5 supply voltage.
P3.1
P1.3/CEX0
and the data (D 7: 0)
4
8xC251Tx Hardware Description
Table 2. 8xC251Tx Signal Descriptions (Sheet 3 of 3)
Signal
Name
V
CC2
V
SS
V
SS1
V
SS2
WAIT#IReal-t im e W ai t S t a t e Inp u t. T he real - tim e WAIT# input is en abl e d by
TypeDescription
PWRSecondary Supply Voltage 2. This supply voltage connection is pro-
vided to reduce po w er supp ly noi se . Con ne cti on of this sp in to th e
+5V supply voltage is recommended. However, when using the ZX3
as a pin for pin replacement for the 8XC51FX, V
nected without loss of compatibility (Not available on DIP).
can be uncon-
CC2
GNDCircuit Ground. Connect this pin to ground.
GNDSecondary Ground. This ground is provided to reduce ground
bounce and improve power supply bypassing. C onnection of this pin
to ground is recommended. However, when usi ng the ZX3 as a pi n
for pin r epl ac em ent fo r the 8XC5 1F X, V
out loss of compatibility . (Not available in DIP).
can be unconnected with-
SS1
GNDSecondary Ground 2. This ground i s provided to re duce ground
bounce and improve power supply bypassing. C onnection of this pin
to ground is recommended. However, when usi ng the ZX3 as a pi n
for pin r epl ac em ent fo r the 8XC5 1F X, V
out loss of compatibility . (Not available in DIP).
can be unconnected with-
SS1
writing a logical "1" to the WCON.0 (RTWE) bit at S:A7H. During bus
cycles, the external memory system can signal ‘system ready’ to the
microprocessor in real time by controlling the WAIT# input sign al
WCLKOWait Clock Output. The real-time Wait Clock output is driven by writ-
ing a logical "1" to the WCON.1 (RTWCE) bit at S :A7H. When
enabled, the WCLK output produces a square wave signal with a
period of one-half the oscillator frequency
WR#OWrite. Write signal output to external memory. Asserted for the mem-
XTAL1IInput to On-chip, Inverting Oscillator Amplifier. To use the internal
ory address range specified by configuration byte UCONFIG0, bits
RD1:0.
oscil lator, a crystal/resonator circuit is connected to this pin. If an
extern al os ci ll ato r is us ed, it s o utpu t is co nnect e d t o th i s p in . XTAL1 is
Alternate
Function
P1.6/CEX3
P1.7/CEX4/
A17
P3.6
the clock source for the internal timing
XTAL2OOutput of the On-chip, Inverting Oscillator Amplifier. To use the
inter nal osci ll a tor, a cryst al /r eso nat or cir cu it i s co nn ec ted t o this pi n. If
an external oscillator is used, leave XTAL2 unconnected.
* The descriptions of A15:8/P2.7:0 and AD7:0/P0.7:0 are for non page mode configuration. If configured in
page mode, Port 0 carries the lower address bits (A7:0) and Port 2 carries the upper address bits (A15:8)
and the data (D 7: 0)
5
8xC251 Tx Hardware Description
Table 3. Special Function Register (SFR) Map
F8
F0B
00000000
E8CL
E0ACC
00000000
D8CCON
00x00000
D0PSW
00000000
C8T2CON
00000000
C0
B8IPL0
x0000000
B0P3
11111111
A8IE0
00000000
A0P2
11111111
98SCON
00000000
90P1
11111111
88TCON000
00000
80P0
11111111
NOTE: Regist ers in thi s f o nt are spec ia l fun ct i ons reg is ter s t hat a re as so ci at ed with t he se cond s er i al I/ O
port.
CH00000
000
00000000
CMOD
00xxx000
PSW1
00000000
T2MOD
xxxxxx00
SADEN
00000000
IE1
xxxxxxx0
SADDR
00000000
SBUF
xxxxxxxx
TMOD
00000000
SP
00000111
CCAP0Hx
xxxxxxx
CCAP0L
xxxxxxxx
CCAPM0
x0000000
RCAP2L
00000000
SADEN1
00000000
IP1L
xxxxxxx0
SADDR1
00000000
SCON1
00000000
TL0
00000000
DPL
00000000
CCAP1Hx
CCAP1L
xxxxxxxx
CCAPM1
x0000000
RCAP2H
00000000
IP1H
xxxxxxx0
SBUF1
xxxxxxxx
TL1
00000000
DPH
00000000
xxxxxxx
CCAP2Hx
xxxxxxx
CCAP2L
xxxxxxxx
CCAPM2
x0000000
TL2
00000000
TH0
00000000
DPXL
00000001
CCAP3Hx
xxxxxxx
CCAP3L
xxxxxxxx
CCAPM3
x0000000
TH2
00000000
TH1
00000000
CCAP4Hx
xxxxxxx
CCAP4L
xxxxxxxx
CCAPM4
x0000000
SPH
00000000
WDTRST
xxxxxxxx
IPH0
x0000000
WCON
xxxxxxxx
BGCON
0000xxxx
PCON
00xx0000
6
8xC251Tx Hardware Description
3.0 THE SECOND SERIAL I/O PORT
The second serial I/O port is functionally the same as the standard serial I/O port shared by both the
8xC251Tx and the 8xC251Sx. This section provides information about the new special function registers
(SFRs) associated with the second serial port. Detailed operation and programming of the serial I/O ports can
be obtained from Chapter 10 of the 8xC251SA, 8xC251SB, 8xC251SP, 8xC251SQ Embedded Microcontroller User’s Manual (272795). All the SFRs an d control bits for the standa rd serial I/O port in bo th the
8xC251Sx and 8xC2 51Tx ha ve an eq uivalen t in th e second se rial I/O port. Th is sho uld be kept in min d w h en
referencing Chapter 10 of the 8xC251SA, 8xC251SB, 8xC251SP, 8xC251SQ Embedded Microcontroller User’s Manual (272795).
3.1Overview
The s econd serial I/O port provides synchronous and asynchronous communications modes. It operates as a
univers al asynchron ous receiver and transm itter (UART) in three full-duple x modes (mod es 1, 2 and 3).
Asynchronous transmission and reception can occur simultaneously and at different baud rates. The second
UART provides framing-bit error detection, multiprocessor communications and automatic address recog
nition. The second serial port also operates in a single synchronous mode (mode 0).
The sync h r on ou s m od e ( m o de 0 ) op er a te s at a single bau d r a te. Mode 2 op er a tes at two baud r ate s. Modes
1 and 3 operate over a wide range of frequencies, w hich are generated by Timer 1 and Timer 2.
The second serial I/O port signals are defined in Table 4 and the special function registers are described in
Table 5.
For the three asynchronous modes, the second serial I/O port transmits on the TXD1 pin and receives on the
RXD1 pin. For th e synchronous mode (mode 0), the second serial I/O port outputs a clock signal on the TXD1
pin an d sends and receives messages on the RXD1 pin. The SBUF1 register holds received bytes and bytes
to be trans mitte d. To send, software wri tes a by te to SBUF 1; t o re c eiv e , softwa r e rea ds SBU F 1. Th e re ceiv e
shift register allows reception of a second byte before the first byte has been read from SBUF1. However, if
software has not read the first byte by the time the second byte is received, the second byte will overwrite the
first. The second serial I/O port sets interrupts bits TI1 and RI1 on transmission and reception, respectively.
These tw o share a single interrupt request and interrupt vector.
-
-
The serial port control 1 (SCON1) and the secondary serial port control (BGCON) registers configures and
cont rols the second s erial I/O port.
T able 4. Second S er i al I/ O P or t Si gn al s
Function
Name
TXD1OT ran smi t Se r ial D at a. TXD1 outputs the shift clock in serial I/O mode
RXD1I/OReceive Serial Data 1. RXD1 send and receives data in serial I/O
TypeDescription
0 and transmits serial data in serial I/O modes 1, 2 and 3 for the second serial I/O port
mode 0 and receives data in serial I/O modes 1, 2 and 3 for the second serial I/O port
7
Multiplexed
With
P1.3/CEX0
P1.2/ECI
8xC251 Tx Hardware Description
Table 5. Second Serial I/O Port Special Function Registers
MnemonicDescriptionAddress
SBUF1Serial Buffer 1. Two separate regi sters comprise the SBUF1 register. Writ-
ing to SB UF1 loads the transmit buffer; reading SBUF1 access the receive
buffer
SCON1Serial Port Control 1. Selects the second serial I/O port operatin g mode.
SCON1 enables and disables the receiver, framing bit error detection, multi
process or com mun ic at ion, au to mati c add res s re co gn iti on an d th e ser ia l port
interrupt bits.
SADDR1Serial Address 1. Defines the i ndividual address for a slave deviceAAH
SADEN1Serial Address Enable 1. Specifies the mask byte that is used to define the
BGCONSecondary Serial Port Control. Contains controls to the second serial port
given address for a slave device
including the double baud rate bi t, read/wri te access to the SCON1.7 bit as
well as bits to control Timer1 or 2 overflow as the baud rate generator for
reception and transmission
IE1Inter rupt Enable Register 1. Con tains the second serial I/O port interrupt
IPL0Interrupt Priority Low Control Register 1. IPL0, together with IPH0,
IPH0Interrupt Priority High Control Register 1. IPH0, together with IPL0,
enable bit
assigns the second serial I/O port interrupt level from 0 (lowest) to 3 (high-
est)
assigns the second serial I/O port interrupt level from 0 (lowest) to 3 (high-
est)
9BH
9AH
-
BAH
8FH
B1H
B2H
B3H
The second serial I/O port interrupt is enabled by setting the ES1 bit in the IE1 register. The priority of the
second serial I/O port’s interrupt is set to one of four levels by programming the IPL1.0 and IPH1.0 bits in the
IPL1 and IPH1 registers, respectively. The second serial I/O port is last in the interrupt poll ing sequence (se e
Chapter 6 of the 8xC251SA, 8xC251SB, 8xC251SP, 8xC251SQ Embedded Microcontroller User’s Manual
(272795) for details of the interrupt system). The second serial I/O port's Interrupt Service Routine Vector
Address is FF:0043H.
When the second serial I/O port is used, the alternate functions of RXD1 and TXD1 can no longer be used.
Specificall y, the PC A c an no longer be clocke d by an ex t e rna l c lo c k i np ut s i nc e ECI now fu nctions a s RXD1.
The PCA c an, howe ver, be cloc ked by on e of three other meth ods. Th ey consi st of two fi xed freq uencies
(fixed in relation to the Oscillator frequency); F
OSC
/12 an d F
/4 and Timer 0 overflow.
OSC
The other consequence of using the secon d serial I/ O port is Module 0 of the PCA can now be used only as a
16 bit Software Timer. The 16-bit Capture, High Speed Output and Pulse Width Modulation modes are no
long er available to Module 0 as these modes require the use of CEX0 (which, when the second serial I/O port
is in operation, functions as TXD1).
8
8xC251Tx Hardware Description
3.2Special Function Register Definitions
The following describes the special function registers associated with the second serial I/O port and their bit
definitions.
3.2.1SCON1
Address: 9AH
Reset Value: 0000 0000B
Table 6. SCON1 Special Function Register Definitions
Bit Number
7FE1SM0Framing Error Bit 1:
6SM1Second Serial I/O Port Mo de Bit 1:
5SM2Second Serial I/O Port Mo de Bit 2:
4REN1Receive Enable Bit 1:
3TB8Transmit Bit 8:
2RB8Receive Bit 8:
1TI1Second Ser ial I/O Port Transmit Interrupt Flag Bit:
0RI1Second Serial I/O Port Receive Interrupt Flag Bit:
Bit
Mnemonic
Function
To Select this function, set the SMOD0 bit in the BGCON register. Set by hardware to indicate an invalid stop bit. Cleared by software, not by valid frames
Second Serial I/O Port Mode Bit 0:
To select this function, clear the SMOD0 bit in the BGCON register. Software
writes to bit SM0 and SM1 to select the second serial I/O port operating
mode. Refer to SM1 bit for mode selections
Software write to bit SM0 and SM1 (above) to select the serial port operating
mode.
SM0SM1Mo deDescriptionBaud Rate
000Shift RegisterFosc/12
0118 bit UARTvariable
1029 bit UARTFosc/32* or Fosc/64*
1139 bit UARTvariable
* Select by programming the SMOD0 bit in the BGCON register
Software writes to SM2 enable and disable the multiprocess or communication and automatic address recog nition featu res. This allows the second
serial I/O port to differentiate between data and command frames and t o recognize slave and broadcast addresses
To enable reception, set this bit. To enable transmission, clear this bit
In modes 2 an d 3, so ft w are wr i tes the n in th data bit to be tra ns mit ted to TB8.
Not used in modes 0 and 1
Mode 0: not used
Mode 1 (SM2 clear): Set or cleared by hardware to reflect the stop bit
received
Modes 2 and 3 (SM2 set): Set or cleared by hardware to reflect the ninth
data bit received
Set by transmitter after the last data bit is transmitted. Cleared by software
Set by the receiver after the last data bit of a frame has been received.
Cleare d by softw a re
9
8xC251 Tx Hardware Description
3.2.2SBUF1
Address: 9BH
Reset Value: xx xx xxxxB
To send serial data, software writes a byte to SBUF1 and to receive serial data, software reads from SBUF1.
3.2.3SADDR1
Address: AAH
Reset Value: 0000 0000B
Slave Individual Address Register1 (SADDR1) contains the device’s individual address for multiprocessor
communications.
3.2.4SADEN1
Address: BAH
Reset Value: 0000 0000B
Mask Byte Register 1 (SADEN1) masks bits in the SADDR1 register to form the devices given address for
multiprocessor communications.
3.2.5BGCON
Address: 8FH
Reset Value: 0000 xxxxB
Table 7. BGCON Special Function Register Definitions
Bit Number
7SMOD1Double Baud Rate Bit:
6SMOD0SCO N 1. 7 S el ec t :
5RCLK1Second Serial I/O Port Receive Clock Bit:
4TCLK1Second Se rial I/O Port Transmit Clock Bit:
3 - 0-Reserved.
Bit Mne-
monic
Function
When set, doubles the baud rate for the second serial I/O port when timer 1
is used and mode 1, 2 or 3 is selected in the SCON1 register.
When set, read/write accesses to SCON1.7 are to the FE1 bit. When
cleared, read/write accesses to SC ON1.7 are to the S M0 bit.
Selects timer 2 over flow pulses (RCLK1 = 1) or timer 1 overflow pulses
(RCLK1 = 0) as the baud rate generator for the serial port modes 1 and 3.
Selects timer 2 overflow pulses (TCLK = 1) or ti mer 1 overflow pulses
(TCLK1 = 0) as the baud rate generator for the serial port modes 1 and 3.
10
3.2.6IE1
Address: B1H
Reset Value: xx xx xxx0B
8xC251Tx Hardware Description
Table 8. IE1 Special Function Register Definitions
Bit Number
7 - 1-Reserved
0ES1Second serial I/O port Interrupt Enable:
3.2.7IPH1
Address: B3H
Reset Value: xx xx xxx0B
Bit Number
7 - 1-Reserved
0IPH1.0Second serial I/O port Interrupt Priority High Bit
3.2.8IPL1
Address: B2H
Reset Value: xx xx xxx0B
Bit Number
7 - 1-Reserved
0IPL1.0Second serial I/O port Interrupt Priority Low Bit
Bit Mne-
monic
Setting this bit enables the second serial I/O port interrupt
T able 9. IPH1 Special Function Register Definitions
Bit Mne-
monic
Table 10. IPL1 Special Function Register Definitions
Bit Mne-
monic
Function
Function
Function
Interru pt prior ity of t he second serial I/O port can be program med to o ne of fou r level s depend ing on t he
IPH1.0 and IPL1.0 bits.
Table 11. Interrupt Priority of Second Serial I/O Port
The Exte nded Data Float Timing feature seeks to provide a sol ution to use rs that may be using s lower
memory devices. Essentially, this feature extends the TRHDZ1 AC timing specification to accommodate
slower memory devices which require a longer period of dead time between a data and address bus cycles.
This feature is controlled by a bit in the Configuration byte (UCONFIG1). Bit 3 of UCONFIG1 in the 8xC251Tx
is def ined as EDF#. In the 8xC251S x , Bit 3 is defined as WSB. The implications of this change are discussed
below. Refer to Cha pter 4 of th e 8xC251SA, 8xC251SB, 8xC251SP, 8xC251SQ Embedded Microcontroller User’s Manual (272795) for details of the device configuration for the 8xC251Sx. The information in that
chapt er is valid for the 8xC251Tx with the exception of the change note d in this section.
4.1Summary of t he E x t ended Data Float Timing Changes
EDF# is used to determine whether the Extended Data Float Timing is enabled. Table 12 shows the definition
of UCONFI G1 for the 8xC25 1Tx. Only bit 3 has been rede fined.
T able 12. UCONFIG1 bit definitions for the 8xC251Tx
Bit Number
7:5-Reserved for Internal or Future Use.
4INTRInterrupt Mode:
3EDF#Extended Data Float Timings:
2:1WSB1:0#Exter nal Wait State B (Region 01:):
0EMAPEPROM Map:
Refer to the 8xC251SA, 8xC251SB, 8xC251SP, 8xC251SQ Embedded Microcontroller User’s Manual
(272795) for the AC timings specif ications.
Bit
Mnemonic
Function
Set these bits when programming UCONFIG1
If this bit is set, i nterrupts push 4 bytes onto the stack ( the 3 bytes of th e PC
and PSW1). If this bit is clear, interrupts push the 2 lower bytes of the PC
onto the stack.
When cle are d, th e ext en ded data float timings are en ab le d. Wh en set,
8xC251Sx comp atible AC timings are enab led
WSB1#WSB2#
00Inserts 3 wait states for region 01:
01Inserts 2 wait states for region 01:
10Inserts 1 wait state for region 01:
11Zero wait states for region 01:
For devices with 16 Kbytes of on-chip code memory, clear this bit to map the
upper half of the on-chip code memory to region 00: (data memory). Maps
FF:2000H-FF:3FFFH to 00:E000H-00:FFFFH. If this bit is set, mapping does
not oc cur and the addresses in the range 00:E000H-0 0:FFFFH access
external RAM.
12
8xC251Tx Hardware Description
Tabl e 13 shows the effect of programming EDF# and WSB#[1:0] on the extended data float timing feature as
well as the inserti on of wait s tates for re gion 01: . It should b e noted t hat enabli ng the ext ended data float
timing allows region 01: to have 1 or 3 wait states inserted (depending on WSB#[1:0]) but not 0 or 2 wait
states.
T able 13. Summary of the EDF# and WSB#[1:0] Configuration Options