

Addendum to the 8xC251SA, 8xC251SB,
8xC251SP, 8xC251SQ, User’s Manual
The 8xC251Tx may contain design defects or errors 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 estoppel or otherwise, to any intellectual property rights is granted by this document. Except as provided in Intel's Terms and Conditions of Sale for such products, Intel assumes no liability whatsoever, and Intel disclaims any express or implied warranty, relating to sale and/or use of Intel products including liability or warranties relating to fitness for a particular purpose, merchantability, or infringement of any patent, copyright or other intellectual property right. Intel products are not intended for use in medical, life saving, or life sustaining applications. Intel may make changes to specifications and product descriptions at any time, without notice. Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order.
Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" 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 8xC251Tx may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request.
Copies of documents which have an ordering number and are referenced in this document, or other Intel literature, may be obtained from:
Intel Corporation P.O. Box 5937 Denver CO 80217-9808
or call 1-800-548-4725.
Many documents are available for download from Intel’s website at http://www.intel.com
Copyright © Intel Corporation 1997, 2003.
*Third party brands and names are the property of their respective owners.

273138-002 December 2003 iii

iv December 2003 273138-002


This Hardware Description describes the 8xC251TB, 8xC251TQ (referred to collectively as the 8xC251Tx) 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 with the addition 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).
The differences between the 8xC251Tx and the 8xC251Sx are briefly described here.

Figure 1. 8xC251Tx Block Diagram

Table 1. 8xC251Tx Signal Summary

Table 2. 8xC251Tx Signal Descriptions (Sheet 1 of 3)
* 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 (D7:0)

Table 2. 8xC251Tx Signal Descriptions (Sheet 2 of 3)
* 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 (D7:0)

Table 2. 8xC251Tx Signal Descriptions (Sheet 3 of 3)
* 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 (D7:0)

