English
Language : 

COP888EB Datasheet, PDF (18/75 Pages) National Semiconductor (TI) – 8-Bit CMOS ROM Based Microcontrollers with 8k Memory, CAN Interface, 8-Bit A/D, and USART
Timers (Continued)
The timer mode control bits (TxC3, TxC2 and TxC1) are detailed below:
Mode
1
2
3
TxC3
1
1
0
0
0
1
0
1
TxC2
0
0
0
0
1
1
1
1
TxC1
1
0
0
1
0
0
1
1
Description
PWM: TxA Toggle
PWM: No TxA
Toggle
External Event
Counter
External Event
Counter
Captures:
TxA Pos. Edge
TxB Pos. Edge
Captures:
TxA Pos. Edge
TxB Neg. Edge
Captures:
TxA Neg. Edge
TxB Neg. Edge
Captures:
TxA Neg. Edge
TxB Neg. Edge
Interrupt A
Source
Autoreload RA
Autoreload RA
Timer
Underflow
Timer
Underflow
Pos. TxA Edge
or Timer
Underflow
Pos. TxA
Edge or Timer
Underflow
Neg. TxA
Edge or Timer
Underflow
Neg. TxA
Edge or Timer
Underflow
Interrupt B
Source
Autoreload RB
Autoreload RB
Pos. TxB Edge
Pos. TxB Edge
Pos. TxB Edge
Neg. TxB
Edge
Neg. TxB
Edge
Neg. TxB
Edge
Timer
Counts On
tC
tC
Pos. TxA
Edge
Pos. TxA
Edge
tC
tC
tC
tC
Power Save Modes
The device offer the user two power save modes of opera-
tion: HALT and IDLE. In the HALT mode, all microcontroller
activities are stopped. In the IDLE mode, the on-board oscil-
lator circuitry and timer T0 are active but all other microcon-
troller activities are stopped. In either mode, all on-board
RAM, registers, I/O states, and timers (with the exception of
T0) are unaltered.
HALT MODE
The device is placed in the HALT mode by writing a ’’1” to the
HALT flag (G7 data bit). All microcontroller activities, includ-
ing the clock, and timers, are stopped. In the HALT mode,
the power requirements of the device are minimal and the
applied voltage (VCC) may be decreased to Vr (Vr = 2.0V)
without altering the state of the machine.
CAN HALT/IDLE mode:
In order to reduce the device overall current consumption in
HALT/IDLE mode a two step power save mechanism is
implemented on the device:
Step 1:
Disable main receive comparator. This is done by
resetting both the TxEN0 and TxEN1 bits in the
CBUS register. Note: These bits should always be
reset before entering HALT/IDLE mode to allow
proper resynchronization to the CAN bus after ex-
iting HALT/IDLE mode.
Step 2:
Disable the CAN wake-up comparators, this is
done by resetting bit 7 in the port-m wakeup en-
able register (MWKEN) a transition on the CAN
bus will then not wake the device up.
Note: If both the main receive comparator and the wake-up comparator are
disabled the on chip CAN voltage reference is also disabled. The CAN-
VREF output is then High-Z
The following table shows the two CAN power save modes and the active CAN transceiver blocks:
Step 1
0
0
1
1
Step 2
0
1
0
1
Main-Comp
on
on
off
off
Wake-Up-Comp
on
off
on
off
CAN-VREF
on
on
on
off
VREF Pin
VCC/2
VCC/2
VCC/2
High-Z
The device supports two different ways of exiting the HALT
mode. The first method of exiting the HALT mode is with the
Multi-Input Wakeup feature on the L & M port. The second
method of exiting the HALT mode is by pulling the RESET
pin low.
Since a crystal or ceramic resonator may be selected as the
oscillator, the Wakeup signal is not allowed to start the chip
running immediately since crystal oscillators and ceramic
resonators have a delayed start up time to reach full ampli-
tude and frequency stability. The IDLE timer is used to gen-
erate a fixed delay to ensure that the oscillator has indeed
stabilized before allowing instruction execution. In this case,
upon detecting a valid Wakeup signal, only the oscillator cir-
cuitry is enabled. The IDLE timer is loaded with a value of
www.national.com
18