8XC196NP, 80C196NU USER’S MANUAL

SP_CON

SP_CON

Address:

1FBBH

 

Reset State:

00H

The serial port control (SP_CON) register selects the communications mode and enables or disables the receiver, parity checking, and nine-bit data transmission. For the 80C196NU, it also enables or disables the divide-by-two prescaler.

8XC196NP

80C196NU

7

PAR

TB8

7

 

 

 

 

 

 

 

PRS

PAR

TB8

 

 

 

 

0

REN

PEN

M1

M0

 

 

 

0

 

 

 

 

REN

PEN

M1

M0

 

 

 

 

Bit

Bit

 

 

 

Function

Number

Mnemonic

 

 

 

 

 

 

 

 

 

 

7

Reserved; for compatibility with future devices, write zero to this bit.

 

 

 

 

6

PRS

Prescale

 

 

 

This bit enables the divide-by-two prescaler.

 

 

0

= disable the prescaler

 

 

1

= enable the prescaler

 

 

 

5

PAR

Parity Selection Bit

 

 

Selects even or odd parity.

 

 

0

= even parity

 

 

 

1

= odd parity

 

 

 

 

4

TB8

Transmit Ninth Data Bit

 

 

This is the ninth data bit that will be transmitted in mode 2 or 3. This bit

 

 

is cleared after each transmission, so it must be set before SBUF_TX is

 

 

written. When SP_CON.2 is set, this bit takes on the even parity value.

 

 

 

 

3

REN

Receive Enable

 

 

 

Setting this bit enables the receiver function of the RXD pin. When this

 

 

bit is set, a high-to-low transition on the pin starts a reception in mode 1,

 

 

2, or 3. In mode 0, this bit must be clear for transmission to begin and

 

 

must be set for reception to begin. Clearing this bit stops a reception in

 

 

progress and inhibits further receptions.

 

 

 

 

2

PEN

Parity Enable

 

 

 

In modes 1 and 3, setting this bit enables the parity function. This bit

 

 

must be cleared if mode 2 is used. When this bit is set, TB8 takes the

 

 

parity value on transmissions. With parity enabled, SP_STATUS.7

 

 

becomes the receive parity error bit.

 

 

 

 

1:0

M1:0

Mode Selection

 

 

 

These bits select the communications mode.

 

 

M1

M0

 

 

 

0

 

0

mode 0

 

 

0

 

1

mode 1

 

 

1

 

0

mode 2

 

 

1

 

1

mode 3

 

 

 

 

 

 

This bit is reserved on the 8XC196NP. For compatibility with future devices, write zero to this bit.

C-44

Page 435
Image 435
Intel 80C196NU, 8XC196NP, Microcontroller manual Spcon

Microcontroller, 80C196NU, 8XC196NP specifications

The Intel 8XC196NP and 80C196NU microcontrollers are part of Intel's renowned 16-bit microcontroller series that gained popularity in the 1980s and 1990s for embedded systems applications. Designed for a variety of applications, these microcontrollers are characterized by their robust performance, versatility, and industry-standard architecture.

The 8XC196NP features an enhanced instruction set with over 100 instructions, allowing for efficient code execution. It operates at clock speeds up to 16 MHz, which contributes to improved performance in time-sensitive applications. The microcontroller is equipped with a 16-bit data bus, enabling more efficient data handling compared to its 8-bit predecessors, thus accommodating complex algorithms and large data sets.

In terms of memory architecture, the 8XC196NP supports an addressable memory space of up to 64 KB of program memory and 64 KB of data memory. This configuration provides sufficient space for large applications while ensuring fast data access. The microcontroller includes integrated features such as timers, serial I/O capabilities, and interrupt processing, which enhance its functionality for real-time applications and control mechanisms.

The 80C196NU, on the other hand, is designed for lower power operation, making it suitable for battery-powered devices. This microcontroller maintains similar features to the 8XC196NP while offering advancements that support low-power consumption. The 80C196NU can also function in a range of temperature environments, making it adaptable for industrial applications.

Both the 8XC196NP and 80C196NU support external memory interfacing, allowing designers to expand the system's capability by connecting additional ROM and RAM. This flexibility makes them appealing for developing complex systems, such as motor controls, industrial automation, and consumer electronics.

Another standout feature of these microcontrollers is their built-in debugging capabilities. Intel provided hardware and software tools that enabled developers to test and troubleshoot their applications effectively, reducing the development time and increasing reliability.

Overall, the Intel 8XC196NP and 80C196NU microcontrollers stand out for their dependability, versatility, and performance, contributing significantly to the evolution of embedded system design. Their legacy continues to influence modern microcontroller technology, ensuring their relevance in a wide array of applications today.