Table 3. Special Function Register (SFR) Map

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 Microcon troller User’s Manual (272795). All the SFRs and control bits for the standard serial I/O port in both the 8xC251Sx and 8xC251Tx have an equivalent in the second serial I/O port. This should be kept in mind when referencing Chapter 10 of the 8xC251SA, 8xC251SB, 8xC251SP, 8xC251SQ Embedded Microcontroller User’s Manual (272795).
The second serial I/O port provides synchronous and asynchronous communications modes. It operates as a universal asynchronous receiver and transmitter (UART) in three full-duplex modes (modes 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 synchronous mode (mode 0) operates at a single baud rate. Mode 2 operates at two baud rates. Modes 1 and 3 operate over a wide range of frequencies, which 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 the synchronous mode (mode 0), the second serial I/O port outputs a clock signal on the TXD1 pin and sends and receives messages on the RXD1 pin. The SBUF1 register holds received bytes and bytes to be transmitted. To send, software writes a byte to SBUF1; to receive, software reads SBUF1. The receive 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 two share a single interrupt request and interrupt vector.
The serial port control 1 (SCON1) and the secondary serial port control (BGCON) registers configures and controls the second serial I/O port.
Table 4. Second Serial I/O Port Signals
Name Type Description Multiplexed
TXD1 O Transmit Serial Data. TXD1 outputs the shift clock in serial I/O mode 0 and transmits serial data in serial I/O modes 1, 2 and 3 for the sec ond serial I/O port
RXD1 I/O Receive Serial Data 1. RXD1 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
Function · With

Table 5. Second Serial I/O Port Special Function Registers
SBUF1 Serial Buffer 1. Two separate registers comprise the SBUF1 register. Writ ing to SBUF1 loads the transmit buffer; reading SBUF1 access the receive buffer
SCON1 Serial Port Control 1. Selects the second serial I/O port operating mode. SCON1 enables and disables the receiver, framing bit error detection, multi processor communication, automatic address recognition and the serial port interrupt bits.
SADDR1 Serial Address 1. Defines the individual address for a slave device AAH
SADEN1 Serial Address Enable 1. Specifies the mask byte that is used to define the given address for a slave device
BGCON Secondary Serial Port Control. Contains controls to the second serial port including the double baud rate bit, read/write 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
IE1 Interrupt Enable Register 1. Contains the second serial I/O port interrupt enable bit
IPL0 Interrupt Priority Low Control Register 1. IPL0, together with IPH0, assigns the second serial I/O port interrupt level from 0 (lowest) to 3 (high est)
IPH0 Interrupt Priority High Control Register 1. IPH0, together with IPL0, assigns the second serial I/O port interrupt level from 0 (lowest) to 3 (high est)
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 polling sequence (see 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. Specifically, the PCA can no longer be clocked by an external clock input since ECI now functions as RXD1. The PCA can, however, be clocked by one of three other methods. They consist of two fixed frequencies (fixed in relation to the Oscillator frequency); FOSC/12 and FOSC/4 and Timer 0 overflow.
The other consequence of using the second 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 longer 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).
Mnemonic Description Address

The following describes the special function registers associated with the second serial I/O port and their bit definitions.
Table 6. SCON1 Special Function Register Definitions
Bit Number Bit Mnemonic Function
7 FE1SM0 Framing Error Bit 1: To Select this function, set the SMOD0 bit in the BGCON register. Set by hard ware 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
6 SM1 Second Serial I/O Port Mode Bit 1: Software write to bit SM0 and SM1 (above) to select the serial port operating mode. SM0 SM1 Mode Description Baud Rate 0 0 0 Shift Register Fosc/12 0 1 1 8 bit UART variable 1 0 2 9 bit UART Fosc/32* or Fosc/64* 1 1 3 9 bit UART variable * Select by programming the SMOD0 bit in the BGCON register
5 SM2 Second Serial I/O Port Mode Bit 2: Software writes to SM2 enable and disable the multiprocessor communica tion and automatic address recognition features. This allows the second serial I/O port to differentiate between data and command frames and to rec ognize slave and broadcast addresses
4 REN1 Receive Enable Bit 1: To enable reception, set this bit. To enable transmission, clear this bit
3 TB8 Transmit Bit 8: In modes 2 and 3, software writes the ninth data bit to be transmitted to TB8. Not used in modes 0 and 1
2 RB8 Receive Bit 8: 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
1 TI1 Second Serial I/O Port Transmit Interrupt Flag Bit: Set by transmitter after the last data bit is transmitted. Cleared by software
0 RI1 Second Serial I/O Port Receive Interrupt Flag Bit: Set by the receiver after the last data bit of a frame has been received. Cleared by software

To send serial data, software writes a byte to SBUF1 and to receive serial data, software reads from SBUF1.
Slave Individual Address Register1 (SADDR1) contains the device’s individual address for multiprocessor communications.
Mask Byte Register 1 (SADEN1) masks bits in the SADDR1 register to form the devices given address for multiprocessor communications.
Table 7. BGCON Special Function Register Definitions
Bit Number Bit Mne
7 SMOD1 Double Baud Rate Bit: 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.
6 SMOD0 SCON1.7 Select: When set, read/write accesses to SCON1.7 are to the FE1 bit. When cleared, read/write accesses to SCON1.7 are to the SM0 bit.
5 RCLK1 Second Serial I/O Port Receive Clock Bit: Selects timer 2 overflow pulses (RCLK1 = 1) or timer 1 overflow pulses (RCLK1 = 0) as the baud rate generator for the serial port modes 1 and 3.
4 TCLK1 Second Serial I/O Port Transmit Clock Bit: Selects timer 2 overflow pulses (TCLK = 1) or timer 1 overflow pulses (TCLK1 = 0) as the baud rate generator for the serial port modes 1 and 3.
monic Function

Table 8. IE1 Special Function Register Definitions
Bit Number Bit Mne
0 ES1 Second serial I/O port Interrupt Enable: Setting this bit enables the second serial I/O port interrupt
Table 9. IPH1 Special Function Register Definitions
Bit Number Bit Mne
0 IPH1.0 Second serial I/O port Interrupt Priority High Bit
Table 10. IPL1 Special Function Register Definitions
Bit Number Bit Mne
0 IPL1.0 Second serial I/O port Interrupt Priority Low Bit
Interrupt priority of the second serial I/O port can be programmed to one of four levels depending on the IPH1.0 and IPL1.0 bits.
Table 11. Interrupt Priority of Second Serial I/O Port
IPH1.0 IPL1.0 Priority Level
0 0 0 (Lowest Priority)
1 1 3 (Highest Priority)
monic Function · monic Function · monic Function

The Extended Data Float Timing feature seeks to provide a solution to users that may be using slower 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 defined as EDF#. In the 8xC251Sx, Bit 3 is defined as WSB. The implications of this change are discussed below. Refer to Chapter 4 of the 8xC251SA, 8xC251SB, 8xC251SP, 8xC251SQ Embedded Microcontroller User’s Manual (272795) for details of the device configuration for the 8xC251Sx. The information in that chapter is valid for the 8xC251Tx with the exception of the change noted in this section.
EDF# is used to determine whether the Extended Data Float Timing is enabled. Table 12 shows the definition of UCONFIG1 for the 8xC251Tx. Only bit 3 has been redefined.
Table 12. UCONFIG1 bit definitions for the 8xC251Tx
Bit Number Bit Mnemonic Function
7:5 - Reserved for Internal or Future Use. Set these bits when programming UCONFIG1
4 INTR Interrupt Mode: If this bit is set, interrupts push 4 bytes onto the stack (the 3 bytes of the PC and PSW1). If this bit is clear, interrupts push the 2 lower bytes of the PC onto the stack.
3 EDF# Extended Data Float Timings: When cleared, the extended data float timings are enabled. When set, 8xC251Sx compatible AC timings are enabled
2:1 WSB1:0# External Wait State B (Region 01:): WSB1# WSB2# 0 0 Inserts 3 wait states for region 01: 0 1 Inserts 2 wait states for region 01: 1 0 Inserts 1 wait state for region 01: 1 1 Zero wait states for region 01:
0 EMAP EPROM Map: 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 occur and the addresses in the range 00:E000H-00:FFFFH access external RAM.
Refer to the 8xC251SA, 8xC251SB, 8xC251SP, 8xC251SQ Embedded Microcontroller User’s Manual (272795) for the AC timings specifications.
![Page 19 of the Intel 8XC251SA user manual — Table 13. Summary of the EDF# and WSB#[1:0] Configuration Options](/cdn/reader/6c/6c5e431dbc768f24358445572b874dee625f6bbe5a65f50eca7b9738f154c2af/images/page-19.webp?w=400)
Table 13 shows the effect of programming EDF# and WSB#[1:0] on the extended data float timing feature as well as the insertion of wait states for region 01:. It should be noted that enabling the extended 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.
Table 13. Summary of the EDF# and WSB#[1:0] Configuration Options
EDF# WSB#[1:0] Wait State Extended Data Float
1 11 0 No
1 10 1 No
1 01 2 No
1 00 3 No
0 11 1 Yes
0 10 1 Yes
0 01 3 Yes
0 00 3 Yes
The external user configuration cycle (UCONF = 1 and EA# = 0) will be executed with the extended TRHDZ1 timing bus cycle.
Timings
![Page 20 of the Intel 8XC251SA user manual — Table 13. Summary of the EDF# and WSB#[1:0] Configuration Options](/cdn/reader/6c/6c5e431dbc768f24358445572b874dee625f6bbe5a65f50eca7b9738f154c2af/images/page-20.webp?w=400)
![Page 20 of the Intel 8XC251SA user manual — Table 13. Summary of the EDF# and WSB#[1:0] Configuration Options](/cdn/reader/6c/6c5e431dbc768f24358445572b874dee625f6bbe5a65f50eca7b9738f154c2af/images/page-20.webp)
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.