Intel 8XC196NP, 80C196NU, Microcontroller manual T2CONTROL, Prescaler Resolution †

Models: Microcontroller 80C196NU 8XC196NP

1 471
Download 471 pages 22.3 Kb
Page 214
Image 214

EVENT PROCESSOR ARRAY (EPA)

T2CONTROL

Address:

1F94H

 

Reset State:

00H

The timer 2 control (T2CONTROL) register determines the clock source, counting direction, and count rate for timer 2.

7

CE

UD

M2

M1

 

 

 

 

0

M0

P2

P1

P0

 

 

 

 

Bit

Bit

 

 

 

 

Function

 

Number

Mnemonic

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

CE

Counter Enable

 

 

 

 

 

This bit enables or disables the timer. From reset, the timers are

 

 

disabled and not free running.

 

 

 

 

0

= disables timer

 

 

 

 

 

1

= enables timer

 

 

 

 

 

 

 

 

 

 

6

UD

Up/Down

 

 

 

 

 

 

This bit determines the timer counting direction, in selected modes (see

 

 

mode bits, M2:0).

 

 

 

 

 

0

= count down

 

 

 

 

 

1

= count up

 

 

 

 

 

 

 

 

 

5:3

M2:0

EPA Clock Direction Mode Bits.

 

 

 

 

These bits determine the timer clocking source and direction source

 

 

M2

M1

M0

Clock Source

Direction Source

 

 

0

 

0

0

f/4

UD bit (T2CONTROL.6)

 

 

X

 

0

1

T2CLK pin

UD bit (T2CONTROL.6)

 

 

0

 

1

0

f/4

T2DIR pin

 

 

0

 

1

1

T2CLK pin

T2DIR pin

 

 

1

 

0

0

timer 1 overflow

UD bit (T2CONTROL.6)

 

 

1

 

1

0

timer 1

same as timer 1

 

 

1

 

1

1

quadrature clocking using T2CLK and T2DIR

 

 

If an external clock is selected, the timer counts on both the rising and

 

 

falling edges of the clock.

 

 

 

 

 

 

 

2:0

P2:0

EPA Clock Prescaler Bits

 

 

 

 

These bits determine the clock prescaler value.

 

 

 

P2

P1

P0

Prescaler

 

Resolution

 

 

0

 

0

0

divide by 1 (disabled)

160 ns

 

 

0

 

0

1

divide by 2

 

320 ns

 

 

0

 

1

0

divide by 4

 

640 ns

 

 

0

 

1

1

divide by 8

 

1.28 µs

 

 

1

 

0

0

divide by 16

 

2.56 µs

 

 

1

 

0

1

divide by 32

 

5.12 µs

 

 

1

 

1

0

divide by 64

 

10.24 µs

 

 

1

 

1

1

divide by 128 (NU only)

20.48 µs

At f = 25 MHz. Use the formula on page 10-6 to calculate the resolution at other frequencies.

Figure 10-9. Timer 2 Control (T2CONTROL) Register

10-17

Page 214
Image 214
Intel 8XC196NP, 80C196NU, Microcontroller manual T2CONTROL, Prescaler Resolution †

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.