CAN SERIAL COMMUNICATIONS CONTROLLER

7.9DESIGN CONSIDERATIONS

This section outlines design considerations for the CAN controller.

7.9.1Hardware Reset

A hardware reset clears the error management counters and the bus-off state and leaves the reg- isters with the values listed in Table 7-14.

Table 7-14. Register Values Following Reset

Register

Hex Address

Reset Value

 

 

 

Control

1E00

01H

 

 

 

Status

1E01

undefined

 

 

 

Standard Global Mask

1E06–1E07

unchanged (undefined at power-up)

 

 

 

Extended Global Mask

1E08–1E0B

unchanged (undefined at power-up)

 

 

 

Message 15 Mask

1E0C–1E0F

unchanged (undefined at power-up)

 

 

 

Bit Timing 0

1E3F

unchanged (undefined at power-up)

 

 

 

Bit Timing 1

1E4F

unchanged (undefined at power-up)

 

 

 

Interrupt

1E5F

00H

 

 

 

Message Object x

1Ex0–1ExE

unchanged (undefined at power-up)

 

 

 

7.9.2Software Initialization

The software initialization state allows software to configure the CAN controller’s RAM without risk of messages being received or transmitted during this time. Setting the INIT bit in the control register causes the CAN controller to enter the software initialization state. Either a hardware re- set or a software write can set the INIT bit. While INIT is set, all message transfers to and from the CAN controller are stopped and the error counters and bit timing registers are unchanged. Your software should clear the INIT bit to cause the CAN controller to exit the software initial- ization state. At this time, the CAN controller synchronizes itself to the CAN bus by waiting for a bus idle state (11 consecutive recessive bits) before participating in bus activities.

7.9.3Bus-off State

If an error counter reaches 256, the CAN controller isolates itself from the CAN bus, sets the BUSOFF bit in the status register, and sets the INIT bit in the control register. While INIT is set, all message transfers to and from the CAN controller are stopped; the error counters and bit tim- ing registers are unchanged. Software must clear the INIT bit to initiate the bus-off recovery se- quence.

7-41

Page 102
Image 102
Intel 87C196CB, 8XC196NT user manual Design Considerations, Hardware Reset, Software Initialization, Bus-off State

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.