Order this document by
Rev: 4.91 Date: 10th July, 2002
XC33989
System Basis Chip with
High Speed CAN Transceiver
The MC33989 is a monolithic integrated circuit combining many functions
frequently used by automotive ECUs. It incorporates:
- Two voltage regulators.
- Four high voltage inputs.
- 1Mbaud CAN physical interface.
• Vdd1: Low drop voltage regulator, current limitation, over temperature
detection, monitoring and reset function
• Vdd1: Total current capability 200mA.
• V2: Tracking function of Vdd1 regulator. Control circuitry for external bipolar
ballast transistor for high flexibility in choice of peripheral voltage and current
supply.
• Four operational modes (normal, stand-by, stop and sleep mode)
nc...
I
• Low stand-by current consumption in stop and sleep modes
• High speed 1MBaud CAN physical interface.
• Four external high voltage wake-up inputs, associated with HS1 Vbat switch
• 150mA output current capability for HS1 Vbat switch allowing drive of external
switches pull up resistors or relays
• Vsup failure detection
• Nominal DC operating voltage from 5.5 to 27V, extended range down to 4.5V.
• 40V maximum transient voltage
• Programmable software time out and window watchdog
• Safe mode with separate outputs for Watchdog time out and Reset
• Wake up capabilities (four wake up inputs, programmable cyclic sense,
forced wake up, CAN interface, SPI and stop mode over current)
ESD voltage (Machine Model) All pins except
CANH and CANL
L0, L1,L2, L3
- DC Input voltage
- DC Input current
- Transient input voltage (according to ISO7637
specification) and with external component (see figure 1 below).
THERMAL RATINGS
Junction TemperatureT
Storage Temperature T
Ambient Temperature (for info only)T
Thermal resistance junction to gnd pins (note 1)Rthj/p20°C/W
note 1: gnd pins 6, 7, 8, 9, 20, 21, 22, 23
Figure 1. : Transient test pulse for L0, L1, L2 and L3 inputs
Gnd
Vlog- 0.3Vdd1+0.3V
V
I
Vesdh
Vesdm-200200V
Vwu DC
j
s
a
1nF
Lx
10 k
-0.3
-4
-2
-0.3
-2
-100
- 40+150°C
- 55+165°C
- 40+125°C
Transient Pulse
Internally limited
Generator
(note)
Gnd
Vsup+0.3V
40
+100
4
2
2
kV
mA
A
V
V
note: Waveform in accordance to ISO7637 part1, test pulses 1, 2, 3a and 3b.
MC339892
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
MC33989
2ELECTRICAL CHARACTERISTICS
(V
From 5.5V to 18V and Tamb -40°C to 125°C)
sup
For all pins except CANH, CANL, Tx and Rx which are described in the CAN module section
nc...
I
cale Semiconductor,
Frees
DescriptionSymbol
Vsup pin (Device power supply)
Nominal DC Voltage range
Extended DC Voltage range 1Vsup-ex14.55.5VReduced functionality
Extended DC Voltage range 2Vsup-ex21827V(note 3)
Input Voltage during Load Dump
Input Voltage during jump start
Supply Current in Stand-by Mode
(note 2,4) (includes 10mA at Vdd1)
Supply Current in Normal Mode (note 2)
Supply Current in Sleep Mode (note 2,4)
Supply Current in Sleep Mode (note 2,4)
Supply current in sleep mode (note 2,4)
Supply Current in Stop mode (note 2,4)
I out Vdd1 <2mA
Supply Current in Stop mode (note 2,4)
I out Vdd1 <2mA
Supply Current in Stop mode (note 2,4)
Iout Vdd1 < 2mA
BATFAIL Flag internal thresholdVBF1.534V
BATFAIL Flag hysteresisVBF hyst1Vguaranteed by design
Battery fall early warning thresholdBFew5.35.86.3VIn normal & standby mode
Battery fall early warning hysteresisBFewh0.10.20.3VIn normal & standby mode
note 1: Vdd1>4V, reset high, logic pin high level reduced, device is functional.
note 2: Current measured at Vsup pin.
note 3: Device is fully functional. All functions are operating (All mode available and operating, Watchdog, HS1 turn ON turn OFF, CAN cell
operating, L0 to L3 inputs operating, SPI read write operation). Over temperature may occur.
note 4: With CAN cell in sleep-disable state. If CAN cell is sleep-enabled for wake up, an additional 60uA must be added to specified value.
note 5: Oscillator running means “Forced Wake up” or “Cyclic Sense” or “Software Watchdog in stop mode” timer activated. Oscillator not
running means that “Forced Wake up” and “cyclic Sense” and “Software Watchdog in stop mode” are not activated.
Vsup
VsupLD
VsupJS
Isup(stdby)
Isup(norm)
Isup
(sleep1)
Isup
(sleep2)
Isup
(sleep3)
Isup
(stop1)
Isup
(stop2)
Isup
(stop3)
Characteristics
UnitConditions
MinTypMax
5.518V
(note 1)
40VLoad dump situation
27VJump start situation
1217mAIout at Vdd1 =10mA
CAN recessive or sleep-
disable state
12.517mAIout at Vdd1 =10mA
CAN recessive or sleep-
disable state
72105uAVdd1 & V2 off, Vsup<12V,
oscillator running (note5)
CAN in sleep-disable state
5790uAVdd1 & V2 off, Vsup<12V
oscillator not running (5)
CAN in sleep-disable state
100150uAVdd1 & V2 off, Vsup>12V
oscillator running (5)
CAN in sleep-disable state
135210uAVdd1 on, Vsup<12V
oscillator running (5)
CAN in sleep-disable state
130410uAVdd1 on, Vsup<12V
oscillator not running (5)
CAN in sleep-disable state
160230uAVdd on, Vsup>12
oscillator running (5)
CAN in sleep-disable state
guaranteed by design
Vdd1 (external 5V output for MCU supply). Idd1 is the total regulator output current. Vdd specification with external capacitor. Stability requirement: C>47uF ESR < 1.3 ohms (tantalum capacitor)
In reset, normal request, normal and standby modes.
Measures with C=47uF Tantalum.
Vdd1 Output VoltageVdd1out4.955.1VIdd1 from 2 to 200mA
Vdd1 Output VoltageVdd1out4VIdd1 from 2 to 200mA
Tamb -40°C to 125°C
5.5V< Vsup <27V
4.5V< Vsup <5.5V
MC339893
For More Information On This Product,
Go to: www.freescale.com
(V
From 5.5V to 18V and Tamb -40°C to 125°C)
sup
For all pins except CANH, CANL, Tx and Rx which are described in the CAN module section
Idd1 stop output current to wake up SBCIdd1s-wu101725mA
Idd1 over current wake up deglitcher timeIdd1 - dglt405575usguaranted by design
Reset thresholdRst-stop14.54.64.7V
Reset thresholdRst-stop24.14.24.3V
Line regulation
Load regulation
V2 tracking voltage regulator
note 3: V2 specification with external capacitor
- Stability requirement: C>42uF and ESR<1.3 ohm (tantalum capacitor), external resistor between base and emitter required.
- Measurement conditions: Ballast transistor MJD32C, C=10uF tantalum, 2.2k resistor between base and emitter of ballast transistor.
V2 Output Voltage
I2 output current (for information only)I2200mADepending upon external
V2 ctrl drive current capabilityI2ctrl010mAWorst case at Tj=125°C
V2LOW Flag ThresholdV2Lth3.7544.25V
Logic output pins (MISO) Push pull structure with tri state condition (CSB high).
Low Level Output VoltageVol01.0VI out = 1.5mA
High Level Output VoltageVohVdd1-0.9Vdd1VI out = -250uA
Tristated MISO Leakage Current-2+2uA0V<V
Logic input pins (MOSI, SCLK, CSB)
High Level Input VoltageVih0.7Vdd1Vdd1+0.3
Low Level Input VoltageVil-0.30.3Vdd1V
High Level Input Current on CSBIih-100-20uA V
Low Level Input Current CSBIil-100-20uA V
MOSI, SCK Input Current Iin-1010uA0<V
(C at Vdd1= 47uF tantal)LR1525mV9V<V
(C at Vdd1= 47uF tantal)LR21025mV5.5V<V
(C at Vdd1= 47uF tantal)LD2575mV1mA<I
(C at Vdd1= 47uF tantal)LR-s525mV5.5V<V
(C at Vdd1= 47uF tantal)LD-s1575mV1mA<I
(C at V2 = 10uF tantal)V20.9911.01Vdd1I2 from 2 to 200mA
r
d
Characteristics
MinTypMax
1V
430us
UnitConditions
4.5V< Vsup
°CNormal or standby mode
°CVDDTEMP bit set
°C
value after reset.
Measured at 50% of reset
not tested, guaranted by
charaterization and design
signal
<18, Idd=10mA
sup
<27V, Idd=10mA
sup
<200mA
Idd
Vsup=13.5V, I=100mA
<27V, Idd=2mA
sup
<10mA
Idd
5.5V< Vsup <27V
ballast transistor
<Vdd
miso
=4V
i
=1V
i
<Vdd
IN
MC339894
For More Information On This Product,
Go to: www.freescale.com
(V
From 5.5V to 18V and Tamb -40°C to 125°C)
sup
For all pins except CANH, CANL, Tx and Rx which are described in the CAN module section
Freescale Semiconductor, Inc.
MC33989
nc...
I
cale Semiconductor,
Frees
DescriptionSymbol
Reset Pin (output pin only, supply from Vdd1. Structure switch to gnd with pull up current source)
High Level Output current Ioh-300-250-150uA0<V
Low Level Output Voltage (I
Low Level Output Voltage (I
Reset pull down currentIpdw2.35mAV>0.9V
Reset Duration after Vdd1 Highreset-dur33.44ms
Wdogb output pin (Push pull structure)
Low Level Output Voltage (I
High Level Output Voltage (I
INT Pin( Push pull structure)
Low Level Output Voltage (I
High Level Output Voltage (I
HS1: 150mA High side output pin
Rdson at Tj=25°C, and Iout -150mARon2522.5OhmsVsup>9V
Rdson at Ta=125°C, and Iout -150mARon1254.5OhmsVsup>9V
Rdson at Ta=125°C, and Iout -120mARon125-23.55.5Ohms5.5<Vsup<9V
Output current limitationIlim160500mA
Over temperature ShutdownOvt155190
Leakage currentIleak10uA
Output Clamp Voltage at Iout= -10mAVcl-1.5-0.3Vno inductive load drive
L0, L1, L2, L3 inputs
Negative Switching ThresholdVthn2
Positive Switching ThresholdVthp2.7
HysteresisVhyst0.61.3V5.5V<Vsup<27
Input currentIin-1010uA-0.2V < Vin < 40V
Wake up Filter TimeTwuf82038us
DIGITAL INTERFACE TIMING
SPI operation frequencyFreq0.254MHz
SCLK Clock Periodt
SCLK Clock High Timet
SCLK Clock Low Timet
Falling Edge of CS to Rising
Edge of SCLK
Falling Edge of SCLK to Rising Edge of
CS
MOSI to Falling Edge of SCLKt
Falling Edge of SCLK to MOSIt
MISO Rise Time (CL = 220pF)t
MISO Fall Time (CL = 220pF)t
Time from Falling or Rising Edges of CS to:
- MISO Low Impedance
- MISO High Impedance
Time from Rising Edge of SCLK to MISO
Data Valid
=1.5mA)Vol00.9V5.5v<V
0
=tbd mA)Vol00.9V1v<V
0
=1.5mA)Vol00.9V1v<V
0
=-250uA)VohVdd1-0.9Vdd1
0
=1.5mA)Vol00.9V
0
=-250uA)VohVdd1-0.9Vdd1
0
pCLK
wSCLKH
wSCLKL
t
lead
t
lag
SISU
SIH
rSO
fSO
t
SOEN
t
SODIS
t
valid
Characteristics
MinTypMax
2.5
2.7
3
3.5
250N/Ans
125N/Ans
125N/Ans
100N/Ans
100N/Ans
40N/Ans
40N/Ans
2.5
3
3.2
3.3
4
4.2
2550ns
2550ns
3
3.6
3.7
3.8
4.6
4.7
50
50
50ns
UnitConditions
<0.7Vdd
out
<27V
sup
<5.5V
sup
<27V
sup
°C
capability
V5.5V<Vsup<6V
V5.5V<Vsup<6V
ns
6V<Vsup<18V
18V<Vsup<27
6V<Vsup<18V
18V<Vsup<27
0.2 V1=<MISO>=0.8V1,
=200pF
C
L
MC339895
For More Information On This Product,
Go to: www.freescale.com
(V
From 5.5V to 18V and Tamb -40°C to 125°C)
sup
For all pins except CANH, CANL, Tx and Rx which are described in the CAN module section
Freescale Semiconductor, Inc.
MC33989
nc...
I
cale Semiconductor,
Frees
DescriptionSymbol
STATE MACHINE TIMING
note 1: delay starts at falling edge of clock cycle #8 of the SPI command and start of “Turn on” or “Turn off” of HS1 or V2.
Delay between CSB low to high transistion (at end of SPI stop command) and
Stop mode activation
Interrupt low level durationTint71013usSBC in stop mode
Internal oscillator frequencyOsc-f1100kHz
Internal low power oscillator frequencyOsc-f2100kHz
Watchdog period 1Wd18.589.7510.92msNormal and standby modes
Watchdog period 2Wd239.64550.4msNormal and standby modes
Watchdog period 3Wd388100112msNormal and standby modes
Watchdog period 4Wd4308350392msNormal and standby modes
Watchdog period accuracyF1acc-1212%Normal and standby modes
Normal request mode timeoutNRtout308350392msNormal request mode
Watchdog period 1 - stopWd1stop6.829.7512.7msStop mode
Watchdog period 2- stopWd2stop31.54558.5msStop mode
Watchdog period 3 - stopWd3stop70100130msStop mode
Watchdog period 4 - stopWd4stop245350455msStop mode
Stop mode watchdog period accuracyF2acc-3030%Stop mode
Cyclic sense/FWU timing 1CSFWU13.224.65.98msSleep and stop modes
Cyclic sense/FWU timing 2CSFWU26.479.2512msSleep and stop modes
Cyclic sense/FWU timing 3CSFWU312.918.524msSleep and stop modes
Cyclic sense/FWU timing 4CSFWU425.93748.1msSleep and stop modes
Cyclic sense/FWU timing 5CSFWU551.87496.2msSleep and stop modes
Cyclic sense/FWU timing 6CSFWU666.895.5124msSleep and stop modes
Cyclic sense/FWU timing 7CSFWU7134191248msSleep and stop modes
Cyclic sense/FWU timing 8CSFWU8271388504msSleep and stop modes
Cyclic sense On timeTon200350500usin sleep and stop modes
Cyclic sense/FWU timing accuracyTacc-30+30%in sleep and stop mode
Delay between SPI command and HS1
turn on (note 1)
Delay between SPI command and HS1
turn off (note 1)
Delay between SPI and V2 turn on
(note 1)
Delay between SPI and V2 turn off
(note 1)
Delay between Normal Request and Normal mode, after W/D trigger command
Delay between SPI and “CAN normal
mode”
Delay between SPI and “CAN sleep
mode”
Tcsb-stop1834us
Ts-HSon22us
Ts-HSoff22us
Ts-V2on922usStandby mode
Ts-V2off922usNormal modes
Ts-NR2N153570usNormal request mode
Ts-CANn10us
Ts-CANs10us
Characteristics
UnitConditions
MinTypMax
Guaranteed by design
detected by V2 off
All modes except Sleep
and Stop, guaranted by
design
Sleep and Stop modes,
guaranted by design
threshold and condition to
be added
Normal or standby mode
Vsup>9V
Normal or standby mode
Vsup>9V
SBC Normal mode
guaranteed by design
SBC Normal mode
guaranteed by design
MC339896
For More Information On This Product,
Go to: www.freescale.com
(V
From 5.5V to 18V and Tamb -40°C to 125°C)
sup
For all pins except CANH, CANL, Tx and Rx which are described in the CAN module section
Freescale Semiconductor, Inc.
MC33989
DescriptionSymbol
Delay between CSB wake up (CSB low
to high) and SBC normal request mode
(Vdd1 on & reset high)
Delay between CSB wake up (CSB low
to high) and first accepted SPI command
Delay between INT pulse and 1st SPi
command accepted
CSB
Tlead
nc...
I
SCLK
MOSI
Undefined
Twclkh
Tw-csb154090usSBC in stop mode
Tw-spi90N/AusSBC in stop mode
Ts-1stspi20N/AusIn stop mode after wake up
Figure 2. SPI Timing characteristic
Tpclk
Twclkl
Tsi s u
Di 0
Tsi h
Don’t Care
Characteristics
UnitConditions
MinTypMax
Tlag
Di 8Don’t Care
cale Semiconductor,
Frees
Tvalid
Tsoen
MISO
Note:
Incomming data at MOSI pin is sampled by the SBC at SCLK falling edge.
Outcoming data at MISO pin is set by the SBC at SCLK rising edge (after Tvalid delay time).
Do 0
Do 8
Tsodis
MC339897
For More Information On This Product,
Go to: www.freescale.com
MC33989
Freescale Semiconductor, Inc.
3CAN MODULE SPECIFICATION
MAXIMUM RATING
RatingsSymbolMinTypMaxUnit
ELECTRICAL RATINGS
CANL,CANH Continuous voltageVcanH,L-2740V
CANL,CANH Continuous currentIcanH,L200mA
CANH, CANL Transient voltage (Load dump, note1)VtrH,L40V
CANH, CANL Transient voltage (note2)VtrH,L-4040V
Logic Inputs (Tx, Rx)U- 0.56V
ESD voltage (HBM 100pF, 1.5k), CANL, CANHVesd-ch-44kV
ESD voltage (Machine Model) CANH, CAN LVesd-cm-200200V
V
ELECTRICAL CHARACTERISTICS
= 4,75 to 5,25; V
DD1
=5.5 to 27V; T
sup
= -40 to 125°C unless otherwise specified
amb
nc...
I
cale Semiconductor,
Frees
DescriptionsSymbolMinTyp Max UnitConditions
Supply
Supply current of CAN cell
Supply current of CAN cell
Supply current of CAN cell
CAN in sleep state wake up enable
Supply current of CAN cell
CAN in sleep state wake up disabled
CANH and CANL
Bus pins common mode voltage-2740V
Differential input voltage
Differential input voltage900mVCommon mode
Differential input hysteresis (Rx)100mV
Ires
Idom
Isleep
Idis1uAV2 regulator off
Vcanh-
Vcanl
1.53mARecessive state
26mADominant state, without
bus load
5570uAV2 regulator off
(guaranteed by design)
500mVCommon mode
between -3 and +7V.
Recessive state at Rx
between -3 and +7V.
Dominant state at Rx
Input resistance
Differential input resistance
Unpowered node input current1.5mA
CANH output voltage2.754.5VTX dominant state
CANL output voltage0.52.25VTx dominant state
Differential output voltage1.53VTx dominant state
CANH output voltage3VTx recessive state
CANL output voltage2VTx recessive state
Differential output voltage100mVTx recessive state
Rin
Rind
5100Kohms
10100Kohms
8MC33989
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
DescriptionsSymbolMinTyp Max UnitConditions
CAN H output current capabilityIcanh-35mADominant state
CAN L output current capabilityIcanl35mADominant state
MC33989
DEVICE DESCRIPTION
nc...
I
cale Semiconductor,
Frees
Over temperature shutdownTshut160180°C
CAN L over current detectionIcanl-oc60200mAError reported in CANR
CAN H over current detectionIcanh-oc-200-60mAError reported in CANR
TX and RX
Tx Input High VoltageVih0.7 VddVdd+0.4V
Tx Input Low VoltageVilp-0.40.3 VddV
Tx High Level Input Current, Vtx=VddIih-1010uA
Tx Low Level Input Current, Vtx=0VIil-100-50-20uA
Rx Output Voltage High, Irx=-250uAVohVdd-1V
Rx Output Voltage Low, Irx=+1mAVol0.5V
Timing
Dominant State TimeoutTdout200360520us
Propagation loop delay Tx to Rx,
Recessif to dominant
Propagation delay Tx to CAN
Propagation delay CAN to Rx, recessif to
dominant
Propagation loop delay Tx to Rx,
Dominat to recessif
Propagation delay Tx to CAN
Tlrd70
80
100
110
Ttrd20
40
60
100
Trrd3080140ns
Tldr70
90
100
130
Ttdr60
65
75
90
140
155
180
220
65
80
120
160
120
135
160
200
110
120
150
190
210
225
255
310
110
150
200
300
170
180
220
260
130
150
200
300
°C
register
register
nsslew rate 3
slew rate 2
slew rate 1
slew rate 0
nsslew rate 3
slew rate 2
slew rate 1
slew rate 0
nsslew rate 3
slew rate 2
slew rate 1
slew rate 0
nsslew rate 3
slew rate 2
slew rate 1
slew rate 0
Propagation delay CAN to Rx, dominant
to recessif
Non differential slew rate (CanL or CanH)
note 1: Load dump test according to ISO7637 part 1
note 2: Transient test according to ISO7637 part 1, pulses 1,2,3a and 3b, according to schematic figure below.
note 3: Human Body Model; C=100pF, R=1.5Kohms
note 4: Machine Model; C=200pF, R=25ohms
Trdr204060ns
Tsl 3
Tsl 2
Tsl 1
Tsl 0
4
3
2
1
19
13.5
8
5
40
20
15
10
V/usslew rate 3
slew rate 2
slew rate 1
slew rate 0
MC339899
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
Figure 3. Transient test pulses for CANH and CANL
1nF
CAN H
CAN L
Gnd
note: Waveform in accordance to ISO7637 part1, test pulses 1, 2, 3a and 3b.
nc...
I
1nF
Figure 4. Transceiver AC characteristics
MC33989
DEVICE DESCRIPTION
Transient Pulse
Generator
(note)
Gnd
cale Semiconductor,
Frees
3.1CAN error detection and wake up
The error and the wake up are reported in the CANR register.
3.1.1Dominant State Time-out
This protection is based on the fact that all CAN signals can not have more than five bits in a row with the same state. In case
of a condition the Tx pin is stuck at 0v, the transceiver would hold the bus in dominant state making it impossible to the others
CAN modules to use the bus. The protection acts releasing the bus when a dominant signal with more than 350uS typical (
time)
is present in the Tx signal. After entering the fault condition the driver is disabled. To clear this disabled state the CAN
transceiver needs to have its input going to recessive state.
3.1.2Internal Error output flags
There are internal error flags to signals when one of the below condition happens. The errors are reported in CAN register.
• Thermal protection activated (bit THERM)
• Over Current detection in CANL or CANH pins (bit CUR).
• Time-out condition for dominant state (bit TXF).
3.1.3Sleep mode & Wake-up via CAN bus feature
The HSCAN interface enters in a low consumption mode when the “CAN sleep mode” is enabled. In this mode the HSCAN
module will have a 60uA consumption via internal 5V.
When in sleep mode the transmitter and the receiver are disabled, the only part of circuit which remains working is the wake
up module which contains a special low power receiver to check the bus lines and according to its activity generate a wake up
output signal. The conditions for the wake is meet when there are 3 valid pulses in a row. A valid signal must have a pulse width
bigger than 0.5us and no more than 0.5ms.
Tdout
MC3398910
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
The block diagram illustrates how the wake up signal is generated. First the CAN signal is detected by a low consumption
receiver (WU receiver). Then the signal passes through a pulse width filter which discards the undesired pulses. The pulse must
have a width bigger than 0.5us and smaller than 500us to be acepted. When a pulse is discarded the pulse counter is reseted
nc...
I
and no wake signal is generated, otherwise when a pulse is acepted the pulse counter is incremented and after three pulses the
wake signal is asserted.
Each one of the pulses must be spaced by no more than 500us. In that case the pulse counter is reset and no wake signal is
generated. This is accomplished by the wake time-out generator. The wake up cycle is completed (and the wake flag reset)
when the CAN interface is brought to “CAN normal” mode.
The wake up capability of the CAN can be disabled, refer to SPI interface and register section, CAN register.
Figure 5. Wake up block diagram
MC33989
diagram tobe inserted
cale Semiconductor,
Frees
MC3398911
For More Information On This Product,
Go to: www.freescale.com
MC33989
Freescale Semiconductor, Inc.
4GENERAL DESCRIPTION
The MC33989 is an integrated circuit dedicated to automotive applications. It includes the following functions:
- One full protected voltage regulator with 200mA total output current capability available at Vdd1 external pin.
- Driver for external path transistor for V2 regulator function.
- Programmable wake up input and cyclic sense wake up
- Can high speed physical interface
4.1Device Supply
The device is supplied from the battery line through the Vsup pin. An external diode is required to protect against negative
transients and reverse battery. It can operate from 4.5V and under the jump start condition at 27V DC. This pin sustains standard
automotive voltage conditions such as load dump at 40V. When Vsup falls below 3V typical the MC33989 detects it and store the
information into the SPI register, in a bit called “BATFAIL”. This detection is available in all operation modes.
The device incorporates a battery early warning function, which provides a maskable interrupt when the Vsup voltage is below
6V typical. An hysteresis is included. Operation is only in Normal and Standby modes. Vsup low is reported in IOR register.
4.2Vdd1 Voltage Regulator
Vdd1 Regulator is a 5V output voltage with output current capability up to 200mA. It includes a voltage monitoring circuitry
associated with a reset function. The Vdd1 regulator is fully protected against over current, short-circuit and has over temperature
detection warning flags (bit VDDTEMP in MCR and INTR registers) and over temperature shutdown with hysteresis.
4.3V2 regulator
V2 Regulator circuitry is designed to drive an external path transistor in order to increase output current flexibility. Two pins are
nc...
I
used: V2 and V2 ctrl. Output voltage is 5V and is realized by a tracking function of the Vdd1 regulator. Recommended ballast
transistor is MJD32C. Other transistor can be used, however depending upon the PNP gain an external resistor-capacitor
network might be connected. V2 is the supply input for the CAN cell. The state of V2 is reported in the IOR register (bit V2LOW set
to 1 if V2 is below 4.5V typical).
cale Semiconductor,
Frees
4.4HS1 Vbat Switch Output
HS1 output is a 2 ohms typical switch from Vsup pin. It allows the supply of external switches and their associated pull up or
pull down circuitry, in conjunction with the wake up input pins for example. Output current is limited to 200mA and HS1 is
protected against short-circuit and has an over temperature shutdown (bit HS1OT in IOR and bit HS1OT-V2LOW in INTR
register). HS1 output is controlled from the internal register and SPI. It can be activated at regular intervals in sleep and stop
modes thanks to internal timer. It can also be permanently turned on in normal or stand-by modes to drive loads or supply
peripheral components. No internal clamping protection circuit is implemented, thus dedicated external protection circuit is
required in case of inductive load drive.
4.5Battery fall early warning:
Refer to paragraph 4.1.
4.6Internal Clock
The device has an internal clock used to generate all timings (reset, watchdog, cyclic wake up, filtering time etc....). Two
oscillators are implemented. A high accuracy (+-12%) used in Normal request, normal and standby modes and a low accuracy (+30%)used in sleep and stop modes.
4.7Functional Modes
The device has four modes of operation, the stand-by mode, normal mode, stop and sleep modes. All modes are controlled by
the SPI. An additional temporary mode called “normal request mode” is automatically accessed by the device after reset or wake
up from stop mode. A reset mode is also implemented. Special modes and configuration are possible for debug and program
MCU flash memory.
4.7.1Reset mode:
In this mode, reset pin is low, an a timer is running for a time “reset-dur”. After this time is ellapsed, the SBC enters Normal
Request mode. Reset mode is enter if a reset condition occurs (Vdd1 low, watchdog timeout or watchdog trigger in closed
window).
4.7.2Normal request mode:
4.7.2.1 Description:
This is a temporary mode automatically accessed by the device after reset mode or after the SBC wake up from stop mode.
After wake up from sleep mode or after device power up the SBC enters the reset mode first and then enters the Normal request
mode. After a wake up from stop mode, the SBC enters Normal Request mode directly.
In Normal Request mode the Vdd1 regulator is ON, V2 is off, the reset pin is high. As soon as the device enters the normal
request mode an internal 350ms timer is started. During these 350ms the micro controller of the application must addressed the
SBC via SPI and configure the watchdog register. This is the condition for the SBC to stop the 350ms timer and to go into the
Normal mode or standby mode and to set the watchdog timer according to configuration.
12MC33989
For More Information On This Product,
Go to: www.freescale.com
MC33989
4.7.2.2 Normal request entered and no W/D configuration occurs:
In case the Normal request mode is entered after SBC power up or after a wake up from stop mode, and if no W/D
configuration occurs while the SBC is in Normal request mode, the SBC goes to reset mode after the 350ms time period is
expired, and then goes again into Normal request mode. If no W/D configuration is done, the SBC alternatively goes from normal
request into reset then normal request modes etc.
In case the Normal request mode is entered after a wake up from sleep mode and if no W/D configuration occurs while the
SBC is in Normal request mode, the SBC goes back to sleep mode.
4.7.3Normal mode:
In this mode both regulators are ON and this corresponds to the normal application operation. All functions are available in
this mode (watchdog, wake up input reading through SPI, HS1 activation, CAN communication). The software watchdog is
running and must be periodically cleared through SPI.
4.7.4Standby mode:
Only the regulator 1 is ON. Regulator 2 is turned OFF by disabling the V2 ctrl pin. Only the wake-up capability of the CAN
interface is available. Other functions available are: wake up input reading through SPI, HS1 activation. The watchdog is running.
4.7.5Sleep mode:
Regulators 1 and 2 are OFF. The current from Vsup pin is reduced. In this mode, the device can be awakened internally by
cyclic sense via the wake up inputs pins and HS1 output, from the “forced wake up” function and from the CAN physical interface.
When a wake up occurs the SBC goes first into reset mode, then enters Normal request mode.
4.7.6Stop mode
nc...
I
4.7.6.1 Description
Regulator 2 is turned OFF by disabling the V2 ctrl pin. The regulator 1 is activated in a special low power mode which allow to
deliver few mA. The objective is to maintain the MCU of the application supplied while it is turned into power saving condition (i.e
stop or wait mode). In stop mode the device supply current from Vbat is very low.
When the application is in stop mode (both MCU and SBC), the application can wake up from the SBC side (ex cyclic sense,
forced wake up, CAN message, wake up inputs and over current on Vdd1) or the MCU side (key wake up etc.).
Stop mode is always selected by SPI. In stop mode the Software watchdog can be “running” or “not running” depending upon
selection by SPI (RCR register, bit WDSTOP). If W/D runs, to clear the W/D the SBC must be wake up by a CSB pin (SPI wake
up). In stop mode, SBC wake up capability are identical as in sleep mode. Refer to table 1.
4.7.6.2 Application wake up from SBC side:
When application is in stop mode, it can wake up from the SBC side. When a wake up is detected by the SBC (ex CAN, Wake
up input etc.) the SBC turns itself into Normal request mode and generates an interrupt pulse at the INTB pin.
4.7.6.3 Application wake up from MCU side:
When application is in stop mode, the wake up event may come from the MCU side. In this case the MCU signals to the SBC
by a low to high transition on the CSB pin. Then the SBC goes into Normal Request mode and generates an interrupt pulse at the
INTB pin.
4.7.6.4 Stop mode current monitor:
cale Semiconductor,
Frees
If the Vdd1 output current exceed an internal threshold (Idd1s-wu), the SBC goes automatically into normal request mode and
generates an interrupt at the INTB pin. The interrupt is not maskable and the interrupt register will have no flag set.
4.7.6.5 INT generation when wake up from stop mode:
When the SBC wakes up from stop mode, it first enters the normal request mode and then generates a pulse (10us typical) on
the INTB pin. These interrupts are not maskable, and the wake up event can be read through the SPI registers (CANWU bit in
RCR register and LCTRx bit in WUR register). In case of wake up from Stop mode over current or from forced wake up, no bit are
set. After the INT pulse the SBC accept SPi command after a time delay (Ts-1stspi parameter).
Freescale Semiconductor, Inc.
4.7.6.6 Software watchdog in stop mode:
If watchdog is enabled, the MCU has to wake up independently of the SBC before the end of the SBC watchdog time. In order
to do this the MCU has to signals the wake up to the SBC through the SPI wake up (CSB activation). Then the SBC wakes up and
jump into the normal request mode. MCU has to configured the SBC to go to either normal or standby mode. The MCU can then
decide to go back again to stop mode.
If no MCU wakes up occurs within the watchdog timing, the SBC will activate the reset pin and jump into the normal request
mode. The MCU can then be initialized.
4.7.6.7 Stop mode enter command:
Stop mode is entered at end of the SPI message at the rising edge fo the CSB . Refer to to ”Tcsb-stop” data in state machine
timing table.
MC3398913
For More Information On This Product,
Go to: www.freescale.com
MC33989
Once stop mode is entered the SBC could wake up from the V1 regulator over current detection. In order to allow time for the
MCU to complete the last CPU instruction to allow MCU to enter its low power mode, a deglitcher time of typicall 40us is
implemented.
figure below indicate operation to enter stop mode.
SPI Stop / Sleep command
SPI CSB
Freescale Semiconductor, Inc.
nc...
I
cale Semiconductor,
Frees
Tc sb - st o p
SBC in Normal or Standby mode
4.8Reset and watchdogb pins, sofwtare watchdog operations:
4.8.1Software watchdog (selectable window or time out watchdog)
Software watchdog is used in the SBC normal and stand-by modes for the MCU monitoring. The watchdog can be either
window or time out. This is selectable by SPI (register TIM1, bit WDW). Default is window watchdog. The period for the watchdog
is selectable from SPI from 10 to 350ms (register TIM1, bits WDT0 and WDT1). When the window watchdog is selected, the
closed window is the first part of the selected period, and the open window is the second part of the period. Refer to SPI TIM
register description. The watchdog can only be cleared within the open window time. An attempt to clear the watchdog in the
closed window will generate a reset. Watchdog is cleared through SPI by addressing the TIM1 register.
4.8.2Reset pin description
A reset output is available in order to reset the microcontroller. Two operation modes for the reset pin are available, mode 1
and mode 2 (refer to table for reset pin operation).
The reset cause when SBC is in mode 1 are:
- Vdd1 falling out of range: if Vdd1 falls below the reset threshold (parameter
to nominal voltage.
- Power on reset: at device power on or at device wake up from sleep mode, the reset is maintained low until Vdd1 is within its
operation range.
- Watchdog time out: if the watchdog is not cleared the SBC will pull the reset pin low for the duration of the reset duration time
(parameter: reset-dur).
In mode 2, the reset pin is not activated in case of watchdog time out. Refer to” table for reset pin operation“for mode detail.
For debug purposes at 25°C, reset pin can be shorted to 5V, thanks to its internal limited current drive capability.
4.8.3Reset and Wdogb operation: mode1 and mode 2 (safe mode):
The watchdog and reset functions have two modes of operation: mode 1 and mode 2 (mode 2 is also called safe mode).
These modes are independent of the SBC modes (Normal, stand-by, sleep, stop). Mode 1 or mode 2 selection is done through
SPI (register MCR, bit SAFE). Default mode after reset is mode 1.
Table below is the reset and watchdog output mode of operation. Two modes (mode 1 and mode 2) are available and are
selectable through the SPI, safe bit. Default operation after reset or power up is mode 1.
In both modes reset is active at device power up and wake up.
In mode 1: Reset is activated in case of Vdd1 fall or watchdog not triggered. Wdogb output is active low as soon as reset goes
low and stays low as long as the watchdog is not properly re-activated by SPI.
In mode 2, safe mode: Reset in not activated in case of Watchdog failure. WDOGB output has same behavior as in mode 1.
The Wdogb output pin is a push pull structure than can drive external component of the application in order for instance to signal MCU wrong operation.
Idd1 - dglt
SBC in stop mode
no Idd1 over I wake up
Rst-th), the reset pin is pull low until Vdd1 return
SBC in stop mode
with Idd1over I wake up
EventsMode
Device power up1 or 2 (safe mode)low to highlow to high
- Vdd1 normal
- Watchdog properly triggered
1highhigh
WDOGB
output
Reset
output
14MC33989
For More Information On This Product,
Go to: www.freescale.com
MC33989
Freescale Semiconductor, Inc.
EventsMode
Vdd1 < Rst-th1highlow
Watchdog time out reached1low (note1)low
- Vdd1 normal
- Watchdog properly triggered
Vdd1 < Rst-th2 (safe mode)highlow
Watchdog time out reached2 (safe mode)low (note1)high
note1: Wdogb stays low until the Watchdog register is properly addressed through SPI.
Figure 6. Reset and Wdogb functions diagram in mode 1 and 2
Vdd1
Reset
nc...
I
4.9Wake Up capabilities
wake up event is stored into the WUR or CAN registers. The MCU can then access to the wake up source. The wake up options
are selectable trough SPI while the device is in normal or standby mode and prior to go to enter low power mode (sleep or stop
mode). When a wake up occurs from sleep mode the device activates Vdd1. It generates an interrupt if wake up occurs from stop
mode.
4.9.1Wake up from wake up inputs (L0, L1, L2, L3) without cyclic sense
cale Semiconductor,
modes). The wake up pins are able to handle 40V DC. The internal threshold is 3V typical and these inputs can be used as input
port expander. The wake up inputs state can be read through SPI (register WUR).
level sensitivity, and the LPC register must be configured with 0xx0 data (bit LX2HS1 set at 0 and bit HS1AUTO set at 0).
Frees
configured toghether, L2 and L3 are configured toghether.
MODE 1
MODE 2
Several wake-up capabilities are available for the device when it is in sleep or stop mode. When a wake up has occurred, the
The wake up lines are dedicated to sense external switches state and if changes occur to wake up the MCU (In sleep or stop
In order to select and activate direct wake up from the Lx inputs the WUR register must be configured with the appropriate
Level sensitivity is selected by WUR register. Level sensitivity are configured by pair of Lx inputs: L0 and L1 level sensitvity are
WDOGB
SPI
W/D clear
SPI CSB
Reset
WDOGB
2 (safe mode)highhigh
Watchdog
period
WDOGB
output
Reset
output
Watchdog time out
Watchdog
register
addressed
4.9.2Cyclic sense wake up (Cyclic sense timer and wake up inputs L0, L1, L2, L3)
The SBC can wake up upon state change of one of the four wake up input lines (L0, L1, L2 and L3) while the external pull up
or pull down resistor of the switches associated to the wake up input lines are biased with HS1 Vsup switch. The HS1 switch is
activated in sleep or stop mode from an internal timer. Cyclic sense and Forced wake up are exclusive. If Cyclic Sense is enabled
the forced up can not be enabled.
In order to select and activate the cyclic sense wake up from the Lx inputs the WUR register must be configured with the
appropriate level sensitivity, and the LPC register must be configured with 1xx1 data (bit LX2HS1 set at 1 and bit HS1AUTO set at
1). The wake up mode selection (direct or cyclic sense) is valid for all 4 wake up inputs.
4.9.3Forced wake up
SBC can wake up automatically after a pre determined time spent in sleep or stop mode. Cyclic sense and Forced wake up
are exclusive. If Forced wake up is enabled (FWU bit set to 1 in LPC register) the Cyclic Sense can not be enabled.
4.9.4CAN interface wake up
The device incorporates a high speed 1MBaud CAN physical interface. Its electrical parameters for the CANL, CANH, Rx
MC3398915
For More Information On This Product,
Go to: www.freescale.com
MC33989
and Tx pins are compatible to ISO11898 specification (IS0 11898: 1993(E)). The control of the CAN physical interface operation
is done through the SPI. CAN modes are independent of the SBC operation modes.
The device can wake up from a CAN message if CAN wake up has been enabled. Refer to CAN module description for detail
of wake up detection.
4.9.5SPI wake up
The device can wake up by the CSB pin in sleep or stop mode. Wake up is detected by CSB pin transition from low to high
level. In stop mode this correspond to the condition where MCU and SBC are in Stop mode and when the application wake up
event comes through the MCU.
4.9.6Device power up, SBC wake up
After device or system power up, or after the SBC wakes up from sleep mode, it enters into “reset mode” then into “normal
request mode”.
4.10Debug mode: hardware and software debug with the SBC.
When the SBC is mounted on the same printed circuit board as the mico controller it supplies, both application software and
SBC dedicated routine must be debugged. Following features allow the user to debug the software by allowing the possibility to
disable the SBC internal software watchdog timer.
4.10.1Device power up, reset pin connected to Vdd1
At SBC power up, the Vdd1 voltage is provided, but if no SPI communication occurs to configure the device, a reset occurs
every 350ms. In order to allow software debug and avoid MCU reset the Reset pin can be connected directly to Vdd1 by a jumper.
Freescale Semiconductor, Inc.
nc...
I
cale Semiconductor,
Frees
4.10.2Debug modes with software watchdog disabled though SPI (Normal Debug, Standby Debug and Stop Debug)
The software watchdog can be disabled through SPI. In order to avoid unwanted watchdog disable and to limit the risk of
disabling the watchdog during SBC normal operation the watchdog disable has to be done with the following sequence:
Step 1) Power down the SBC
Step 2) Power up the SBC (The BATFAIL bit is set, and the SBC enters normal request mode)
Step 3) Write to TIM1 register to allow SBC to enter Normal mode
Step 4) Write to MCR register with data 0000 (this enables the debug mode). (Complete SPI byte: 000 1 0000)
Step 5) Write to MCR register normal debug (0001 x101)
While in debug mode, the SBC can be used without having to clear the W/D on a regular basis to facilitate software and
hardware debug.
Step 6) To leave the debug mode, write 0000 to MCR register.
At step 2, the SBC is in normal request. Step 3, 4 and 5 should be done consecutiveley and withing the 350ms time period of
the normal requets mode. If not, the SBC will go into reset mode and enter again normal request.
When the SBC is in debug mode, and has been set into stop debug or sleep debug, when a wake up occurs the SBC enters
Normal requets mode, for a time period of 350ms. In order to avoid the SBC to generate a reset (enter reset mode) the desired
next debug mode (normal debug or standby debug) should be configured within the 350ms time period of the normal requets
mode (for detail refer to “State machine in debug mode”).
To avoid entering debug mode after a power up, first read BATFAIL bit (MCR read) and write 0000 into MCR.
The graph below illustrates the debug mode enter.
VSup
Vdd1
Batfail
TIM1(step 3)
SPI
MCR(step4)
debug mode
4.10.3MCU flash programming configuration
In order to allow the possibility to download software into the application memory (MCU EEPROM or Flash) the SBC allows
the following capabilities: The Vdd1 can be forced by an external power supply to 5V and the reset and Wdogb outputs by
external signal sources to zero or 5V and this without damage. This allow for instance to supply the complete application board by
external power supply and to apply the correct signal to reset pins.No function of the SBC are operating.
Due to pass transistor from Vdd1 to Vsup, supplying the device from Vdd1 pin biases the Vsup pin. So Vsup should be left
open of forced to value above 5V. Reset pin is periodically pulled low for “reset dur” time (3.4ms typical) and then pulled to Vdd1
for 350ms typical. During the time reset is low, reset pin sinks 5mA maximum (Ipdw parameter).
MCR (step5)
MCR (step6)
SPI: read batfail
SBC in debug Mode, no W/D
SBC not in debug Mode and W/D on
16MC33989
For More Information On This Product,
Go to: www.freescale.com
MC33989
Freescale Semiconductor, Inc.
Figure 7. Simplified schematic for Flash programming
Simplified connection used in Flash programming mode
Vsup (open or >5V
SBCMCU = Flash
4.11Package and thermal consideration
The device is proposed in a standard surface mount SO28 package. In order to improve the thermal performances of the
SO28 package, 8 pins are internally connected to the lead frame and are used for heat transfer to the printed circuit board.
nc...
I
Vdd1
reset
Wdogb
External supply and sources applied to Vdd1, reset
and Wdogb test points on application circuit board.
Programming bus
cale Semiconductor,
Frees
MC3398917
For More Information On This Product,
Go to: www.freescale.com
MC33989
Freescale Semiconductor, Inc.
5TABLE OF OPERATION
The table below describes the SBC operation modes. “Normal Debug”, “Standby Debug” and “Stop Debug” are entered via
special sequence described at debug mode paragraph.
nc...
I
cale Semiconductor,
Frees
mode
Normal
Request
Normal
Standby
Stop
Sleep
Debug
Normal
Debug
Standby
Stop
Debug
Voltage
Regulator
HS1 switch
Vdd1: ON
V2: OFF
HS1: OFF
Vdd1: ON
V2: ON
HS1
controllable
Vdd1: ON
V2: OFF
HS1
controllable
Vdd1: ON
(limited current
capability)
V2: OFF
HS1: OFF or
cyclic
Vdd1: OFF
V2: OFF
HS1 OFF or
cyclic
Same as
Normal
Same as
Standby
Same as StopSame as Stop
Wake up
capabilities
(if enabled)
- CAN
- SPI
- L0,L1,L2,L3
- Cyclic sense
- Forced Wake up
- Idd1 Over current*
(*always enable)
- CAN
- SPI
- L0,L1,L2,L3
- Cyclic sense
- Forced Wake up
Reset pinINT
Low for “reset-dur”
time then high
- Normally high.
- Active low if W/D or
Vdd1 under voltage
occurs (and mode 1
selected)
same as Normal
Mode
- Normally high.
- Active low if W/D (*)
or Vdd1 under voltage
occurs
(*): if enabled
LowNot activeNo Running
- Normally high.
- Active low if Vdd1
under voltage occur
- Normally high.
- Active low if Vdd1
under voltage occur
- Normally high.
- Active low if Vdd1
under voltage occur
Software
Watchdog
If enabled,
signal failure
(Vdd pre
warning temp,
CAN, HS1)
same as
Normal Mode
Signal SBC
wake up and
Idd>Idd1s-wu
(not maskable)
Same as
Normal
Same as
Standby
Same as StopNot running
Running
Running
- Running if
enabled
- Not
Running if
disabled
Not running
Not running
CAN cell
Tx/Rx
Low
power
- Low
Power
- Wake up
capability
if enabled
- Low
Power
- Wake up
capability
if enabled
same as
Normal
same as
Standby
Same as
Stop
Flash
program
ming
Forced
externally
not operatingnot operating
not
operating
not
operating
18MC33989
For More Information On This Product,
Go to: www.freescale.com
6STATE MACHINE
MC33989
Freescale Semiconductor, Inc.
State machine (not valid in debug modes)
W/D: timeout OR Vdd1 low
W/D: timeout & Nostop & !BATFAIL
3
4
op &
t
: S
I
h tr
g
P
S
to hi
SPI: Stop & CSB
low to high
transition
SPI: standby &
W/D trigger
(note1)
w
o
l
B
S
C
ion
sit
W
an
/
D:
T
rigge
Standby
SPI: standby
r
Normal
1
SPI: normal
Nostop & SPI: sleep &
CSB low to high transition
1
Nostop & SPI:
sleep & CSB low
to high transition
Sleep
SBC power up
Power
Down
Reset
Reset counter
(3.4ms) expired
W
/
D
:
t
i
m
e
o
u
Vdd1 low OR W/D: time
out 350ms & !Nostop
t
O
R
V
d
d
1
l
o
1
w
(
n
o
t
e
2
)
1
Normal Request
2
Wake up
2
Stop
nc...
I
(Vdd1 high temperature OR (Vdd1 low > 100ms & Vsup >BFew)) & Nostop & !BATFAIL
1234
State machine description:
“Nostop” means Nostop bit = 1
“! Nostop” means Nostop bit = 0
“BATFAIL” means Batfail bit = 1
“! BATFAIL” means Batfail bit = 0
“Vdd1 over temperature” means Vdd1 thermal shutdown occurs
“Vdd1 low” means Vdd1 below reset threshold
“Vdd1 low > 100ms” means Vdd1 below reset threshold for more than
100ms
“W/D: Trigger” means TIM1 register write operation.
Vsup>BFew means Vsup > Battery Fall Early Warning (6.1V typical)
denotes priority
cale Semiconductor,
W/D: timeout OR Vdd1 low
Wake up
“W/D: time out” means TIM1 register not written before W/D time out
period expired, or W/D written in incorrect time window if window W/D selected
(except stop mode). In normal request mode time out is 355ms p2.2 (350ms
p3)ms.
“SPI: Sleep” means SPI write command to MCR register, data sleep
“SPI: Stop” means SPI write command to MCR register, data stop
“SPI: Normal” means SPI write command to MCR register, data normal
“SPI: Standby” means SPI write command to MCR register, data standby
Note 1: these 2 SPI commands must be send in this sequence and
consecutively.
Note 2: if W/D activated
Behavior at SBC power up
Frees
MC3398919
For More Information On This Product,
Go to: www.freescale.com
MC33989
Freescale Semiconductor, Inc.
Normal Request
r
e
g
g
i
r
T
:
D
/
W
Normal
Transitions to enter debug modes
W/D: time out 350ms
Reset counter
(3.4ms) expired
SPI: MCR (0000) & Normal Debug
SPI: MCR (0000) & Standby Debug
Reset
Power
Down
Normal Debug
Standby Debug
nc...
I
Simplified State machine in debug modes
cale Semiconductor,
Frees
Stop (1)
R
Stop debug
SPI: Stop
W/D: time out 350ms
R
Wake up
R
Sleep
& !BATFAILNOSTOP
& SPI: Sleep
Wake up
Normal Request
R
Wake up
SPI: standby &
W/D: Trigger
Standby
SPI: standby debug
Standby Debug
SPI: Stop debug &CSB low to
high transition
Reset counter
(3.4ms) expired
R
R
S
P
I
:
n
o
r
m
a
l
d
E
SPI: Standby debug
SPI: Normal debug
R
Reset
W
/D
:
T
r
i
g
g
e
r
Normal
g
ebu
D
e
b
u
g
by
tand
S
:
I
P
S
E
SPI: Normal Debug
Normal Debug
R
(1) If stop mode entered, it is entered without watchdog, no matter the WDSTOP bit.
(E) debug mode entry point (step 5 of the debug mode entering sequence).
(R) represents transitions to reset mode due to Vdd1 low.
20MC33989
For More Information On This Product,
Go to: www.freescale.com
MC33989
Freescale Semiconductor, Inc.
7SPI INTERFACE AND REGISTER DESCRIPTION
7.1Data format description
Bit1Bit2Bit3Bit4Bit5Bit6Bit7
Bit0
MISO
The SPI is a 8 bit SPI. First 3 bits are used to identify the internal SBC register adress, bit 4 is a read/write bit. The last 4 bits
are data send from MCU to SBC or read back from SBC to MCU.
During write operation state of MISO has no signification.
During read operation only the last 4 bits at MISO have a meaning (content of the accessed register)
Following tables describe the SPI register list, and register bit meaning.
Registers “reset value” is also described, as well as the “reset condition”. Reset condition is the condition which cause the bit
to be set at the “reset value”.
Possible reset condition are:
reset: Power On Reset: POR
SBC
D1D2D3R/WA0A1A2
D0
dataaddress
MOSI
Read operation: R/W bit = 0
Write operation: R/W bit = 1
nc...
I
cale Semiconductor,
Frees
SBC mode transition: NR2R - Normal Request to Reset mode
NR2N - Normal Request to Normal mode
NR2STB - Normal Request to Standby mode
N2R - Normal to Reset mode
STB2R - Standby to Reset mode
STO2R - Stop to Reset mode
STO2NR - Stop to NormalRequest
SBC mode:
List of Registers:
NameAdressDescriptionComment and usage
MCR$ 0 0 0Mode control register
RCR$ 0 0 1Reset control register
CAN$ 0 1 0CAN control register
IOR$ 0 1 1I/O control register
WUR$ 1 0 0
Wake up input regis-
RESET - SBC in Reset mode
Write: Control of normal, standby, sleep, stop, debug modes
Read: BATFAIL flag and other status bits and flags
Write: Configuration for reset voltage level, safe bit, stop mode
Write: CAN module control: Tx/Rx & sleep modes, slope control, wake
enable/disable.
Read: CAN wake up and CAN failure status bits
Write: HS1 (high side switch) control in normal and standby mode
Read: HS1 over temp bit, Vsup and V2 low status.
Write: Control of wake up input polarity
ter
Read: Wake up input, and real time Lx input state
Read: CAN wake up and CAN failure status bits
TIM$ 1 0 1Timing register
LPC$ 1 1 0
INTR$ 1 1 1Interrupt register
Tabl e 7 -1.
Low power mode
control register
Write: TIM1, Watchdog timing control, window or Timeout mode.
Write: TIM2, Cyclic sense and force wake up timing selection
Write: Control of HS1 periodic activation in sleep and stop modes, force
wake up.
Write: Interrupt source configuration
Read: INT source
MC3398921
For More Information On This Product,
Go to: www.freescale.com
MC33989
7.1.1MCR register
MCRD3D2D1D0
Freescale Semiconductor, Inc.
$000b
Reset value
Reset condition
Control bits:
MCTR2MCTR1MCTR0SBC modeDescription
000Enter/leave debug mode
001Normal
010Standby
nc...
I
011Stop, watchdog off
011Stop, watchdog on
100Sleep
101Normal
W
RBATFAIL
(1)
MCTR2MCTR1MCTR0
VDDTEMPGFAILWDRST
000
POR, RESETPOR, RESETPOR, RESET
To enter or leave debug mode, refer to detail
description in chapter 4.
(2)
(2)
(3)
No watchdog running, debug mode110Standby
cale Semiconductor,
Frees
111Stop
(1): Bit BATFAIL cannot be set by SPI. BATFAIL is set when Vsup falls below 3V.
(2): Watchdog ON or OFF depends upon RCR register bit D3.
(3): Before entering sleep mode, bit BATFAIL in MCR register must be previously cleared (MCR read operation), and bit
NOSTOP in RCR register must be previously set to 1.
Status bits:
Status bitDescription
GFAIL
BATFAILBattery fail flag (set when Vsup < 3V)
VDDTEMPTemperature pre-warning on VDD (latched)
WDRSTWatchdog reset occurred
7.1.2RCR register
RCRD3D2D1D0
W
$001b
R
Logic OR of CAN failure (TXF permanent dominant or CAN over
current or CAN therm) or HS1 over temp or V2 low
WDSTOPNOSTOPSAFERSTTH
Reset value1000
Reset condition
POR, RESET,
STO2NR
POR, NR2N,
NR2STB
PORPOR
22MC33989
For More Information On This Product,
Go to: www.freescale.com
Control bits:
MC33989
Freescale Semiconductor, Inc.
ConditionSAFEWDOGB pinReset pin
Device power up
V1 normal, WD is properly triggered
V1 drops below Rstth
WD time out
Status bitBit valueDescription
WDSTOP
nc...
I
7.1.3CAN register
7.1.3.1 High speed CAN transceiver modes
cale Semiconductor,
when the CAN module is in normal, and controls the wake up option (wake up enable or disable) when the CAN module is in sleep
mode. CAN module modes (Normal and Sleep) are independent of the SBC modes.
NOSTOP
RSTTH
Description: control of the high speed CAN module, mode, slew rate and wake up
CAND3D2D1D0
$010b
Reset value
Reset conditionPORPORPOR
Description: Mode bit (D0) controls the state of the CAN module, Normal or Sleep mode. SCO bit (D1) defines the slew rate
0No watchdog in stop mode
1Watchdog runs in stop mode
0Device can not enter sleep mode
1Sleep mode is allowed, device can enter sleep mode
0Reset threshold 1 selected (typ 4.6V)
1Reset threshold 2 selected (typ 4.2V)
W
RCANWUTXFCURTHERM
0
1
0
1
0
1
0
1
SC1SC0MODE
000
00 => 1
1
1
1
0
1
1
0
0
0
1
Frees
SC1SC0MODECAN Mode
000CAN normal, slew rate 0
010CAN normal, slew rate 1
100CAN normal, slew rate 2
110CAN normal, slew rate 3
X11CAN sleep and CAN wake up disable
X01CAN sleep and CAN wake up enable
MC3398923
For More Information On This Product,
Go to: www.freescale.com
MC33989
Freescale Semiconductor, Inc.
Status bits:
Status bitDescription
CANWUCAN wake-up occurred
TXFPermanent dominant TX
CUR (1)CAN transceiver in current limitation
THERMCAN transceiver in thermal shut down
Errors bits are latched in the CAN registers.
(1) Bit CUR is set to 1 when the CAN interface is programmed into “CAN NORMAL” for the first time after V2 turn ON. In order
to clear the bit CUR following procedure must be used: after V2 is ON (SBC in Normal mode and V2 above V2 threshold) the CAN
interface must be set into “CAN sleep”, and then turn back into “CAN NORMAL”.
7.1.4IOR register
Description.: control of HS1 in normal and standby modes
IORD3D2D1D0
nc...
I
cale Semiconductor,
Frees
$011b
W
RV2LOWHS1OTVSUPLOWDEBUG
Reset value
Reset conditionPOR
Control bits:
HS1ONHS1 state
0HS1 OFF, in normal and standby mode
1HS1 ON, in normal and standby mode
When HS1 has been turned off because of over temperature, it can be turned on again by setting the appropriate control bit to
“1”. Errors bits are latched in the IOR registers.
Status bits:
Status bitDescription
V2LOWV2 below 4V
HS1OTHigh side 1 over temperature
HS1ON
0
VSUPLOWVsup below 6.1V
DEBUGIf set, SBC accepts command to go to Debug modes (no WD)
7.1.5WUR register
The local wake-up inputs L0, L1, L2, and L3 can be used in both normal and standby mode as port expander and for waking
up the SBC in sleep or stop mode.
WURD3D2D1D0
$100b
WLCTR3LCTR2LCTR1LCTR0
RL3WUL2WUL1WUL0WU
24MC33989
For More Information On This Product,
Go to: www.freescale.com
MC33989
Freescale Semiconductor, Inc.
WURD3D2D1D0
Reset value0000
Reset conditionPOR, NR2R, N2R, STB2R, STO2R
The wake-up inputs can be configured almost separetly, where L0 and L1 are configured together and L2 and L3 are
note: Status bits have two functions. After SBC wake up, they indicate the wake up source (exemple: L2WU set at 1 if wake up
source is L2 input). After SBC wake and once the WUR has been read, status bits indicates the real time state of the Lx inputs (1
mean Lx is above threshold, 0 means that Lx input is below threshold).
cale Semiconductor,
If after a wake up from Lx input, a W/D timeout occurs before the first reading of the WUR register, the LxWU bits are reset.
This can occurs only if SBC was in stop mode.
7.1.6TIM registers
Frees
Description: This register is splitted into 2 sub registers, TIM1 and TIM2.
TIM1 controls the watchdog timing selection as well as the window or time out option. TIM1 is selected when bit D3 is 0.
TIM2 is used to define the timing for the cyclic sense and forced wake up function. TIM2 is selected when bit D3 is 1.
No read operation is allowed for registers TIM1 and TIM2
01XXhigh level sensitive
10XXlow level sensitive
11XXboth level sensitive
Status bitDescription
L3WU
L2WU
L1WU
L0WU
Wake-up occurred (sleep/ stop mode), logic state on Lx
(standby/ normal mode)
inputs disabled
MC3398925
For More Information On This Product,
Go to: www.freescale.com
7.1.7TIM1 register.
TIM1D3D2D1D0
MC33989
Freescale Semiconductor, Inc.
$101b
Reset value000
Reset condition
Description
WDWWDT1WDT0Timing [ms]Parameter
00010Watchdog period 1
00145Watchdog period 2
010100Watchdog period 3
011350Watchdog period 4
nc...
I
10010Watchdog period 1
10145Watchdog period 2
110100Watchdog period 3
111350Watchdog period 4
Watchdog operation (window and time out)
cale Semiconductor,
W0WDW WDT1 WDT0
R
POR, RESETPOR, RESETPOR, RESET
no window watchdog
window watchdog
enabled (window lenght
is half the watchdog tim-
ing)
window closedwindow open
no watchdog clear allowed
WD timing * 50%
(WD timing selected by TIM 1 bit WDW=1)
Watchdog period
Window watchdog
window open
for watchdog clear
for watchdog clear
WD timing * 50%
Frees
(WD timing selected by TIM 1, bit WDW=0)
7.1.8TIM2 register
The purpose of TIM2 register is to select an appropriate timing for sensing the wake-up circuitry or cyclically supplying
devices by switching on or off HS1.
TIM2D3D2D1D0
$101b
W1CSP2CSP1CSP0
R
26MC33989
For More Information On This Product,
Watchdog period
Time out watchdog
Go to: www.freescale.com
MC33989
Freescale Semiconductor, Inc.
TIM2D3D2D1D0
Reset Value
Reset conditionPOR, RESETPOR, RESETPOR, RESET
CSP2CSP1CSP0Cyclic sense timing [ms]Parameter
0005
00110Cyclic sense/FWU timing 2
01020Cyclic sense/FWU timing 3
01140Cyclic sense/FWU timing 4
10075Cyclic sense/FWU timing 5
101 100Cyclic sense/FWU timing 6
110 200Cyclic sense/FWU timing 7
nc...
I
111 400Cyclic sense/FWU timing 8
000
Cyclic sense/FWU timing 1
Cyclic sense on time
7.1.9LPC register
cale Semiconductor,
Frees
Description: This register controls:
- The state of HS1 in stop and sleep mode (HS1 permanently off or HS1 cyclic)
- Enable or disable the forced wake up function (SBC automatic wake up after time spend in sleep or stop mode, time defined
by TIM2 register)
- Enable or disable the sense of the wake up inputs (Lx) at sampling point of the cyclic sense period (LX2HS1 bit).
Reset value000
Reset condition
HS1 ON
HS1
sample
LPCD3D2D1D0
WLX2HS1FWUHS1AUTO
$110b
R
Cyclic sense timing, off time
HS1 OFF
POR, NR2R, N2R,
STB2R, STO2R
POR, NR2R, N2R,
STB2R, STO2R
10 us
Lx sampling point
t
POR, NR2R, N2R,
STB2R, STO2R
MC3398927
For More Information On This Product,
Go to: www.freescale.com
MC33989
Freescale Semiconductor, Inc.
LX2HS1Wake-up inputs supplied by HS1
HS1AUTOAutotiming HS1 in sleep and stop modes
0off
1on, HS1 cyclic, period defined in TIM2 register
refer to chapter 4.9.2 for detail of the LPC register set up required for proper cyclic sense or direct wake up operation.
7.1.10INTR register
Description: This register allows to mask or enable the INT source. A read operation informs about the interrupt source.
VDDTEMPMask bit for VDD medium temperature (pre warning)
HS1OT-V2LOWMask bit for HS1 over temperature AND V2 below 4V
VSUPLOWMask bit for Vsup below 6.1V
When the mask bit has been set, INTB pin goes low if the appropriate condition occurs.
Status bits:
Status bitDescription
CANFCAN failure
VDDTEMPVDD medium temperature (pre warning)
HS1OTHS1 over temperature
VSUPLOWVsup below 6.1V
Notes:
28MC33989
For More Information On This Product,
Go to: www.freescale.com
MC33989
If HS1OT-V2LOW interrupt is only selected (only bit D2 set in INTR register), reading INTR register bit D2 leads to two
possibilities:
Bit D2 = 1: INT source is HS1OT.
Bit D2 = 0: INT source is V2LOW.
HS1OT and V2LOW bits status are available in IOR register.
Upon a wake up condition from stop mode due to over current detection (Idd1s-wu1 or Idd1s-wu2), an INT pulse is generated,
however INTR register content remains at 0000 (not bit set into the INTR register).
The status bit of the INT register content are a copy of the IOR and CAN registers status content. To clear the INT register bit
the IOR and/or CAN register must be cleared (read register). Once this operation is done at IOR and CAN register the INT register
is updated.
Errors bits are latched in the CAN and IOR registers.
nc...
I
Freescale Semiconductor, Inc.
cale Semiconductor,
Frees
MC3398929
For More Information On This Product,
Go to: www.freescale.com
MC33989
Freescale Semiconductor, Inc.
8TYPICAL APPLICATION SCHEMATIC:
MC33989, SBC High Speed Typical Application Schematic
2. INTERPRET DIMENSIONS AND TOLERANCES PER
ASME Y14.5M, 1994.
3. DIMENSIONS D AND E DO NOT INCLUDE MOLD
PROTRUSIONS.
4. MAXIMUM MOLD PROTRUSION 0.015 PER SIDE.
5. DIMENSION B DOES NOT INCLUDE DAMBAR
PROTRUSION. ALLOWABLE DAMBAR PROTRUSION
SHALL BE 0.13 TOTAL IN EXCESS OF B DIMENSION
AT MAXIMUM MATERIAL CONDITION.
MILLIMETERS
DIM MIN MAX
A
2.35 2.65
A1
0.13 0.29
B
0.35 0.49
C
0.23 0.32
D
L
C
θ
17.80 18.05
E
7.40 7.60
e
1.27 BSC
H
10.05 10.55
L
0.41 0.90
q0 8
××
Frees
MC3398931
For More Information On This Product,
Go to: www.freescale.com
HOW TO REACH US:
USA/EUROPE/LOCATIONS NOT LISTED: Motorola Literature Distribution: P.O. Box 5405, Denver, Colorado 80217.
1-303-675-2140 or 1-800-441-2447
JAPAN: Motorola Japan Ltd.; SPS, Technical Information Center, 3-20-1 Minami-Azabu. Minato-ku, Tokyo 106-8573 Japan.
81-3-3440-3569
ASIA/PACIFIC: Motorola Semiconductors H.K. Ltd.; Silicon Harbour Centre, 2 Dai King Street, Tai Po Industrial Estate, Tao Po, N.T.,
Hong Kong. 852-26668334
TECHNICAL INFORMATION CENTER: 1-800-521-6274
Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee
regarding the suitability of its products for any particular purpose, nor does Motorola assume any liability arising out of the application or use of any product
or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. “Typical” parameters can and do
vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals”, must be validated for each customer
application by customer’s technical experts. Motorola does not convey any license under its patent rights nor the rights of others. Motorola products are not
designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or
sustain life, or for any other appl ication in which the failure of the Motorola product could create a situation where personal injury or death may occur.
Should Buyer purchase or use Motorola products for any such unintended or unauthorized application, Buyer shall indemnify and hold Motorola and its
officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees
arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that
Motorola was negligent regarding the design or manufacture of the part. Motorola and are registered trademarks of Motorola, Inc. Motorola, Inc. is an Equal
Opportunity/Affirmative Action Employer.
MOTOROLA and the Stylized M Logo are registered in the US Patent and Trademark Office. All other product or service names are the property of their
respective owners.