INTERFACING WITH EXTERNAL MEMORY

8XC196

CS0#

CS2#

A19:0

AD15:0

RD#

WR#

CS1#

 

 

Flash

 

SRAM

 

256K×￿16

 

8K×￿8

 

CE#

 

 

 

 

 

 

CE#

 

A18:1

A17:0

 

A12:0

 

 

 

A12:0

 

AD15:0

D15:0

 

AD7:0

 

 

 

D7:0

 

 

 

0 WS

 

0 WS

 

80000–FFFFFH

7E000–7FFFFH

 

OE#

WE#

OE#

WE#

A2:0

A2:0

82510

 

 

UART

Rxd

 

 

 

AD7:0

D7:0

 

Txd

 

 

 

 

 

 

 

 

3WS

CE# 01E00–01EFFH

A2433-03

Figure 13-5. Example System for Setting Up Chip-select Outputs

Table 13-8. BUSCONx Registers for the Example System

Chip-

 

 

 

Contents of

select

Multiplexing

Bus Width

Wait States

BUSCONx

Output

 

 

 

 

 

 

 

 

 

 

 

 

0

Demultiplexed

16 bits

0

C0H

 

 

 

 

 

1

Demultiplexed

8 bits

3

83H

 

 

 

 

 

2

Demultiplexed

8 bits

0

80H

 

 

 

 

 

The location and size of an address range are specified by the ADDRCOMx register and the ADDRMSKx register (see Figure 13-2 and Figure 13-3). The 8-Kbyte SRAM is assigned to ad- dress range 7E000–7FFFFH and uses chip-select output 2. The 12 most-significant bits of the base address (7E000H) are written to the BASE19:8 bits in the ADDRCOM2 register, which then contains 07E0H.

The address range for CS2# is 8 Kbytes or 213 bytes (n = 13). The number of bits to be set in MASK19:8 of ADDRMSK2 is 20 – n = 7. After the 7 most-significant bits of MASK19:8 are set, ADDRMSK2 contains 0FE0H. Results for CS0# and CS1# are found similarly (see Table 13-9).

13-13

Page 270
Image 270
Intel 80C196NU, 8XC196NP, Microcontroller manual Sram, Uart, Chip Contents, Buscon, C0H

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.