87C196CB SUPPLEMENT

CAN_CON (Continued)

Address:

1E00H

(87C196CB)

Reset State:

01H

Program the CAN control (CAN_CON) register to control write access to the bit timing registers, to enable and disable CAN interrupts, and to control access to the CAN bus.

87C196CB

7

CCE

 

 

 

 

0

EIE

SIE

IE

INIT

 

 

 

 

Bit

Bit

Function

Number

Mnemonic

 

 

 

 

1

IE

Interrupt Enable

 

 

This bit globally enables and disables interrupts (error, status-change, and

 

 

message object transmit and receive interrupts).

 

 

0 = disable interrupts

 

 

1 = enable interrupts

 

 

When the IE bit is set, an interrupt is generated only if the corresponding

 

 

interrupt source’s enable bit (EIE or SIE in CAN_CON; TXIE or RXIE in

 

 

CAN_MSGx_CON0) is also set. If the IE bit is clear, an interrupt request

 

 

updates the CAN interrupt pending register, but does not generate an

 

 

interrupt.

 

 

 

0

INIT

Software Initialization Enable

 

 

Setting this bit isolates the CAN bus from the system. (If a transfer is in

 

 

progress, it completes, but no additional transfers are allowed.)

 

 

0 = software initialization disabled

 

 

1 = software initialization enabled

 

 

A hardware reset sets this bit, enabling you to configure the RAM without

 

 

allowing any CAN bus activity. After a hardware reset or software initial-

 

 

ization, clearing this bit completes the initialization. The CAN peripheral

 

 

waits for a bus idle state (11 consecutive recessive bits) before partici-

 

 

pating in bus activities.

 

 

Software can set this bit to stop all receptions and transmissions on the

 

 

CAN bus. (To prevent transmission of a specific message object while its

 

 

contents are being updated, set the CPUUPD bit in the individual message

 

 

object’s control register 1. See “Configuring Message Objects” on page

 

 

7-20.)

 

 

Entering powerdown mode stops an in-progress CAN transmission

 

 

immediately. To avoid stopping a CAN transmission while it is sending a

 

 

dominant bit on the CAN bus, set the INIT bit before executing the IDLPD

 

 

instruction.

 

 

The CAN peripheral also sets this bit to isolate the CAN bus when an error

 

 

counter reaches 256. This isolation is called a bus-offcondition. After a

 

 

bus-off condition, clearing this bit initiates a bus-off recovery sequence,

 

 

which clears the error counters. The CAN peripheral waits for 128 bus idle

 

 

states (128 packets of 11 consecutive recessive bits), then resumes

 

 

normal operation. (See “Bus-off State” on page 7-41.)

 

 

 

Figure 7-6. CAN Control (CAN_CON) Register (Continued)

7-14

Page 75
Image 75
Intel 8XC196NT, 87C196CB user manual Cancon, Bit Function Number

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.