FREESCALE MC33389CVWR2

Freescale Semiconductor
Advance Information
Document Number: MC33389
Rev. 5.0, 3/2007
System Basis Chip with Low
Speed Fault Tolerant CAN
33389
The 33389 is a monolithic integrated circuit combining many
functions frequently used by automotive Engine Control Units (ECUs).
It incorporates a low speed fault tolerant CAN transceiver.
Features
• Dual Low Drop Voltage Regulators, with Respectively 100 mA and
200 mA Current Capabilities, Current Limitation, and Over
Temperature Detection with Pre-warning
• 5.0 V Output Voltage for V1 Regulator
• Three Operational Modes (Normal, Stand-by, and Sleep Modes)
Separated from the CAN Interface Operating Modes
• Low Speed 125 kBaud Fault Tolerant CAN Interface, Compatible
with 33388 Stand Alone Physical Interface
• V1 Regulator Monitoring and Reset Function
• Three External High Voltage Wake-Up Inputs, Associated with V3
VBAT Switch
• 100 mA Output Current Capability for V3 VBAT Switch Allowing Drive
of External Switches or Relays
• Low Stand-by and Sleep Current Consumption
• VBAT Monitoring and VBAT Failure Detection Capabilities
• DC Operating Voltage up to 27 V
• 40 V Maximum Transient Voltage
• Programmable Software Window Watchdog and Reset
• Wake-Up Capabilities (CAN Interface, Local Programmable
Cycle Wake
• INterface with the MCU through the SPI
• Pb-Free Packaging Designated by Suffix Codes VW and EG
SYSTEM BASIS CHIP
DH SUFFIX
VW SUFFIX (PB-FREE)
PLASTIC PACKAGE
98ASH70273A
20-PIN HSOP
DW SUFFIX
EG SUFFIX (PB-FREE)
PLASTIC PACKAGE
98ASB42345B
28-PIN SOICW
ORDERING INFORMATION
Temperature
Range (TA)
Device
Package
MC33389CDH/R2
HSOP-20
MC33389CVW/R2
-40 to 125°C
MC33389CDW/R2
SO-28
MC33389DDW/R2
VPWR
33389
5.0 V
MCU
CS
SCK
MOSI
MISO
5.0 V
SPI
V1
VBAT
V2
V3
L0
L1
L2
GND
RTH
CS
SCK
MOSI
MISO
INT
RST
TX
RX
CAN H
CAN L
Switched VBAT
Wake-Up Inputs
Twisted
CAN Bus
Pair
RTL
Figure 1. 33389 Simplified Application Diagram
* This document contains certain information on a new product.
Specifications and information herein are subject to change without notice.
© Freescale Semiconductor, Inc., 2007. All rights reserved.
DEVICE VARIATIONS
DEVICE VARIATIONS
Table 1. Device Variations
Freescale Part No.
V1 Undervoltage
MC33389CDH
MC33389CVW
In V1 undervoltage condition, device remains in permanent reset state until V1 returns to normal
conditions. V1 is protected by overcurrent and overtemperature functions.
MC33389CDW
MC33389DDW
The sole difference between the C version and the D version is V1 Reset Threshold.
Reference V1 Reset Threshold on V1 on page 9.
33389
2
Analog Integrated Circuit Device Data
Freescale Semiconductor
INTERNAL BLOCK DIAGRAM
INTERNAL BLOCK DIAGRAM
Dual Voltage Regulator
VBAT
V2
5V
Voltage Control
Battery Voltage Failure Detect
Voltage Monitor
5V
VBAT Switch Supply
Mode Control
V1
V3
INT
Interrupt Control
Reset Control
Watchdog & Oscillator
L0
RST
Programmable
Wake-Up Inputs
L1
V2
L2
TX
RX
CS
SCLK
SPI
Interface
MOSI
Fault-Tolerant
CAN
Transceiver
RTH
MISO
CANH
CANL
GND
RTL
Figure 2. 33389 Simplified Internal Block Diagram
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
3
PIN CONNECTIONS
PIN CONNECTIONS
TX
V1
RX
RST
INT
MISO
MOSI
SCLK
CS
L2
1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
V3
VBAT
RTL
V2
CANH
GND
CANL
RTH
L0
L1
Figure 3. 33389 Pin Connections
Table 1. 33389 Pin Definitions: HSOSP 20-Lead
A functional description of each pin can be found in the Functional Pin Description section beginning on page 17.
Pin Number
Pin Name
Formal Name
Definition
1
TX
Transmitter Data
2
V1
3
RX
Receiver Data
4
RST
Reset
5
INT
Interrupt Output
6
MISO
Master In/Slave Out
This pin is the tri-state output from the shift register.
7
MOSI
Master Out/Slave In
This pin is for the input of serial instruction data.
8
SCLK
System Clock
9
CS
Chip Select
10 - 12
L0 - L2
Level 0 - 2 inputs
(L0: L2)
13
RTH
RTH
14
CANL
CAN Low
15
GND
Ground
16
CANH
CAN High
17
V2
18
RTL
RTL
19
VBAT
Voltage Battery
20
V3
Voltage Regulator
Three
Transmitter input of the LS CAN interface
Voltage Regulator One This 5.0 V pin is a 3% low drop voltage regulator dedicated to the microcontroller supply.
Receiver output of the LS CAN interface
This is an Input/Output pin.
This output is asserted LOW when an enabled interrupt condition occurs.
This pin clocks the internal shift registers.
This pin communicates with the system MCU and enables SPI communication.
Input interfaces to external circuitry. Levels at these pins can be read by SPI and input
can be used as programmable wake-up input in Sleep or Stop mode.
Pin for the connection of the bus termination to CANH
CAN low input/output
This pin is the ground of the integrated circuit.
CAN high input/output
Voltage Regulator Two This 5.0 V pin is a low drop voltage regulator dedicated to the peripherals supply.
Pin for the connection of the bus termination to CANL
This pin is voltage supply from the battery.
This pin is a 10 Ω switch to VBAT, used to supply external contacts or relays.
33389
4
Analog Integrated Circuit Device Data
Freescale Semiconductor
PIN CONNECTIONS
TX
V1
RX
RST
INT
GND
GND
GND
GND
MISO
MOSI
SCLK
CS
L2
1
28
2
27
3
26
4
25
5
24
6
23
7
22
8
21
9
20
10
19
11
18
12
17
13
16
14
15
V3
VBAT
RTL
V2
CANH
GND
GND
GND
GND
CANL
RTH
NC
L0
L1
Table 2. 33389 Pin Definitions: SOICW 28-Lead
A functional description of each pin can be found in the Functional Pin Description section beginning on page 17.
Pin Number
Pin
Name
1
TX
Transmitter Data
Transmitter input of the LS CAN interface
2
V1
Voltage Regulator
One
This 5.0 V pin is a 3% low drop voltage regulator dedicated to the microcontroller supply.
3
RX
Receiver Data
Receiver output of the LS CAN interface
4
RST
Reset
This is an Input/Output pin.
5
INT
Interrupt
This output is asserted LOW when an enabled interrupt condition occurs.
6 -9 20 - 23
GND
Ground
These device ground pins are internally connected to the package lead frame to provide
a 33389-to-PCB thermal path.
10
MISO
Master In/Slave Out
This pin is the tri-state output from the shift register.
11
MOSI
Master Out/Slave In
This pin is for the input of serial instruction data.
12
SCLK
System Clock
This pin clocks the internal shift registers.
13
CS
Chip Select
This pin communicates with the system MCU and enables SPI communication.
14, 15, 16
L0: L2
Wake-up Input
(L0: L2)
Input interfaces to external circuitry. Levels at these pins can be read by SPI and input
can be used as programmable wake-up input in Sleep or Stop mode.
17
NC
No Connect
This pin does not connect.
18
RTH
Thermal Resistance
High
Pin for the connection of the bus termination to CANH
19
CANL
CAN Low
CAN low input/output
24
CANH
CAN High
CAN high input/output
25
V2
Voltage Regulator
Two
This 5.0 V pin is a low drop voltage regulator dedicated to the peripherals supply.
26
RTL
Thermal Resistance
Low
Pin for the connection of the bus termination to CANL
27
VBAT
Voltage Battery
This pin is voltage supply from the battery.
28
V3
Voltage Regulator
Three
This pin is a 10 Ω switch to VBAT, used to supply external contacts or relays.
Formal Name
Definition
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
5
ELECTRICAL CHARACTERISTICS
MAXIMUM RATINGS
ELECTRICAL CHARACTERISTICS
MAXIMUM RATINGS
Table 3. Maximum Ratings
All voltages are with respect to ground unless otherwise noted. Exceeding these ratings may cause a malfunction or
permanent damage to the device.
Ratings
Symbol
Value
Unit
DC Voltage at VBAT Pin
VBAT
-0.3 to 27
V
Transient Voltage at VBAT Pin
VBAT
40
V
DC Voltage at Pins CANH and CANL
VBAT
-20 to 27
V
Transient Voltage at Pins CANH and CANL
VBAT
-40 to 40
V
VBAT
-100 to 100
V
DC Voltage at Pins V1 and V2
VBAT
-0.3 to 6.0
V
DC Current at Output Pins RX, MISO, RST, INT
VBAT
-20 to 20
mA
DC Voltage at Input Pins TX, MOSI, CS, RST
VBAT
-0.3 to 6.0
V
DC Voltage at Pins L0, L1, L2
VBAT
-0.3 to 40
V
Current at Pins L0, L1, L2
VBAT
-15
mA
Transient Current at Pin V3
VBAT
-30 to 20
mA
DC Voltage at pins RTH and RTL
VBAT
-0.3 to 40
V
ESD Voltage on any Pin (HBM 100 pF, 1.5 K)
VBAT
-2.0 to 2.0
kV
ESD Voltage on L0, L1, L2, CANH, CANL, VBAT
VBAT
-2.0 to 2.0
kV
ESD Voltage on any Pin (MM 200 pF, 0 Ω)
VBAT
-150 to 150
V
Operating Junction Temperature
TJ
-40 to 150
°C
Ambient Temperature
TA
-40 to 125
°C
Storage Temperature
TS
-55 to 165
°C
ELECTRICAL RATINGS
t < 500 ms (load dump)
0.0 < V2 < 5.5, VBAT > 0.0, t < 500 ms
Coupled Transient Voltage at Pins CANH and CANL
With 100 Ω Termination Resistors, Coupled Through 1.0 nF
(1)
0.0 < VBAT < 40 V
THERMAL RATINGS
Notes
1. Pulses 1, 2, 3a, and 3b according to ISO7637.
33389
6
Analog Integrated Circuit Device Data
Freescale Semiconductor
ELECTRICAL CHARACTERISTICS
MAXIMUM RATINGS
Table 3. Maximum Ratings (continued)
All voltages are with respect to ground unless otherwise noted. Exceeding these ratings may cause a malfunction or
permanent damage to the device.
Ratings
Symbol
Value
Unit
RRTHRTL
500 to 16 k
Ω
RAJC
3.1
°C/W
RAS/P
17
°C/W
TSD
165
°C
TPPRT
Note 5
°C
THERMAL RESISTANCE
RTH, RTL Termination Resistance
Junction to Heatsink Thermal Resistance for HSOP-20
33% Power on V1, 66% on V2 (including CAN) (2)
Junction to Pin Thermal Resistance for SO-28WD (3)
Thermal Shutdown Temperature
Peak Package Reflow Temperature During Reflow (4), (5)
Notes
2. Refer to thermal management in device description section.
3. Refer to thermal management in device section. Ground pins 6, 7, 8, 9, 20, 21, 22, and 23 of SO28WB package.
4. Pin soldering temperature limit is for 10 seconds maximum duration. Not designed for immersion soldering. Exceeding these limits may
cause malfunction or permanent damage to the device.
5. Freescale’s Package Reflow capability meets Pb-free requirements for JEDEC standard J-STD-020C. For Peak Package Reflow
Temperature and Moisture Sensitivity Levels (MSL),
Go to www.freescale.com, search by part number [e.g. remove prefixes/suffixes and enter the core ID to view all orderable parts. (i.e.
MC33xxxD enter 33xxx), and review parametrics.
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
7
ELECTRICAL CHARACTERISTICS
STATIC ELECTRICAL CHARACTERISTICS
STATIC ELECTRICAL CHARACTERISTICS
Table 4. Static Electrical Characteristics
Characteristics noted under conditions VBAT, - 40°C ≤ TA ≤ 125°C unless otherwise noted. Typical values noted reflect the
approximate parameter means at TA = 25°C under nominal conditions unless otherwise noted.
Characteristic
Symbol
Min
Typ
Max
Unit
Nominal VBAT Operating Range
VBAT
5.5
—
18
V
Functional VBAT Operating Range
VBAT
5.5
—
27
V
POWER INPUT (VBAT)
VBAT Threshold for BATFAIL Flag
BATFAIL
2.0
—
4.0
V
Delay for Signalling BATFAIL
TFAIL
—
150
400
µs
Overvoltage VBAT Threshold
BATHIGH
18
20
22
V
THIGH
4.0
18
50
µs
ISLEEP1
—
75
125
Delay for Setting BATHIGH Flag
Supply Current in Sleep Mode
Forced Wake-Up and Cyclic Sense Disabled
µA
VBAT = 12 V, TJ = 25°C to 150°C
Supply Current in Sleep Mode
ISLEEP2
—
—
Forced Wake-Up and Cyclic Sense Disabled
µA
210
VBAT = 12 V, TJ = -40°C to 25°C
Supply Current in Sleep Mode
ISLEEP3
—
Forced Wake-Up and Cyclic Sense Enabled
µA
105
155
VBAT = 12 V, TJ = 25°C to 150°C
Supply Current in Sleep Mode
ISLEEP4
—
—
Forced Wake-Up and Cyclic Sense Enabled
µA
250
VBAT = 12 V, TJ = -40°C to 25°C
Supply Current in Sleep Mode
ISLEEP5
—
—
Forced Wake-Up and Cyclic Sense Disabled
µA
300
VBAT = 12 V, TJ = 25°C to 150°C
Supply Current in Stand-by Mode
ISTB2
—
0.5
1.0
mA
Supply Current in Normal Mode
INREC
—
3.5
7.0
mA
4.85
5.0
5.15
4.8
5.0
5.2
0.35
0.5
Normal Mode with I(V1) = 1 I(V2) = 0
Bus in Recessive State
POWER OUTPUT
V1 Output Voltage
V1NOM
0 mA < IOUT < 100 mA
V
5.5 V < VBAT < 27 V
V1 Output Voltage
V
V1
IOUT =< 100 mA
27 V < VBAT < 40 V
V1 Drop Voltage
IOUT =< 100 mA (6)
V1DROP
—
V
Notes
6. Measured when V1 has dropped 100mV below its nominal value
33389
8
Analog Integrated Circuit Device Data
Freescale Semiconductor
ELECTRICAL CHARACTERISTICS
STATIC ELECTRICAL CHARACTERISTICS
Table 4. Static Electrical Characteristics (continued)
Characteristics noted under conditions VBAT, - 40°C ≤ TA ≤ 125°C unless otherwise noted. Typical values noted reflect the
approximate parameter means at TA = 25°C under nominal conditions unless otherwise noted.
Characteristic
Symbol
Min
Typ
Max
Unit
I1MAX
130
170
200
mA
TV1H
160
—
190
°C
TV1L
130
—
160
°C
TV1H-TV1L
20
—
40
°C
(C Version)
4.1
4.3
4.8
(D Version)
V2 - 0.4
V1 - 0.28
V1 - 0.1
POWER OUTPUT (CONTINUED)
V1 Output Current Limitation
V1NOM - 100 mV
V1 Overtemperature Shut OFF Threshold
Junction Temperature
V1 Pre-Warning Temperature Threshold
Junction Temperature
V1 Temperature Threshold Difference
V1 Reset Threshold on V1
V
VR1
5.5 V < VBAT < 27 V
V1 Reset Active V1 Range
V1R
1.0
VR1
—
V
V1 Reverse Current from V1 to VBAT and GND
IREV
—
—
1.0
mA
V2NOM
4.75
5.0
5.25
V
V2DROP
—
0.2
0.5
V
V2DROP
—
0.05
0.15
V
I1MAX
220
280
350
mA
VR2
4.1
4.55
4.75
V
VR2 Delay Time
VR2
20
—
70
µs
V2 Overtemperature Pre-Warning Threshold
TV2L
130
—
160
°C
TV2H
155
—
185
°C
V2LR1
-15
—
+15
mV
V2LR2
-75
—
+75
mV
V2LRR
30
55
—
dB
V1 = 4.9 V, 0 < VBAT < 4.9 V
V2 Output Voltage
0 mA < IOUT < 200 mA 5.5 V < VBAT < 40 V
V2 Drop Voltage
IOUT = 200 mA
(7)
V2 Drop Voltage
IOUT = 20 mA
(7)
V2 Output Current Limitation
V2NOM -100 mV
V2 Threshold on V2 to Report V2 OFF
V2 Nominal
V2 Junction Temperature
V2 Overtemperature Switch-OFF Threshold
V2 Junction Temperature
V2 Line Regulation
9.0 V < VBAT < 16.5
V2 Load Regulation
4.0 mA < ILOAD < 200 mA
V2 Line Ripple Rejection
100 Hz, 1.0 VPP on VBAT
(8)
Notes
7. Measured when V1 has dropped 100mV below its nominal value
8. Guaranteed by design; however, it is not production tested
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
9
ELECTRICAL CHARACTERISTICS
STATIC ELECTRICAL CHARACTERISTICS
Table 4. Static Electrical Characteristics (continued)
Characteristics noted under conditions VBAT, - 40°C ≤ TA ≤ 125°C unless otherwise noted. Typical values noted reflect the
approximate parameter means at TA = 25°C under nominal conditions unless otherwise noted.
Characteristic
Symbol
Min
Typ
Max
Unit
V2V2-V1
-3.0
—
3.0
%
V3DROP
—
0.4
1.0
V
V3DROP
—
—
1.5
V
I3LIM
100
150
250
mA
I3LEAK
—
—
15
µA
TV3
155
—
185
°C
VV3
0.3
—
0.5
V
VRC2
3.0
3.9
4.7
V
VCANTH
-3.2
—
-2.5
V
VCANDRTH
-3.2
—
-2.5
V
VCANH
—
—
0.2
V
VCANL
V2-0.2
—
—
V
VCANH
V2-1.4
—
—
V
VCANL
—
—
1.4
V
ICANH
50
75
100
mA
ICANL
50
95
130
mA
VCANH-VCANL
7.3
7.9
8.9
V
VCANH
VBAT/2+3
—
VBAT/2+5
V
ICANHF3
—
5.0
10
µA
ICANLF4
—
0.0
2.0
µA
POWER OUTPUT (CONTINUED)
V2 Percentage Difference V2-V1
VBAT > 9.0, IV1 = 20 mA, IV2 = 40 mA
V3 High Level Voltage Drop
IV3 = -50 mA, 9.0 V < VBAT < 40 V
V3 High Level Voltage Drop
IV3 = -50 mA, 6.0 V < VBAT < 9.0 V
V3 Leakage Output Limitation
5.5 V < VBAT < 27 V
V3 Leakage Current
V3 = 0 (V3 OFF)
V3 Overtemperature Detection
Junction Temperature
V3 Voltage with -30 mA (negative current for Relay Switch OFF)
No Functional Error Allowed for t < 100 ms
CAN Transceiver V2 for Forced Bus Stand-by Mode (Fail Safe)
CANH/L Differential Receiver, Threshold Voltage
CANH/L Differential Receiver, Dominant to Recessive Threshold
(Bus Failures 1, 2, and 5)
CANH Recessive Output Voltage
TX = High, R(RTH) < 4.0 k
CANL Recessive Output Voltage
TX = High, R(RTH) < 4.0 k
CANH Output Voltage, Dominant
TX = 0 V, BusNormal Mode, ICANH = - 40 mA
CANL Output Voltage, Dominant
TX = 0 V, Bus Normal Mode, ICANL = - 40 mA
CANH Output Current Limit
(VCANH = 0.0 V, TX = 0)
CANL Output Current Limit
(VCANL = 14 V, TX = 0)
Detection Threshold for Short Circuit to Battery Voltage
Bus Normal Mode
Detection Threshold for Short Circuit to Battery Voltage
Bus Stand-by Mode
CANH Output Current, Failure 3
Bus Stand-by Mode VCANH = 12 V
CANL Output Current, Failure 4
Bus Stand-by Mode, VCANL = 0.0 V, VBAT = 12 V
33389
10
Analog Integrated Circuit Device Data
Freescale Semiconductor
ELECTRICAL CHARACTERISTICS
STATIC ELECTRICAL CHARACTERISTICS
Table 4. Static Electrical Characteristics (continued)
Characteristics noted under conditions VBAT, - 40°C ≤ TA ≤ 125°C unless otherwise noted. Typical values noted reflect the
approximate parameter means at TA = 25°C under nominal conditions unless otherwise noted.
Characteristic
Symbol
Min
Typ
Max
Unit
VWAKEL
2.5
3.3
3.9
V
VWAKEH
1.2
2.0
2.7
V
VWAKEL VWAKEH
0.2
—
—
V
VCANH
1.5
1.85
2.15
V
VCANL
2.8
3.05
3.4
V
ICANLPU
45
75
90
µA
ICANLPD
45
75
90
µA
Receiver Differential Input Impedance CANH/CANL
RDIFF
100
—
180
kΩ
Differential Receiver Common Mode Voltage Range
VCOM
-8.0
—
8.0
V
RTL to V2 Switch on Resistance
RRTL
10
25
70
Ω
RRTL
8.0
12.5
20
kΩ
RRTH
—
25
70
Ω
VIH
0.7 V1
—
V1 + 0.3 V
V
VCSTH
—
2.2
—
V
tCSFT
—
—
3.0
µs
VIL
-0.3
—
0.3 V1
V
ICSH
-100
—
-20
µA
ICSL
-100
—
-20
µA
ITXH
-200
-80
-25
µA
ITXL
-800
-320
-100
µA
ISISLK
-10
—
+10
µA
POWER OUTPUT (CONTINUED)
CANL Wake-Up Voltage Threshold
Bus Stand-by Mode
CANH Wake-Up Voltage Threshold
Bus Stand-by Mode
Wake-Up Threshold Difference
CANH Single Ended Receiver Threshold
Failures 4, 6, and 7
CANL Single Ended Receiver Threshold
Failures 3 and 8
CANL Pull-Up Current
Bus Normal Mode
CANH Pull Down Current
Bus Normal Mode
IOUT < -10 mA, Bus Normal Operating Mode
RTL to Battery Switch Series Resistance
Bus Stand-by Mode
RTH to Ground Switch on Resistance
IOUT < 10 mA, All Modes
CONTROL INTERFACE
High Level Input Voltage
CS Threshold for SPI Wake-Up
SBC in Sleep Mode, V1 < 1.5 V
CS Filter Time for SPI Wake-Up
SBC in Sleep Mode, V1 < 1.0 V
Low Level Input Voltage
High Level Input Current on CS
VI = 4.0 V
Low Level Input Current on CS
VI = 1.0 V
TX High Level Input Current
VI = 4.0 V
TX Low Level Input Current
VI = 1.0 V
SI, SCLK Input Current
0 < VIN < V1
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
11
ELECTRICAL CHARACTERISTICS
STATIC ELECTRICAL CHARACTERISTICS
Table 4. Static Electrical Characteristics (continued)
Characteristics noted under conditions VBAT, - 40°C ≤ TA ≤ 125°C unless otherwise noted. Typical values noted reflect the
approximate parameter means at TA = 25°C under nominal conditions unless otherwise noted.
Characteristic
Symbol
Min
Typ
Max
Unit
VOH
V1 - 0.9
—
V1
V
VOL
0.0
—
0.9
V
IZ
-2.0
—
+2.0
µA
RST High Level Input Voltage
VIH
0.7 V1
—
V1 + 0.3 V
—
RST Low Level Input Voltage
VIL
-0.3
—
-0.3 V1
V
IRSTH1
-50
-30
-10
µA
IRSTH2
—
-300
—
µA
VRST
0.0
—
0.9
V
VWUP
3.0
3.7
4.5
V
VWUN
2.5
3.0
3.8
V
VHYS
—
700
—
mA
ILXWU
-5.0
—
+5.0
µA
VIN
—
350
600
µA
CONTROL INTERFACE (CONTINUED)
RX, INT, MISO High Level Output Voltage
I0 = -250 µA
RX, INT, MISO Low Level Output Voltage
I0 = -1.5 mA
RX, INT, MISO Tri-Stated SO Output Current
0 V < VSO < V1
RST High Level Output Current 1
0.0 < VOUT < 0.5 V1
RST High Level Output Current 2
0.5 < VOUT < V1
RST Low Level Output Voltage (I0 = 1.5 mA)
1.0 V < VBAT < 27 V
LX/Wake-Up Positive Switching Threshold
6.0 V <VBAT < 16 V
LX/Wake-Up Negative Switching Threshold
6.0 V <VBAT < 16 V
LX/Wake-Up Hysteresis
6.0 V <VBAT < 16 V
LX/Wake-Up Leakage Current 0 < VWU < VBAT
LX Input Current at 40 V
33389
12
Analog Integrated Circuit Device Data
Freescale Semiconductor
ELECTRICAL CHARACTERISTICS
DYNAMIC ELECTRICAL CHARACTERISTICS
DYNAMIC ELECTRICAL CHARACTERISTICS
Table 5. Dynamic Electrical Characteristics
Characteristics noted under conditions 7.0 V ≤ VSUP ≤ 18 V, - 40°C ≤ TA ≤ 125°C, GND = 0 V unless otherwise noted. Typical
values noted reflect the approximate parameter means at TA = 25°C under nominal conditions unless otherwise noted.
Characteristic
Symbol
Min
Typ
Max
Unit
tCANRD
3.5
5.0
10
V/µs
tCANDR
2.0
3.5
10
V/µs
tDH
—
1.2
2.0
µs
tDL
—
2.0
3.0
µs
Wake-Up Filter Time
tWUFT
8.0
20
38
µs
RST Duration after V1 High
tRES
—
1.0
—
ms
tPSCLK
500
—
—
ns
SCLK Clock High Time
tWSCLKH
175
—
—
ns
SCLK Clock Low Time
tWSCLKL
175
—
—
ns
Falling Edge of CS to Rising Edge of SCLK
tLEAD
250
50
—
ns
Falling Edge of SCLK to Rising Edge of CS
tLEAD
250
50
—
ns
SI to Falling Edge of SCLK
tSISU
125
25
—
ns
Falling Edge of SCLK to SI
tSI(HOLD)
125
25
—
ns
SO Rise Time (CL = 200 pF)
tRSO
—
25
75
ns
SO Fall Time (CL = 200 pF)
tFSO
—
25
75
ns
SI, CS, SCLK Incoming Signal Rise Time
tRSI
—
—
200
ns
SI, CS, SCLK Incoming Signal Fall Time
tFSI
—
—
200
—
—
—
MICROCONTROLLER INTERFACE
AC CANL/CANH Slew Rates, Rising or Falling Edges, TX from Recessive to
Dominant State
CLOAD - 10 nF, 133 Ω Termination Resistors
AC CANL/CANH Slew Rates, Rising or Falling Edges, TX from Dominant to
Recessive State
CLOAD - 10 nF, 133 Ω Termination Resistors
AC Propagation Delay TX to RX Low
CLOAD - 10 nF, 133 Ω Termination Resistors
AC Propagation Delay TX to RX High
CLOAD - 10 nF, 133 Ω Termination Resistors
SCLK Clock Period
Time from Falling Edge of CS to SO
ns
Low Impedance
tSO(EN)
200
High Impedance
tSO(DIS)
200
Time from Rising Edge of SCLK to SO Data Valid
tVALID
—
50
125
—
RMOT
-12
—
+12
%
Software Watchdog Timing 1 (9)
tSW1
4.4
5.0
5.6
ms
Software Watchdog Timing 2
(9)
tSW2
8.8
10
11.2
ms
Software Watchdog Timing 3
(9)
tSW3
17.6
20
22.4
ms
Software Watchdog Timing 4
(9)
tSW4
28
32
36
ms
0.2 V1 or V2 < SO > 0.8 V1 or V2, CL = 200 pF
Running Mode Oscillator Tolerance (Normal Request, Normal and Stand-by
Modes (9))
Notes
9. Software watchdog timing accuracy is based on the running mode oscillator tolerance
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
13
ELECTRICAL CHARACTERISTICS
DYNAMIC ELECTRICAL CHARACTERISTICS
Table 5. Dynamic Electrical Characteristics (continued)
Characteristics noted under conditions 7.0 V ≤ VSUP ≤ 18 V, - 40°C ≤ TA ≤ 125°C, GND = 0 V unless otherwise noted. Typical
values noted reflect the approximate parameter means at TA = 25°C under nominal conditions unless otherwise noted.
Characteristic
Symbol
Min
Typ
Max
Unit
Software Watchdog Timing 5 (10)
tSW5
44.8
51
58
ms
Software Watchdog Timing 6
(10)
tSW6
65
74
83
ms
Software Watchdog Timing 7
(10)
tSW7
88
100
112
ms
Software Watchdog Timing 8
(10).
tSW8
167
190
213
ms
MICROCONTROLLER INTERFACE (CONTINUED)
Sleep Mode Oscillator Tolerance
(10)
SMOT
-30
—
+30
%
Cyclic Sense/FWU Timing 1 Sleep Mode
(10)
tCY1
22.4
32
46.6
ms
Cyclic Sense/FWU Timing 2 Sleep Mode
(10)
tCY2
44.8
64
83.2
ms
Cyclic Sense/FWU Timing 3 Sleep Mode
(10)
tCY3
89.6
128
166.4
ms
Cyclic Sense/FWU Timing 4 Sleep Mode
(10)
tCY4
179
256
333
ms
Cyclic Sense/FWU Timing 5 Sleep Mode
(10)
tCY5
358
512
665
ms
Cyclic Sense/FWU Timing 6 Sleep Mode
(10)
tCY6
717
1024
1331
ms
Cyclic Sense/FWU Timing 7 Sleep Mode
(10)
tCY7
1434
2048
2662
ms
Cyclic Sense/FWU Timing 8 Sleep Mode
(10)
tCY8
5734
8192
10650
ms
GS1
-1.0
-0.7
-0.3
V
GS2
-1.5
-1.2
-0.8
V
GS3
-2.0
-1.7
-1.3
V
GS4
-2.6
-2.2
-1.7
V
tWAKE
4.0
—
40
µs
tAC3D
10
—
60
µs
tAC3R
10
—
60
µs
tAC6D
50
—
400
µs
tAC6R
150
—
1000
µs
tAC478D
0.75
—
4.0
ms
Ground Shift Threshold 1
.
(11)
CAN Transceiver Active in Two Wire Operation
Ground Shift Threshold 2 (11)
CAN Transceiver Active in Two Wire Operation
Ground Shift Threshold 3 (11)
CAN Transceiver Active in Two Wire Operation
Ground Shift Threshold 4 (11)
CAN Transceiver Active in Two Wire Operation
BUS TRANSMITTER
AC Minimum Dominant Time for Wake-Up on CANL or CANH
Bus Stand-by Mode, VBAT = 12 V
AC Failure 3 Detection Time
Bus Normal Mode
AC Failure 3 Recovery Time
Bus Normal Mode
AC Failure 6 Detection Time
Bus Normal Mode
AC Failure 6 Recovery Time
Bus Normal Mode
AC Failure 4, 7, and 8 Detection Time
Bus Normal Mode
Notes
10. Cyclic sense and forced wake-up timing accuracy are based on the Sleep mode oscillator tolerance.
11. No overlap between two adjacent thresholds.
33389
14
Analog Integrated Circuit Device Data
Freescale Semiconductor
ELECTRICAL CHARACTERISTICS
DYNAMIC ELECTRICAL CHARACTERISTICS
Table 5. Dynamic Electrical Characteristics (continued)
Characteristics noted under conditions 7.0 V ≤ VSUP ≤ 18 V, - 40°C ≤ TA ≤ 125°C, GND = 0 V unless otherwise noted. Typical
values noted reflect the approximate parameter means at TA = 25°C under nominal conditions unless otherwise noted.
Characteristic
Symbol
Min
Typ
Max
Unit
tAC478R
10
—
60
µs
tAC347D
0.8
—
8.0
ms
tAC347R
—
2.5
—
ms
CAN125D
—
3.0
—
—
CAN125R
—
3.0
—
—
tTXD
0.75
—
4.0
ms
V1 Reset Delay Time
tD
2.0
—
20
µs
V1 Line Regulation
tD
-15
2.0
+15
mV
tD
-50
10
+50
mV
tD
-50
—
+50
mV
tD
30
55
—
dB
tD
—
27
—
mV
tD
—
400
—
mV
tD
—
16
—
mV
BUS TRANSMITTER (CONTINUED)
AC Failure 4, 7, and 8 Recovery Time
Bus Normal Mode
AC Failure 3, 4, and 7 Detection Time
Bus Stand-by Mode, VBAT = 12 V
AC Failure 3, 4 and 7 Recovery Time
Bus Stand-by Mode, VBAT = 12 V
AC Edge Count Difference Between CANH/CANL for Failures 1, 2, 5 Detection
Bus Normal Mode
AC Edge Count Difference Between CANH/CANL for Failures 1, 2, 5 Recovery
Bus Normal Mode
TX Permanent Dominant Timer Disable Time
Bus Normal and Failure Modes
POWER INPUT TIMING
9.0 V < VBAT < 16.5, ILOAD = 10 mA
V1 Line Regulation
5.5 V < VBAT < 27 V ILOAD = 10 mA
V1 Load Regulation
1.0 mA < ILOAD < 100 mA
V1 Line Ripple Rejection
100 Hz, 1.0 VPP on VBAT = 12 V, ILOAD = 100 mA (12)
V1 Line Transient Response
VBAT from 12 V to 40 V in 1.0 µs, (10 µF, ESR = 3 Ω)
V1 Load Transient Response
ILOAD from 10 µA to 100 mA in 1.0 µs (CLOAD = 10 µF, ESR = 3 Ω) (13)
V1 Load Transient Response
ILOAD from 10 µA to 100 mA in 1.0 µs (CLOAD = 10 µF, ESR= 0.1 Ω)
Notes
12. Guaranteed by design. Not production tested.
13. This condition does not produce a reset
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
15
ELECTRICAL CHARACTERISTICS
TIMING DIAGRAMS
TIMING DIAGRAMS
CS
tLEAD
tWSCLKH
tR
tF
tLAG
SCLK
tWSCLKL
tSISU
tSI(HOLD)
SI
Don’t Care
Valid
Don’t Care
Valid
Don’t Care
Figure 4. Input Timing Switch Characteristics
33389
16
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DESCRIPTION
INTRODUCTION
FUNCTIONAL DESCRIPTION
INTRODUCTION
The System Basis Chip (SBC) is an integrated circuit
dedicated to car body applications. It includes three main
blocks:
1. A dual voltage regulator
2. Reset, watchdog, wake-up inputs, cyclic wake-up
3. CAN low speed fault tolerant physical interface
Supplies
Two low drop regulators and one switch to VBAT are
provided to supply the ECU microcontroller or peripherals,
with independent control and monitoring through SPI.
FUNCTIONAL PIN DESCRIPTION
TRANSMIT AND RECEIVE DATA (TX AND RX)
MASTER OUT/ SLAVE IN (MOSI)
The RX and TX pins (receive data and transmit data pins,
respectively) are connected to a microcontroller’s CAN
protocol handler. TX is an input and controls the CANH and
CANL line state (dominant when TX is LOW, recessive when
TX is HIGH). RX is an output and reports the bus state.
MOSI is the Master Out Slave In pin of the serial peripheral
interface. Control data from a microcontroller is received
through this pin.
VOLTAGE REGULATOR ONE AND TWO
(V1 AND V2)
SYSTEM CLOCK (SCLK)
This pin clocks the internal shift registers for SPI
communication.
CHIP SELECT (CS)
The V1 pin is a 3% low drop voltage regulator dedicated to
the microcontroller supply (nominal 5V supply).
The V2 pin is a low drop voltage regulator dedicated to the
peripherals supply (nominal 5V supply).
CS is the Chip Select pin of the serial peripheral interface
(SPI). When this pin is LOW, the SPI port of the device is
selected.
RESET (RST)
LEVEL 0-2 INPUTS (L0: L2)
The RST (reset) pin is an input/output pin. The typical
reset duration from SBC to microcontroller is 1ms. If longer
times are required, an external capacitor can be used. SBC
provides two RST output pull-up currents. A typical 30µA pull
up when Vreset is below 2.5V and a 300uA pull up when
reset voltage is higher than 2.5V. RST is also an input for the
SBC. It means the MC33389 is forced to Normal Request
mode after RST is released by the microcontroller
The L0: L2 pins can be connected to contact switches or
the output of other ICs for external inputs. The input states
can be read by the SPI. These inputs can be used as wakeup events for the SBC.
INTERRUPT (INT)
The Interrupt pin INT is an output that is set LOW when an
interrupt occurs. INT is enabled using the Interrupt Register
(INTR). When an interrupt occurs, INT stays LOW until the
interrupt source is cleared.
INT output also reports a wake-up event.
GROUND (GND)
This pin is the ground of the integrated circuit.
MASTER IN/ SLAVE OUT (MISO)
MISO is the Master In Slave Out pin of the serial peripheral
interface. Data is sent from the SBC to the microcontroller
through the MISO pin.
NO CONNECT (NC)
No pin connection.
TERMINATION RESISTANCE (HIGH AND LOW?)
(RTH AND RTL)
External CAN bus high and low termination resistance pins
are connected to these pins.
CAN HIGH AND CAN LOW OUTPUTS
(CANH AND CANL)
The CAN High and CAN Low pins are the interfaces to the
CAN bus lines. They are controlled by TX input level, and the
state of CANH and CANL is reported through RX output.
VOLTAGE BATTERY (VBAT)
This pin is the voltage supply from the battery.
VOLTAGE REGULATOR THREE (V3)
This pin is a 10 Ω switch to VBAT, which is used to supply
external contacts or relays.
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
17
FUNCTIONAL DEVICE OPERATION
FUNCTIONAL DEVICE OPERATION
Voltage Regulator V1
V1 is a 5.0 V, three percent low drop voltage regulator
dedicated to the microcontroller supply. It can deliver up to
100 mA. It is totally protected against short-to-ground
(current limitation) and over temperature. V1 is active in
Normal Request, Normal, and Stand-by modes.
No forward parasitic diode exists from V1 to VBAT. This
means if VBAT voltage drops below V1, high current flowing
from V1 to VBAT will not discharge the capacitor connected to
V1. Its stored energy will only be used to supply the
microcontroller and gives time to save all relevant data.
• Under Voltage Reset—V1 is monitored for under voltage
(power-up, power down) and a reset is provided at RST
output for 1 ms. This ensures proper initialization of the
microcontroller at power-on or after supply is lost.
Furthermore, a flag is set in the Reset Source Register
(RSR) and can be read via the SPI.
• Over Temperature Protection—V1 internal ballast
transistor is monitored for over temperature. Two detection
thresholds are provided. A pre-warning threshold at 145°C
and a shut-off threshold at 175°C. Once the first threshold
is reached, a flag is set in the Over Temperature Status
Register (OTSR). A maskable interrupt can be sent to the
microcontroller. Once the second threshold is reached, a
flag is set in the OTSR, a maskable interrupt is sent to the
microcontroller and V1 is switched OFF.
Once the junction temperature is back to the pre-warning
threshold, V1 regulator will be automatically switched ON.
Voltage Regulator V2
V2 is a 5.0 V low drop voltage regulator dedicated to
peripherals supply. It can deliver up to 200 mA and is
protected against short to ground (current limitation) and over
temperature. V2 is active in Normal mode.
• Under Voltage Detection—V2 is monitored for under
voltage and a flag is set in the Voltage Supply Status
Register (VSSR).
• Over Temperature Protection—V2 internal ballast
transistor is monitored for overtemperature. Two detection
thresholds are provided. A pre-warning threshold at 140°C
and a shut-off threshold at 165°C. Once the first threshold
is reached, a flag is set in the readable OTSR register. A
maskable interrupt can be sent to microcontroller.
Once the second threshold is reached, a flag is set in the
OTSR register, V2 is switched OFF. It can only be switched
on again via the SPI.
Table 7. V2 Control
Conditions for V2 ON
Conditions for V2 OFF
Normal Mode (via SPI) and V2
Below Shut-Off Temperature
Threshold
Sleep, Stand-by, Normal
Request, or Emergency Modes
(via SPI)
—
Shut-Off Temperature Threshold
Reached
—
V1 Disabled (for any reason)
Switch V3
Table 6. V1 Control
Conditions for V1 ON
Conditions for V1 OFF
Normal Request Mode
(at V1 Power ON)
Sleep Mode (via SPI)
Normal Mode (via SPI)
Shut-Off Temperature Threshold
Reached
Stand-by Mode (via SPI)
V1 Below Pre-Warning
Temperature Threshold
During Rest
No VBAT Power Supply
(cold start)
Emergency Mode
—
Note: Current capability of V1, V2 and V3 depends upon the thermal
management. Over temperature shutdown might be reached and
lead to turn OFF of V1, V2, and V3 for output current below their
maximum current capability.
V3 is a 10 Ω switch to VBAT. It can be used to supply
external contacts or relays. A great flexibility is given for the
different possible ways for its control. It is protected against
short to ground (current limitation).
• Over Temperature Protection—V3 output transistor is
monitored for over temperature. Once the threshold is
reached, a flag is set in the VSSR register, V3 is switched
OFF. It will be automatically switched ON once the junction
temperature is back to the pre-warning threshold.
Table 8. V3 Control
Conditions For V3 ON
Conditions For V3 OFF
Permanently in Normal Mode
if Configured via SPI
Permanently in Normal
Mode if Configured
Permanently in Stand-by
Mode if Configured via SPI
Normal Request Mode
In Sleep Mode, During
Enable Time of Cyclic
Sense if Configured
Permanently in Stand-by
Mode if Configured
—
Permanently in Sleep
Mode if Configured
33389
18
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION
Table 8. V3 Control
—
In Sleep Mode, During
Disable Time of Cyclic
Sense if Configured
—
Over Temp Threshold Reached
—
V1 Disabled (for any reason)
—
V2 Over Temperature Shutdown
Supply and VBAT Block
• VBAT Monitoring—VBAT is the main power supply coming
from the battery voltage after an external protection diode
(for reverse battery). VBAT is monitored for under voltage
and over voltage.
• VBAT Under Voltage—VBAT is monitored for under voltage
if it is below 4.0 V the BatFail flag is set in the VSSR
register and a maskable interrupt is sent to the
microcontroller.
• VBAT Over Voltage— When VBAT is > 20 V, the BatHigh
flag is set in the VSSR register. A maskable interrupt is
sent to the microcontroller. No specific action is taken to
reduce current consumption (to limit power dissipation).
This is to allow the entire flexibility to the microcontroller for
a decision.
CAN Transceiver
CANH, RTL,RTH, RX, and TX pins are identical to the 33388,
stand alone CAN physical interface.
The mode control for the CAN transceiver (Normal, VBAT
Stand-by, Sleep, etc.) are selectable through the 33389 SPI
interface.
• Baud Rate up to 125 kBit/s
• Supports unshielded bus wires
• Short-circuit proof to battery and ground in 12 V powered
systems
• Supports single-wire transmission modes with ground
offset voltages up to 1.5 V
• Automatic switching to single wire mode in case of bus
failures
• Automatic reset to differential mode if bus failure is
removed
• Low Electromagnetic Interference (EMI) due to built-in
slope control and signal symmetry
• Fully integrated receiver filters
• Thermally protected
• Bus lines protected against automotive transients
• Low current Bus Stand-by mode with wake-up capability
via the bus
• An unpowered node does not disturb the bus lines
The device incorporates a low speed 125 kBaud CAN
physical interface. Its electrical parameters for the CANL,
TX
RX
Transmitter
VDD BAT
VDD2 VBAT
VDD2
Protection
Receiver
- Fail Detect
- Receive Mode
CAN_H
CAN_L
Drivers
12.5k
RTL
RTH
Termination
CAN Transceiver Register
S2
S3
RTL
CANH
CANL
RTH
SPI
S1
CAN transceiver simplified block diagram
Figure 5. CAN Simplified Block Diagram
CONSEQUENCE OF FAILURE DETECTIONS
S1 is the switch from RTH to Ground
S2 is the switch from RTL to V2 and
S3 is the switch from RTL to VBAT
Each failure type provides data concerning which switch is
open and which driver is disabled.
Failure 1: Nothing done
Failure 2: Nothing done
Failure3: S1 open. Driver CANH is disabled
Failure4: S2 and S3 open. Driver CANL is disabled
Failure5: Nothing done
Failure6: S2 and S3 open. Driver CANL disabled
Failure7: S2 and S3 open. Driver CANL disabled
Failure8: S1 Open. CANH driver disable
CAN Transceiver Description
The CAN transceiver is an interface between CAN
protocol controller and the physical bus. It is intended for low
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
19
FUNCTIONAL DEVICE OPERATION
speed applications up to 125 kBit/s in passenger cars. It
provides differential transmission capability, but will switch in
error condition to single wire transmitter and/or receiver.
The rise and fall slopes are limited to reduce radio
frequency interference (RFI). This provides use of an
unshielded twisted pair or a parallel pair of wires for the bus.
It supports transmission capability on either bus wire if one of
the bus wire is corrupted. The logic failure detection
automatically selects a suitable transmission mode.
In a normal operation (no wiring failures), the differential
bus state is the output to RX. The differential receiver inputs
are connected to CANH and CANL through integrated filters.
The filtered inputs signals are also used for the single wire
receivers. The CANH and CANL receivers have threshold
voltages, assuring maximum noise margin in single wire
modes. In the RX Only mode, the transmitter is disabled;
however, the receive part of the transceiver remains active. In
this mode, RX reports bus and TX activity (RX = TX or Bus
dominant). Failure detection and management is the same as
the Bus Normal mode.
Failure Detector
The failure detector is active in RXTX and RX Only
operation modes. The detector recognizes the following
single bus failures and switches to an appropriate mode.
1. CANH wire interrupted
2. CANL wire interrupted or shorted to 5.0 V
mode through CANH. When Failures 4 or 7 are removed, the
recessive bus levels are restored. If the differential voltage
remains below the recessive threshold for a certain (TAC478R)
time, reception and transmission switch back to the
Differential mode.
If any of the eight wiring failure occurs, a flag is set in the
TESRH and TESRL Status registers. Eight different types of
errors are distinguished out of these eight errors. They are
separately stored in these register. Please refer to the
Tables 35 and 36. A maskable interrupt is sent to the
microcontroller. On error recovery, the corresponding flag is reset
after read-out operation.
During all single wire transmissions, the EMC performance
(both immunity and emission) is worse than in the Differential
mode. Integrated receiver filters suppress any high frequency
noise induced into the bus wires. The cut-off frequency of
these filters is a compromise between propagation delay and
high frequency suppression. In the Single Wire mode, low
frequency noise can not be distinguished from the expected
signal.
In the event of a permanent dominant TX state (for more
than 2.0 ms) the output drivers are disabled. That assures the
operation of the complete system in case of a permanent
dominant TX state of one control unit. The CAN interface of a
defective ECU, which has TX permanently low, will
automatically be set to the receive only mode and therefore
will not lock the complete CAN bus.
3. CANH short-circuit to battery
Protection
4. CANL short-circuit to ground
A current limiting circuit protects the transmitter output
stages against short-circuit to positive and negative battery
voltage. If the junction temperature exceeds a maximum
value, the transmitter output stages are disabled. Because
the transmitter is responsible for a part of the power
dissipation, this results in a reduced power dissipation
resulting in a lower chip temperature. All other parts of the
transceiver will remain operating. The CANH and CANL
inputs are protected against electrical transients, and may
occur in an automotive environment.
5. CANH short-circuit to ground
6. CANL short-circuit to battery
7. CANL mutually shorted to CANH
8. CANH to V2 (5.0 V)
Note: Shorts-circuit failures are detected for 0 to 50 Ω shorts.
The differential receiver (CANH-CANL) threshold is set at
-2.8 V, this assures a proper reception in the normal
operating modes. In case of failures 1, 2, and 5 the on-going
message is not destroyed due to noise margin.
Failures 3 and 6 are detected by comparators respectively
connected to CANH and CANL. If the comparator threshold
is exceeded for a certain time (TAC3D, TAC6D), the reception
is switched to single wire mode. This time is required to avoid
false triggering by external RF fields. Recovery from these
failures is detected automatically after a certain (TAC3R,
TAC6R) time-out (filtering).
Failures 4 and 7 initially result in a permanent dominant
level at RX. After a time-out, the CANL driver and the RTL
pins are switched OFF. Only a weak pull-up at CANL
remains. Reception continues by switching to Single Wire
Thermal Management
The 33389 is proposed in two different packages:
1. HSOP-20 for high power applications
2. SO28WB with eight pins to the lead frame for medium
power applications
HSOP20 Package
For such a package, the heat flow is mainly vertical and
each heat source (dissipating element) can be seen as an
independent thermal resistance to the Heatsink. The thermal
network can be roughly depicted in Figure 6.
33389
20
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION
V1 Power
V2 Power
CAN Power
Total Power
TJ (Max 155°C)
TJ (Max 155°C)
RTHJ/C=18°C/W
9°C/W
6.5°C/W
RTHJ/C = 20°C/W
T case (Heatsink)
TCASE (pin)
RTHC/A (ECU supplier dependent)
RTHC/A
T ambient
Figure 6. HSOP-20 Simplified Thermal Model
TAMBIENT
Example
Figure 7. SO28WB Simplified Thermal Model
Assuming IV1 = 100 mA at VBAT = 16 V,
IV2 =150 mA at VBAT = 16 V (Excluding CAN
consumption).
ICAN = 50 mA at VBAT =16 V, we have:
PV1 = 1. 1 W, PV2 = 1.65 W, PCAN = 0.55 W
System assumptions:
If TAMB= 85°C and RTHC/A = 18°C/W, this gives:
TCASE = TAMB+RTHC/A x 3.3 W = 85 + 18 x 3.3 = 145°C
and TJV1 = TJV2 = TJCAN=155°C.
This example represents the limit for the maximum power
dissipation with a HSOP20.
Example
Assuming IV1 = 45 mA at VBAT = 16 V,
IV2 = 45 mA at VBAT = 16 V (Excluding CAN consumption).
ICAN = 50 mA at VBAT = 16 V, we have:
PV1 = 0.5 W, PV2 =0.5 W, PCAN =0.55 W thus PTOTAL
=1.55W
System assumptions:
If TAMB = 85°C and RTHC/A = 25°C/W, this gives:
TCASE = TAMB + RTHC/A x 1.55 W = 85+25 x 1.55 = 124°C
and TJV1 = 124 + 20 x 1.55 = 155°C.
DIFFERENT DEVICE VERSIONS
SO28WB Package
The case (pin) to junction RTH is represented here by only
one thermal resistance for the total power because the three
power sources strongly interact on the silicon for such a
package.
The MC33389 is proposed in several package versions,
and also offers slight differences in term of functionalities.
The device version is identified in the device part number by
the first letter after the 389 number. The package
identification is done by the last two letters of the part number
(DW for SO28 wide body, DH for power SO20).
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
21
FUNCTIONAL DEVICE OPERATION
OPERATIONAL MODES
OPERATIONAL MODES
CAN Transceiver Modes
The CAN transceiver has its own functioning modes:
RXTX mode, Term VBAT/Term VCC mode, and RX Only
mode. They are controlled by the Transceiver Control/Status
Register (TCR).
• RXTX mode—Full transmitting and receiving capabilities
are enabled. Full failure detection is enabled.
Note: Standard/RXTX and Extended/RXTX are
equivalent.
• RX Only mode—The transmitter is disabled but the
receive portion of the transceiver remains active. In this
mode, RX reports bus and TX activity (RX = TX or Bus
dominant).
Note: Standard/RX Only and Extended/RX Only are
equivalent.
• Bus Stand-by mode—Is the Low Power mode for the CAN
transceiver. The driver and receivers are disabled. Wakeup capability on both bus lines as well as Failure 3, 4, 7,
and 8 detection are enabled. RTL termination is set to
VBAT in the Bus Stand-by mode.
Low Power Modes
The transceiver provides a Low Power mode, entered and
exited by a SPI command. This is the Bus Stand-by mode
having the lowest power consumption for the transceiver.
CANL is biased to the battery voltage via the RTL output and
the pull-up current source on CANL and pull down current
source on CANH are disabled. Wake-up requests are
recognized by the transceiver when a dominant state is
detected on either bus wake-up lines. On a Bus wake-up
request, the SBC will activate the INT output or, if it is in the
Sleep mode, switch to the Normal Request mode. This event
is stored in the Wake-Up Input Status Register (WUISR).
To prevent a false wake-up resulting from transients or
(RF) fields, wake-up threshold levels have to be maintained
for a certain time. While in the Transceiver Low Power mode,
failure detection circuit remains partly active preventing
increased power consumption in cases of error 3, 4, 7, and 8.
Power-On
After the VBAT supply is switched ON, the SBC is in
Normal Request mode. Bus Stand-by is the corresponding
mode for the CAN transceiver.
The CAN transceiver is supplied by V2. As long as V2 is
below its under voltage threshold, the transceiver is forced to
Bus Stand-by mode (fail safe property).
SBC MODES
Global Power Save Concept
consumption when the full activity is not required. Several
possibilities are provided to wake-up the ECU. This permits
peripherals or the microcontroller to be switched OFF when
no activity on the ECU is required.
Two switchable independent supply voltages (V1 and V2)
are provided for optimum ECU power management.
Generalities
The SBC can be operated in four modes:
1. Sleep
2. Stand-by
3. Normal
4. Emergency
After reset, the 33389 is automatically initialized to the
temporary mode, Normal Request, while waiting for
microcontroller configuration.
Reset Mode
This mode is entered after SBC power-up, or if an incorrect
software watchdog trigger occurs. The minimum duration for
reset mode is 1.0 ms typical, and unless there is a V1 failure
condition, the SBC enters the Normal Request mode after
reset.
In the case of a V1 failure condition leading to V1 low (ex:
short to ground), the SBC switches to the Reset mode. If V1
is still below the reset threshold after 100 ms, the behavior
depends upon the device version A or C:
• C version: The 33389CDW and the 33389CDH will remain
in the reset mode.
• D version: The 33389DDW and the 33389DEG will remain
in the reset mode. Note that the reset mode threshold for
the D version is slightly higher than the C version.
Normal Request Mode
The Normal Request mode is the Default mode after
33389 reset. V1 is active, while V2 and V3 are passive. The
SBC is not configured. The default values are set in the
registers. The SBC awaits data configuration via the SPI.
If no SPI data is received 75 ms after the Reset is
released, the SBC switches itself into the Sleep mode.
The software timing word (in SWCR) provides the data the
SBC must receive to consider when the microcontroller
begins the configuration sequence. Once received, this
software timing word, and the watchdog timer, become
active. Any other control data can then be sent from the
microcontroller to SBC.
The watchdog is not active in the Normal Request mode
before the software timing word is programmed into the SBC.
In this mode, neither V2 nor the CAN transmitter are active.
The SBC minimizes power consumption of the ECU.
Several operating modes are available to go to low power
33389
22
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION
OPERATIONAL MODES
Table 9. Normal Request: V1 Active and V2/V3 Passive
Entering Normal Request
Leaving Normal Request
SBC Reset Just Released
When First Receiving the SW
Timing Word, SBC goes to
Normal
—
If Time-out Without Receiving
SPI Commands (75ms), SBC
goes to Seep
Table 11. Stand-by: V1 Active, V2 Passive, V3 Active
or Passive, Watchdog is Active
Entering Stand-by
Leaving Stand-by
—
V1 Under Voltage Detection,
Going to Normal Request Mode
After Activating Reset
—
External Activation of the RST
Pin
S Bus Circuit Sleep Mode
SBC Normal Mode
In this mode, V1 and V2 are active, V3 can be set active
or passive via the SPI. Therefore, the whole ECU can be
operated. Normal mode is entered by a SWCR configuration
in the Normal Request mode.
Table 10. SBC Normal Mode: V1/V2 Active
While V3 is Active or Passive
Entering Normal Mode
Leaving Normal Mode
By SPI command
By SPI command, going to any
other mode
After SWCR register
configuration in
Normal Request mode
Watchdog time-out, going to
Normal Request after activating Reset
—
V1 undervoltage detection,
going to Normal Request mode
after activating Reset
This is a low power consumption mode. V1 and V2 are
disabled. V3 can be permanently disabled or cyclically active.
Table 12. SBC Sleep Mode: V1/V2 are Passive,
V3 is Passive or Cyclic
Entering Sleep Mode
Leaving Sleep Mode
If SW Timing Not Configured
75 ms After Entering
Normal Request Mode
CAN Wake-Up, Going to
Normal Request
By SPI Command
If a Wake-Up is Detected with
Cyclic Sense
For 33389ADW Only: If V1 is
Below V1 Reset for More Than
100 ms
If a Wake-Up is Detected with
Wake-Up Not Connected to V3
(permanent sense)
—
Forced Wake-Up (See Forced
Wake-Up Section)
—
SPI Wake-Up (See Wake-Up
by SPI Section)
SBC Stand-by Mode
Emergency Mode
In this mode V1 is active and V2 is passive. V3 can be
either permanently active or permanently passive. This is a
low power mode with V1 active in order to have a fast
reaction time in case of any wake-up.
For Stand-by mode, the S Bus Circuit (SBC) monitors the
software. It means the microcontroller runs, is monitored, and
must serve as a watchdog trigger.
In case the microcontroller detects the ECU or the system
is no longer under control, it may decide to switch the SBC to
the Emergency mode. V1, V2, and V3 become passive and
wake-ups are not detected. The only way to leave this mode
is to disconnect the ECU from the battery voltage (BatFail
detection).
Table 11. Stand-by: V1 Active, V2 Passive, V3 Active
or Passive, Watchdog is Active
Table 13. SBC Emergency Mode: V1:V3 are Passive
Entering Stand-by
Leaving Stand-by
—
If SW Timeout Going to Normal
Request After
Microcontroller Reset
By SPI Command
By SPI Command Going to any
Other Mode
Entering Emergency Mode
Leaving Emergency Mode
By SPI Command
SBC BatFail Detection (Disconnection of the Battery Voltage)
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
23
FUNCTIONAL DEVICE OPERATION
OPERATIONAL MODES
SPI SW
timing configuration
at t<75ms
V1 low
ECU
connected
to battery
Reset
Normal
SPI go to Emergency
at t<75ms
V1 on
Normal
(reset
Request
)
released
Emergency
No SPI SW
timing configuration
at t=75ms
The window watchdog timing is derived from the SBC clock.
The desired watchdog timing must be first transmitted during
the SBC configuration, in the Normal Request mode, via SPI
to SWCR. It can also be changed later on. Selectable
watchdog timings are 5.0 ms, 10 ms, 20 ms, 33 ms, 50 ms,
75 ms, 100 ms and 200 ms. These timings correspond to the
full disable window plus full enable window.
Earliest Trigger Time
Sleep
Watchdog Trigger
50%
Figure 8. Typical Behavior at Power-On
50%
Latest
Trigger
Time
SBC Watchdog Window
Disabled Window
Note: In the Normal Request mode, if a SPI command is
received before the software timing configuration (SWCR
register), it will not be taken into account by the SBC (except
for the go-to Emergency mode).
Correspondence Between SBC and CAN Transceiver
Modes
Table 14 provides different possible CAN transceiver
modes versus SBC modes.
Table 14. CAN Modes vs. SBC Modes
When SBC Is In The Following
Mode
CAN Transceiver
Can Be In
Reset Condition
Bus Stand-by Mode
Normal Request
Bus Stand-by Mode
Normal
RXTX or RXOnly or BusStand-by
Stand-by
Bus Stand-by
Sleep
Bus Stand-by
Emergency
Bus Stand-by
Normal and V2 OFF (over load)
In case V2 is turned OFF either
by SPI command (Stand-by
mode) or by the SBC itself due
to V2 over load condition (V2
short to ground or V2 over temperature) the CAN is automatically set into the Bus Stand-by
mode and does not return to
TXRX mode automatically
when V2 is back to 5.0 V. The
CAN must be re configured to
TXRX or RX Only mode after a
V2 turn OFF
Enable Window
Nom. Trigger Period
Watchdog Timing
Latest
Reset
Time
SBC-Reset OUT
Time Out
Figure 9. Window Watchdog Timing
As soon as the watchdog trigger is received in the Enable
Window, the internal counter is reset and begins a new
disable window. The SBC triggers the watchdog word at CS
low-to-high transition. Any watchdog trigger outside the
Enable Window leads to an SBC reset.
• Normal and Stand-by Modes— The SBC get the watchdog
word from the microcontroller via SPI in the Normal mode.
In case of a trigger time failure (no trigger or trigger outside
the Enable Window) the SBC reset is switched to active.
• Normal Request, Sleep, and Emergency Mode—
Watchdog is not active in these modes.
WAKE-UP CAPABILITIES
Several wake-up capabilities are available.
Forced Wake-Up
Bus Stand-by
The forced wake-up is enabled and disabled by SPI in the
V3 register. It is used to automatically wake-up the system by
supplying V1 with proper reset in the Sleep mode. This
corresponds to jump into the Normal Request mode. If the
SBC is not properly configured within 75 ms, it switches back
to the Sleep mode until the next wake-up. If both Cyclic
Sense and Forced Wake-Up are enabled by the SPI while in
the Sleep mode, only Cyclic Sense is active.
The period of Forced Wake-Up are 32 ms, 64 ms, 128 ms,
256 ms, 512 ms, 1024 ms, 2048 ms, and 8192 ms chosen by
SPI in the Cyclic Timing Control Register (CYTCR).
Wake-Up Inputs (Local Wake-Up)/Cyclic Sense
Watchdog
The software window watchdog function monitors the
microcontroller operation in the Normal and Stand-by modes.
SBC provides three wake-up inputs to monitor external
events such as closing/opening of switches. The wake-up
feature is available in Normal, Stand-by, and Sleep modes.
33389
24
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION
OPERATIONAL MODES
The switches can be directly connected to VBAT or to V3. The
SBC must be properly configured by setting the bit WI2V3 in
the V3 register. In this case, wake-ups are only detected
when V3 is ON. It can take advantage of the V3 Cyclic Sense
feature. If both Cyclic Sense and Forced Wake-Up are
enabled by the SPI in the Sleep mode, only Cyclic Sense will
be active.
For negative edge sensitivity, two samples High followed
by two samples Low are necessary to validate the wake-up
condition.
For both edge sensitivity, two samples at a given state
followed by two samples in the opposite state are necessary
to validate the wake-up condition.
Wake-Up Inputs with Cyclic Sense
Options for Wake Input
Different conditions for wake-up can be chosen for wakeup input pins (via SPI in the Wake-Up Input Control Register
(WUICR).
• No Wake-Up— Wake-ups are not detected whatever
occurs on wake-up inputs.
• High-State—If the input pin voltage is above the detection
threshold during more than a 20 µs filter time, a wake-up
is detected. A flag is set in the WUISR.
• Low-State—If the input pin voltage is below the detection
threshold during more than a 20 µs filter time, a wake-up
is detected. A flag is set in the WUISR.
• Change of state—Each change of the wake-up input pin is
considered as a wake-up if it lasts more than a 20µs filter
time. The first reference state (no wake-up) is the wake-up
input state when the SBC is programmed to this option. A
flag is set in the WUISR.
• Multiple Sampling Events—When wake-up inputs are
used with V3 in Cyclic Sense in the Sleep mode.
For positive edge sensitivity, two samples Low followed by
two samples High are necessary to validate the wake-up
condition.
Connecting the external switches to V3 allows power
saving because V3 can be programmed to be active, passive,
or cyclic (Cyclic Sense). This provides great flexibility
reducing total power consumption while allowing full wake-up
capabilities. Cyclic Sense is available only in the Sleep mode.
The period of the Cyclic Sense can be chosen out of eight
different timings: 32 ms, 64 ms, 128 ms, 256 ms, 512 ms,
1024 ms, 2048 ms, and 8192 ms programmable via SPI in
the CYTCR register. Once activated, V3 remains ON during
400 µs. The wake-up inputs states are sampled at 300 µs.
Wake-Up Inputs Sample Point
Active
V3
Passive
300 µs
400 µs
Cyclic Sense Programmable Period
Figure 10. V3 Timing
Note: In Sleep mode, the Cyclic Sense feature
‘EXCLUSIVE OR’ the forced Wake-Up is chosen (not both).
Cyclic Sense connected to wake-up inputs. Example: with wake-up input L1
sensitivity to Low state and timing = 80 ms
V3
Wake-Up
Switch Status
CLOSED
OPEN
Sample Point (80%)
V(L1)
Setup
300 µs
Read L1
Read
400µs
INT
0
(t0)
1
1
1
80 ms
(t1)
0
1
1
0
0
0
160 ms
Actual State (read)
Memory State
INT (Wake-Up Active = 0)
Figure 11. Cyclic Sense Timing
Wake-Up Inputs with Permanent Sense
Wake-up detection can also be accomplished in a
permanent way in Normal and Stand-by modes. If the
contacts are connected to V3, wake-ups are only detected if
V3 is ON.
Wake-ups are also detected in a permanent way in the
Sleep mode if the contacts are directly connected to VBAT (if
they are connected to V3, only Cyclic Sense is available in
Sleep mode).
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
25
FUNCTIONAL DEVICE OPERATION
OPERATIONAL MODES
Local Wake-Up Consequences
•
•
•
•
•
Pre-warning temperature on V1 or V2
CAN bus failure
SPI error
Local wake-up (can be used for low battery detection)
Bus wake-up
All these interrupts are maskable. Please see the SPI
Registers Descriptions on page 34.
In Normal or Stand-by modes, the real time state of each
wake-up input pin is stored in the readable Wake-Up Input
Control Register (WUIRTI). Wake-ups are detected
according to the selected option. A flag is set in the WUISR.
A maskable interrupt is then sent via INT output.
In the Sleep mode, a local wake-up leads to a jump to
Normal Request mode (via proper reset of the
microcontroller). A flag is set in the WUISR.
Reset Input/Output
Table 15. SBC Mode vs. Local Wake-Up Behavior
SBC Modes
Local Wake-Up Behaviour
Normal Request
No Detection
Normal and
Stand-by
Detection Active According to the Option. The
Event is Stored in WUISR. The SBC may Activate
INT Output.
Real Time State of Each Wake-Up Input Pin
Available in WUIRTI Register
Sleep
Detection Active According to the Option. The
Event is Stored in WUISR. The SBC Switches to
Normal Request Mode
Emergency
No Detection
The Reset (RST) pin is an input/output pin. The typical
reset duration from SBC to microcontroller is 1 ms. If
extended times are required, an external capacitor can be
used. SBC provides two RST output pull-up currents.
A typical 30 µA pull up when Vreset is below 2.5 V and a
300 µA pull up when reset voltage is higher than 2.5 V.
RST is also an input for the SBC. It means the 33389 is
forced to the Normal Request mode after RST is released by
the microcontroller.
GROUND SHIFT DETECTION
When normally working in a two-wire operating mode, the
CAN transmission can afford some ground shift between
different nodes without trouble. Nevertheless, in case of bus
failure, the transceiver switches to single-wire operation,
therefore working with less noise margin. The affordable
ground shift is decreased in this case.
The SBC is provided with a ground shift detection for
diagnosis purpose. Four ground shift levels (GSL) are
selectable and the detection is stored in the GSL register,
accessible via the SPI.
Wake-Up By SPI
In some applications, the microcontroller might be
supplied by an external VDD, remaining powered in SBC
Sleep mode. In this case, a feature is provided making
possible to wake-up the SBC by SPI activity.
After V1 is totally switched OFF in the Sleep mode (V1<
1.5 V), if a falling edge occurs on CS (crossing 2.5 V
threshold), a wake-up by SPI is detected, the SBC switches
to the Normal Request mode. A flag is set in ISR2.
Detection Principle
The ground shift to detect is selected via the SPI from four
different values (-0.7 V, -1.2 V, -1.7 V, -2.2 V). The CANH
voltage is sensed at each TX falling edge (end of recessive
state). If it is detected to be below the selected ground shift
threshold, the bit SHIFT is set at one in the GSL register. No
filter is implemented. Required filtering for reliable detection
should be achieved by software (e.g. several trials).
Interrupt Output
The INT output may be activated in the following cases:
• VBAT overvoltage (BatHigh)
• VBAT undervoltage (BatFail)
• High temperature on V1 or V2
Figure 12. SBC Operation Mode
Mode
Reset State
V1 & V2
Regulators, V3
Switch
Wake-Up
Capabilities
(if enabled)
V1: ON (Unless
Failure Condition)
—
Reset Pin
(RST)
Interrupt Pin
INT
Software
Watchdog
CAN Cell
Low
(Duration 1 ms)
—
—
Term VBAT
High
—
—
Term VBAT
V2: OFF
V3:OFF
Normal Request
V1: ON (75 ms
Timeout)
V2: OFF
V3: OFF
—
(Active Low -go to
Reset State if V1
Under Voltage
Occurs)
33389
26
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION
OPERATIONAL MODES
V1 & V2
Regulators, V3
Switch
Wake-Up
Capabilities
(if enabled)
Normal
V1: ON
V2: ON
V3: ON/OFF
—
Stand-by
V1: ON
V2: OFF
V3: ON/OFF
—
Sleep
V1: OFF
V2: OFF
V3: OFF/Cyclic
Emergency
Reset Pin
(RST)
Software
Watchdog
High
If Enabled, Signal
(Active Low -go to Failure Condition
Reset State if W/D or L0, L1, L2 Inputs
State Change
or V1 Under
Voltage Occurs)
•
CAN
•
SPI
•
L0,L1,L2
•
Cyclic Sense
•
Forced WakeUp
V1: OFF
V2: OFF
V3: OFF
Interrupt Pin
INT
Running
Tx/Rx, or Rx Only,
or Term VBAT
Same as Normal
Mode
Same as Normal
Mode
Running
Term VBAT
Low
Not Active
Not Running
Term VBAT + WakeUp Capability
None
Low
Not Active
Not Running
Power Down
Term VBAT
Emergency
SPI: Emergency
SBC Power-Up
CAN Cell
W/D: Time-out (4) OR V1Low (1)
Reset Counter (1 ms)
Expired AND V1 High (2)
Stand-by
Normal Request
V1Low (1)
SPI: Normal (6)
SP
I:
SPI: Stand-by (7)
)
(8
g
rig
:T
/D
p
U
75 ms Timeout Expired
W
eak
W
33389 C
Version (9b)
Sl
ee
p
(5
)
Reset
SPI: Emergency
Mode
er
)
(3
SPI: Sleep (5)
Sleep
Normal
W/D: Time-out (4) OR V1Low (1)
Figure 13. State Machine
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
27
FUNCTIONAL DEVICE OPERATION
OPERATIONAL MODES
1. V1 Low = V1 below reset threshold
2. V1 High = V1 above reset threshold
3. W/D: Trigger = SCWR register write operation during Normal Request mode
4. W/D: Time-out = SWCR register not written before W/D time-out period expired, or W/D written in incorrect time window.
In normal request mode time out is 75ms
5. SPI: Sleep = SPI write command to MCR and MCVR registers, data sleep
6. SPI: Normal = SPI write command to MCR and MCVR registers, data normal
7. SPI: Stand-by = SPI write command to MCR and MCVR registers, data stand-by
8. Wake-Up = one of the following events occur: CAN wake-up, Forced wake-up, Cyclic sense wake-up, Direct LX wakeup, or SPI CS wake-up
9. V1Low > 100 ms = V1 below reset threshold for more than 100 ms
a. This condition leads to SBC in Sleep mode only for the 33389ADW (SO28 package)
b. V1 Low for > 100 ms does not lead to Sleep mode for the 33389CDW (SO28WB package) and for the 33389CDH
(HSOP20 package)
Figure 14. State Machine Legend
33389
28
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION
OPERATIONAL MODES
Sleep Mode Activation
Once in the Sleep mode, the SBC turns the V1 and V2
regulator OFF . Thus the microcontroller can not run any
mode.
In order to have the microcontroller run again, the SBC
should enable and turn ON V1. This is achieved by an SBC
wake-up event.
Several options are available to wake-up the SBC and the
application and have the microcontroller in Run mode.
Some wake-ups are selectable; some are always active in
Sleep mode:
• Wake-up from CAN interface and wake-up from SPI (CS)
are always active.
• Wake-up from L0,L1, and L2 inputs, with and without cyclic
sense and the forced wake-up (FWU) are selectable. The
selection must be done while the SBC is in Normal or
Stand-by mode, and prior to enter Sleep mode.
General Condition to Enter Sleep Mode
All previous wake-up conditions must be cleared, assuring
the SBC enters the Sleep mode, and Write operations into
the MCR and MCVR. To clear a wake-up condition requires
reading the appropriate register.
Once the SBC has powered-up from zero (battery powerup or cold start), the following registers must be read:
• WUICR—possible wake-up event report from CAN bus
• RSR—report a V1 under voltage
• VSSR—reports a VBAT fail flag
Once these read operations are completed, the wake-up
conditions, or flags are reset.
The VBSR0 bit in the VSSR can be used to determine if
the SBC has experienced a loss of battery voltage.
Once the SBC is awakened from Sleep mode the following
registers indicate the wake-up source. They must be cleared
to allow the SBC to enter Sleep mode again:
• WUICR—wake-up event report for CAN or SPI buses
• WUISR— wake-up event report for the L0,L1, and L2
inputs
• RSR—report a V1 under voltage
• VSSR—reports a VBAT fail flag
• etc.
The ensuing paragraphs describe the write operation to be
accomplished for the several Sleep modes and Wake-up
control options.
In addition to FWU, cyclic sense and direct wake-up, the
CAN and SPI wake will always be activated.
Sleep Mode with CAN and SPI Wake-Up
To enter the Sleep mode and activate the only CAN or SPI
wake-up, there is no dedicated wake-up condition to be
completed. The SBC has CAN and SPI wake-up sources
always active in the Sleep mode. To enter the Sleep mode in
this case, while the SBC is in Normal or Stand-by mode:
• Write to V3R—data 0000 (this clears the WI2V3 bit, is set
to1after reset)
• Write to MCR—data SLEEP (100)
• Write to MCVR—data SLEEP (100)
The SBC then enters the Sleep mode.
Sleep Mode Enter with Forced Wake-Up
To enter the Sleep mode and activate the forced wake-up,
write to the following registers:
• Write to V3R (data 0100) this set the FWU bit to 1
• Write the desired wake-up time to CYTCR. (This sets the
time the SBC will stay in the Sleep mode).
• Write to MCR–data SLEEP (100)
• Write to MCVR– data SLEEP (100)
The SBC then enters the Sleep mode. It will wake-up after
the time period is selected in the CYTCR.
Sleep Mode Enter with Cyclic Sense
To enter the Sleep mode and activate the cyclic sense
wake-up the following registers must be written:
• Write to V3R (data 1010) this sets the VI2V3 and CYS bits
to 1
• Write to CYTCR the desired cyclic sense period. (This sets
the time the SBC will wait in the Sleep mode to turn on V3
and sense the LX inputs)
• Write to WUICR bits 0 and 1 to select the edge sensitivity
for the LX inputs
• Write to MCR—data SLEEP (100)
• Write to MCVR—data SLEEP (100)
The SBC then enters the Sleep mode. It will periodically
turn on V3 and while V3 is on, sample the level of the Ls
inputs.
If any of the 3 LX inputs is in the correct state for two
consecutive samples, SBC will wake-up. If not, it will stay in
the Sleep mode. Refer to device description for detail.
Sleep Mode Enter With Direct LX Input Wake-Up
To enter the Sleep mode and activate the direct wake-up
from the LX inputs, the following registers must be written:
• Write to V3R (data 0000) this clear VI2V3 bit
• Write to WUICR bits 0 and 1 to select the edge sensitivity
for the LX inputs
• Write to MCR—data SLEEP (100)
• Write to MCVR—data SLEEP (100)
The SBC then enters the Sleep mode. It will wake-up as
soon as any of the LX input read the correct state.
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
29
FUNCTIONAL DEVICE OPERATION
LOGIC COMMANDS AND REGISTERS
180
TYP SLEEP CURRENT (µA)
160
140
120
100
80
16 V
60
40
-50
12 V
6.0V
-25
0
25
50
75
100
125
150
TEMPERATURE (°C)
Figure 15. Current vs Temp and Batt Voltage
LOGIC COMMANDS AND REGISTERS
SPI Introduction
This SPI system is flexible enough to communicate directly
with numerous standard peripherals and MCUs available
from Motorola and other semiconductor manufacturers. SPI
reduces the number of pins necessary for input/output on the
33389. The SPI system of communication consists of the
MCU transmitting, and in return, receiving one data bit of
information per clock cycle. Data bits of information are
simultaneously transmitted by one pin, Microcontroller Out
Serial In (MOSI), and received by another pin, Microcontroller
In Serial Out (MISO), of the MCU. Figure 16 illustrates the
basic SPI configuration between an MCU and one 33389.
The SPI serial operation is guaranteed to 2.0 MHz.
MC68HCXX
MOSI
MOSI
MISO
MISO
33389
SCLK
CS
Figure 16. SPI Interface with Microcontroller
CS PIN
The system MCU selects the MC33389 to be
communicated with, through the use of the CS pin. Whenever
the pin is in logic low state, data can be transferred from the
MCU to the MC33389 and vice versa. Clocked-in data from
the MCU is transferred from the MC33389 shift register and
latched into the addressed registers on the rising edge of the
CS signal if the read/write bit is set and the parity check was
successful.
The CS pin controls the output driver of the serial output
pin. Whenever the CS pin goes to a logic low state, the MISO
pin output driver is enabled allowing information to be
transferred from the MC33389 to the MCU. To avoid any
spurious data, it is essential that the high-to-low transition of
the CS signal occur only when SCLK is in a logic low state.
SCLK PIN
The system clock pin (SCLK) clocks the internal shift
registers of the MC33389. The serial input pin (MOSI)
accepts data into the input shift register on the falling edge of
the SCLK signal while the serial output pin (MISO) shifts data
information out of the shift register on the rising edge of the
SCLK signal. False clocking of the shift register must be
avoided to guarantee validity of data. It is essential that the
SCLK pin be in a logic low state whenever chip select bar pin
(CS) makes any transition. For this reason, it is
recommended though not necessary, that the SCLK pin be
kept in a low logic state as long as the device is not accessed
(CS in logic high state). When CS is in a logic high state, any
signal at the SCLK and MOSI pin is ignored and MISO is
tristated (high impedance).
MOSI PIN
This pin is for the input of serial instruction data. MOSI
information is read in on the falling edge of SCLK. To
program the MC33389 by setting appropriate programming
registers, an sixteen bit serial stream of data is required to be
33389
30
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION
LOGIC COMMANDS AND REGISTERS
entered the MOSI pin starting with Bit15, followed by Bit14,
Bit13, etc., to Bit0. For each fall of the SCLK signal, with CS
held in a logic low state, a data bit is loaded into the shift
register per the tidbit MOSI state.The shift register is full after
sixteen bits of information have been entered.
Table 16. Module Address Map
Address
Register
Register Name
$024
Transceiver control register
TCR
MISO PIN
The serial output (MISO) pin is the tri-stateable output from
the shift register. The MISO pin remains in a high impedance
state until the CS pin goes to a logic low state. The MISO pin
changes state on the rising edge of SCLK and reads out on
the falling edge of SCLK. The MOSI/MISO shifting of data
follows a first-in-first-out protocol with both input and output
words transferring the MSB first.
Module Address Map, the module address map is shown
in table.
Control and Status Reporting of the 33389
Table 16. Module Address Map
Control Data
Address
Register
Register Name
$000
Mode Control Register
MCR
$003
Mode Control Validation
RegisterMCVR
MCVR
$005
V3 control register
V3R
$006
Cyclic timing control register
CYTCR
$009
Software watchdog control
register
SWCR
$00A
Ground shift level register
GSLR
$00C
Wake-up input control register
WUICR
$00F
Wake-up input status register
WUISR
$011
Wake up input real time
information
WUIRTI
$012
Overtemperature status regist
OTSR
$014
Transceiver error status
register for CANH
TESRH
$017
Transceiver error status
register for CANL
TESRL
$018
Reset source register
RSR
$01B
Voltage supply status regist
VSSR
$01D
Interrupt mask control register 1
IMR1
$01E
Interrupt mask control register 2
IMR2
$021
Interrupt source register 1
ISR1
$022
Interrupt source register 2
ISR2
The MCU is responsible for the control data transfer to the
33389, while the 33389 reports its status to the MCU. Major
data for control and status reporting are summarized here:
• SPI initialization during start up
• 33389 control during operation
• Watchdog triggering
• Reading status registers of the 33389
The control data are transferred from the MCU to the
33389. A control word includes an address of a control
register and the appropriate data (see Figure 17). Basically,
the following data will be transferred. Please see SPI
Registers Descriptions on page 34.
• 33389 mode control
• Supply control
• Forced wake-up timing
• Cyclic sense control
• Watchdog control
• Transceiver control
Status Data
The status data are transmitted from the 33389 to the
MCU. After receiving a valid register address from the MCU,
the 33389 returns the appropriate status. Some of the major
status data are listed below:
• Current operation mode status
• Wake-up sources
• Reset status
• Error status
• Over temperature status
• Transceiver status
Data Transfer
The data to and from the 33389 are transferred in form of
two bytes.The structure of the transferred information is the
same as for control and status reporting. The address field A5
to A0 (Bit 15 to Bit 10) contains the address of a control or
status register in the 33389. RW (Bit 9 and Bit 8) contains the
read/write flag for the data field. The parity field is located at
P3 to P0 (Bit 7 to Bit 4). The data field D3 to D0 (Bit 3 to Bit
0) is part of the two-byte data word. Please see Figure 17.
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
31
FUNCTIONAL DEVICE OPERATION
LOGIC COMMANDS AND REGISTERS
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9
MISO
Bit8
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
A5 A4 A3 A2 A1 A0 RW RW P3 P2 P1 P0 D3 D2 D1 D0
address + R/W
parity
MOSI
data
Figure 17. SPI Communication Format
The SBC is accessible via the SPI interface in the Normal
information. The calculation of the parity field P3-P0 has to
Request mode, Normal mode, and Stand-by mode. In all
follow the equations:
other modes (Sleep mode, Emergency mode), the voltage
supply for the microcontroller in permanently switched OFF
and the SBC input logic for MISO, MOSI, CS and SCLK isn’t
P3 = D3 ⊕ D0
(EX - OR)
working (except SPI wake-up function in the Sleep mode).
P2 = D3 ⊕ D2
P1 = D2 ⊕ D1
Writing Data
To write data in a SPI register there are two, one-byte
transmissions to be performed. The first byte contains the
address of the register (MSB first) and the read/write bits
must be set to one. The second byte contains the new data
addressed by the previous byte (MSB first) and the parity
HC08/12 SPI Data Register
Bit7
Bit6 Bit5 Bit4 Bit3
Bit2 Bit1
A5 A4 A3 A2 A1 A0 1
P0 = D1 ⊕ D0
Note: During the transmission of the two bytes the CS pin
remains 0. Please see Figure 18
SBC SPI Data Register
Bit0
1
new address + R/W (1st byte)
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8
Bit7
Bit6 Bit5 Bit4
Bit3
Bit2 Bit1 Bit0
A5 A4 A3 A2 A1 A0 RW RW P3 P2 P1 P0 D3 D2 D1 D0
old address + R/W
old parity
old data
P3 P2 P1 P0 D3 D2 D1 D0
new data + parity (2nd byte)
Figure 18. Microcontroller SPI Writing Data
The SBC sends back the old address, R/W, parity, and
setting to zero. The second byte needn’t contain valid data,
data information from a previous transmission. This data
nevertheless, the parity calculation has to performed to avoid
contains no useful information (e.g. status). It shouldn’t be used.
an interrupt caused by a parity mismatch.
In case of a wrong address field or parity mismatch, an
During a read operation the SBC sends back the old
interrupt will be issued and the SBC retains the old state.
address and R/W bits and the new data addressed by the first
transmitted byte starting with P3 after the last valid read/write
Reading Data
bit has been received.
Note: During the transmission of the two bytes the CS pin
To read data from a dedicated register two, one-byte
remains zero.
transmissions have to be performed. The first byte contains
the address of the register (MSB first) and the read/write flags
33389
32
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION
LOGIC COMMANDS AND REGISTERS
Figure 19 illustrates content of the HC08/12 SPI Data
Register and the SBC SPI Data Register before the
transmission. The new address and R/W bits are already in
the SPI Data Register while the new data and parity bits are
still in an appropriate microcontroller register or memory. This
SBC SPI Data Register
HC08/12 SPI Data Register
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
A5 A4 A3 A2 A1 A0
Bit1
Bit0
0
0
new address + R/W (1st byte)
0
0
0
0
0
0
second byte has to be loaded into the HC08/12 SPI Data
Register after the first byte was transmitted to the SBC.
0
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9
Bit8
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
A5 A4 A3 A2 A1 A0 RW RW P3 P2 P1 P0 D3 D2 D1 D0
old address + R/W
old parity
old data
0
new data + parity (2nd byte)
Figure 19. Microcontroller SPI Reading Data - Sequence A
After transmission of the first byte, the HC08/12 SPI read buffer contains the old address and R/W bits received from the SBC.
An appropriate operation in the microcontroller loads the new data and parity into the HC08/12 SPI Data Register (second byte).
In the SBC the internal logic loads P3-P0 and D3-D0 to the location of Bit 15 to Bit 8 in the SBC SPI Data Register, shifting this
data within the remaining eight clock cycles. Please see Figure 20.
HC08/12 SPI Data Register
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
SBC SPI Data Register
Bit1
Bit0
0
0
0
0
0
0
0
0
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9
Bit8
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
P3 P2 P1 P0 D3 D2 D1 D0 A5 A4 A3 A2 A1 A0 0
Bit0
0
A5 A4 A3 A2 A1 A0 RW RW
new parity
old address + R/W in
HC08/12 SPI read buffer
new data
new address + R/W
addressed by the new address
Figure 20. Microcontroller SPI Reading Data - Sequence B
After sixteen clock cycles, the microcontrollers read buffer contains the new parity, and data and is now ready for the next
transmission. Please see Figure 21.
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
33
FUNCTIONAL DEVICE OPERATION
LOGIC COMMANDS AND REGISTERS
SBC SPI Data Register
HC08/12 SPI Data Register
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
A5 A4 A3 A2 A1 A0
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
0
0
Bit1
Bit0
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9
Bit8
Bit7
A5 A4 A3 A2 A1 A0 RW RW 0
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
0
0
0
0
0
0
0
P3 P2 P1 P0 D3 D2 D1 D0
old address + R/W
old parity
old data
new parity + new data in
HC08/12 SPI read buffer
Figure 21. Microcontroller SPI Reading Data - Sequence C
Safety Concept
P3 = D3 ⊕ D0
Because the SPI interface is an on-board interface without
any data fault detection capabilities, the SPI interface of the
33389 provides built-in fail save functions.
Address coding is based on increasing the Hamming
distance, parity check, and parity generation for data.
For the address and the read/write bits, only codes with a
Hamming distance < 2 will be used. So, any single bit failure
caused by disturbances will be recognized and handled.
When one bit toggles in the address field during the
transmission, no misbehavior occurs.
Additionally, validation registers are implemented to
confirm safety critical settings in the 33389, e.g. the Mode
Control Register MCR has its validation register, MCVR. To
change the appropriate settings, both registers must have the
same content to switch to another mode.
To increase data integrity, a parity check is used. A parity
module in the 33389 ascertains the parity of the data field and
compares the result with the received parity. When the parity
check is successfully passed, data will be written into the
addressed registers. The parity bits P3 to P0 results from the
logic following equations:
(EX - OR)
P2 = D3 ⊕ D2
P1 = D2 ⊕ D1
P0 = D1 ⊕ D0
In case of error detection, the incoming data is not taken in
the SBC and an error flag is set in an SPI register.
SPI REGISTERS DESCRIPTIONS
Registers MCR and MCVR control the SBC mode. To
change the operating mode of the SBC, both registers must
have the same content. The order of writing the registers has
to be taken into account. To properly set the SBC mode,
MCR must be written first followed by the MCVR write. A write
operation sets the MCR and MCVR registers.
The Emergency mode is a regular mode.
A reset of both MCR and MCVR registers occurs when
RST = low and the SBC is set to Normal Request mode.
Table 17. Mode Control Register (MCR)
Address
MCR
$000
RESET
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
R
W
—
—
—
—
—
Bit 2
Bit 1
Bit 0
MSR2
MSR1
MSR0
MCR2
MCR1
MCR0
0
0
0
33389
34
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION
LOGIC COMMANDS AND REGISTERS
Table 18. Mode Control Validating Register (MCVR)
Address
MCVR
$003
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
R
W
RESET
—
—
—
—
Bit 2
Bit 1
Bit 0
MSVR2
MSVR1
MSVR0
MCR2
MCR1
MCR0
0
0
0
—
Table 19. MCR and MCVR Bit Definition
MC(V)R2
MC(V)R1
MC(V)R0
Automatically Entered After Reset
—
MSR2
MSR1
MSR0
Normal Request
0
0
0
0
0
1
Normal
0
0
1
0
1
0
Stand-by
0
1
0
1
0
0
Sleep
1
0
0
1
1
1
Emergency
1
1
1
This register configures the state of V3 high-side switch in Normal and Stand-by modes, and the V3 operation and the Forced
wake-up or the cyclic sense option for the sleep mode operation.
Table 20. V3 Control Register (V3R)
Address
V3R
$005
Bit 7
Bit 6
Bit 5
Bit 4
R
W
RESET
—
—
—
Bit 3
Bit 2
Bit 1
Bit 0
WI2V3
FWU
CYS
V3R0
1
0
0
0
—
Table 21. V3R Bit Definition
WI2V3
FWU
CYS
V3R0
—
Comments
x
0
0
0
V3 OFF
x
0
0
1
V3 ON
Only in Normal and Stand-by Mode
Available
x
x
1
x
Cyclic Sense ON
—
x
1
0
x
Forced Wake-Up ON
Only in Sleep Mode Available
1
x
x
x
Wake-Up Inputs Linked to V3
In low power modes, cyclic sense has priority. A reset of the register occurs when RST = low.
Table 22. Cyclic Timing Control Register (CYTCR)
Address
CYTCR
$006
RESET
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
R
W
—
—
—
—
—
Bit 2
Bit 1
Bit 0
CYTCR2
CYTCR1
CYTCR0
0
0
0
This register is used to select the cyclic sense or force wake-up timing.
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
35
FUNCTIONAL DEVICE OPERATION
LOGIC COMMANDS AND REGISTERS
Table 23. CYTCR Bit Definition
CYTCR2
CYTCR1
CYTCR0
Comments
t(ms) Typical
0
0
0
Timer ON, t1 (Default)
32
0
0
1
Timer ON, t2
64
0
1
0
Timer ON, t3
128
0
1
1
Timer ON, t4
256
1
0
0
Timer ON, t5
512
1
0
1
Timer ON, t6
1024
1
1
0
Timer ON, t7
2048
1
1
1
Timer ON, t8
8192
Note: A reset of the register occurs when RST = Low.
Table 24. Software Watchdog Control Register (SWCR)
Address
SWCR
$009
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
R
W
RESET
—
—
—
—
—
Bit 2
Bit 1
Bit 0
SWCR2
SWCR1
SWCR0
0
0
0
This register is used to select the window watchdog time period. Open window of the selected period is only the second half
of the selected period.
Table 25. SWCR Bit Definition
SWCR2
SWCR1
SWCR0
Comments
t(ms) Typical
0
0
0
Timer ON, t1 (Default)
5
0
0
1
Timer ON, t2
10
0
1
0
Timer ON, t3
20
0
1
1
Timer ON, t4
33
1
0
0
Timer ON, t5
50
1
0
1
Timer ON, t6
75
1
1
0
Timer ON, t7
100
1
1
1
Timer ON, t8
200
Note: The software watchdog is only running in Normal and Stand-by modes. A reset of this register occurs when RST = Low.
Table 26. Ground Shift Level Register (GSLR)
Address
GSLR
$00A
RESET
Bit 7
Bit 6
Bit 5
Bit 4
R
Bit 3
Bit 2
TXDOM
SHIFT
—
0
W
—
—
—
—
Bit 1
Bit 0
GSLR1
GSLR0
0
0
This register is used to monitor the ground shift of the vehicle network.
33389
36
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION
LOGIC COMMANDS AND REGISTERS
Table 27. GSLR Bit Definition
GSLR1
GSLR0
Typical Ground Shift Level
0
0
0.7 V
0
1
-1.2 V
1
0
-1.7 V
1
1
-2.2 V
SHIFT
1 = Ground shift above the threshold selected by GSLR1 and GSLR2
0 = No ground shift
The SHIFT information is latched until a read operation of the GSLR register occurs. The GSLR register is set to 0 after power-ON
reset. A reset of GSLR1 and GSLR0 occurs when RST = Low.
TXDOM
0 = No failure on TX
1 = TX permanent dominant
Table 28. Wake-Up Input Control Register (WUICR)
Address
Bit 7
Bit 6
Bit 5
Bit 4
R
WUICR
$00C
Bit 3
Bit 2
SPIWU
BUSWU
0
0
W
RESET
—
—
—
—
Bit 1
Bit 0
WUCR1
WUICR0
0
0
This register configures the wake-up level for the L0, L1, and L2 inputs. It reports the CAN wake-up and SPI (CS) wake-up
events during the Read operation.
Table 29. WUICR Bit Definition
WUICR1
WUICR0
Description
0
0
Wake-Up Inputs Disabled
0
1
Positive Edge Sensitive
1
0
Negative Edge Sensitive
1
1
Positive and Negative Sensitive
Table 30. WUICR Bit Definition
SPIWU
BUSWU
Description
0
0
No Wake-Up Events
0
1
Wake-Up Event on CAN Bus
1
0
Wake-Up Event on SPI Bus
The information is SPIWU and BUSWU is latched. Bits SPIWU and BUSWU will be reset by a read operation of the WUICR
register and are set to 0 after a power-ON reset. A reset of WUICR1 and WUICR0 occurs when RST = Low.
Table 31. Wake-Up Input Status Register (WUISR)
Address
WUISR
$00F
RESET
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
R
Bit 2
Bit 1
Bit 0
WUISR2
WUISR1
WUISR0
0
0
0
W
—
—
—
—
—
This register reads back the wake input (L0, L1, L2) causing the SBC to wake-up.
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
37
FUNCTIONAL DEVICE OPERATION
LOGIC COMMANDS AND REGISTERS
Table 32. WUISR Bit Definition
WUISR2
WUISR1
WUISR0
Description
0
0
0
No Event on Wake-Up Inputs
x
x
1
Event on L0
x
1
x
Event on L1
1
x
x
Event on L2
In case of a wake-up event, the appropriate bit is set to 1. The bits will be reset by a Read operation of the register. After
power-ON reset, all bits are set to 0.
Table 33. Wake-Up Input Real Time Information (WUIRTI)
Address
WUIRTI
$011
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
R
Bit 2
Bit 1
Bit 0
WUIRTI2
WUIRTI1
WUIRTI0
0
0
0
W
RESET
—
—
—
—
—
This register reports the real time information on the state; (High or Low) of the L0, L1, and L2 inputs. The bits WUIRT1 2:0
contain the real time logic value coming from the wake-up inputs (0 means input below threshold, 1 means input above threshold.
Typical threshold is 3.5 V).
Table 34. Over Temperature Status Register (OTSR)
Address
OTSR
$012
Bit 7
Bit 6
Bit 5
Bit 4
R
Bit 3
Bit 2
OPWV2
OPWV1
W
RESET
Bit 1
Bit 0
OPTV2
OTV1
OTV2C
—
—
—
—
0
0
0
0
This register reads back the over temperature status for the V1 and V2 regulators. It is used to turn V2 ON after a V2 over temperature shutdown occurred in the Write mode.
OTV1: 1 = V1 over temperature shutdown, 0 = V1 no over temperature
OTV2: 1 = V2 over temperature shutdown, 0 = V2 no over temperature
OPWM1: 1 = V2 over temperature pre-warning, 0 = V2 normal temperature
OPWV2: 1 = V2 over temperature pre-warning, 0 = V2 normal temperature
In case of V1 or V2 over temperature, the appropriate voltage regulators are switched OFF automatically, and the over temperature
flags are set (latched). The flags can be reset by a Read operation of the register OTSR. Once V2 is switched OFF because of over
temperature (OTV2 = 1 ) it can only be switched ON again by forcing OTV2C = 0 by a Write operation.
The V1 and V2 pre-warning flags are set as long as the first over temperature exists. The flags disappear, when the temperature is
below the threshold. An over temperature of the V2 power supply will also switch OFF V3. After a power-ON reset, all bits of the register are set to 0.
Table 35. Transceiver Error Status Register for CANH (TESRH)
Address
TESRH
$014
RESET
Bit 7
Bit 6
Bit 5
Bit 4
R
Bit 3
Bit 2
Bit 1
Bit 0
TESRH3
TESRH2
TESRH1
TESRH0
0
0
0
0
W
—
—
—
—
This register reports the CANH failure status.
33389
38
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION
LOGIC COMMANDS AND REGISTERS
Table 36. TESRH Bit Definition
TESRH3
TESRH2
TESRH1
TESRH0
Description
0
0
0
0
No Failure on CANH
0
x
0
1
CANH Wire Interruption
x
x
1
x
CANH Short Circuit to VBAT
0
1
0
x
CANH Short Circuit to Ground
1
x
0
x
CANH Short Circuit to VCC
In case of CANH line failures, the appropriate bit(s) are set according to Table 36. This information is latched. The register can be reset by a
Read operation. After power-ON is reset, all bits are set to 0.
.
Table 37. Transceiver Error Status Register for CANL and Tx (TESRL)
Address
TESRL
$017
Bit 7
Bit 6
Bit 5
Bit 4
R
Bit 3
Bit 2
Bit 1
Bit 0
TESRL3
TESRL2
TESRL1
TESRL0
0
0
0
0
W
RESET
—
—
—
—
This register reports the CANL and Tx permanent failure status
Table 38. TESRL Bit Definition
TESRL3
TESRL2
TESRL1
TESRL0
Description
0
0
0
0
No Failure
0
x
0
1
CANL Wire Interruption
0
1
0
x
CANL Short Circuit to Ground/CANH mutually shorted to CANL
x
x
1
x
CANL Short Circuit to VBAT
1
x
0
x
CANL Short Circuit to VDD
In case of CANL line failures, the appropriate bit(s) are set according to Table 38. This information is latched. The register can be reset by a
Read operation. After power-ON is reset, all bits are set to 0.
Table 39. Reset Source Register (RSR)
Address
RSR
$018
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
R
Bit 2
Bit 1
Bit 0
RSR2
RSR1
RSR0
1
0
1
W
RESET
—
—
—
—
—
This register reports the source of a reset already occurred.
RSR0: 1 = > VDD1 under voltage occurred (RSR2 = 1 in this case), 0 = > no over voltage on V occurred
RSR1: 1 = > Software watchdog reset occurred (RSR 2 = 1 in this case), 0 = > no SW watchdog reset occurred
RSR2: 1 = > External reset occurred (RSR0 = RSR1= 0 in this case), 0 = > no external reset occurred
Events related to the bits in register RSR are latched. All bits can be reset by a Read operation of the register. After a power-ON reset, RSR2
and RSR0 are set to 1. Therefore, the first read out of the register after power-ON delivers RSR[2:0] = [101].
Table 40. Voltage Supply Status Register (VSSR)
Address
VSSR
$01B
Bit 7
Bit 6
Bit 5
Bit 4
R
Bit 3
Bit 2
Bit 1
Bit 0
V3SR
V2SR
VBSR1
VBSR0
W
RESET
—
—
—
—
0
0
—
—
POR
—
—
—
—
0
0
0
1
This register monitors the status of the V2, V3, and VBAT voltage level.
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
39
FUNCTIONAL DEVICE OPERATION
LOGIC COMMANDS AND REGISTERS
Table 41. VBSR1 VBSR0
VBSR1
VBSR0
Description
0
0
No Failure on VBAT
x
1
Under Voltage (BATFail)
1
x
Over Voltage (BATHigh)
V2SR: 1 = V2 ON, 0 = V2 OFF
V3SR: 1 = V3 over temperature, 0 = V3 no over temperature
VBSR1 is real time information. It cannot be reset. Bits V3SR, V2SR, and VBSR0 are latched and can be reset by a Read operation of the
register.
The next two registers (IMR1 and IMR2) mask the interrupt function.
Table 42. Interrupt Mask Control Register 1 (IMR1)
Address
IMR1
$01D
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
HV
HTPW
MTPW
BATU
—
0
0
0
0
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
BUSF
SPIE
WU
0
0
0
R
W
RESET
—
—
—
Table 43. Interrupt Mask Control Register 2 (IMR2)
Address
IMR2
$01E
Bit 7
Bit 6
Bit 5
R
W
RESET
—
—
—
—
—
To enable the appropriate interrupt, the mask bit has to be set to 1. To disable the interrupt the bit, it must be cleared to 0. After a power-ON
reset or RST = Low, the bits are cleared to 0. All interrupts are disabled. Explanation for the abbreviations:
HV = VBAT High voltage
HT = High temperature on V1 or V2
MTPW = Medium temperature pre-warning on V1 or V2
BATU = Battery under voltage (BATFail)
BUSF = CAN bus failure
SPIE = SPI error
WU = Wake-up
The next two registers (ISR1 and ISR2) read the interrupt source. All bits in registers ISR1 and ISR2 are copies of the
appropriate bits in different SPI registers. For a faster read-out, these bits are merged in ISR1 and ISR2. A reset cannot be
completed for registers ISR1 and ISR2.
Table 44. Interrupt Source Register 1 (ISR1)
Address
ISR
$021
Bit 7
Bit 6
Bit 5
Bit 4
R
Bit 3
Bit 2
Bit 1
Bit 0
HV
HTPW
MTPW
BATU
W
RESET
—
—
—
—
0
0
0
0
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
BUSF
SPIE
WU
0
0
0
Table 45. Interrupt Source Register 2 (ISR2)
Address
ISR
$022
RESET
Bit 7
Bit 6
R
W
—
—
—
—
—
33389
40
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION
LOGIC COMMANDS AND REGISTERS
Table 46. Transceiver Control/Status Register (TCR)
Address
TCR
$024
Bit 7
Bit 6
Bit 5
Bit 4
R
Bit 3
Bit 2
Bit 1
Bit 0
TOT
TSR2
TSR1
TSR0
TCR2
TCR1
TCR0
0
0
0
W
RESET
—
—
—
—
0
This register controls the state of the CAN transceiver (CAN transceiver is also dependent upon the SBC mode). When it is
read, this register reports the CAN transceiver state and a CAN over temperature condition.
Table 47. TCR / TSR Data
TCR2
TCR1
TCR0
Description
TSR2
TSR1
TSR0
0
0
0
Standard/Term VBAT
0
0
0
0
1
0
Standard/Rx Only
0
1
0
0
1
1
Standard/RxTx
0
1
1
TOT
1 = > Transceiver over temperature
0 = > Normal temperature
The MODE bit selects between the standard and extended physical layer mode. Any conditions forcing the transceiver to Term VBAT lead to
reset of TCR0 and TCRO1 bits. After power-ON reset all bits of the register are set to 0. The information TOT is latched. Reset TOT by reading the TCR. In case of RST = Low, the register content remains unchanged.
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
41
TYPICAL APPLICATIONS
TYPICAL APPLICATIONS
Auxiliary 5V
33389
Ignition
C2
V1
Auxiliary 12V
Rp0
S0
S1
CANH
CANL
RTH
INT
CS
MISO
MOSI
SCK
RTL
RH
Rs1
RESET
INT
L0
L1
L2
RL
S2
C4
RST
Rs0
CL1
Rp2
VDD
C3
V3
CL0
Rp1
C6
V2
VBAT
C1
C5
GND
SPI
TX
RX
CAN
GND
Rs2
CL2
CAN bus
Figure 22. Typical Application Schematic 1
33389
C1
Ignition
switch
C2
S0
Rs0
CL0
Rp1 Rs1
S1
CL1
Rp2
S2
L0
L1
L2 GND
Vdd
C3
33389
V3
Rp0
V1
VBAT
C4
Micro
reset
RST
Cr
Figure 24. Reset Duration Extension
Auxiliary
local 12V
Rs2
CL2
Figure 23. Typical Application: V3 Used as Auxiliary
ECU Supply
33389
42
Analog Integrated Circuit Device Data
Freescale Semiconductor
TYPICAL APPLICATIONS
Auxiliary 5V
33389
C2
V1
Ignition
Auxiliary 12V
Rp0
S0
C6
V2
VBAT
C1
C5
VDD
V3
RST
Rs0
CL0
CS
MISO
MOSI
SCK
RTL
RH
CANH
CANL
CAN bus # 1
RL
RTH
RESET
INT
INT
L0
L1
L2
GND
SPI bus
TX
RX
SPI
CAN 1
CAN 2
VBAT INH VDD
RTL
RH
CANH MC33388
CANL
CAN bus # 2
RL
SCI
Tx/Rx
RTH GND
GND
+12V
INH
VSUP
LIN bus
1k
LIN
MC33399
Tx/Rx
GND
(Wake-up input linked to peripheral circuits: (ex: low speed CAN or LIN transceivers).
Figure 25. Typical Application Schematic 2
done at nominal voltage and temperature. By doing this, 5.0
The SBC offers several capabilities to help users debug
V is provided to the MCU VDD and reset lines.
their application.
• External bias of V1 and reset pin
Under this condition the SBC is not operational. However,
the reset pin is pulled low and is sinking 5 mA to ground. This
• Turn OFF software watchdog in the Stand-by mode
means, the external circuitry driving reset must have a
• Special debug samples with software watchdog disable at
current capability higher than 5 mA in order to drive the reset
power-up (contact local Motorola representative)
in the high-state.
DEBUG AND PROGRAM DOWNLOAD INTO FLASH
MEMORY
While the SBC is powered, it enters Normal Request mode
and expects during the 75 ms time period in the NR mode, an
SPI trigger word (to enter Normal mode and select the
watchdog time period). If this does not occur, the SBC enters
the Sleep mode and turns off V1.
When the software is debugged, and when using
development tools, it is not always easy to make sure these
events happen properly. It is thus possible to externally
power the V1 line with an external 5.0 V supply, and to force
the Reset pin to V1 or to and external 5.0 V. These can be
DISABLE OF SOFTWARE WATCHDOG IN STANDBY MODE
The software watchdog can be disable in Stand-by mode
only. In order to disable it the following operation must be
done:
• Write to MCR register–data 011 (bit 2, bit 1, bit 0)
• Write to MCVR register–data 011 (bit 2, bit 1, bit 0)
Then the SBC enters the Stand-by mode without software
watchdog. However the V2 can not be turn on, and the CAN
cell can not be used.
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
43
PACKAGING
PACKAGE DIMENSIONS
PACKAGING
PACKAGE DIMENSIONS
For the most current package revision, visit www.freescale.com and perform a keyword search using the 98ASH70273A listed below.
DH SUFFIX
VW SUFFIX (Pb-FREE)
20 PIN
PLASTIC PACKAGE
98ASH70273A
ISSUE E
33389
44
Analog Integrated Circuit Device Data
Freescale Semiconductor
PACKAGING
PACKAGE DIMENSIONS
DH SUFFIX
VW SUFFIX (Pb-FREE)
20 PIN
PLASTIC PACKAGE
98ASH70273A
ISSUE E
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
45
PACKAGING
PACKAGE DIMENSIONS
DW SUFFIX
EG SUFFIX (Pb-FREE)
28 PIN
PLASTIC PACKAGE
98ASB42345B
ISSUE G
33389
46
Analog Integrated Circuit Device Data
Freescale Semiconductor
PACKAGING
PACKAGE DIMENSIONS
DW SUFFIX
EG SUFFIX (Pb-FREE)
28 PIN
PLASTIC PACKAGE
98ASB42345B
ISSUE G
33389
Analog Integrated Circuit Device Data
Freescale Semiconductor
47
REVISION HISTORY
REVISION HISTORY
DATE
5.0
3/2007
DESCRIPTION OF CHANGES
•
•
•
•
•
•
•
•
Added Revision History
Converted to the prevailing Freescale form and style
Entire document was edited for wording, labels, and technical accuracy.
Added the Pb-FREE package types VW and EG to the ordering information
Updated the package drawings
Added Peak Package Reflow Temperature During Reflow (4), (5) on page 7
Added notes (4) and (5)
Removed all references to MC33389ADW/R2, MC33389ADH/R2, MC33389CEG/R2,
and MC33389DEG/R2 from the data sheet.
• Restated MC33389DDW in the Device Variations on page 2
33389
48
Analog Integrated Circuit Device Data
Freescale Semiconductor
How to Reach Us:
Home Page:
www.freescale.com
Web Support:
http://www.freescale.com/support
USA/Europe or Locations Not Listed:
Freescale Semiconductor, Inc.
Technical Information Center, EL516
2100 East Elliot Road
Tempe, Arizona 85284
+1-800-521-6274 or +1-480-768-2130
www.freescale.com/support
Europe, Middle East, and Africa:
Freescale Halbleiter Deutschland GmbH
Technical Information Center
Schatzbogen 7
81829 Muenchen, Germany
+44 1296 380 456 (English)
+46 8 52200080 (English)
+49 89 92103 559 (German)
+33 1 69 35 48 48 (French)
www.freescale.com/support
Japan:
Freescale Semiconductor Japan Ltd.
Headquarters
ARCO Tower 15F
1-8-1, Shimo-Meguro, Meguro-ku,
Tokyo 153-0064
Japan
0120 191014 or +81 3 5437 9125
[email protected]
Asia/Pacific:
Freescale Semiconductor Hong Kong Ltd.
Technical Information Center
2 Dai King Street
Tai Po Industrial Estate
Tai Po, N.T., Hong Kong
+800 2666 8080
[email protected]
For Literature Requests Only:
Freescale Semiconductor Literature Distribution Center
P.O. Box 5405
Denver, Colorado 80217
1-800-441-2447 or 303-675-2140
Fax: 303-675-2150
[email protected]
MC33389
Rev. 5.0
3/2007
RoHS-compliant and/or Pb-free versions of Freescale products have the functionality
and electrical characteristics of their non-RoHS-compliant and/or non-Pb-free
counterparts. For further information, see http://www.freescale.com or contact your
Freescale sales representative.
For information on Freescale’s Environmental Products program, go to http://
www.freescale.com/epp.
Information in this document is provided solely to enable system and software
implementers to use Freescale Semiconductor products. There are no express or
implied copyright licenses granted hereunder to design or fabricate any integrated
circuits or integrated circuits based on the information in this document.
Freescale Semiconductor reserves the right to make changes without further notice to
any products herein. Freescale Semiconductor makes no warranty, representation or
guarantee regarding the suitability of its products for any particular purpose, nor does
Freescale Semiconductor 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 that may be
provided in Freescale Semiconductor data sheets and/or specifications 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. Freescale Semiconductor does not convey any license
under its patent rights nor the rights of others. Freescale Semiconductor 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 application in which the failure of the Freescale Semiconductor product
could create a situation where personal injury or death may occur. Should Buyer
purchase or use Freescale Semiconductor products for any such unintended or
unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor 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 Freescale
Semiconductor was negligent regarding the design or manufacture of the part.
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc.
All other product or service names are the property of their respective owners.
© Freescale Semiconductor, Inc., 2007. All rights reserved.