CAN SERIAL COMMUNICATIONS CONTROLLER

7.2CAN CONTROLLER SIGNALS AND REGISTERS

Table 7-1 describes the CAN controller’s pins, and Table 7-2 describes the control and status reg- isters.

 

 

Table 7-1. CAN Controller Signals

Signal

Type

Description

 

 

 

RXCAN

I

Receive

 

 

This signal carries messages from other nodes on the CAN bus to the CAN controller.

 

 

 

TXCAN

O

Transmit

 

 

This signal carries messages from the CAN controller to other nodes on the CAN bus.

 

 

 

Table 7-2. Control and Status Registers

Register

Register

Description

Mnemonic ††

Address ††

 

 

 

CAN_BTIME0

1E3FH

Bit Timing 0

 

 

Program this register to define the length of one time quantum

 

 

and the maximum number of time quanta by which a bit time can

 

 

be modified for resynchronization.

 

 

 

CAN_BTIME1

1E4FH

Bit Timing 1

 

 

Program this register to define the sample time and mode.

 

 

 

CAN_CON

1E00H

Control

 

 

Program this register to prevent transfers to and from the CAN

 

 

bus, to enable and disable CAN interrupts, and to control write

 

 

access to the bit timing registers.

 

 

 

CAN_EGMSK

1E08H, 1E09H,

Extended Global Mask

 

1E0AH, 1E0BH

Program this register to mask (“don’t care”) specific message

 

 

 

 

identifier bits for extended message objects.

 

 

 

CAN_INT

1E5FH

CAN Interrupt Pending

 

 

This read-only register indicates the source of the highest-priority

 

 

pending interrupt.

 

 

 

CAN_MSGxCFG

1Ey6H

Message Object x Configuration

 

 

Program this register to specify a message object’s data length,

 

 

transfer direction, and identifier type.

 

 

 

CAN_MSGxCON0

1Ey0H

Message Object x Control 0

 

 

Program this register to enable or disable the message object’s

 

 

successful transmission (TX) and reception (RX) interrupts. Read

 

 

this register to determine whether a message object is ready to

 

 

transmit and whether an interrupt is pending.

 

 

 

The CCE bit in CAN_CON must be set to enable write access to the bit timing registers. †† In register names, x = 1–15; in addresses, y = 1–F.

7-3

Page 64
Image 64
Intel 87C196CB, 8XC196NT user manual Can Controller Signals and Registers, Control and Status Registers

8XC196NT, 87C196CB specifications

The Intel 87C196CB and 8XC196NT are microcontrollers from the C196 family, which was designed to meet the demands of embedded control technology. These microcontrollers are popular in various applications due to their robust architecture, extensive I/O capabilities, and specialized functionality, making them ideal for automotive, industrial, and communication systems.

The 87C196CB is distinguished by its 16-bit architecture, offering a balance of processing power and efficiency. It features a 16-bit data bus, which allows for fast data processing, and a 16-bit address bus, supporting up to 64KB of program memory. The microcontroller integrates on-chip memory, including 2KB of ROM and 128 bytes of RAM, which facilitates faster execution of programs and data handling.

One of the standout features of the 87C196CB is its versatility in I/O operations. It comes equipped with 32 general-purpose I/O lines that can be configured for various functions, including input, output, and interrupt handling. This flexibility enables developers to optimize the microcontroller for their specific application needs.

The 8XC196NT builds on the capabilities of its predecessor, offering advanced functionalities such as an enhanced instruction set and integrated peripherals. It includes additional features like timers, serial communication interfaces, and analog-to-digital converters, which expand its usability in complex embedded systems. The 8XC196NT supports multiple addressing modes, allowing for more efficient programming and memory management.

Both microcontrollers utilize innovative technologies that improve performance and power efficiency. The on-chip operating system support aids in real-time processing and multitasking, making them suitable for time-sensitive applications. Power management features are also incorporated, allowing these microcontrollers to operate in low-power modes, which is crucial for battery-operated devices.

The 87C196CB and 8XC196NT microcontrollers are characterized by their reliability and long service life, meeting the stringent demands of industrial applications. Their ability to perform tasks rapidly, combined with their diverse peripheral support, makes them popular choices among engineers and developers designing embedded systems. Overall, the Intel 87C196CB and 8XC196NT microcontrollers remain relevant in the rapidly evolving landscape of embedded technology, facilitating innovative solutions across various industries.