FREESCALE MCZ33905S5EK/R2

Freescale Semiconductor
Advance Information
Document Number: MC33904_5
Rev. 3.0, 2/2010
System Basis Chip Gen2 with High
Speed CAN and LIN Interface
The 33904/5 is the second generation family of System Basis Chips
which combine several features and enhance present module designs.
The device works as an advanced power management unit for the
MCU and additional integrated circuits such as sensors, CAN
transceivers. It has a built-in enhanced high speed CAN interface
(ISO11898-2 and -5), with local and bus failure diagnostics, protection,
and fail safe operation mode. The SBC may include one or two LIN 2.1
interfaces with LIN output pin switches. It includes up to 4 wake-up
input pins than can also be configured as output drivers for flexibility.
This device implements multiple Low Power modes, with very lowcurrent consumption. In addition, the device is part of a family concept
where pin compatibility, among the various devices with and without
LIN interfaces, add versatility to module design.
The 33904/5 also implements an innovative and advanced fail-safe
state machine and concept solution.
33904
33904/5
33905
SBC CAN GEN2
EK SUFFIX (PB-FREE)
98ASA10556D
32-PIN SOIC EP
EK SUFFIX (PB-FREE)
98ASA10506D
54-PIN SOIC EP
ORDERING INFORMATION
Features
• Protected 5.0V or 3.3V regulators for MCU (part number selectable)
and additional ICs (SPI configurable) with optional external PNP
usage to increase current capability for MCU.
• Fully-protected embedded 5.0 V regulator for the CAN driver
• Extremely low quiescent current in low power modes
• Multiple under-voltage detections to address various MCU
specifications and system operation modes (i.e. cranking)
• Multiple wake-up sources in low power modes: CAN or LIN bus, I/O
transition, automatic timer, SPI message, and VDD over-current
detection.
• Voltage, current and temperature protection with enhanced
diagnostics that can be monitored by system via MUX output
• ISO11898-5 high speed CAN interface compatibility for baud rates
of 40 kb/s to 1.0 Mb/s. LIN 2.1 and J2602 LIN interface compatibility
• Pb-free packaging designated by suffix code EK
Temperature
Range (TA)
Device
PCZ33905D3EK/R2
54 SOIC EP
MCZ33905D5EK/R2
PCZ33905S3EK/R2
MCZ33905S5EK/R2
-40°C to 125°C
32 SOIC EP
PCZ33904A3EK/R2
MCZ33904A5EK/R2
33905D
VBAT
* = Optional
(5.0 V/3.3 V)
D1
Q2
Q1*
VBAUX VCAUX VSUP1 VAUX VE VB VDD
VSUP2
SAFE
DBG
GND
VSENSE
I/O-0
I/O-1
VDD
RST
INT
MOSI
SCLK
MISO
CS
MUX-OUT
SPI
MCU
A/D
5V-CAN
CANH
SPLIT
CAN Bus
CANL
LIN-TERM 1
LIN Bus
LIN-1
LIN-TERM 2
LIN Bus
LIN-2
TXD
RXD
TXD-L1
RXD-L1
TXD-L2
RXD-L2
Figure 1. 33905D 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., 2010. All rights reserved.
Package
33905S
VBAT
* = Optional
(5.0 V/3.3 V)
D1
Q2
Q1*
VBAUX VCAUX VSUP1 VAUX VE VB VDD
VSUP2
SAFE
DBG
VDD
RST
INT
GND
VSENSE
MOSI
SCLK
MISO
CS
MUX-OUT
I/O-0
I/O-1
SPI
MCU
A/D
5V-CAN
CANH
CAN Bus
VBAT
LIN Bus
SPLIT
TXD
CANL
LIN-T
RXD
TXD-L
RXD-L
LIN
I/O-3
Figure 2. 33905S Simplified Application Diagram
33904A
VBAT
* = Optional
(5.0 V/3.3 V)
D1
Q2
Q1*
VBAUX VCAUX VSUP1 VAUX VE VB VDD
VSUP2
SAFE
DBG
GND
VSENSE
I/O-0
I/O-1
VDD
RST
INT
MOSI
SCLK
MISO
CS
MUX-OUT
SPI
MCU
A/D
5V-CAN
CANH
VBAT
SPLIT
CAN Bus
CANL
TXD
RXD
I/O-2
I/O-3
Figure 3. 33904A Simplified Application Diagram
33904/5
2
Analog Integrated Circuit Device Data
Freescale Semiconductor
DEVICE VARIATIONS
DEVICE VARIATIONS
Table 1. Device Variations
Freescale Part No.
Vdd output
voltage
PCZ33905D3EK/R2
3.3V
MCZ33905D5EK/R2
5V
CAN
interface
LIN
interface(s)
Wake up input / LIN master
termination
Package
2 wake up + 2 LIN terms
or
1
2
3 wake up + 1 LIN terms
SOIC 54 pins
exposed pad
or
4 wake up + no LIN terms
PCZ33905S3EK/R2
MCZ33905S5EK/R2
3.3V
5V
3 wake up + 1 LIN terms
1
1
or
SOIC 32pins
exposed pad
4 wake up + no LIN terms
PCZ33904A3EK/R2
3.3V
MCZ33904A5EK/R2
5V
1
no
4 wake up
SOIC 32pins
exposed pad
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
3
TABLE OF CONTENTS
TABLE OF CONTENTS
Internal Block Diagram .............................................................................................................................. 5
Pin Connections ........................................................................................................................................ 8
Electrical Characteristics ......................................................................................................................... 12
Maximum Ratings ................................................................................................................................. 12
Static Electrical Characteristics ............................................................................................................ 14
Dynamic Electrical Characteristics ....................................................................................................... 21
Timing Diagrams .................................................................................................................................. 24
Functional Description ............................................................................................................................. 28
Introduction ........................................................................................................................................... 28
Functional Pin Description .................................................................................................................... 28
Functional Device Operation ................................................................................................................... 32
Mode and State Description ................................................................................................................. 32
Low Power Modes ................................................................................................................................ 33
State Diagram ....................................................................................................................................... 34
Mode Change ....................................................................................................................................... 35
Watchdog Operation ............................................................................................................................. 35
Functional Block Operation Versus Mode ............................................................................................ 37
Illustration of Device Mode Transitions. ................................................................................................ 37
Cyclic Sense Operation During LP Modes ........................................................................................... 39
Behavior at Power Up and Power Down .............................................................................................. 40
Fail Safe Operation ................................................................................................................................. 42
CAN Interface ....................................................................................................................................... 46
CAN Interface Description .................................................................................................................... 46
CAN Bus Fault Diagnostic .................................................................................................................... 50
LIN Block ................................................................................................................................................. 53
LIN Interface Description ...................................................................................................................... 53
LIN Operational Modes ......................................................................................................................... 53
Serial Peripheral Interface ....................................................................................................................... 55
High Level Overview ............................................................................................................................. 55
Detail Operation .................................................................................................................................... 56
Detail of Control Bits And Register Mapping ........................................................................................ 59
Flags ..................................................................................................................................................... 75
Typical Applications ................................................................................................................................ 80
Packaging ............................................................................................................................................... 84
33904/5
4
Analog Integrated Circuit Device Data
Freescale Semiconductor
INTERNAL BLOCK DIAGRAM
INTERNAL BLOCK DIAGRAM
VBAUX VCAUX VAUX
VSUP2
VSUP1
5 V Auxiliary
Regulator
VE VB
VDD Regulator
VDD
VS2-INT
RST
SAFE
Fail-safe
DBG
GND
INT
Power Management
Oscillator
VSENSE
MOSI
State Machine
SPI
SCLK
MISO
CS
Analog Monitoring
Signals Condition & Analog MUX
MUX-OUT
VS2-INT
I/O-0
Configurable
Input-Output
I/O-1
5 V-CAN
Regulator
5V-CAN
CANH
Enhanced High-speed CAN
Physical Interface
SPLIT
CANL
TXD
RXD
VS2-INT
TXD-L1
LIN 2.1 Interface - #1
LIN-TERM1
LIN-1
RXD-L1
VS2-INT
TXD-L2
LIN-TERM2
LIN 2.1 Interface - #2
LIN-2
RXD-L2
Figure 4. 33905D Internal Block Diagram
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
5
INTERNAL BLOCK DIAGRAM
VBAUX VCAUX VAUX
VSUP2
VSUP1
5 V Auxiliary
Regulator
VE VB
VDD Regulator
VDD
VS2-INT
RST
SAFE
Fail-safe
DBG
GND
INT
Power Management
Oscillator
VSENSE
MOSI
State Machine
SPI
SCLK
MISO
CS
Analog Monitoring
Signals Condition & Analog MUX
MUX-OUT
VS2-INT
I/O-0
Configurable
Input-Output
I/O-1
5 V-CAN
Regulator
5V-CAN
I/O-3
CANH
Enhanced High-speed CAN
Physical Interface
SPLIT
CANL
TXD
RXD
VS2-INT
LIN-T
LIN Term #1
TXD-L
LIN 2.1 Interface - #1
LIN
RXD-L
Figure 5. 33905S Internal Block Diagram
33904/5
6
Analog Integrated Circuit Device Data
Freescale Semiconductor
INTERNAL BLOCK DIAGRAM
VBAUX VCAUX VAUX
VSUP2
VSUP1
5 V Auxiliary
Regulator
VE VB
VDD Regulator
VDD
VS2-INT
RST
SAFE
Fail Safe
DBG
GND
VSENSE
Oscillator
SPI
VS2-INT
SCLK
MISO
CS
Analog Monitoring
Configurable
Input-Output
MOSI
State Machine
Signals Condition & Analog MUX
I/O-0
I/O-1
I/O-2
I/O-3
INT
Power Management
5V-CAN
Regulator
MUX-OUT
5V-CAN
CANH
SPLIT
Enhanced High Speed CAN
Physical Interface
CANL
TxD
RXD
Figure 6. 33904A Internal Block Diagram
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
7
PIN CONNECTIONS
PIN CONNECTIONS
MC33905D
NC
NC
NC
VSUP1
VSUP2
LIN-T2
LIN-T1
SAFE
5V-CAN
CANH
CANL
GND CAN
SPLIT
V-BAUX
V-CAUX
V-AUX
MUX-OUT
I/O-0
DBG
NC
NC
NC
TXDL2
GND
RXDL2
LIN-2
NC
1
54
2
53
3
52
4
51
5
50
6
49
7
48
8
47
9
46
10
45
11
44
12
13
14
43
GND
SEE
NOTE 1
42
41
15
40
16
39
17
38
18
37
19
36
20
35
21
34
22
33
23
24
32
25
30
31
26
29
27
28
MC33905S
MC33904A
1
1
32
32
VB
VB
NC
VSUP1
VSUP1
2
31
2
31
VE
VE
NC
VSUP2
VSUP2
3
30
3
30
RXD
RXD
I/O-3
I/O-3
NC
4
29
4
29
LIN-T
I/O-2
VB
TXD
TXD
5
28
5
28
SAFE
SAFE
VDD
VDD
VE
6
27
6
27
5V-CAN
5V-CAN
RXD
MISO
MISO
7
26
7
26
CANH
CANH
TXD
MOSI
MOSI
GND
GND
8
25
8
25
CANL
CANL
SEE
VDD
SCLK
SCLK
SEE
NOTE 1 24
NOTE 1
9
24
9
GND CAN
GND CAN
MISO
CS
CS
10
23
10
23
SPLIT
SPLIT
MOSI
INT
INT
11
22
11
22
V-BAUX
V-BAUX
SCLK
RST
RST
V-CAUX
V-CAUX
12
12
21
21
I/O-1
I/O-1
CS
13
20
13
20
V-AUX
V-AUX
INT
VSENSE
VSENSE
14
19
14
19
MUX-OUT
RXD-L MUX-OUT
NC
RST
15
18
15
18
I/O-0
I/O-0
TXD-L
NC
I/O-1
16
17
16
17
DBG
DBG
LIN
NC
VSENSE
RXD-L1
GND - LEAD FRAME
GND - LEAD FRAME
TXD-L1
LIN-1
32 pins exposed package
32 pins exposed package
NC
NC
NC
NC
GND
NC
NC
NC
54 pins exposed package
Note 1: Exposed pad should be connected to electrical ground.
Figure 7. 33904/5 Pin Connections
Table 2. 33904/5 Pin Definitions
A functional description of each pin can be found in the Functional Pin Description section beginning on page 28.
Pin #
Pin #
Pin #
33905D 33905S 33904A
Pin Name
Pin Function
Formal Name
Definition
No Connection
1-3,2022,2730,3235,52-54
N/A
17, 18,
19
N/C
No Connect
-
4
1
1
VSUP1
Power
Battery Voltage
Supply 1
Supply input for the device internal supplies, power on reset
circuitry and the VDD regulator.
5
2
2
VSUP2
Power
Battery Voltage
Supply 2
Supply input for 5 V-CAN regulator, VAUX regulator, I/O and
LIN Terminals.
33904/5
8
Analog Integrated Circuit Device Data
Freescale Semiconductor
PIN CONNECTIONS
Table 2. 33904/5 Pin Definitions (continued)
A functional description of each pin can be found in the Functional Pin Description section beginning on page 28.
Pin #
Pin #
Pin #
33905D 33905S 33904A
6
3
3
Pin Name
Pin Function
Formal Name
LIN-T2
Output
LIN Termination
2
or
or
I/O-3
Input/Output
or
Input/Output 3
7
4
4
LIN-T1
Output
or
or
1
Input/Output
or
Input/Output 2
LIN-T
I/O-2
LIN Termination
Definition
33905D, Output pin for the LIN2 master node termination
resistor.
or
33904A/33905S, Configurable pin as an input or high side
output, for connection to external circuitry (switched or small
load). The input can be used as a programmable wake-up
input in Low Power mode. When used as a high side, no overtemperature protection is implemented. A basic short to GND
protection function, based on switch drain-source overvoltage detection, is available.
33905D, Output pin for the LIN1 master node termination
resistor.
or
33905S, 33905D, Configurable pin as an input or high side
output, for connection to external circuitry (switched or small
load). The input can be used as a programmable wake-up
input in Low Power mode. When used as a high side, no overtemperature protection is implemented. A basic short to GND
protection function, based on switch drain-source overvoltage detection, is available.
I/O-2
33904, Configurable terminal as input or high side output, for
connection to external circuitry (switched or small load). Input
can be used as a programmable wake-up input from Low
Power Mode. When used as high side, no over-temperature
protection is implemented. A basic short to GND protection
function based on switch drain-source over-voltage detection
is available.
8
5
5
SAFE
Output
Safe Output
(Active LOW)
Output of the safe circuitry. The pin is asserted LOW in case
of a safe condition is detected (e.g.: software watchdog is not
triggered, VDD low, issue on reset pin etc.). Open drain
structure.
9
6
6
5 V-CAN
Output
5V-CAN
Output voltage for the embedded CAN interface. A capacitor
must be connected to this pin.
10
7
7
CANH
Output
CAN High
CAN high output.
11
8
8
CANL
Output
CAN Low
CAN low output.
12
9
9
GND-CAN
Ground
GND-CAN
Power GND of the embedded CAN interface
13
10
10
SPLIT
Output
SPLIT Output
14
11
11
VBAUX
Output
VB Auxiliary
15
12
12
VCAUX
Output
VCOLLECTOR
Auxiliary
Output pin for external path PNP transistor collector
16
13
13
VAUX
Output
VOUT Auxiliary
Output pin for the auxiliary voltage.
17
14
14
MUX-OUT
Output
Multiplex Output
Multiplexed output to be connected to an MCU A/D input.
Selection of the analog parameter available at MUX-OUT is
done via the SPI. A switchable internal pull-down resistor is
integrated for VDD current sense measurements.
Output pin for connection to the middle point of the split CAN
termination
Output pin for external path PNP transistor base
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
9
PIN CONNECTIONS
Table 2. 33904/5 Pin Definitions (continued)
A functional description of each pin can be found in the Functional Pin Description section beginning on page 28.
Pin #
Pin #
Pin #
33905D 33905S 33904A
Pin Name
Pin Function
Formal Name
Definition
Configurable pin as an input or output, for connection to
external circuitry (switched or small load). The voltage level
can be read by the SPI and via the MUX output pin. The input
can be used as a programmable wake-up input in Low Power
Mode. In low power, when used as an output, the high side or
low side can be activated for a cyclic sense function.
18
15
15
I/O-0
Input/Output
Input/Output 0
19
16
16
DBG
Input
Debug
23
N/A
N/A
TXD-L2
Input
LIN Transmit
Data 2
24,31
N/A
N/A
GND
Ground
Ground
25
N/A
N/A
RXD-L2
Output
LIN Receive
Data
26
N/A
N/A
LIN2
Input/Output
LIN bus
LIN bus input output connected to the LIN bus.
36
17
17
33905D LIN-1
Input/Output
LIN bus
LIN bus input output connected to the LIN bus.
Input
LIN Transmit
Data
LIN bus transmit data input. Includes an internal pull-up
resistor to VDD.
Output
LIN Receive
Data
LIN bus receive data output.
Input to activate the Debug Mode. In Debug Mode, no
watchdog refresh is necessary. Outside of Debug Mode,
connection of a resistor between DBG and GND allows the
selection of Safe Mode functionality.
LIN bus transmit data input. Includes an internal pull-up
resistor to VDD.
Ground of the IC.
LIN bus receive data output.
33905S LIN
37
18
18
33905D TXD-L1
33905S TXD-L
38
19
19
33905D RXD-L1
33905S RXD-L
39
20
20
VSENSE
Input
Sense input
Direct battery voltage input sense. A serial resistor is required
to limit the input current during high voltage transients.
40
21
21
I/O-1
Input/Output
Input Output 1
Configurable pin as an input or output, for connection to
external circuitry (switched or small load). The voltage level
can be read by the SPI and via the MUX output pin. The input
can be used as a programmable wake-up input in Low Power
Mode. Can be used in association with I/O-0 for a cyclic sense
function in Low Power Mode.
41
22
22
RST
Output
Reset Output
(Active LOW)
This is the device reset output whose main function is to reset
the MCU. This pin has an internal pull-up to VDD. The reset
input voltage is also monitored in order to detect external
reset and safe conditions.
42
23
23
INT
Output
Interrupt Output
(Active LOW)
43
24
24
CS
Input
Chip Select
(Active LOW)
44
25
25
SCLK
Input
45
26
26
MOSI
Output
Master Out /
Slave In
46
27
27
MISO
Input
Master In / Slave
Out
47
28
28
VDD
Output
Voltage Digital
Drain
This output is asserted low when an enabled interrupt
condition occurs. The output is a push-pull structure.
Chip select pin for the SPI. When the CS is low, the device is
selected. In Low Power Mode with VDD ON, a transition on CS
is a wake-up condition
Serial Data Clock Clock input for the Serial Peripheral Interface (SPI) of the
device
SPI data received by the device
SPI data sent to the MCU. When the CS is high, MISO is highimpedance
5.0 V or 3.3 V output pin of the main regulator for the
Microcontroller supply.
33904/5
10
Analog Integrated Circuit Device Data
Freescale Semiconductor
PIN CONNECTIONS
Table 2. 33904/5 Pin Definitions (continued)
A functional description of each pin can be found in the Functional Pin Description section beginning on page 28.
Pin #
Pin #
Pin #
33905D 33905S 33904A
Pin Name
Pin Function
Formal Name
Definition
48
29
29
TXD
Input
Transmit Data
CAN bus transmit data input. Internal pull-up to VDD
49
30
30
RXD
Output
Receive Data
CAN bus receive data output
50
31
31
VE
51
32
32
VB
Output
Voltage Base
GND
Ground
Ground
EX PAD EX PAD EX PAD
Voltage Emitter
Connection to the external PNP path transistor. This is an
intermediate current supply source for the VDD regulator
Base output pin for connection to the external PNP pass
transistor
Ground
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
11
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
VSUP1/2
-0.3 to 27
VSUP1/2TR
-0.3 to 40
VBUSLIN
-27 to 27
VBUSLINTR
-27 to 40
VBUS
-32 to 27
VBUSTR
-32 to 40
VSAFE
-0.3 to 27
VSAFETR
-0.3 to 40
VI/O
-0.3 to 27
VI/OTR
-0.3 to 40
VDIGLIN
-0.3 to VDD +0.3
V
DC voltage on TXD, RXD
VDIG
-0.3 to VDD +0.3
V
DC Voltage at INT
VINT
-0.3 to 10
V
DC Voltage at RST
VRST
-0.3 to VDD +0.3
V
DC Voltage at MOSI, MSIO, SCLK and CS
VRST
-0.3 to VDD +0.3
V
DC Voltage at MUXOUT
VMUX
-0.3 to VDD +0.3
V
DC Voltage at DBG
VDBG
-0.3 to 10
V
ILH
200
mA
ELECTRICAL RATINGS(2)
Supply Voltage at VSUP1and VSUP2
Normal Operation (DC)
Transient Conditions (Load Dump)
V
DC voltage on LIN, LIN1 and LIN2
Normal Operation (DC)
Transient Conditions (Load Dump)
V
DC voltage on CANL, CANH, SPLIT
Normal Operation (DC)
Transient Conditions (Load Dump)
V
DC Voltage at SAFE
Normal Operation (DC)
Transient Conditions (Load Dump)
V
DC Voltage at I/O-0, I/O-1, I/O-2, I/O-3 (LIN-Terminal Pins)
Normal Operation (DC)
Transient Conditions (Load Dump)
DC voltage on TXDL1 TXDL2, RXDL2, RXDL2
Continuous current on CANH and CANL
V
33904/5
12
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
ESD Capability
Unit
V
* AECQ100(1)
Human Body Model - JESD22/A114 (CZAP = 100 pF, RZAP = 1500 Ω)
VESD1-1
VESD1-2
±8000
±2000
VESD2-1
VESD2-2
±750
±500
VESD3-1
VESD3-2
VESD3-3
±15000
±15000
±15000
VESD4-1
VESD4-2
VESD4-3
±9000
±12000
±7000
Junction temperature
TJ
150
°C
Ambient temperature
TA
-40 to 125
°C
Storage temperature
TST
-55 to 165
°C
RθJA
50(4)
°C/W
TPPRT
Note 3
°C
CANH and CANL. LIN1 and LIN2, Pins versus all GND pins
all other Pins including CANH and CANL
Charge Device Model - JESD22/C101 (CZAP = 4.0 pF)
Corner Pins (Pins 1, 16, 17, and 32)
All other Pins (Pins 2-15, 18-31)
* According to IEC 61000-4-2 (CZAP = 150 pF, RZAP = 330 Ω)
device unpowered, CANH and CANL pin without capacitor, versus GND
device unpowered, LIN pin, versus GND
device unpowered, VS1/VS2 (100 nF to GND), versus GND
* According to “OEM_HW_Requirements_For_CAN_LIN_FR-Interfaces_V1
0_20081210.pdf”
CANH, CANL without bus filter
LIN with and without bus filter
I/O with external components (22k - 10nF)
THERMAL RATINGS
THERMAL RESISTANCE
Thermal resistance junction to ambient
Peak Package Reflow Temperature During Reflow
(2), (3)
Notes
1. ESD testing is performed in accordance with the Human Body Model (HBM) (CZAP = 100 pF, RZAP = 1500 Ω) and the Charge Device
Model (CDM), Robotic (CZAP = 4.0 pF).
2.
3.
4.
The voltage on non-Vsup pins should never exceed the Vsup voltage at any time or permanent damage to the device may occur.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.
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.
This parameter was measured according to Figure 8 below:
PCB 100mm x 100mm
Top side, 300 sq. mm
(20mmx15mm)
Bottom side
20mm x 40mm
Bottom view
Figure 8. PCB with Top and Bottom Layer Dissipation Area (Dual Layer)
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
13
ELECTRICAL CHARACTERISTICS
STATIC ELECTRICAL CHARACTERISTICS
STATIC ELECTRICAL CHARACTERISTICS
Table 4. Static Electrical Characteristics
Characteristics noted under conditions 5.5 V ≤ VSUP ≤ 27 V, - 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 DC Voltage Range(5)
VSUP1/VSUP2
5.5
Extended DC Low Voltage Range(6)
VSUP1/VSUP2
4.0
-
27
V
-
5.5
V
5.5
6.0
6.5
POWER INPUT
Under-voltage Detector Thresholds, at VSUP1 pin,
VS1_LOW
Low threshold (VSUP1 ramp down)
High threshold (VSUP1 ramp up)
Hysteresis
V
-
-
6.6
0.22
0.35
0.5
5.5
6.0
6.5
Note: function not active in Low Power modes
Under-voltage Detector Thresholds, at VSUP2 pin:
VS2_LOW
Low threshold (VSUP2 ramp down)
High threshold (VSUP2 ramp up)
V
-
-
6.6
0.22
0.35
0.5
VS_HIGH
16.5
17
18.5
V
Battery loss detection threshold, at VSUP1 pin.
BATFAIL
2
2.8
4
V
Vsup 1 to turn Vdd ON, Vsup1 rising
Vsup-th1
-
4.1
4.5
V
Vsup-th1hyst
150
180
-
2.0
4.0
-
0.05
0.85
- 5 V-CAN OFF, VAUX OFF
-
2.8
4.5
- 5 V-CAN ON, CAN interface in Low Power VDD OFF Mode, VAUX OFF
-
-
5.0
- 5 V-CAN OFF, Vaux ON
-
-
5.5
- 5 V-CAN ON, CAN interface in TxRx Mode, VAUX OFF, I/O-x disable
-
-
8.0
VSUP =< 18 V, -40 to 25°C
-
15
35
VSUP =18 V, 125°C
-
-
50
Hysteresis
Note: function not active in Low Power modes
VSUP Over-voltage Detector Thresholds, at VSUP1 pin:
Not active in Low Power modes
Vsup 1 to turn Vdd ON, hysteresis (guaranteed by design)
Supply current(7)
- from VSUP1
- from VSUP2, (5V-CAN Vaux, I/O OFF)
Supply current, ISUP1 + ISUP2, Normal Mode, VDD ON
Low Power Mode VDD off. Wake-up from CAN, I/Ox inputs
Low Power Mode VDD ON (5.0 V) with VDD under-voltage and VDD
over-current monitoring, wake-up from CAN, I/Ox inputs
mA
ISUP1+2 N1
mA
μA
ILPM_OFF
μA
ILPM_ON
-
VSUP =< 18 V, -40 to 25°C, IDD = 1.0μA
-
VSUP =< 18 V, -40 to 25°C, IDD = 100 μA (20% of IDD load)
VSUP =18 V, 125°C, IDD = 100 μA
Low Power Mode, additional current for oscillator (used for: cyclic sense,
forced wake-up, and in Low Power VDD ON Mode cyclic interruption and
watchdog)
VSUP =<18 V, -40°C to 125°C
mV
ISUP1
20
-
40
65
-
85
μA
IOSC
5.0
9
33904/5
14
Analog Integrated Circuit Device Data
Freescale Semiconductor
ELECTRICAL CHARACTERISTICS
STATIC ELECTRICAL CHARACTERISTICS
Table 4. Static Electrical Characteristics (continued)
Characteristics noted under conditions 5.5 V ≤ VSUP ≤ 27 V, - 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
Notes
5. All parameters in spec (ex: VDD regulator tolerance).
6.
7.
Device functional, some parameters could be out of spec. VDD is active, device is not in Reset Mode if the lowest VDD under-voltage
reset threshold is selected (approx. 3.4 V). CAN and I/Os are not operational.
In Run Mode, CAN interface in Sleep Mode, 5 V-CAN and VAUX turned off. IOUT at VDD < 50 mA. Ballast: turned off or not connected.
VDD VOLTAGE REGULATOR, PIN VDD
Output Voltage
VOUT-5
VSUP 5.5 to 27 V, IOUT 0 to 100 mA
V
4.9
5.0
5.1
-
5.0
-
4.9
5.0
5.1
IOUT = 100 mA
-
330
450
IOUT = 150 mA
-
-
500
VSUP 5.5 to 27 V, IOUT 100 to 150 mA
VSUP 5.5 to 27 V, IOUT 0 to 150 mA
Drop voltage without external PNP pass transistor
Drop voltage with external transistor
VDROP
mV
VDROP-B
IOUT = 200 mA (I_BALLAST + I_INTERNAL)
mV
-
350
500
K
1.5
2.0
2.5
Output Current limitation, without external transistor
ILIM
150
350
550
mA
Temperature prewarning (guaranteed by design)
TPW
-
140
-
°C
Thermal shutdown (guaranteed by design)
TSD
160
-
-
°C
CEXT
4.7
-
100
μF
External ballast versus internal current ratio (I_BALLAST = K x Internal
current)
Range of decoupling capacitor (guaranteed by design)
Low Power Mode VDD ON, output voltage -5.0 V, IOUT ≤ 50 mA (time
limited)
VDDLP5
5.6 V ≤ VSUP ≤ 27 V
Low Power Mode VDD ON, dynamic output current capability (Limited
duration. Ref to device description).
Low Power VDD ON Mode:
LP-IOUTDC
V
4.75
5.0
5.25
-
-
50
1.0
3.0
-
LP-ITH
- Over-current wake-up threshold.
- Hysteresis
mA
mA
0.1
1.0
-
Low Power Mode VDD ON, drop voltage, at IOUT =30 mA (Limited
duration. Ref to device description).
LP-VDROP
-
200
400
mV
Low Power Mode VDD ON, min VSUP operation (Below this value, a VDD,
under-voltage reset may occur)
LP-MINVS
5.5
-
-
V
VDD when Vsup < Vsup-th1, at I_VDD <= 10uA (guaranteed by design)
VDD_off
0.3
V
VDD when Vsup >= Vsup-th1, at I_VDD <= 40mA (guaranteed with
parameter Vsup-th1
VDD_start up
3.0
V
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
15
ELECTRICAL CHARACTERISTICS
STATIC ELECTRICAL CHARACTERISTICS
Table 4. Static Electrical Characteristics (continued)
Characteristics noted under conditions 5.5 V ≤ VSUP ≤ 27 V, - 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
VOLTAGE REGULATOR FOR CAN INTERFACE SUPPLY, PIN 5 V-CAN
Output voltage, VSUP2 = 5.5 to 40 V
Symbol
IOUT 80 to 200 mA
Output Current limitation
Typ
Max
4.75
5.0
5.25
4.75
5.0
5.25
160
280
-
5V-C OUT
IOUT 0 to 80 mA
(10)
Min
Unit
(8)
5V-C ILIM
V
mA
Under-voltage threshold
5V-C UV
4.1
4.5
4.7
V
Thermal shutdown (guaranteed by design)
5V-C TS
160
-
-
°C
CEXT-CAN
1.0
-
100
μF
VAUX5
4.75
5.0
5.25
V
VAUX3
3.2
3.3
3.4
V
4.2
4.5
4.70
0.06
-
0.12
2.75
3.0
3.2
Vaux set to 3.3V
250
360
450
Vaux set t 5.0V
230
330
430
Vaux cap
2.2
-
100
μF
RST-TH1-5
4.5
4.65
4.85
V
-
-
4.90
2.95
3.2
3.45
External capacitance (guaranteed by design)
V AUXILIARY OUTPUT, 5 V AND 3.3 V SELECTABLE PIN VB-AUX, VC-AUX, VAUX(9)
VAUX output voltage, VSUP = VSUP2 5.5 to 40 V, IOUT 0 to 150 mA
VAUX output voltage, VSUP = VSUP2 5.5 to 40 V, IOUT 0 to 150 mA
VAUX under-voltage detector (5.0 V)
VAUX-UVTH5
- Low Threshold
- Hysteresis
VAUX under-voltage detector (5 and 3.3V versions)
VAUX over-current threshold detector
External capacitance (guaranteed by design)
VAUX-UVTH3
V
VAUX-ILIM
V
mA
UNDERVOLTAGE RESET AND RESET FUNCTION, RST PIN
VDD under-voltage threshold down - 90% VDD (VDD 5.0 V)(11), (13)
VDD under-voltage threshold up - 90% VDD (VDD 5.0 V)
VDD under-voltage reset threshold down - 70% VDD (VDD 5.0 V)(12), (13)
RST-TH2-5
Hysteresis
RST-HYST
for threshold 90% VDD, 5.0 V device
20
for threshold 70% VDD, 5.0 V device
VDD under-voltage reset threshold down - Low Power VDD ON Mode
RST-LP
V
mV
-
150
10
-
150
4.0
4.5
4.85
V
(note: device change to Normal Request Mode).
Reset VOL @ 1.5 mA, VSUP 2.5 to 40 V
Current limitation, Reset activated, VRESET = 0.9 x VDD
Pull-up resistor (to VDD pin)
VSUP to guaranteed reset low level(14)
Notes
8.
9.
10.
11.
12.
13.
14.
VOL
-
300
500
mV
IRESET LOW
2.5
7.0
10
mA
IPULL-UP
8.0
11
15
kΩ
VSUP-RSTL
2.5
-
-
V
The regulator is stable without external capacitor. Usage of external capacitor recommended for AC performance.
No external capacitor required for stability. External capacitor might be used to improve AC transient response.
Current limitation will report into a flag.
Generate a reset or an INT. SPI programmable
Generate a reset
In Run Mode
Reset must be maintained low
33904/5
16
Analog Integrated Circuit Device Data
Freescale Semiconductor
ELECTRICAL CHARACTERISTICS
STATIC ELECTRICAL CHARACTERISTICS
Table 4. Static Electrical Characteristics (continued)
Characteristics noted under conditions 5.5 V ≤ VSUP ≤ 27 V, - 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
Low threshold
1.5
1.9
2.2
High threshold
2.5
3.0
3.5
HYST
0.5
1.0
1.5
V
UNDERVOLTAGE RESET AND RESET FUNCTION, RST PIN (CONTINUED)
Reset input threshold
Reset input hysteresis
RST-VTH
V
I/O PINS WHEN FUNCTION SELECTED IS OUTPUT
I/O-0 high side switch drop @ I = -12 mA, VSUP = 10.5 V
I/O-2 and I/O-3 high side switch drop @ I = -20 mA, VSUP = 10.5 V
I/O-1, high side switch drop @ I = -400 μA, VSUP = 10.5 V
I/O-0, I/O-1 low side switch drop @ I = 400 μA, VSUP = 10.5 V
Leakage current
I/O-0 HSDRP
-
0.5
1.4
V
I/O-2-3 HSDRP
-
0.5
1.4
V
I/O-1 HSDRP
-
0.4
1.4
V
I/O-0-1 LSDRP
-
0.4
1.4
V
I/O-LEAK
-
0.1
3.0
μA
I/O-NTH
1.4
2.0
2.9
V
I/O PINS WHEN FUNCTION SELECTED IS INPUT
Negative threshold
Positive threshold
I/O-PTH
2.1
3.0
3.8
V
I/O-HYST
0.2
1.0
1.4
V
Input current
I/O-IN
-5.0
1.0
5.0
μA
I/O-0 and I/O-1 input resistor. /O_0 (or I/O-1) selected in MUX register,
2.0 V < Vi/o_x <16 V (guaranteed by design).
RI/O-X
-
100
-
kΩ
8.1
8.6
9.0
Hysteresis
VSENSE INPUT
VSENSE under-voltage threshold (Not active in Low Power Modes)
VSENSE_TH
- Low Threshold
- High threshold
-
-
9.1
0.1
0.25
0.5
VSENSE_R
-
125
-
kΩ
VOUT_MAX
0.0
-
VDD - 0.5
V
- Hysteresis
Input resistor to GND. In all modes except in Low Power modes.
(guaranteed by design).
V
ANALOG MUX OUTPUT
Output Voltage Range, with external resistor to GND >2.0 kΩ
Internal pull-down resistor for regulator output current sense
External capacitor at MUX OUTPUT(15) (guaranteed by design)
Chip temperature sensor coeff (guaranteed by design and device
characterization)
Chip temperature: MUX-OUT voltage at TA = 25°C, guaranteed by
design and characterization.
Chip temperature: MUX-OUT voltage at TA = 125°C
RMI
0.8
1.9
2.8
kΩ
CMUX
-
-
1.0
nF
TEMP-COEFF
20
21
22
mv/°C
VTEMP
1.5
1.65
1.8
V
V
VTEMP
3.6
3.75
3.9
Gain for VSENSE, with external 1.0 k 1% resistor
VSENSE GAIN
5.13
5.48
5.67
Offset for VSENSE, with external 1.0 k 1% resistor
VSENSE OFFSET
-20
-
20
VSUP1 RATIO
5.335
5.5
5.665
Divider ratio for VSUP1
Divider ratio for I/O-0 and I/O-1 actual voltage
mV
VI/O RATIO
- with attenuation selected (MUX-OUT register bit 3 set to 1);
VSUP= 16V
3.8
4.0
4.2
VSUP= 27V
3.75
3.95
4.15
-
2.0
-
- with gain selected (MUX-OUT register bit 3 set to 0)
Notes
15. When C is higher than CMUX, a serial resistor must be inserted
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
17
ELECTRICAL CHARACTERISTICS
STATIC ELECTRICAL CHARACTERISTICS
Table 4. Static Electrical Characteristics (continued)
Characteristics noted under conditions 5.5 V ≤ VSUP ≤ 27 V, - 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
VREF
2.425
2.5
2.575
V
ANALOG MUX OUTPUT (CONTINUED)
Internal reference voltage
Current ratio between VDD output & IOUT at MUX-OUT
IDD_RATIO
(IOUT at MUX-OUT = IDD out / IDD_RATIO)
- At IOUT = 50 mA
80
97
115
62.5
97
117
VOL
0.0
0.2
1.0
V
VSAFE-IN
-
0.0
1.0
μA
- I_OUT from 25 mA to 150 mA
SAFE OUTPUT
SAFE low level, at I = 500 μA
Safe leakage current (VDD low, or device unpowered). VSAFE 0 to 27 V.
INTERRUPT
Output low voltage, IOUT = 1.5 mA
VOL
-
0.2
1.0
V
Pull-up resistor
RPU
6.5
10
14
kΩ
Output high level in Low Power VDD ON Mode (guaranteed by design)
VOH-LPVddon
3.9
4.3
Leakage current INT voltage = 10 V (to allow high-voltage on MCU INT
pin)
VMAX
-
35
100
μA
Sink current, VINT > 5.0 V, INT low state
I SINK
2.5
6.0
10
mA
1.0
V
V
MISO, MOSI, SCLK, CS PINS
Output low-voltage, IOUT = 1.5 mA (MISO)
VOL
-
-
Output high-voltage, IOUT = -0.25 mA (MISO)
VOH
VDD -0.9
-
V
Input low voltage (MOSI, SCLK,CS)
VIL
-
-
0.3 x VDD
V
Input high-voltage (MOSI, SCLK,CS)
VIH
0.7 x VDD
-
-
V
Tri-state leakage current (MISO)
IHZ
-2.0
-
2.0
μA
Pull-up current (CS)
IPU
200
370
500
μA
High Level Input Voltage
VIH
0.7 x VDD
-
VDD + 0.3
V
Low Level Input Voltage
VIL
-0.3
-
0.3 x VDD
V
IPDWN
-850
-650
-200
µA
VOUTLOW
0.0
-
0.3 x VDD
V
VOUTHIGH
0.7 x VDD
-
VDD
V
IOUTHIGH
2.5
5.0
9.0
mA
IOUTLOW
2.5
5.0
9.0
mA
CAN LOGIC INPUT PINS (TXD)
Pull-up Current, TXD, VIN = 0 V
CAN DATA OUTPUT PINS (RXD)
Low Level Output Voltage
IRXD = 5.0 mA
High Level Output Voltage
IRXD = -3.0 mA
High Level Output Current
VRXD = VDD - 0.4 V
Low Level Input Current
VRXD = 0.4 V
33904/5
18
Analog Integrated Circuit Device Data
Freescale Semiconductor
ELECTRICAL CHARACTERISTICS
STATIC ELECTRICAL CHARACTERISTICS
Table 4. Static Electrical Characteristics (continued)
Characteristics noted under conditions 5.5 V ≤ VSUP ≤ 27 V, - 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
VCOM
-12
-
12
V
VCANH-VCANL
500
-
900
mV
VDIFF-HYST
50
-
-
mV
RIN
5.0
-
50
kΩ
CAN OUTPUT PINS (CANH, CANL)
Bus pins common mode voltage for full functionality
Differential input voltage threshold
Differential input hysteresis
Input resistance
Differential input resistance
RIN-DIFF
10
-
100
kΩ
RIN-MATCH
-3.0
0.0
3.0
%
TX dominant state
2.75
3.5
4.5
TX recessive state
2.0
2.5
3.0
TX dominant state
0.5
1.5
2.25
TX recessive state
2.0
2.5
3.0
TX dominant state
1.5
2.0
3.0
TX recessive state
-0.5
0.0
0.05
Input resistance matching
CANH output voltage (45 Ω < RBUS < 65 Ω)
CANL output voltage (45 Ω < RBUS < 65 Ω)
Differential output voltage (45Ω < RBUS < 65 Ω)
VCANH
V
VCANL
V
VOH-VOL
V
CAN H output current capability - Dominant state
ICANH
-
-
-30
mA
CAN L output current capability - Dominant state
ICANL
30
-
-
mA
CANL over-current detection - Error reported in register
ICANL-OC
75
120
195
mA
CANH over-current detection - Error reported in register
ICANH-OC
-195
-120
-75
mA
CANH, CANL input resistance to gnd, device supplied, CAN in Sleep
Mode, V_CANH, V_CANL from 0 to 5.0 V
RINSLEEP
5.0
-
50
kΩ
CANL, CANH output voltage in Low Power VDD OFF and Low Power
VDD ON Modes
VCANLP
-0.1
0.0
0.1
V
CANH, CANL input current, VCANH, VCANL = 0 to 5V, device not
supplied (Vsup, Vdd, 5V-CAN: open, direct connection to gnd, connect
to gnd via 47k resistor).
ICAN-UN_SUP1
-
3.0
10
µA
CANH, CANL input current, VCANH, VCANL = -2 to 7V, device not
supplied (Vsup, Vdd, 5V-CAN: open, direct connection to gnd, connect
to gnd via 47k resistor).
ICAN-UN_SUP2
-
-
250
µA
Differential voltage for recessive bit detection in LP mode(16)
VDIFF-R-LP
-
-
0.4
V
Differential voltage for dominant bit detection in LP mode(16)
VDIFF-D-LP
1.15
-
-
V
VLG
1.6
1.75
2.0
V
CANH to GND detection threshold
VHG
1.6
1.75
2.0
V
CANL to VBAT detection threshold, VSUP1 and VSUP2 > 8.0 V
VLVB
-
VSUP -2.0
-
V
CANH to VBAT detection threshold, VSUP1 and VSUP2 > 8.0 V
CANH AND CANL DIAGNOSTIC INFORMATION
CANL to GND detection threshold
VHVB
-
VSUP -2.0
-
V
CANL to VDD detection threshold
VL5
4.0
VDD -0.43
-
V
CANH to VDD detection threshold
VH5
4.0
VDD -0.43
-
V
Notes
16. Guaranteed by design and device characterization.
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
19
ELECTRICAL CHARACTERISTICS
STATIC ELECTRICAL CHARACTERISTICS
Table 4. Static Electrical Characteristics (continued)
Characteristics noted under conditions 5.5 V ≤ VSUP ≤ 27 V, - 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
Loaded condition ISPLIT = ± 500 µA
0.3 x VDD
0.5 x VDD
0.7 x VDD
Unloaded condition Rmeasure > 1.0 MΩ
0.45 x VDD
0.5 x VDD
0.55 x VDD
-12 V < VSPLIT < +12 V
-
0.0
5.0
-22 to -12 V < VSPLIT < +12 to +35 V
-
-
200
-
1.0
1.4
V
SPLIT
Output voltage
Leakage current
VSPLIT
V
ILSPLIT
µA
LIN TERM1, LIN TERM2
LIN-T1, LIN-T2, high side switch drop @ I = -20 mA, VSUP > 10.5 V
LT_HSDRP
LIN1 AND LIN 2 MC33905D PIN - LIN1 MC33905S PIN (Parameters guaranteed for VSUP1, VSUP2 7 V ≤ VSUP ≤ 18 V)
Operating Voltage Range
VBAT
8.0
-
18
V
Supply Voltage Range
VSUP
7.0
-
18
V
40
90
200
-1.0
-
-
-
-
20
-1.0
-
1.0
-
-
100
-
-
0.4
0.6
-
-
0.475
0.5
0.525
-
-
0.175
-
5.3
5.8
V
Current Limitation for Driver Dominant State
IBUS_LIM
Driver ON, VBUS = 18 V
Input Leakage Current at the receiver
IBUS_PAS_DOM
Driver off; VBUS = 0V; VBAT = 12 V
Leakage Output Current to GND
mA
IBUS_PAS_REC
Driver Off; 8.0 V < VBAT < 18 V; 8.0 V < VBUS < 18 V; VBUS ≥ VBAT
Control unit disconnected from ground (Loss of local ground must not
affect communication in the residual network)
mA
µA
IBUS_NO_GND
mA
GNDDEVICE = VSUP; VBAT = 12 V; 0 < VBUS < 18 V
(guaranteed by design)
VBAT Disconnected; VSUP_DEVICE = GND; 0 < VBUS < 18 V (Node has to
sustain the current that can flow under this condition. Bus must remain
operational under this condition)
Receiver Dominant State
Receiver Recessive State
Receiver Threshold Center
IBUSNO_BAT
VBUSDOM
VSUP
VBUSREC
VSUP
VBUS_CNT
(VTH_DOM + VTH_REC)/2
Receiver Threshold Hysteresis
µA
VSUP
VHYS
(VTH_REC - VTH_DOM)
VSUP
LIN Wake-up threshold from Low Power VDD ON or Low Power VDD OFF
Mode
VBUSWU
LIN Pull-up Resistor to VSUP
RSLAVE
20
30
60
kΩ
Over-temperature Shutdown (guaranteed by design)
TLINSD
140
160
180
°C
TLINSD_HYS
-
10
-
°C
Over-temperature Shutdown Hysteresis (guaranteed by design)
33904/5
20
Analog Integrated Circuit Device Data
Freescale Semiconductor
ELECTRICAL CHARACTERISTICS
DYNAMIC ELECTRICAL CHARACTERISTICS
DYNAMIC ELECTRICAL CHARACTERISTICS
Table 5. Dynamic Electrical Characteristics
Characteristics noted under conditions 5.5 V ≤ VSUP ≤ 27 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
SPI operation frequency (MISO cap = 50 pF)
FREQ
0.25
-
4.0
MHz
SCLK Clock Period
tPCLK
250
-
N/A
ns
SCLK Clock High Time
tWSCLKH
125
-
N/A
ns
SCLK Clock Low Time
tWSCLKL
125
-
N/A
ns
Falling Edge of CS to Rising Edge of SCLK
tLEAD
30
-
N/A
ns
Falling Edge of SCLK to Rising Edge of CS
tLAG
30
-
N/A
ns
MOSI to Falling Edge of SCLK
tSISU
30
-
N/A
ns
Falling Edge of SCLK to MOSI
tSIH
30
-
N/A
ns
MISO Rise Time (CL = 50 pF)
tRSO
-
-
30
ns
MISO Fall Time (CL = 50 pF)
tFSO
-
-
30
ns
Time from Falling to MISO Low-impedance
tSOEN
-
-
30
ns
Time from Rising to MISO High-impedance
tSODIS
-
-
30
Time from Rising Edge of SCLK to MISO Data Valid
tVALID
-
-
30
ns
Delay between rising and falling edge on CS
D2CS
1.0
-
-
μs
CS low timeout detection
CS-TO
2.5
-
-
ms
VS_LOW1/
30
50
100
μs
SPI TIMING
SUPPLY, VOLTAGE REGULATOR, RESET
VSUP under-voltage detector threshold deglitcher
2_DGLT
Rise time at turn ON. VDD from 1.0 to 4.5 μV. 2.2 μF at VDD pin.
tRISE-ON
50
250
800
μs
Deglitcher time to set reset pin low
RST-DGLT
20
30
40
μs
0.9
4.0
8.5
17
1.0
5.0
10
20
1.4
6
12
24
RST-WD
0.9
1.0
1.4
ms
BFT
30
-
100
μs
20
90
25
100
35
130
RESET PULSE DURATION
VDD under-voltage (SPI selectable)
RST-PULSE
short, default at power on when BATFAIL bit set
medium
medium long
long
Watchdog reset
ms
VSENSE INPUT
Under-voltage deglitcher time
INTERRUPT
INT pulse duration (refer to SPI for selection. Guaranteed by design)
short
long
μs
INT-PULSE
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
21
ELECTRICAL CHARACTERISTICS
DYNAMIC ELECTRICAL CHARACTERISTICS
Table 5. Dynamic Electrical Characteristics
Characteristics noted under conditions 5.5 V ≤ VSUP ≤ 27 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
tD_NM
60
-
-
μs
tTIMING-ACC
-10
-
10
%
TXD Dominant State Timeout
tDOUT
300
600
1000
µs
Bus dominant clamping detection
tDOM
300
600
1000
µs
Propagation loop delay TXD to RXD, recessive to dominant (Fast slew rate)
tLRD
60
120
210
ns
Propagation delay TXD to CAN, recessive to dominant
tTRD
-
70
110
ns
Propagation delay CAN to RXD, recessive to dominant
tRRD
-
45
140
ns
Propagation loop delay TXD to RXD, dominant to recessive (Fast slew rate)
tLDR
100
120
200
ns
Propagation delay TXD to CAN, dominant to recessive
tTDR
-
75
150
ns
Propagation delay CAN to RXD, dominant to recessive
tRDR
-
50
140
ns
Rec to Dom
-
200
-
Dom to Rec
-
200
-
STATE DIGRAM TIMINGS
Delay for SPI Timer A, Timer B or Timer C write command after entering
Normal Mode
(No command should occur within Td_nm.
TD_NM delay definition: from CS rising edge of “Go to Normal Mode” command
to CS falling edge of “Timer write” command)
Tolerance for: W/D period in all modes, FWU delay, Cyclic sense period and
active time, Cyclic Interrupt period, LP mode over current (unless otherwise
noted)(20)
CAN DYNAMIC CHARACTERISTICS
Loop time TXD to RXD, Medium Slew rate (Selected by SPI)
Loop time TXD to RXD, Slow Slew rate (Selected by SPI)
tLOOP-MSL
ns
tLOOP-SSL
ns
Rec to Dom
-
300
-
Dom to Rec
-
300
-
tCAN-WU1
0.5
2.0
5.0
μs
tCAN-WU3-F
300
-
-
ns
tCAN-WU3-TO
-
-
120
μs
CAN wake up filter time, single dominant pulse
detection(17)
(See Figure 29)
CAN wake up filter time, 3 dominant pulses detection(18)
CAN wake up filter time, 3 dominant pulses detection time
out(19)
(See Figure 30)
Notes
17. No wake up for single pulse shorter than tCAN-WU1 min. Wake up for single pulse longer than tCAN-WU1 max.
18.
Each pulse should be greater than tCAN-WU3-F min. Guaranteed by design, and device characterization.
19.
The 3 pulses should occur within tCAN-WU3-TO. Guaranteed by design, and device characterization.
20.
Guaranteed by design.
33904/5
22
Analog Integrated Circuit Device Data
Freescale Semiconductor
ELECTRICAL CHARACTERISTICS
DYNAMIC ELECTRICAL CHARACTERISTICS
Table 5. Dynamic Electrical Characteristics
Characteristics noted under conditions 5.5 V ≤ VSUP ≤ 27 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
LIN 1 AND LIN 2 PHYSICAL LAYER: DRIVER CHARACTERISTICS FOR NORMAL SLEW RATE - 20.0 KBIT/SEC ACCORDING TO LIN
PHYSICAL LAYER SPECIFICATION
Bus load RBUS and CBUS 1.0 nF / 1.0 kΩ, 6.8 nF / 660 Ω, 10 nF / 500 Ω. See Figure 13, page 25.
Duty Cycle 1:
D1
THREC(max) = 0.744 * VSUP
THDOM(max) = 0.581 * VSUP
D1 = tBUS_REC(MIN)/(2 x tBIT), tBIT = 50 µs, 7.0 V ≤ VSUP ≤ 18 V
Duty Cycle 2:
0.396
-
-
-
-
0.581
D2
THREC(MIN) = 0.422 * VSUP
THDOM(MIN) = 0.284 * VSUP
D2 = tBUS_REC(MAX)/(2 x tBIT), tBIT = 50 µs, 7.6 V ≤ VSUP ≤ 18 V
LIN PHYSICAL LAYER: DRIVER CHARACTERISTICS FOR SLOW SLEW RATE - 10.4 KBIT/SEC ACCORDING TO LIN PHYSICAL LAYER
SPECIFICATION
Bus load RBUS and CBUS 1.0 nF / 1.0 kΩ, 6.8 nF / 660 Ω, 10 nF / 500 Ω. Measurement thresholds. See Figure 14, page 26.
Duty Cycle 3:
D3
THREC(MAX) = 0.778 * VSUP
THDOM(MAX) = 0.616 * VSUP
D3 = tBUS_REC(MIN)/(2 x tBIT), tBIT = 96 µs, 7.0 V ≤ VSUP ≤ 18 V
Duty Cycle 4:
0.417
-
-
-
-
0.590
-
20
-
D4
THREC(MIN) = 0.389 * VSUP
THDOM(MIN) = 0.251 * VSUP
D4 = tBUS_REC(MAX)/(2 x tBIT), tBIT = 96 µs, 7.6 V ≤ VSUP ≤ 18 V
LIN PHYSICAL LAYER: DRIVER CHARACTERISTICS FOR FAST SLEW RATE
LIN Fast Slew Rate (Programming Mode)
SRFAST
V / μs
LIN PHYSICAL LAYER: CHARACTERISTICS AND WAKE-UP TIMINGS
VSUP from 7.0 to 18 V, bus load RBUS and CBUS 1.0 nF / 1.0 kΩ, 6.8 nF / 660 Ω, 10 nF / 500 Ω. See Figure 13, page 25.
μs
Propagation Delay and Symmetry (See Figure 13, page 25 and Figure 14,
page 26)
t REC_PD
-
4.2
6.0
Propagation Delay of Receiver, tREC_PD=MAX (tREC_PDR, tREC_PDF)
t REC_SYM
- 2.0
-
2.0
t PROPWL
42
70
95
Symmetry of Receiver Propagation Delay, tREC_PDF - tREC_PDR
Bus Wake-Up Deglitcher (Low Power VDD OFF and Low Power VDD ON
Modes)
μs
(See Figure 15, page 25 for Low Power VDD OFF Mode and Figure 16,
page 26 for Low Power Mode)
μs
Bus Wake-up Event Reported
From Low Power VDD OFF Mode
t WAKE_LPVDD
-
-
1500
From Low Power VDD ON Mode
OFF
1.0
-
12
0.65
1.0
1.35
t WAKE_LPVDD
ON
TXD Permanent Dominant State Delay (guaranteed by design)
t TXDDOM
s
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
23
ELECTRICAL CHARACTERISTICS
TIMING DIAGRAMS
TIMING DIAGRAMS
TPCLK
CS
TWCLKH
TLEAD
TLAG
SCLK
TWCLKL
TSISU
MOSI
Undefined
TSIH
Di 0
Di n
Don’t Care
Don’t Care
TVALID
TSODIS
TSOEN
MISO
Do 0
Do n
Figure 9. SPI Timings
TLRD
TXD
0.7 x VDD
TLDR
0.3 x VDD
RXD
0.7 x VDD
0.3 x VDD
Figure 10. CAN Signal Propagation Loop Delay TXD to RXD
TXD
TTRD
0.7 x VDD
TTDR
0.3 x VDD
VDIFF
0.9V
TRRD
0.5V
TRDR
0.7 x VDD
RXD
0.3 x VDD
Figure 11. CAN Signal Propagation Delays TXD to CAN and CAN to RXD
33904/5
24
Analog Integrated Circuit Device Data
Freescale Semiconductor
ELECTRICAL CHARACTERISTICS
TIMING DIAGRAMS
.
12 V
10 µF
VSUP
VDD
33905
2.2 µF
100 nF
CANH
Signal generator
TXD
RBUS
60 Ω
CBus
100 pF
CANL
RXD
15 pF
GND SPLIT
All pins are not shown
Figure 12. Test Circuit for CAN Timing Characteristics
TXD
tBIT
tBIT
tBUS_DOM(MAX)
VLIN_REC
THREC(MAX)
74.4% VSUP
THDOM(MAX)
58.1% VSUP
tBUS_REC(MIN)
Thresholds of
receiving node 1
LIN
THREC(MIN)
THDOM(MIN)
Thresholds of
receiving node 2
42.2% VSUP
28.4% VSUP
tBUS_DOM(MIN)
tBUS_REC(MAX)
RXD
Output of receiving Node 1
tREC_PDF(1)
tREC_PDR(1)
RXD
Output of receiving Node 2
tREC_PDR(2)
tREC_PDF(2)
Figure 13. LIN Timing Measurements for Normal Slew Rate
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
25
ELECTRICAL CHARACTERISTICS
TIMING DIAGRAMS
TXD
tBIT
tBIT
tBUS_DOM(MAX)
VLIN_REC
THREC(MAX)
77.8% VSUP
THDOM(MAX)
61.6% VSUP
tBUS_REC(MIN)
Thresholds of
receiving node 1
LIN
THREC(MIN)
THDOM(MIN)
Thresholds of
receiving node 2
38.9% VSUP
25.1% VSUP
tBUS_DOM(MIN)
tBUS_REC(MAX)
RXD
Output of receiving Node 1
tREC_PDF(1)
tREC_PDR(1)
RXD
Output of receiving Node 2
tREC_PDF(2)
tREC_PDR(2)
Figure 14. LIN Timing Measurements for Slow Slew Rate
V REC
V BU S W U
LIN
0.4 V SU P
D om inantlevel
3V
VD D
T PR O PW L
T W AKE
Figure 15. LIN Wake-up Low Power VDD OFF Mode Timing
33904/5
26
Analog Integrated Circuit Device Data
Freescale Semiconductor
ELECTRICAL CHARACTERISTICS
TIMING DIAGRAMS
V LIN _REC
LIN
V BU S W U
0.4 V SU P
D om inantlevel
IR Q
T PROPWL
T W AKE
IR Q stays low untilSPIreading com m and
Figure 16. LIN Wake-up Low Power VDD ON Mode Timing
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
27
FUNCTIONAL DESCRIPTION
INTRODUCTION
FUNCTIONAL DESCRIPTION
INTRODUCTION
The MC33904_5 is the second generation of System
Basis Chip, combining:
- Advanced power management unit for the MCU, the
integrated CAN interface and for additional ICs such as
sensors, CAN transceiver.
- Built in enhanced high speed CAN interface (ISO118982 and -5), with local and bus failure diagnostic, protection and
fail safe operation mode.
- Built in LIN interface, compliant to LIN 2.1 and J2602-2
specification, with local and bus failure diagnostic and
protection.
- Innovative and hardware configurable fail safe state
machine solution.
- Multiple low power modes, with low current consumption.
- Family concept; with and without LIN interface devices
with pin compatibility.
FUNCTIONAL PIN DESCRIPTION
POWER SUPPLY (VSUP1 AND VSUP2)
EXTERNAL TRANSISTOR Q1 (VE AND VB)
VSUP1 pin is the input pin for the device internal supply
and the VDD regulator. VSUP2 is the input pin for the 5VCAN regulator, LINs interfaces and I/O functions. The VSUP
block includes over and under-voltage detections which can
generate interrupt. The device includes a loss of battery
detector connected to VSUP1.
Loss of battery is reported through a bit (called BATFAIL).
This generates a POR (Power On Reset).
The device has a dedicated circuit to allow usage of an
external P type transistor, with the objective to share the
power dissipation between the internal transistor of the VDD
regulator and the external transistor. The bipolar PNP
recommended transistor are MJD42C or BCP52-16.
When the external PNP is connected, the current is shared
between the internal path transistor and the external PNP,
with the following typical ratio: 1/3 in the internal transistor
and 2/3 in the external PNP. The PNP activation and control
is done by SPI.
The device is able to operate without an external
transistor. In this case the VEM and VB pins must remain
open.
VDD VOLTAGE REGULATOR (VDD)
The regulator has two main modes of operation (Normal
Mode and Low Power Mode). It can operate with or without
an external PNP transistor.
In Normal Mode, without external PNP, the max DC
capability is 150mA. Current limitation, temperature pre
warning flag and over temperature shutdown features are
included. When VDD is turned ON, rise time from 0 to 5.0V is
controlled. Output voltage is 5.0V. A 3.3V option is available
via dedicated part number.
If current higher than 150mA is required, an external PNP
transistor must be connected to VEM (PNP emitter) and VB
(PNP base) terminals, in order to increase total current
capability and share the power dissipation between internal
VDD transistor and the external transistor. See External
Transistor Q1 (VE and VB). The PNP can be used even if
current is less than 150mA, depending upon ambient
temperature, maximum supply and thermal resistance.
Typically, above 100-200mA, an external ballast transistor is
recommended.
VDD REGULATOR IN LOW POWER MODE
When the device is set in Low Power VDD ON Mode, the
VDD regulator is able to supply the MCU with a DC current
below typ 1.5mA (LP-ITH). Transient current can also be
supplied up to tenth of mA. Current in excess of 1.5mA is
detected, and this event is managed by the device logic
(wake-up detection, timer start for over current duration
monitoring or watchdog refresh).
VOLTAGE REGULATOR FOR CAN INTERFACE
SUPPLY (5V-CAN)
This regulator is supplied from the VSUP2 pin. A capacitor
is required at 5V-CAN terminal. Analog MUX and part of the
LIN interfaces are supplied from 5V-CAN.
5V-CAN regulator is OFF by default and must be turn ON
by SPI. In Debug mode 5V-CAN is ON be default.
V AUXILIARY OUTPUT, 5V AND 3.3V SELECTABLE
(VB-AUX, VC-AUX, AND VCAUX) - Q2
The VAUX block is used to provide an auxiliary voltage
output, 5 or 3.3V, selectable by the SPI. It uses an external
PNP pass transistor for flexibility and power dissipation
constraints. The external recommended bipolar transistors
are MJD42C or BCP52-16.
An over-current and under voltage detectors are provided.
VAUX is controlled via the SPI, and can be turned ON or
OFF. VAUX low threshold detection and over-current
information will disable Vaux, and flags are reported in the
SPI and can generate INT.
Vaux is OFF by default and must be turned ON by SPI.
33904/5
28
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DESCRIPTION
FUNCTIONAL PIN DESCRIPTION
UNDER-VOLTAGE RESET AND RESET FUNCTION
(RST)
The RESET pin is an open drain structure with an internal
pull-up current source. The low side driver has limited current
capability when asserted low, in order to tolerate a short to
5.0V.The Reset terminal voltage is monitored in order to
detect failure (e.g. RESET pin shorted to 5.0V or GND).
The RESET pin reports to the MCU under -voltage
condition at the VDD pin, as well as failure in watchdog
refresh operation. VDD under-voltage reset operate also in
Low Power VDD ON Mode.
Two VDD under-voltage threshold are included. The upper
on (typ 4.65V, RST-TH1-5) can lead to a Reset or an Interrupt.
This is selected by the SPI. When “RST-TH2-5“is selected, in
Normal Mode, an INT is asserted when VDD falls below “RSTTH1-5“. This will allow the MCU to operate in a degraded
mode, for example, with 4.0V VDD.
I/O PINS (I/O-1: I/O-3)
I/O s are configurable input output pins. They can be used
for small load or to drive external transistors. When used as
output drivers, the I/Os are high side or low side type. They
can also be set to high-impedance. I/Os are controlled by
SPIn and at power on, the I/Os are set as inputs. They
include over load protection by temperature or excess of drop
voltage.
In Low Power Mode, state of the I/O can be turned on or
off, with extremely low extra consumption (except load).
Protection is disabled in low power mode.
When cyclic sense is used, I/O-0 is the high side/low side
switch, I/O-1, 2 and 3 and the wake inputs.
I/O-2 and I/O-3 terminals share also the LIN Master
terminal function.
VSENSE INPUT (VSENSE)
capacitor to gnd. It incorporates a threshold detector to sense
the battery voltage and provide a battery early warning. It also
includes a resistor divider to measure the VSENSE voltage
via the MUX OUT pin.
MUX OUTPUT (MUXOUT)
The MUX-OUT terminal (Figures 17) delivers an analog
voltage to the MCU A/D input. The voltage to be delivered to
MUX-OUT is selected via the SPI, from one of the following
functions: Vsup1, Vsense, I/O-0, I/O-1, Internal 2.5V
reference, die temperature sensor, VDD current copy.
Voltage divider or amplifier are inserted in the chain, as
shown in Figures 17.
For the VDD current copy, a resistor must be added to the
MUX OUT pin, to convert current into voltage. Device
includes an internal 2k resistor selectable by SPI.
Voltage range at MUX_OUT is from gnd to VDD. It is
automatically limited to VDD (max 3.3V for 3.3V part
numbers).
The MUX-OUT buffer is supplied from 5V-CAN regulator,
so the 5V-CAN regulator must be ON in order to have:
1) MUX-OUT functionality and
2) SPI selection of the analog function.
If 5V-CAN is OFF, MUX-OUT voltage is near gnd and the
SPI command that selects one of the analog input is ignored.
Delay must be respected between SPI commands for 5VCAN turn ON and SPI to select MUX-OUT function. The
delay depends mainly upon the 5V-CAN capacitor and load
on 5V-CAN.
The delay can be estimated using the following formula:
delay = C(5V-CAN) x U (5V) / I_lim 5V-CAN.
C = cap at 5V-CAN regulator, U = 5V,
I_lim 5V-CAN = min current limit of 5V-CAN regulator
(parameter 5V-C ILIM).
This pin can be connected to the battery line (before the
reverse battery protection diode), via a serial resistor and a
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
29
FUNCTIONAL DESCRIPTION
FUNCTIONAL PIN DESCRIPTION
VBAT
D1
S_in
VSUP_1
VSENSE
VDD-I_COPY
Multiplexer
S_iddc
S_in
5V-CAN
RSENSE 1k
5V-CAN
MCU
MUX-OUT
I/O-0
A/D in
buffer
S_in
S_g3.3
S_g5
S-i/o_att
I/O-1
RMI
S_ir
RM(*)
(*)Optional
S_in
Temp
Vref: 2.5V
S-i/o_att
All swicthes and resistor are configured and controlled via the
SPI.
RM: internal resistor connected when VREG current monitor is
used.
S_g3.3 and S_g5 for 5.0V or 3.3V MCU.
S_iddc to select VDD regulator current copy.
S_in1 for Low Power Mode resistor bridge disconnection.
S_ir to switch on/off of the internal RMI resistor.
Figure 17. Analog Multiplexer Block Diagram
DGB (DGB) AND DEBUG MODE
The DBG pin has 2 functions:
Primary function:
It is an output used to set the device in Debug Mode. This
is achieved by applying a voltage between 8V and 10V, at the
debug terminal, and then powering up the device (ref to state
diagram). When device leaves the INIT reset mode and enter
in INIT mode, device detects that voltage at debug terminal is
within the 8-10V range, and activate the debug mode.
When debug mode is detected, no watchdog SPI refresh
commands is necessary. This allow easy debug of the
hardware and software routines (i.e SPI commands).
Device is in debug mode is reported by SPI flag. While in
de bug mode, when voltage at DBG terminal falls below the
8-10V range, the debug mode is left, and device start W/D
operation, and expect proper W/D refresh.Debug mode can
be left by SPI. Such command is recommended to avoid
staying in debug mode in case of unwanted debug mode
selection (pin FMEA). SPI command to leave debug has
higher priority than providing 8-10V at debug pin.
Secondary function:
The resistor connected between DBG pin and gnd selects
the Fail Safe Mode operation. DBG pin can also be
connected directly to gnd (this prevent usage of debug
mode).
Flexibility is provided to the user to select SAFE output
operation via a resistor at the DBG pin or via SPI command.
The SPI command has higher priority than the hardware
selection via Debug resistor.
When the Debug mode is selected, the SAFE modes can
not be configured via the resistor connected at DBG pin.
SAFE
Safe output terminal
This pin is an output which is asserted low in case a fault
event occurs. The objective is to drive electrical safe circuitry
and set the ECU in a know sate independent of the MCU and
SBC, once a failure has been detected.
The SAFE output structure is an open drain, without a pullup. No current flow is allowed when SAFE is forced externally
to a high-voltage (< 40V).
INTERRUPT (INT)
The INT output is asserted low or generate a low pulse
when an interrupt condition occurs. The INT condition is
enabled in the INT register. The selection of low level or pulse
as well as pulse duration are selected by SPI.
No current will flow inside the INT structure when VDD is
low, in Low Power VDD OFF Mode. This allows the
connection of an external pull resistor, and connection of an
INT pin from other ICs without extra consumption in
unpowered mode.
33904/5
30
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DESCRIPTION
FUNCTIONAL PIN DESCRIPTION
INT has internal pull up structure to VDD. In Low Power
VDD ON Mode, a diode is inserted in series with the pull up,
so the high level is slightly lower than in other modes.
CANH, CANL, SPLIT, RXD, TXD
These are the terminals of the high speed CAN physical
interface, between the CAN bus and the micro controller. A
detail description is provided in the document.
LIN, TXDL, RXDL AND LINTERM
These are the terminals of the Local Interconnect Network
physical interface. Device contains zero, one or two LIN
interfaces.
MC33904 has no LIN interface. MC33905S (S as Single)
and MC33905D (D as Dual) contain respectively 1 and 2 LIN
interfaces.
LIN 1 and LIN 2 terminals are the connection to the LIN
sub buses.
LIN interfaces are connected to the MCU via the TxDL1
(TxDL2) and RxDL1 (RxDL2) terminals.
The device also include one or two high side switches to
Vsup2 terminal which can be used as a LIN master
termination switch. Pins LINT-1 and LINT-2 are the same as
I/O-2 and I/O-3.
A detail description is provided in the document
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
31
FUNCTIONAL DEVICE OPERATION
MODE AND STATE DESCRIPTION
FUNCTIONAL DEVICE OPERATION
MODE AND STATE DESCRIPTION
The device has several operation modes. The transitions
and conditions to enter or leave each modes are illustrated in
the state diagram.
INIT RESET
This mode is automatically entered after device “power
on”. In this mode, the RSTb pin is asserted low, for a duration
of typ 1ms. Control bits and flags are “set” to their default
reset condition. The BATFAIL is set to indicated that the
device is coming from an unpowered condition, and that all
previous device configuration are lost and “reset” the default
value. The duration of the INIT reset is typ 1ms.
INIT reset mode is also entered from INIT mode in case
the expected SPI command does not occur in due time (ref.
INIT mode), and if device is not in debug mode.
INIT
This mode is automatically entered from “INIT reset”
mode. In this mode, the device must be configured via SPI
within a time of 256ms max.
Four registers called INIT Wdog, INIT REG, INIT LIN I/O
and INIT MISC must be and can only be configured during
INIT mode.
Other registers can be written in this mode, however they
can be also written in other modes.
Once the INIT registers configuration is done, a SPI
Watchdog Refresh command must be send in order to set the
device into Normal mode. If the SPI W/D refresh does not
occur within the 256ms period, the device will return into INIT
reset mode for typ 1ms, and then re enter into INIT mode.
Register read operation is allowed in INIT mode to collect
device status or to read back the INIT register configuration
When INIT mode is left by a SPI W/D refresh command, it
is only possible to re enter the INIT mode using a secured SPI
command.
RESET
In this mode, the RSTb pin is asserted low. Reset mode is
entered from Normal mode, Normal Request mode, LP VDD
on mode and from Flash mode, when the W/D is not
triggered, or if a VDD low condition is detected.
The duration of reset is typ 1ms by default. The user can
defined a longer Reset pulse activation only for the case the
reset mode is entered following a VDD low condition. Reset
pulse is always 1ms, in case Reset mode in entered due to
wrong W/D refresh command.
Reset mode can be entered via secured SPI command.
NORMAL REQUEST
This mode is automatically entered after RESET mode, or
after a wake up from Low Power VDD ON Mode.
A W/D refresh SPI command is necessary to transition to
NORMAL mode. The duration of the Normal request mode is
256ms when Normal Request mode is entered after RESET
mode. Different duration can be selected by SPI for the case
when normal request is entered from LP VDD ON mode.
If the W/D refresh SPI command does not occur within the
256ms (or the shorter user defined time out), then the device
will enter into RESET mode, for a duration of typ 1ms.
note: in init reset, init, reset and normal request modes as
well as in low power modes, the VDD external PNP is
disabled.
NORMAL
In this mode, all device functions are available. This mode
is entered by a SPI W/D refresh command from Normal
Request mode, or from INIT mode.
During Normal mode, the device Watchdog function is
operating, and a periodic W/D refresh must occurs. In case of
incorrect or missing W/D refresh command device will enter
into Reset mode.
From Normal mode, the device can be set by SPI
command into Low Power modes (Low Power VDD ON or
Low Power VDD OFF Modes). Dedicated secured SPI
commands must be used to enter from Normal mode in
RESET mode, INIT mode or FLASH mode.
FLASH
In this mode, the software watchdog period is extended up
to typ 32 seconds. This allow programming of the MCU flash
memory while minimizing the software over head to refresh
the W/D. The flash mode is entered by Secured SPI
command and is left by SPI command. Device will enter into
RESET mode. In case of incorrect or missing W/D refresh
command device will enter into Reset mode. An INT can be
generated at 50% of the W/D period.
CAN interface operates in Flash mode to allow flash via
CAN bus, inside the vehicle.
DEBUG
Debug is a special operation mode of the device which
allows system easy software and hardware debugging. The
debug operation is detected after power up if the DBG pin is
set in the 8.0-10V range.
When debug is detected, all the software watchdog
operations are disabled: 256ms of INIT mode, W/D refresh of
Normal mode and Flash mode, Normal Request time out
(256ms or user defined value) are not operating and will not
lead to transition into INIT reset or Reset mode.
When device is in Debug, SPI command can be send
without any time constraints with respect to W/D operation,
MCU program can be “halted” or “paused” to verify proper
operation.
Debug can be left by removing 8-10V from debug pin, or
by SPI command (ref to MODE register).
5V-CAN regulator is ON by default in debug mode.
33904/5
32
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION
LOW POWER MODES
LOW POWER MODES
The device has two main Low Power Modes: Low Power
Mode with VDD off, and Low Power Mode with VDD on.
note: Prior to enter in Low Power mode, I/O and CAN wake
up flags must be cleared (ref to Mode register).
LOW POWER - VDD OFF
In this mode, VDD is turned off and the MCU connected to
VDD is unsupplied. This mode is entered by the SPI. It can
also be entered by automatic transition due to fail safe
management. 5V-CAN and Vaux regulators are also turned
OFF.
When the device is in Low Power VDD OFF Mode, it
monitors external events to wake up and leave the LP mode.
The wake up events can occurs from:
• CAN
• LIN interface, depending upon device part number
• Expiration of an internal timer
• I/O-0, and I/O-inputs, and depending upon device part
number and configuration, I/O-2 and/or 3 input
• Cyclic sense of I/O-1 input, associated by I/O-0
activation, and depending upon device part number and
configuration, cyclic sense of I/O-2 and 3 input,
associated by I/O-0 activation
When a wake up event is detected, the device enters into
reset mode and then into Normal Request mode. The wake
up source are reported into the device SPI registers. In
summary, a wake up event from LP Vdd off, lead to Vdd
regulator turn ON, and MCU operation restart.
LOW POWER - VDD ON
In this mode, the voltage at the VDD terminal remains at
5.0V (or 3.3V, depending upon device part number). The
objective is to maintain the MCU powered, with reduced
consumption. In such mode, the DC output current is
expected to be limited to few 100uA or few mA, as the ECU
is in reduced power operation mode.
During this mode, the 5V-CAN and VAUX regulators
are OFF.
The same wake-up events as in LP Vdd off mode (CAN,
LIN, I/O, timer, cyclic sense) are available in LP Vdd on
mode.
In addition, two additional wake up conditions are
available.
• Dedicated SPI command. When device is in LP Vdd ON
mode, the wake up by SPI command uses a write to
“Normal Request Mode”, 0x5C10.
• Output current from Vdd exceeding typ 1.5mA
threshold.
In Low Power VDD ON Mode, the device is able to source
several tenth of mA DC. The current source capability can be
time limited, by a selectable internal timer. Timer duration is
up to 32ms, and is triggered when the output current exceed
the output current threshold typ 1.5mA.
This allow for instance a periodic activation of the MCU,
while the device remains in LP VDD on mode. If the duration
exceed the selected time (ex 32ms), the device will detect a
wake up.
Wake up event are reported to the MCU via a low level
pulse at INT pulse. The MCU will detect the INT pulse and
resume operation.
Watchdog function in LP VDD ON mode
It is possible to enable the W/D function in Low Power VDD
ON Mode. In this case, the principle is time out.
Refresh of the W/D is done either by:
• a dedicated SPI command (different from any other SPI
command or simple CSb activation which would wake
up - ref to above paragraph)
• or by a temporary (less than 32ms max) Vdd over
current wake-up (Idd > 1.5mA typ).
As long as the W/D refresh occurs, the device remains in
LP Vdd on mode.
MODE transition
mode transition are either done automatically (i.e after
time out expired or voltage conditions), or via SPI command,
or by external event such as wake up. Some mode change
are performed via “secured” SPI commands.
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
33
FUNCTIONAL DEVICE OPERATION
STATE DIAGRAM
STATE DIAGRAM
VSUP1 rise > VSUP-TH1
& VDD > VDD_UVTH
VSUP fall
start T_IR
(T_IR=1ms)
T_INIT expired
or VDD<VDD_UVTH
VSUP fall
W/D refresh
by SPI
T_IR expired
INIT
FLASH
start T_WDF
(config)
Ext reset
Debug
Mode
detection
INIT Reset
POWER DOWN
SPI secured
or T_WDF expired
or VDD<VDD_UVTH
start T_INIT
(T_INIT=256ms)
SPI secured (3)
SPI write (0x5A00)
(W/D refresh)
SPI secured (3)
NORMAL (4)
RESET
start T_R
(1ms or config)
start T_WDN
(T_WDN=config)
VDD<VDD_UVTH or T_WD expired
or W/D failure (1) or SPI secured
Wake-up
T_NR expired
T_R expired
& VDD>VDD_UVTH
SPI write (0x5A00)
(W/D refresh)
NORMAL
REQUEST
start T_NR
(256ms or config)
SPI
LOW POWER
VDD ON
Wake up (5)
if enable
W/D refresh
by SPI
start T_WDL (2)
T_OC expired
or Wake up
I-DD<IOC
(1.5mA)
LP VDDON
IDD > 1.5mA
VDD<VDD_UVTHLP
W/D refresh
by SPI
I-DD>IOC
(1.5mA)
start T_OC time
T_WDL expired or VDD<VDD_UVTHLP
SPI
LOW POWER
VDD OFF
(1) W/D refresh in closed window or enhanced W/D refresh failure
FAIL SAFE DETECTED
(2) If enable by SPI, prior to enter LP VDD ON mode
(3) Ref to “SPI secure” description
(4) Vdd external PNP is disable in all mode except Normal and Flash modes.
(5) Wake up from LP Vdd ON mode by SPI command is done by a SPI mode change: 0X5C10
Figure 18. State Diagram
33904/5
34
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION
MODE CHANGE
MODE CHANGE
“SECURED SPI” DESCRIPTION:
A request is done by a SPI command, the device provide
on MISO an unpredictable “random code”. Software must
perform a logical change on the code and return it to the
device with the new SPI command to perform the desired
action.
The “random code” is different at every exercise of the
secured procedure and can be read back at any time.
The secured SPI uses the Special MODE register for the
following transitions:
- from Normal mode to INT mode
- from Normal mode to FLASH mode
- from Normal mode to RESET mode (reset request).
“Random code” is also used when the “advance
watchdog” is selected.
CHANGING OF DEVICE CRITICAL PARAMETERS
Some critical parameters are configured one time at
device power on only, while the batfail flag is set in the INIT
Mode. If a change is required while device is no longer in INIT
mode, device must be set back in INIT mode using the “SPI
secure” procedure.
WATCHDOG OPERATION
IN NORMAL REQUEST MODE
Watchdog in Debug Mode
In Normal Request Mode, the device expects to receive a
watchdog configuration before the end of the normal request
time out period. This period is reset to a long (256ms) after
power on and when BATFAIL is set.
The device can be configured to a different (shorter) time
out period which can be used after wake-up from LP Vdd on
mode.
After a software watchdog reset, the value is restored to
256ms, in order to allow for a complete software initialization,
similar to a device power up.
In Normal Request Mode the watchdog operation is
”timeout” only and can be triggered/served any time within
the period.
When the device is in Debug Mode (entered via the DBG
pin), the watchdog continues to operate but does not affect
the device operation by asserting a reset. For the user,
operation appears without the watchdog.
When debug is left by software (SPI mode reg) the
watchdog period starts at the end of the SPI command.
When debug mode is left by hardware (DBG pin below 810V), the device enters into Reset Mode.
WATCHDOG TYPE SELECTION
Advance Watchdog Operation
Two different watchdog modes are implemented: Window
or Advance.
The selection of “Window” or “Advance” is done in INIT
Mode, after device power up when the Batfail flag is set.
Configuration is done via the SPI. Then the watchdog mode
selection content is locked and can be changed only via a
secured SPI procedure.
When the Advance watchdog is selected (at INIT Mode),
the refresh of the watchdog must be done using a random
number and with 1, 2, or 4 SPI commands. The number for
the SPI command is selected in INIT mode.
The software must read a random byte from the device,
and then must return the random byte inverted to clear the
watchdog. The random byte write can be performed in 1, 2,
or 4 different SPI commands.
If 1 command is selected, all 8 bits are written at once.
If 2 commands are selected, first write command must
include 4 of the 8 bits of the inverted random byte. The
second command must include the next 4 bits. This complete
the watchdog refresh.
If 4 commands are selected, the first write command must
include 2 of the 8 bits of the inverted random byte. The
second command must include the next 2 bits, the 3rd
command the next 2, and the last command, the last 2. This
complete the watchdog refresh.
When multiple writes are used, the most significant bits are
send first. The latest SPI command needs to be done inside
the open window time frame, if window watchdog is selected.
Window Watchdog Operation
The window watchdog is available in Normal Mode only.
The watchdog period selection can be kept (SPI is selectable
in INIT Mode), while the device enters into Low Power VDD
ON Mode. The watchdog period is reset to the default long
period after BATFAIL.
The period and the refresh of watchdog is done by the SPI.
A refresh must be done in the open window of the period,
which starts at 50% of the selected period and ends at the
end of the period.
If the watchdog is triggered before 50%, or not triggered
before end of period, a reset has occurred. The device enters
into Reset Mode.
Watchdog in Flash Mode
During flash mode operation, the watchdog can be set to
a long time out period. Watchdog is timeout only and an INT
pulse can be generated at 50% of the time window.
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
35
FUNCTIONAL DEVICE OPERATION
WATCHDOG OPERATION
DETAIL SPI OPERATION AND SPI COMMANDS
FOR ALL WATCHDOG TYPES.
Advance Watchdog, refresh by 2 SPI commands:
In INIT mode, the W/D type (window, time out, advance
and number of SPI commands) is selected using register Init
W/D, bits 1, 2 and 3. The W/D period is selected via TIM_A
register. The W/D period selection can also be done in
Normal mode or in Normal Request mode.
Transition from INIT mode to Normal Mode or from Normal
Request mode to Normal mode is done via a single W/D
refresh command (SPI 0x 5A00).
While in Normal mode, the W/D refresh command
depends upon the W/D type selected in INIT mode. They are
detailed in the paragraph below:
The refresh command is splitted in 2 SPI commands.
The first partial refresh command is 0x5Aw1, and the
second is 0x5Aw2. Byte w1 contains the first 4 inverted bits
of the RD byte plus the last 4 bits equal to zero. Byte w2
contains 4 bits equal to zero plus the last 4 inverted bits of the
RD byte.
During this second refresh command device return on
MISO a new Random Code. This new random code must be
inverted and send along with the next 2 refresh commands
and so on.
The second command must be done in the open window if
the Window operation was selected.
Simple W/D:
Advance Watchdog, refresh by 4SPI commands:
refresh commands is 0x5A00. It can be send any time
within the W/D period if the time out W/D operation is
selected (INIT-W/D register, bit 1 WD N/Win =0).
It must be send in the open window (second half of the
period) if the Window Watchdog operation was selected
(INIT-W/D register, bit 1 WD N/Win =1).
Advance Watchdog:
The first time device enters in Normal mode (entry on
Normal mode using the 0x5A00 command), RND code must
be read using SPI command 0x1B00. Device returns on
MISO second byte the RND code. The full 16 bits MISO is
called 0x XXRD. RD is the complement of the RD byte.
The refresh command is splitted in 4 SPI commands.
The first partial refresh command is 0x5Aw1, the second is
0x5Aw2, the third is 0x5Aw3 and the last is 0x5Aw4.
Byte w1 contains the first 2inverted bits of the RD byte plus
the last 6 bits equal to zero.
Byte w2 contains 2 bits equal to zero plus the next 2
inverted bits of the RD byte plus 4 bits equal to zero.
Byte w3 contains 4bits equal to zero plus the next 2
inverted bits of the RD byte plus 2 bits equal to zero.
Byte w4 contains 6bits equal to zero plus the next 2
inverted bits of the RD byte.
During this fourth refresh command device return on MISO
a new Random Code. This new random code must be
inverted and send along with the next 4 refresh commands.
The fourth command must be done in the open window if
the Window operation was selected.
Advance Watchdog, refresh by 1 SPI command:
The refresh command is 0x5ARD. During each refresh
command device returns on MISO a new Random Code. This
new random code must be inverted and send along with the
next refresh command and so on.
It must be done in the open window if the Window
operation was selected.
PROPER RESPONSE TO INT
A device detect, that upon an INT, the software handles
the INT in a timely manner: Access of the INT register is done
within 2 watchdog periods. Such feature must be enabled by
SPI via the INIT WD register bit 7
33904/5
36
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION
FUNCTIONAL BLOCK OPERATION VERSUS MODE
FUNCTIONAL BLOCK OPERATION VERSUS MODE
Table 6. Device Block Operation for Each State
State
VDD
5V-CAN
I/Ox / WU
VAUX
CAN
LIN1/2
Power down
OFF
Init Reset
ON
OFF
OFF
OFF
High-impedance
High-impedance
OFF
HS/LS off
Wake up disable
OFF
OFF:
CAN termination 25k to gnd
Transmitter / receiver /wake-up
OFF
OFF:
internal 30k pull up active.
Transmitter: receiver /
wake up OFF.
LIN term OFF
INIT
ON
OFF
SPI config
WU disable
OFF
OFF
OFF
Reset
ON
Keep SPI config
HS/LS off
WU disable
OFF
OFF
OFF
Normal Request
ON
Keep SPI config
HS/LS off
WU disable
OFF
OFF
OFF
Normal
ON
SPI config
SPI config
WU SPI config
SPI config
SPI config
SPI config
Low power VDD OFF
OFF
OFF
user defined
WU SPI config
OFF
OFF + wake-up en/dis
OFF + wake-up en/dis
Low power VDD ON
ON(21)
OFF
user defined
WU SPI config
OFF
OFF + wake-up en/dis
OFF + wake-up en/dis
SAFE output low:
Safe case A
safe case
A:ON
safe case B:
OFF
OFF
OFF + wake-up enable
OFF + wake-up enable
FLASH
ON
SPI config
SPI config
OFF
A: Keep SPI
HS/LS off
config, B: OFF wake-up by change
state
SPI config
SPI config
Notes
21. With limited current capability
22. 5V-CAN is ON in Debug mode.
The 5V-CAN default is ON when the device is powered-up and set in Debug Mode. It is fully controllable via the SPI command.
ILLUSTRATION OF DEVICE MODE TRANSITIONS.
VSUP
B
C
Vdd-uv (4.5V typ)
B
Vdd-uv
VDD
VAUX
RST
RST
RST
INT
INT
INT
MODE
RESET
NORMAL
INIT
BATFAIL
s_1: go to Normal Mode
s_11: write INT registers
legend:
s_2
VAUX
s_12
VAUX
s_1
5V-CAN
s_11
5V-CAN
SPI
D
VDD
5V-CAN
SPI
Normal to Low Power
VDD ON Mode
VSUP
VSUP
>4V
VDD
Normal to Low Power
VDD OFF Mode
SPI
NORMAL LP VDD Off
s_2: go to Low Power VDD OFF Mode
s_12: Low Power Mode configuration
s_3
B
s_13
A
Power up to Normal Mode
NORMAL
LP VDD On
s_3: go to Low Power Mode
s_13: Low Power Mode configuration
Series of SPI
Single SPI
Figure 19. Power Up Normal and Low Power Modes
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
37
FUNCTIONAL DEVICE OPERATION
ILLUSTRATION OF DEVICE MODE TRANSITIONS.
Wake-up from Low Power VDD OFF Mode
C
Wake-up from Low Power VDD ON Mode
D
VSUP
VSUP
VDD-UV (4.5V typ)
VDD
Based on reg configuration
5V-CAN
VAUX
Based on reg configuration
VAUX
INT
INT
SPI
LP VDD_OFF
MODE
RESET
NORMAL
REQUEST
CAN wake-up
pattern
LIN Bus
LIN wake-up filter
I/O x toggle
FWU timer
Start
.
Based on reg configuration
SPI
MODE
NORMAL
Available wake up events (exclusive)
CAN bus
s_4
RST
s_14
RST
Based on reg configuration
NORMAL
REQUEST
LP VDD ON
NORMAL
CAN bus
CAN wake-up
pattern
LIN Bus
LIN wake-up filter
I/O x toggle
FWU timer
Stop
Start
FWU timer
duration (50-8192ms)
SPI selectable
FWU timer
duration (50-8192ms)
SPI selectable
Wake up detected
s_4
5V-CAN
s_14
VDD
IDD current
IDD-OC (3mA typ)
IDD OC deglitcher or timer (100us typ, 3 -32ms)
SPI
Wake up detected
Figure 20. Wake-up from Low Power Modes
33904/5
38
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION
CYCLIC SENSE OPERATION DURING LP MODES
CYCLIC SENSE OPERATION DURING LP MODES
This function can be used in both Low Power modes (LP
Vdd off and LP Vdd on).
Cyclic sense is the periodic activation of I/O-0, to allow
biasing of external contact swicthes. The contact switch state
can be detected via I/O-1, 2 and 3, and device can wake up
from LP mode.
Cyclic sense is optimized and designed primarily for
closed contact switch, in order to minimize consumption via
the contact pull up resistor.
400us, 800us or 1.6ms). The I/O-0 high side transistor or low
side transistor can be activated. The selection is done by the
state of I/O-0 prior to enter in low power mode.
During the T-cson duration, the I/O-x are monitored. If one
of them is high, the device will detect a wake up. (Figure 21).
Cyclic sense period is selected by SPI configuration prior
to enter in device low power mode. Upon entering LP mode, I/
O-0 should be activated.
The level of I/O-1 is sense during the I/O-0 active time,
and is deglitched for a duration of typ 30us. This mean that I/
O-1 should be in the expected state for a duration longer than
the deglitcher time.
The diagram below (Figure 21) illustrates the cyclic sense
operation, with I/O-0 high side active and I/O-1 wake up in
case of high level.
Principle:
A dedicated timer allows to select a cyclic sense period
from 3 to 512ms (selection in timer B).
At end of the period, the I/O-0 will be activated for a
duration of T_cson (SPI selectable in INIT register, to 200us,
I/O-0 high side active in Normal mode
I/O-0 high side active during cyclic sense active time
I/O-0
S1
S1 closed
Zoom
S1 open
Cyclic sense active
time (ex 200us)
I/O-1
I/O-0
I/O-1 high => wake up
I/O-1
Cyclic sense period
state of I/O-1 low => no wake up
I/O-1 deglitcher time
(typ 30us)
Cyclic sense active time
NORMAL MODE
LOW POWER MODE
RESET or NORMAL REQUEST MODE
Wake up event detected
Wake up detected.
R
R
R
R
R
R
I/O-0
I/O-0
I/O-1
I/O-1
S1
S1
I/O-2
I/O-2
S2
S2
I/O-3
S3
Upon entering in LP mode, all 3
contact switches are closed.
S3
I/O-3
In LP mode, 1 contact switch is open.
High level is detected on I/O-x, and device wakes up.
Figure 21. Cyclic Sense operation - switch to gnd, wake up by open switch
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
39
FUNCTIONAL DEVICE OPERATION
BEHAVIOR AT POWER UP AND POWER DOWN
BEHAVIOR AT POWER UP AND POWER DOWN
DEVICE POWER UP:
This section describe the device behavior during ramp up,
and ramp down of Vsup1, and the flexibility offered mainly by
the Crank bit and the 2 Vdd undervoltage reset thresholds.
The figures below illustrate the device behavior during
Vsup1 ramp up. As the Crank bit is by default set to 0, Vdd is
enable when Vsup1 is above Vsup th 1 parameters.
Vsup_nominal (ex 12V)
Vdd nominal (ex 5V)
Vsup slew rate
VBAT
D1
VDD_UV TH (typ 4.65V)
VSUP1
VDD
Vsup_th1
MC33905
VDD_start up
90% VDD_start up
I_VDD
VSUP1
Gnd
VDD
10% VDD_start up
VDD_off
RESET
1ms
Figure 22. Vdd start up versus Vsup1 tramp
DEVICE POWER DOWN
The figures below illustrate the device behavior during
Vsup1 ramp down, based on Crank bit configuration, and Vdd
undervoltage reset selection.
Crank bit reset (INIT W/D register, bit 0 =0):
Bit 0 = 0 is the default state for this bit.
During Vsup ramp down, Vdd remain ON until device
enters in Reset mode due to Vdd Under Voltage condition
(Vdd < 4.6V or Vdd < 3.2V typ, threshold selected by SPI).
When device is in Reset, if Vsup is below “Vsup_th1”, Vdd is
turned OFF.
Crank bit set (INIT W/D register, bit 0 =1):
The bit 0 is set by SPI write. During Vsup ramp down, Vdd
remains ON until device detects a POR and set BATfail. This
occurs for a Vsup approx 3V.
33904/5
40
Analog Integrated Circuit Device Data
Freescale Semiconductor
FUNCTIONAL DEVICE OPERATION
BEHAVIOR AT POWER UP AND POWER DOWN
Vbat
Vsup_nominal
(ex 12V)
Vbat
Vsup_nominal
(ex 12V)
VSUP1
VSUP1
Vdd (5V)
Vdd (5V)
Vsup_th1 (4.1V)
VDD_UV TH (typ 4.65V)
VDD_UV TH (typ 4.65V)
minVsup (3V)
VDD
VDD
RESET
RESET
Case 1: “Vdd UV th 4.6V”, with bit Crank =0 (default value)
Vbat
Vsup_nominal
(ex 12V)
Case 2: “Vdd UV 4.6V”, with bit Crank =1
Vbat
Vsup_nominal
(ex 12V)
VSUP1
VSUP1
Vsup_th1 (4.1V)
Vdd (5V)
Vdd (5V)
VDD_UV TH (typ 4.65V)
VDD_UV TH (typ 4.65V)
VDD
minVsup (3V)
VDD
VDD_UV TH2 (typ 3.2V)
VDD_UV TH2 (typ 3.2V)
(2)
INT
INT
RESET
(1)
RESET
(1) reset then (2) Vdd turn OFF
Case 3: “Vdd UV th 3.2V”, with bit Crank =0 (default value)
Case 2: “Vdd UV th 3.2V”, with bit Crank =1
Figure 23. Vdd Behavior During Vsup1 Ramp Down
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
41
FAIL SAFE OPERATION
BEHAVIOR AT POWER UP AND POWER DOWN
FAIL SAFE OPERATION
OVERVIEW
modes B1, B2 and B3:
Fail safe mode is entered when specific fail conditions
occur. The “Safe state” condition is defined by the resistor
connected at the DGB pin. Safe Mode is entered after
additional event or conditions are met: time out for CAN
communication and state at I/O-1 pin.
Exit of the safe state is always possible by a wake-up
event: in the safe state the device is automatically wakeable
CAN and I/O (if configured as inputs). Upon wake-up, the
device operation is resumed: enter in Reset Mode.
Upon SAFE activation, the system continues to monitor
external event, and disable the MCU supply (turn Vdd off).
The external events monitored are: CAN traffic, I/O-1 low
level or both of them. 3 sub cases exist, B1, B2 and B3.
Note: no CAN traffic indicates that the ECU of the vehicle
are no longer active, thus that the car is being parked and
stopped. The I/O low level detection can also indicate that the
vehicle is being shutdown, if the I/O-1 terminal is connected
for instance to a switched battery signal (ignition key on/off
signal).
FAIL SAFE FUNCTIONALITY
Upon dedicated event or issue detected at a device pin (i.e
RESET), the Safe mode can be entered. In this mode, the
SAFE terminal is active low.
Description
Upon activation of the SAFE terminal, and if the failure
condition that make the SAFE pin activated have not
recovered, the device can help to reduce ECU consumption,
assuming that the MCU is not able to set the whole ECU in
low power mode. Two main cases are available:
mode A:
The selection of the monitored events is done by
hardware, via the resistor connected at DBG pin, but can be
over write by software, via a specific SPI command.
By default, after power up the device detect the resistor
value at DBG pin (upon transition from INIT to Normal mode),
and, if no specific SPI command related to Debug resistor
change is send, operates according to the detected resistor.
The INIT MISC register allow to verify and change the
device behaviour, to either confirm or change the hardware
selected behaviour. Device will then operate according to the
SAFE mode configured by SPI.
Table below (Table 7) illustrates the complete options
available:
Upon SAFE activation, the MCU remains powered (Vdd
stays ON), until the failure condition recovers (i.e S/W is able
to properly control the device and properly refresh the W/D).
Table 7. Fail Safe Options
Resistor at
DBG pin
SPI coding - register INIT MISC bits [2,1,0]
(higher priority that Resistor coding)
Safe mode
code
Vdd status
<6k
bits [2,1,0) = [111]: verification enable: resistor at DBG terminal is typ
0kohms (RA) - Selection of SAFE mode A
A
remains ON
typ 15k
bits [2,1,0) = [110]: verification enable: resistor at DBG terminal is typ
15kohms (RB1) - Selection of SAFE mode B1
B1
Turn OFF 8s after CAN traffic bus idle detection.
typ 33k
bits [2,1,0) = [101]: verification enable: resistor at DBG terminal is typ
33kohms (RB2 - Selection of SAFE mode B2
B2
Turn OFF when I/O-1 low level detected.
typ 68k
bits [2,1,0) = [100]: verification enable: resistor at DBG terminal is typ
68kohms (RB3) - Selection of SAFE mode B3
B3
Turn OFF 8s after CAN traffic bus idle detection AND
when I/O-1 low level detected.
Exit of Safe Mode
Exit of the safe state with Vdd off is always possible by a
wake-up event: in this safe state the device is automatically
wakeable by CAN and I/O (if I/O wake up was enable by SPI
prior to enter in SAFE mode). Upon wake-up, the device
operation is resumed, and device enters in reset mode. The
SAFE terminal remains active, until a proper read and clear
of the SPI flags reporting the SAFE conditions.
33904/5
42
Analog Integrated Circuit Device Data
Freescale Semiconductor
FAIL SAFE OPERATION
BEHAVIOR AT POWER UP AND POWER DOWN
.
SAFE operation flow chart
Legend:
Failure events
Device state:
RESET
bit 4, INIT W/D = 1 (1)
bit 4, INIT W/D = 0 (1)
SAFE high
Reset: 1ms pulse
SAFE low
Reset: 1ms pulse
detection of 2nd
consecutive W/D failure
(6)
SAFE low
a) Evaluation of
Resistor detected
at DBG pin during
power up, or SPI
W/D failure
Vdd low:
VDD<VDD_UVTH
INIT,
Normal Request
Normal, FLASH
- Reset low
- SAFE low
- Vdd ON
Rst s/c gnd:
Rst <2.5V, t>100ms
b) ECU external signal
monitoring (7):
- bus idle time out
- I/O-1 monitoring
RESET
State A: Rdbg<6k AND
W/D failure
State A: Rdbg<6k AND
(Vdd low or Rst s/c gnd) failure
State B1: Rdbg=15k AND
Bus idle time out expired
register content
safe state B
SPI (3)
safe state A
8 consecutive W/D failure (5)
SAFE pin release
(SAFE high)
NR
RESET
State B2:
Rdbg=33k AND I/O-1 low
State B3:
Rdbg=47k AND I/O-1 low
AND Bus idle time out expired
- SAFE low
- Vdd ON
- Reset: 1ms
periodic pulse
- SAFE low
- Vdd ON
- Reset low
- SAFE low
- Reset low
- Vdd OFF
Wake up (2), Vdd ON, SAFE pin remains low
failure recovery, SAFE pin remains low
1) bit 4 of INIT Watchdog register
2) Wake up event: CAN, LIN or I/O-1 high level (if I/O-1 wake up previously enabled)
3) SPI commands: 0xDD00 or 0xDD80 to release SAFE pin
4) Recovery: reset low condition released, Vdd low condition released, correct SPI W/D refresh
5) detection of 8 consecutive W/D failures: no correct SPI W/D refresh command occurred for duration of 8 x 256ms.
6) Dynamic behavior: 1ms reset pulse every 256ms, due to no W/D refresh SPI command, and device state transition
between RESET and NORMAL REQUEST mode, or INIT RESET and INIT modes.
7) 8 second timer for bus idle time out. I/O-1 high to low transition.
Figure 24. Safe Operation Flow Chart
Conditions to set SAFE pin active low:
Watchdog refresh issue: SAFE activated at 1st reset pulse
or at the second consecutive reset pulse (selected by bit 4,
INIT W/D register).
Vdd low: Vdd < RST-TH. SAFE pin is set low at same time
as Reset pin is set low.
The RESET pin is monitored to verify that reset is not
clamped to a low level preventing the MCU to operate. If this
is the case, the Safe Mode is entered.
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
43
FAIL SAFE OPERATION
BEHAVIOR AT POWER UP AND POWER DOWN
SAFE Mode A Illustration:
The figure below illustrate the event, and consequences when SAFE Mode A is selected via the appropriate debug resistor or
SPI configuration.
Behavior illustration for safe state A (Rdg <6kOhms), or selection by SPI
step 2: Consequence on
Vdd, RSTb and SAFE
step 1: Failure illustration
Vdd
Vdd
failure event, i.e W/D
8th
2nd
1st
RSTb
SAFE
RSTb
SAFE
OFF state ON state
8 x 256ms delay time to enter in SAFE mode
to evaluate resistor at DBG pin
and monitor ECU external events
failure event, Vdd low
Vdd
Vdd_UV th
Vdd
gnd
Vdd < Vdd_UVth
gnd
RSTb
RSTb
SAFE
SAFE
OFF state ON state
100ms
100ms delay time to enter in SAFE mode
to evaluate resistor at DBG pin
and monitor ECU external events
failure event, Reset s/c gnd
Vdd
Vdd
SAFE
RSTb
2.5V
RSTb
ON state
OFF state
SAFE
100ms
100ms deglitcher time to activate SAFE and
enter in SAFE mode to evaluate resistor at DBG pin
and monitor ECU external events
Figure 25. SAFE Mode A Behavior Illustration
33904/5
44
Analog Integrated Circuit Device Data
Freescale Semiconductor
FAIL SAFE OPERATION
BEHAVIOR AT POWER UP AND POWER DOWN
SAFE mode B1, B2 and B3 illustration:
The figure below illustrates the event, and consequences when SAFE Mode B1, B2 or B3 is selected via the appropriate debug
resistor or SPI configuration.
Behavior illustration for safe state B (Rdg > 10kOhms)
CAN bus
DBG resistor => safe state B1
step 2:
Exclusive detection of
ECU external event to
disable Vdd based on
Rdbg resistor or
SPI configuration
CAN bus idle time
I/O-1
I/O-1 high to low transition
DBG resistor => safe state B2
CAN bus
DBG resistor => safe state B3
CAN bus idle time
I/O-1
I/O-1 high to low transition
step 1: Failure illustration
step 3: Consequences for Vdd
Vdd
Vdd
failure event, i.e W/D
8th
2nd
1st
RSTb
SAFE
RSTb
SAFE
OFF state ON state
8 x 256ms delay time to enter in SAFE mode
to evaluate resistor at DBG pin
and monitor ECU external events
failure event, Vdd low
If Vdd failure recovered
Vdd
Vdd_UV th
Vdd
Vdd < Vdd_UVth
Vdd OFF
gnd
gnd
RSTb
and monitor ECU external events
Vdd
SAFE
e
If Reset s/c gnd recovered
failure event, Reset s/c gnd
Vdd
2.5V
RSTb
ak
100ms delay time to enter in SAFE mode
to evaluate resistor at DBG pin
w
100ms
up
SAFE
OFF state ON state
E
m CU
et e
=> xte
Vd rna
d lc
di o
sa nd
bl iti
e on
SAFE
RSTb
Vdd OFF
RSTb
ON state
OFF state
SAFE
100ms
100ms deglitcher time to activate SAFE and
enter in SAFE mode to evaluate resistor at DBG pin
and monitor ECU external events
Figure 26. SAFE Modes B1, B2 or B3 Behavior Illustration
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
45
CAN INTERFACE
CAN INTERFACE DESCRIPTION
CAN INTERFACE
CAN INTERFACE DESCRIPTION
The figure below is a high level schematic of the CAN
interface. It consist in a low side driver between CANL and
gnd, and high side driver from CANH to 5V-CAN. Two
differential receivers are connected between CANH and
CANL, to detect bus state and to wake up from CAN Sleep
Mode. An internal 2.5V reference provide the 2.5V recessive
level via the matched Rin resistors. The resistors can be
switched to gnd in CAN Sleep Mode. A dedicated split buffer
provide a low impedance 2.5V to the Split terminal, for
recessive level stabilization.
VSUP
Pattern
SPI & State machine
Wake-up
Receiver
Detection
5V-CAN
Driver
QH
RIN
2.5 V
CANH
Differential
Receiver
RXD
RIN
CANL
5V-CAN
Driver
TXD
SPI & State machine
SPI & State machine
Thermal
QL
5V-CAN
Failure Detection
Buffer
SPLIT
& Management
Figure 27. CAN Interface Block Diagram
CAN INTERFACE SUPPLY
The supply voltage for the CAN driver is the 5V-CAN pin.
The CAN interface also has a supply pass from the battery
line, through the VSUP pin. This pass is used in CAN Sleep
Mode to allow wake-up detection.
During CAN communication (transmission and reception),
the CAN interface current is sourced from the 5V-CAN pin.
During CAN Low Power Mode, the current is sourced from
the Vsup2 pin.
TX RX MODE
In Tx/Rx Mode, both the CAN driver and the receiver are
ON. In this mode, the CAN lines are controlled by the TXD pin
level, and the CAN bus state is reported on the RXD pin.
The 5V-CAN regulator must be ON. It supplies the CAN
driver and receiver.The SPLIT pin is active and a 2.5V
biasing is provided on the SPLIT output pin.
RECEIVE ONLY MODE
This mode is used to disable the CAN driver, but leave the
CAN receiver active. In this mode, the device is only able to
report the CAN state on the RXD pin. The TXD pin has no
effect on CAN bus lines. The 5V-CAN regulator must be ON.
The SPLIT pin is active and a 2.5V biasing is provided on the
SPLIT output pin.
OPERATION in TX/RX Mode
The CAN driver will be enable as soon as the device is in
Normal Mode and the TXD pin is recessive.
33904/5
46
Analog Integrated Circuit Device Data
Freescale Semiconductor
CAN INTERFACE
CAN INTERFACE DESCRIPTION
When the CAN interface is in Normal Mode, the driver has
two states: recessive or dominant. The driver state is
controlled by the TXD pin. The bus state is reported through
the RXD pin.
When TXD is high, the driver is set in the recessive state,
and CANH and CANL lines are biased to the voltage set with
5V-CAN divided by 2, or approx. 2.5V.
When TXD is low, the bus is set into the dominant state,
and CANL and CANH drivers are active. CANL is pulled low
and CANH is pulled high.
The RXD pin reports the bus state: CANH minus the CANL
voltage is compared versus an internal threshold (a few
hundred mV).
If “CANH minus CANL” is below the threshold, the bus is
recessive and RXD is set high.
If “CANH minus CANL” is above the threshold, the bus is
dominant and RXD is set low.
The SPLIT pin is active and provide a 2.5V biasing to the
SPLIT output.
Tx/Rx Mode and Slew Rate Selection
The CAN signal slew rate selection is done via the SPI. By
default and if no SPI is used, the device is in the fastest slew
rate. Three slew rates are available. The slew rate controls
the recessive to dominant, and dominant to recessive
transitions. This also affects the delay time from the TXD pin
to the bus, and from the bus to the RXD. The loop time is thus
affected by the slew rate selection.
Minimum Baud rate
The minimum baud is determined by the shortest TXD
permanent dominant timing detection. The maximum number
of consecutive dominant bits in a frame is 12 (6 bits of active
error flag and its echo error flag).
The shortest TXD dominant detection time of 300μs lead
to a single bit time of: 300μs / 12 = 25μs.
So the minimum Baud rate is 1 / 25μs = 40kBaud.
SLEEP MODE
Sleep Mode is a reduced current consumption mode.
CANH and CANL driver are disabled and CANH and CANL
lines are terminated to GND via the Rin resistor, the SPLIT
pin is high-impedance. In order to monitor bus activities, the
CAN wake-up receiver can be enabled. It is supplied
internally from Vsup2.
Wake-up events occurring on the CAN bus pin are
reporting by dedicated flags in SPI and by INT pulse, and
results in a device wake up if device was in Low Power Mode.
When the device is set back into Normal Mode, CANH and
CANL are set back into the recessive level. This is illustrated
in Figure 28.
.
TXD
Dominant state
Recessive state
CANH-DOM
CANH
2.5V
CANL/CANH-REC
CANH-CANL
CANL
CANL-DOM
High ohmic termination (50kohms) to GND
RXD
SPLIT
2.5V
Bus Driver
Receiver
(bus dominant set by other IC)
Normal or Listen Only Mode
High- impedance
Go to sleep,
Sleep or Stand-by Mode Normal or Listen Only Mode
Figure 28. Bus Signal in Tx/Rx and Low Power Mode
Wake-up
When the CAN interface is in Sleep Mode with wake-up
enabled, the CAN bus traffic is detected. The CAN bus wake-
up is a pattern wake-up. The wake-up by the CAN is enabled
or disabled via the SPI.
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
47
CAN INTERFACE
CAN INTERFACE DESCRIPTION
CAN
bus
CANH
Dominant
Pulse # 2
Dominant
Pulse # 1
CANL
Internal differential wake-up receiver signal
Internal wake-up signal
Tcan wu1-f
Can wake up detected
Figure 29. Single Dominant Pulse Wake-up
Pattern Wake-up
In order to wake-up the CAN interface, the wake-up
receiver must receive a series of 3 consecutive valid
dominant pulses, by default when the CANWU bit is low.
CANWU bit can be set high by SPI and the wake-up will occur
after a single pulse duration of 2μs (typ).
A valid dominant pulse should be longer than 500ns. The
3 pulses should occur in a time frame of 120μs, to be
considered valid. When 3 pulses meet these conditions, the
wake signal is detected. This is illustrated by the following
figure.
.
CAN
bus
CANH
Dominant
Pulse # 3
Dominant
Pulse # 2
Dominant
Pulse # 1
Dominant
Pulse # 4
CANL
Internal differential wake-up receiver signal
Internal wake-up signal
Tcan wu3-f
Tcan wu3-f
Tcan wu3-f
Can wake up detected
Tcan wu3-to
Dominant Pulse # n: duration 1 or multiple dominant bits
Figure 30. Pattern Wake-up - Multiple Dominant Detection
BUS TERMINATION
The device supports the two main types of bus
terminations:
• Differential termination resistors between CANH and
CANL lines.
• SPLIT termination concept, with the mid point of the differential termination connected to GND through a capacitor
and to the SPLIT pin.
• In application, device can also be used without termination.
33904/5
48
Analog Integrated Circuit Device Data
Freescale Semiconductor
CAN INTERFACE
CAN INTERFACE DESCRIPTION
• The figure below illustrate some of the most common terminations.
Supported CAN Terminations
SPLIT termination
CANH
Standard termination
CANH
C4
No termination
CANH
C4
C4
60
SPLIT
SPLIT
CAN bus
C6
60
CANL
No
connect
60
CAN bus
CANL
SPLIT
No
connect
CAN bus
CANL
C5
C5
C5
ECU connector
Termination outside ECU
CANH
C4
CAN bus
30
SPLIT
C6
30
CANL
C5
ECU connector
Termination
Figure 31. Typical Application and Bus Termination Options
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
49
CAN INTERFACE
CAN BUS FAULT DIAGNOSTIC
CAN BUS FAULT DIAGNOSTIC
The device includes diagnostic of bus short-circuit to GND,
VBAT, and internal ECU 5.0 V. Several comparators are
implemented on CANH and CANL lines. These comparators
monitor the bus level in the recessive and dominant states.
The information is then managed by a logic circuitry to
properly determine the failure and report it.
Vr5
H5
VBAT (12-14V)
Hb
TX
Logic
Hg
Vrvb
VDD
VRVB (VSUP-2.0V)
Vrg
CANH
VDD (5.0V)
VR5 (VDD-.43V)
CANH dominant level (3.6V)
Diag
Lg
CANL
Vrg
Lb
L5
Recessive level (2.5V)
VRG (1.75V)
Vrvb
CANL dominant level (1.4V)
Vr5
GND (0.0V)
Figure 32. CAN Bus Simplified Structure Truth Table for Failure Detection
The following table indicates the state of the comparators in case of a bus failure, and depending upon the driver state.
Table 8. Failure Detection Truth Table
Failure Description
Driver Recessive State
Driver Dominant State
Lg (threshold 1.75V)
Hg (threshold 1.75V)
Lg (threshold 1.75V)
Hg (threshold 1.75V)
No failure
1
1
0
1
CANL to GND
0
0
0
1
CANH to GND
0
0
0
0
Lb (threshold VSUP -2.0V)
Hb (threshold VSUP -2.0V)
Lb (threshold VSUP -2.0V)
Hb (threshold VSUP -2.0V)
No failure
0
0
0
0
CANL to VBAT
1
1
1
1
CANH to VBAT
1
1
0
1
L5 (threshold VDD -0.43V)
H5 (threshold VDD -0.43V)
L5 (threshold VDD -0.43V)
H5 (threshold VDD -0.43V)
No failure
0
0
0
0
CANL to 5.0V
1
1
1
1
CANH to 5.0V
1
1
0
1
DETECTION PRINCIPLE
In the recessive state, if one of the two bus lines are
shorted to GND, VDD (5V), or VBAT, the voltage at the other
line follows the shorted line, due to the bus termination
resistance. For example: if CANL is shorted to GND, the
CANL voltage is zero, the CANH voltage measured by the Hg
comparator is also close to zero.
In the recessive state, the failure detection to GND or
VBAT is possible. However, it is not possible with the above
implementation to distinguish which of the CANL or CANH
lines are shorted to GND or VBAT. A complete diagnostic is
possible once the driver is turned on, and in the dominant
state.
Number of Samples for Proper Failure Detection
The failure detector requires at least one cycle of the
recessive and dominant states to properly recognize the bus
failure. The error will be fully detected after 5 cycles of the
recessive-dominant states. As long as the failure detection
circuitry has not detected the same error for 5 recessivedominant cycles, the error is not reported.
BUS CLAMPING DETECTION
If the bus is detected to be in dominant for a time longer
than (TDOM), the bus failure flag is set and the error is
reported in the SPI.
Such condition could occur in case the CANH line is
shorted to a high-voltage. In this case current will flow from
the high-voltage short circuit through the bus termination
resistors (60Ω) and then in the SPLIT pin (if used) and in the
device CANH and CANL input resistors, which are terminated
to internal 2.5V biasing or to GND (Sleep Mode).
Depending upon the high-voltage short-circuit, the number
of nodes, usage of the SPLIT pin, RIN actual resistor and
Mode state (Sleep or Active) the voltage across the bus
termination can be sufficient to create a positive dominant
voltage between CANH and CANL, and RXD pin will be low.
This would prevent start of any CAN communication, and
33904/5
50
Analog Integrated Circuit Device Data
Freescale Semiconductor
CAN INTERFACE
CAN BUS FAULT DIAGNOSTIC
thus a proper failure identification (requires 5 pulses on TXD).
The bus dominant clamp circuit will help to determine such
failure situation.
RX PERMANENT RECESSIVE FAILURE
The aim of this detection, is to diagnose an external
hardware failure at the RX output pin and ensure that a
TXD
permanent failure at RX does not disturb the network
communication. If RX is shorted to a logic high signal, the
CAN protocol module within the MCU will not recognize any
incoming message. In addition it will not be able to easily
distinguish the bus idle state and can start communication at
any time. In order to prevent this, an RX failure detection is
necessary.
CANL&H
Diag
TX driver
Logic
Diff output
VDD/2
VDD
Sampling
Sampling
VDD
Rxsense
RXD
RX driver
RX short to VDD
RX flag latched
RXD output
CANH
60
Diff
RX flag
CANL
Prop delay
The RX flag is not the RXPR bit in the LPC register, and neither is the CANF in the INTR register.
Figure 33. RX Path Simplified Schematic, RX Short to VDD Detection
Implementation for Detection
The implementation sense the RXD output voltage at each
low to high transition of the differential receiver. Excluding the
internal propagation delay, the RXD output should be low
when the differential receiver is low. In case of an external
short to VDD at the RXD output, RXD will be tied to a high
level and can be detected at the next low to high transition of
the differential receiver.
As soon as the RXD permanent recessive is detected, the
RXD driver is deactivated.
Once the error is detected the driver is disabled and the
error is reported via SPI in CAN register.
Recovery Condition
The internal recovery is done by sampling a correct low
level at TXD as shown in the following illustration.
CANL&H
Diff output
Sampling
Sampling
RXD output
Rx short to VDD
RX flag latched
RX no longer shorted to VDD
RX flag
The RX flag is not the RXPR bit in the LPC register, and neither is the CANF in the INTR register.
Figure 34. RX Path Simplified Schematic, Rx Short to VDD Detection
TXD PERMANENT DOMINANT
Principle
If the TXD is set to a permanent low level, the CAN bus is
set into dominant level, and no communication is possible.
The device has a TXD permanent time out detector. After the
timeout, the bus driver is disabled and the bus is released into
a recessive state. The TXD permanent flag is set.
Recovery
The TXD permanent dominant is used and activated also
in case of a TXD short to RXD. The recovery condition for a
TXD permanent dominant (recovery means the re-activation
of the CAN drivers) is done by entering into a Normal Mode
controlled by the MCU or when TXD is recessive while RXD
change from recessive to dominant.
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
51
CAN INTERFACE
CAN BUS FAULT DIAGNOSTIC
TXD TO RXD SHORT CIRCUIT:
Principle
In case TXD is shorted to RXD during incoming dominant
information, RXD is set low. Consequently, the TXD pin is low
and drives CANH and CANL into a dominant state. Thus the
bus is stuck in dominant. No further communication is
possible.
Detection and Recovery
incoming dominant bit, the bus will then be stuck in dominant
again. The recovery condition is same as the TXD dominant
failure
IMPORTANT INFORMATION FOR BUS DRIVER
REACTIVATION
The driver stays disabled until the failure is/are removed
(Tx and/or RX is no longer permanent dominant or recessive
state or shorted) and the failure flags cleared (read). The CAN
driver must be set by SPI in TxRx mode in order to re enable
the CAN bus driver.
The TXD permanent dominant timeout will be activated and
release the CANL and CANH drivers. However, at the next
33904/5
52
Analog Integrated Circuit Device Data
Freescale Semiconductor
LIN BLOCK
LIN INTERFACE DESCRIPTION
LIN BLOCK
LIN INTERFACE DESCRIPTION
The physical interface is dedicated to automotive LIN subbus applications.
The interface has 20kbps and 10kbps baud rates, and
includes as well as a fast baud rate for test and programming
modes. It has excellent ESD robustness and immunity
against disturbance, and radiated emission performance. It
has safe behavior in case of a LIN bus short-to-ground, or a
LIN bus leakage during low power mode.
Digital inputs are related to device Vdd terminal.
POWER SUPPLY PIN (VSUP)
The VSUP-2 terminal is the supply pin for the LIN
interface. To avoid a false bus message, an under-voltage on
VSUP disables the transmission path (from TXD to LIN) when
VSUP falls below 6.1 V.
GROUND PIN (GND)
In case of a ground disconnection at the module level, the
LIN interface do not have significant current consumption on
the LIN bus pin when in the recessive state.
The LIN pin exhibits no reverse current from the LIN bus
line to VSUP, even in the event of a GND shift or VSUP
disconnection.
The transmitter has a 20 kbps, 10 kbps and fast baud rate,
which are selected by SPI.
Receiver Characteristics
The receiver thresholds are ratiometric with the device
Vsup2 voltage.
If the Vsup2 voltage goes below typ 6.1V, the LIN bus
enters into a recessive state even if communication is sent on
TXD.
If LIN driver temperature reached over temperature
threshold, the transceiver and receiver are disabled. When
the temperature falls below the over temperature threshold,
LIN driver and receiver will be automatically enabled.
DATA INPUT PIN (TXDL1, TXDL2)
The LIN terminal represents the single-wire bus
transmitter and receiver. It is suited for automotive bus
systems, and is compliant to the LIN bus specification 2.1 and
SAEJ2602-2.
The LIN interface is only active during Normal mode.
The TXDl1 (TXDL2) input pin is the MCU interface to
control the state of the LIN output. When TXDL is LOW
(dominant), LIN output is LOW. When TXDL is HIGH
(recessive), the LIN output transistor is turned OFF.
This pin has an internal pull-up current source to Vdd to
force the recessive state if the input pin is left floating.
If the pin stays low (dominant sate) more than t TXDDOM, the
LIN transmitter goes automatically in recessive state. This is
reported by flag in LIN register.
Driver Characteristics
DATA OUTPUT PIN (RXDL1, RXDL2)
The LIN driver is a low side MOSFET with internal overcurrent thermal shutdown. An internal pull-up resistor with a
serial diode structure is integrated so no external pull-up
components are required for the application in a slave node.
An additional pull-up resistor of 1.0 kΩ must be added when
the device is used in the master node. The 1.0 kΩ pull resistor
can connected to LIN term or to ECU battery supply.
The RXDl output pin is the MCU interface, which reports
the state of the LIN bus voltage.
LIN HIGH (recessive) is reported by a high voltage on
RXD, LIN LOW (dominant) is reported by a low voltage on
RXD.
LIN BUS PIN (LIN1, LIN2)
LIN OPERATIONAL MODES
The LIN interface have two operational modes, Transmit
receiver and LIN disable modes.
When the fast baud rate is selected, the slew rate and
timing are much faster than the above specification and allow
fast data transition.
TRANSMIT RECEIVE
In the TxRx mode, the LIN bus can transmit and receive
information.
When the 20kbps baud rate is selected, the slew rate and
timing are compatible with LIN protocol specification 2.1.
When the 10kbps baud rate is selected, the slew rate and
timing are compatible with J2602-2.
SLEEP MODE
This mode is selected by SPI, and the transmission path is
disabled. Supply current for LIN block from VSUP2 is very low
(typ 3uA). LIN bus is monitor to detect wake-up event. In the
Sleep Mode, the internal 725 kOhm pull-up resistor is
connected and the 30 kOhm disconnected.
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
53
LIN BLOCK
LIN OPERATIONAL MODES
The LIN block can be awakened from Sleep Mode by
detection of LIN bus activity.
LIN Bus Activity Detection
The LIN bus wake-up is recognized by a recessive to
dominant transition, followed by a dominant level with a
duration greater than 70 μs, followed by a dominant to
recessive transition. This is illustrated in Figures 15 on
page 26 and Figures 16 on page 27. Once the wake-up is
Table 9.
detected, the event is reported to the device state machine.
An INT is generated if device is in LP Vdd ON mode, or Vdd
will restart if device was in LP Vdd off mode.
The wake up can be enable or disable by SPI.
Fail-Safe Features
The table below describes the LIN block behavior in case
of failure.
LIN Block Failure
FAULT
FUNCTIONNAL
MODE
LIN supply undervoltage
CONDITION
CONSEQUENCE
RECOVERY
LIN supply voltage < 6V (typ)
LIN transmitter in recessive
State
Condition gone
TXD pin low for more than t TXDDOM
LIN transmitter in recessive
State
Condition gone
LIN driver temperature > 160°C (typ)
LIN transmitter and receiver
disabled
High Side turned off
Condition gone
Tx Rx
TXD Pin Permanent Dominant
Tx Rx
LIN Thermal Shutdown
33904/5
54
Analog Integrated Circuit Device Data
Freescale Semiconductor
SERIAL PERIPHERAL INTERFACE
HIGH LEVEL OVERVIEW
SERIAL PERIPHERAL INTERFACE
HIGH LEVEL OVERVIEW
The device is using a 16 bits SPI, with the following
arrangement:
MOSI, Master Out Slave In bits:
• bits 15 and 14 (called C1 and C0) are control bits to
select the SPI operation mode (write control bit to
device register, read back of the control bits, read of
device flag).
• bit 13 to 9 (A4 to A0) to select the register address.
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9
MOSI
C1
C0
A4
S15
S14
A2
A1
A0
register address
control bits
MISO
A3
S13
S12
S11
S10
• bit 8 (P/N) has two functions: parity bit in write mode
(optional, = 0 if not used), Next bit (=1) in read mode.
• bit7 to 0 (D7 to D0): control bits
MISO, Master IN Slave Out bits:
• bits 15 to 8 (S15 to S8) are device status bits
• bits 7 to 0(Do7 to Do0) are either extended device
status bits, device internal control register content or
device flags.
Figure 35 is an overview of the SPI implementation.
Bit 8
Bit 7 Bit 6
P/N
D7
Bit 5
D6
D5
Parity (optional) or
Next bit =1
S9
S8
Bit 4 Bit 3
Bit 2
Bit 1
Bit 0
D4
D2
D1
D0
Do2
Do1
Do0
D3
data
Do7
Do6
Do5 Do4
Do3
Extended Device Status, Register Control bits or Device Flags
Device Status
CSb
CSb active low. Must rise at end of 16 clocks,
for write commands, MOSI bits [15, 14] = [0 1].
SCLK
SCLK signal is low outside of CSB active
MOSI Don’t care
MISO Tri state
C1
S15
C0
D0
S14
Do0
Don’t care
Tri state
MOSI and MISO data changed at SCLK rising edge
and sampled at falling edge. Msb first.
MISO tri state outside of CSB active
SPI wave form, and signals polarity
Figure 35. Device SPI Overview
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
55
SERIAL PERIPHERAL INTERFACE
DETAIL OPERATION
DETAIL OPERATION
BITS 15,14 AND 8 FUNCTIONS
Table 10 summarizes the various SPI operation, depending upon bit 15, 14 and 8.
Table 10. SPI Operations (bits 8, 14 & 15)
Control bits MOSI[15-14], C1-C0
Type of Command
Parity/Next
MOSI[8] P/N
Note for Bit 8 P/N
00
Read back of register
content
1
Bit 8 must be set to 1, independently of the parity function
selected or not selected.
01
Write to register address,
to control device
operation
0
If bit 8 is set to “0”: means parity not selected OR
10
Reserved
11
Read of device flags form
a register address
BITS 13-9 FUNCTIONS
The device contains several registers. Their address is
coded on 5 bits (bits 13 to 9).
Each register controls or reports part of the device
function. Data can be written to the register, to control the
device operation or set default value or behavior.
Every register can also be read back in order to ensure
that its content (default setting or value previously written) is
correct.
parity is selected AND parity = 0
1
if bit 8 is set to “1”: means parity is selected AND parity = 1
1
Bit 8 must be set to 1, independently of the parity function
selected or not selected.
In addition some of the registers are used to report device
flags.
Device status on MISO
When a write operation is performed to store data or
control bit into the device, MISO pin reports a 16 bits fixed
device status composed of 2 bytes: Device Fixed Status (bits
15 to 8) + extended Device Status (bits 7 to 0). In a read
operation, MISO will report the Fixed device status (bits 15 to
8) and the next 8 bits will be the content of the selected
register.
33904/5
56
Analog Integrated Circuit Device Data
Freescale Semiconductor
SERIAL PERIPHERAL INTERFACE
DETAIL OPERATION
REGISTER ADRESS TABLE
Table 11 is the list of device registers and their associated
address, coded with bits 13 to 9.
Table 11. Device Registers with Corresponding Address
Address
MOSI[13-9]
A4...A0
Description
Quick Ref.
Name
0_0000
Analog Multiplexer
MUX
1) Write “device control bits” to register address.
2) Read back register “control bits”
0_0001
Memory byte A
RAM_A
0_0010
Memory byte B
RAM_B
1) Write “data byte” to register address.
2) Read back “data byte” from register address
0_0011
Memory byte C
RAM_C
0_0100
Memory byte D
RAM_D
0_0101
Initialization Regulators
Init REG
0_0110
Initialization Watchdog
Init W/D
0_0111
Initialization LIN and I/O
Init LIN I/O
0_1000
Initialization Miscellaneous functions
Init MISC
0_1001
Specific Modes
SPE_MODE
1) Write to register to select device Specific Mode, using “Inverted
Random Code”.
2) Read “Random Code”
0_1010
Timer_A: W/D & Low Power MCU consumption
TIM_A
0_1011
Timer_B: Cyclic Sense & Cyclic Interrupt
TIM_B
1) Write “timing values” to register address.
2) Read back register “timing values”
0_1100
Timer_C: W/D Low Power & Forced Wake-up
TIM_C
0_1101
Watchdog Refresh
W/D
Watchdog Refresh Commands
0_1110
Mode register
MODE
1) Write to register to select Low Power Mode, with optional “Inverted
Random code” and select wake-up functionality
2) Read operations:
Read back device “Current Mode”
Read “Random Code”,
Leave “Debug Mode”
0_1111
Regulator Control
REG
1_0000
CAN interface control
CAN
1_0001
Input Output control
I/O
1) Write “device control bits” to register address, to select device
operation.
2) Read back register “control bits”.
3) Read device flags from each of the register addresses.
1_0010
Interrupt Control
Interrupt
Functionality
1) Write “device initialization control bits” to register address.
2) Read back “initialization control bits” from register address
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
57
SERIAL PERIPHERAL INTERFACE
DETAIL OPERATION
COMPLETE SPI OPERATION
Table 12 is a compiled view of all the SPI capabilities and
options. Both MOSI and MISO information are described.
Table 12. SPI Capabilities with Options
Type of Command
Read back of “device control bits” (MOSI bit 7 = 0)
OR
Read specific device information (MOSI bit 7 = 1)
MOSI/
MISO
Control bits
[15-14]
Address
[13-9]
Parity/Next
bits [8]
Bit 7
MOSI
00
address
1
0
MISO
MOSI
MISO
Write device control bit to address selected by bits
(13-9).
MISO return 16 bits device status
MOSI
Reserved
MOSI
MISO
MISO
MOSI
MISO
MOSI
000 0000
Device Fixed Status (8 bits)
00
address
1
Register control bits content
1
000 0000
Device Fixed Status (8 bits)
01
address
Device ID and I/Os state
(note)
Control bits
Device Fixed Status (8 bits)
Device Extended Status (8 bits)
10
Reserved
MISO
Read device flags and wake-up flags, from register
address (bit 13-9), and sub address (bit 7).
MISO return fixed device status (bit 15-8) + flags
from the selected address and sub-address.
Bits [6-0]
Reserved
11
address
Reserved
0
Read of device flags form a register address,
and sub address LOW (bit 7)
Device Fixed Status (8 bits)
11
address
1
Flags
1
Read of device flags form a register address,
and sub address HIGH (bit 7)
Device Fixed Status (8 bits)
Note: P = 0 if parity bit is not selected or parity = 0. P = 1 if parity
is selected and parity = 1.
PARITY BIT 8
Calculation
The parity is used for write to register command (bit 15,14
= 01). It is calculated based on the number of logic one
contained in bits 15-9,7-0 sequence (this is the whole 16 bits
of the write command except bit 8).
Bit 8 must be set to 0 if the number of 1 is odd.
Bit 8 must be set to 1if the number of 1 is even.
Examples 1:
Flags
Thus the Exact command will then be:
MOSI [bit 15-0]= 01 00 011 0 01101001
Examples 2:
MOSI [bit 15-0]= 01 00 011 P 0100 0000, P should be 1,
because the command contains 4 bits with logic 1.
Thus the Exact command will then be:
MOSI [bit 15-0]= 01 00 011 1 0100 0000
Parity function selection:
The parity function is optional. It is selected by bit 6 in INIT
MISC register.
If parity function is not selected (bit 6 of INIT MISC =0),
then Parity bits in all SPI commands (bit 8) must be “0”.
MOSI [bit 15-0]= 01 00 011 P 01101001, P should be 0,
because the command contains 7 bits with logic 1.
33904/5
58
Analog Integrated Circuit Device Data
Freescale Semiconductor
SERIAL PERIPHERAL INTERFACE
DETAIL OF CONTROL BITS AND REGISTER MAPPING
DETAIL OF CONTROL BITS AND REGISTER MAPPING
The following tables contain register bit meaning arranged by register address, from address 0_000 to address 1_0100
MUX AND RAM REGISTERS
Table 13. MUX Register
MOSI First Byte [15-8]
[b_15 b_14] 0_0000 [P/N]
MOSI Second Byte, bits 7-0
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
01 00 _ 000 P
MUX_2
MUX_1
MUX_0
Int 2K
I/O-att
X
X
X
Default state
0
0
0
N/A
0
Condition for default
POR, 5V-CAN off, any mode different from
Normal
POR
Bits
Description
b7 b6 b5
MUX_2, MUX_1, MUX_0 - Selection of external input signal or internal signal to be measured at MUX-OUT terminal
000
All functions disable. No output voltage at MUX-OUT terminal
001
VDD regulator current recopy. Ratio is approx 1/97. Requires an external resistor or selection of Internal 2K (bit 3)
010
Device internal voltage reference (approx 2.5V)
011
Device internal temperature sensor voltage
100
Voltage at I/O-0. Attenuation or gain is selected by bit 3.
101
Voltage at I/O-1. Attenuation or gain is selected by bit 3.
110
Voltage at VSUP_1 terminal. Refer to electrical table for attenuation ratio (approx 5)
111
Voltage at VSENSE terminal. Refer to electrical table for attenuation ratio (approx 5)
b4
INT 2k - Select device internal 2kohm resistor between AMUX and GND. This resistor allows the measurement of a voltage proportional to
the VDD output current.
0
Internal 2 kohm resistor disable. An external resistor must be connected between AMUX and GND.
1
Internal 2 kohm resistor enable.
b3
I/O-att - When I/O-0 (or I/O-1) is selected with b7,b6,b5=100 (or 101), b3 selects attenuation or gain
between I/O-0 (or I/O-1) and MUX-OUT terminal
0
Gain is approx 2 for device with VDD =5V (Ref to electrical table for exact gain value)
Gain is approx 1.3 for device with VDD =3.3V (Ref to electrical table for exact gain value)
1
Attenuation is approx 6 for device with VDD =5V (Ref to electrical table for exact attenuation value)
Attenuation is approx 4 for device with VDD =3.3V (Ref to electrical table for exact attenuation value)
Table 14. Internal Memory Registers A, B, C and D, RAM_A, RAM_B, RAM_C and RAM_D
MOSI Second Byte, bits 7-0
MOSI First Byte [15-8]
[b_15 b_14] 0_0xxx [P/N]
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
01 00 _ 001 P
Ram a7
Ram a6
Ram a5
Ram a4
Ram a3
Ram a2
Ram a1
Ram a0
Default state
0
0
0
0
0
0
0
0
01 00 _ 010 P
Ram b7
Ram b6
Ram b5
Ram b4
Ram b3
Ram b2
Ram b1
Ram b0
Default state
0
0
0
0
0
0
0
0
Condition for default
POR
Condition for default
POR
01 00 _ 011 P
Ram c7
Ram c6
Ram c5
Ram c4
Ram c3
Ram c2
Ram c1
Ram c0
Default state
0
0
0
0
0
0
0
0
01 00 _ 100 P
Ram d7
Ram d6
Ram d5
Ram d4
Ram d3
Ram d2
Ram d1
Ram d0
Default state
0
0
0
0
0
0
0
0
Condition for default
POR
Condition for default
POR
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
59
SERIAL PERIPHERAL INTERFACE
DETAIL OF CONTROL BITS AND REGISTER MAPPING
INIT REGISTERS
Note: these registers can be written only in INIT mode
Table 15. Initialization Regulator Registers, INIT REG (note: register can be written only in INIT mode)
MOSI First Byte [15-8]
[b_15 b_14] 0_0101 [P/N]
MOSI Second Byte, bits 7-0
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
01 00 _ 101 P
I/Ox sync
VDDL rst[1]
VDDL rst[0]
VDD rstD[1]
VDD rstD[0]
VAUX5/3
Cyclic on[1]
Cyclic on[0]
Default state
1
0
0
0
0
0
0
0
Condition for default
POR
Bit
Description
b7
I/Ox sync - Determine if I/O-1 is sensed during I/O-0 activation, when cyclic sense function is selected
0
I/O-1 sense anytime
1
I/O-1 sense during I/O-0 activation
b6, b5
VDDL rst[1] VddL rst[0] - Select the VDD Under-voltage threshold, to activate Reset terminal and/or INT
00
Reset at approx 0.9 VDD.
01
INT at approx 0.9 VDD, Reset at approx 0.7 VDD
10
Reset at approx 0.7 VDD
11
Reset at approx 0.9 VDD.
b4, b3
VDD rstD[1] VDD rstD[0] - Select the Reset terminal low lev duration,
after VDD rises above the VDD under-voltage threshold
00
1ms
01
5ms
10
10ms
11
20ms
b2
[VAUX 5/3] - Select Vauxilary output voltage
0
VAUX = 3.3V
1
VAUX = 5
b1, b0
Cyclic on[1] Cyclic on[0] - Determine if I/O-1 activation time, when cyclic sense function is selected
00
200μs (typical value. ref to dynamic parameters for exact value)
01
400μs (typical value. ref to dynamic parameters for exact value)
10
800μs (typical value. ref to dynamic parameters for exact value)
11
1600μs (typical value. ref to dynamic parameters for exact value)
33904/5
60
Analog Integrated Circuit Device Data
Freescale Semiconductor
SERIAL PERIPHERAL INTERFACE
DETAIL OF CONTROL BITS AND REGISTER MAPPING
Table 16. Initialization Watchdog Registers, INIT W/D (note: register can be written only in INIT mode)
MOSI First Byte [15-8]
[b_15 b_14] 0_0110 [P/N]
MOSI Second Byte, bits 7-0
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
01 00 _ 110 P
WD2INT
MCU_OC
OC-TIM
WD Safe
WD_spi[1]
WD_spi[0]
WD N/Win
Crank
Default state
0
1
0
0
0
1
0
Condition for default
POR
Bit
Description
b7
WD2INT - Select the maximum time delay between INT occurrence and INT source read SPI command
0
Function disable. No constraint between INT occurrence and INT source read.
1
INT source read must occur before the remaining of the current W/D period plus 2 complete W/D periods.
b6, b5
MCU_OC, OC-TIM - In Low Power VDD ON, select watchdog refresh and VDD current monitoring functionality. VDD_OC_LP threshold is defined in
device electrical parameters (approx 1.5mA)
no W/D + 00
In Low Power VDD ON Mode, VDD over-current has no effect
In low power mode, when W/D is not selected
no W/D + 01
In Low Power VDD ON Mode, VDD over-current has no effect
no W/D + 10
In Low Power VDD ON Mode, VDD current > VDD_OC_LP threshold for a time > 100μs (typ) is a wakeup event
no W/D + 11 In Low Power VDD ON Mode, VDD current > VDD_OC_LP threshold for a time > I_mcu_OC is a wake-up event. I_mcu_OC time is selected in Timer
register (selection range from 3 to 32ms)
In low power mode when W/D is selected
W/D + 00
In Low Power VDD ON Mode, VDD current > VDD_OC_LP threshold has no effect. W/D refresh must occur by SPI command.
W/D + 01
In Low Power VDD ON Mode, VDD current > VDD_OC_LP threshold has no effect. W/D refresh must occur by SPI command.
W/D + 10
In Low Power VDD ON Mode, VDD over-current for a time > 100μs (typ) is a wake-up event.
W/D + 11
In Low Power VDD ON Mode, VDD current > VDD_OC_LP threshold for a time < I_mcu_OC is a W/D refresh condition. VDD current > VDD_OC_LP
threshold for a time > I_mcu_OC is wake-up event. I_mcu_OC time is selected in Timer register (selection range from 3 to 32ms)
b4
WD Safe - Select the activation of the SAFE terminal low, at first or second consecutive RESET pulse
0
SAFE terminal is set low at the time of the RESET terminal low activation
1
SAFE terminal is set low at the second consecutive time RESET pulse
b3, b2
WD_spi[1] WD_spi[0] - Select the Watchdog (W/D) Operation
00
Simple Watchdog selection: W/D refresh done by a 8bits or 16 bits SPI
01
Enhanced 1: Refresh is done using the Random Code, and by a single 16 bits.
10
Enhanced 2: Refresh is done using the Random Code, and by two 16 bits command.
11
Enhanced 4: Refresh is done using the Random Code, and by four 16 bits command.
b1
WD N/Win - Select the Watchdog (W/D) Window or Time out operation
0
Watchdog operation is TIME OUT, W/D refresh can occur anytime in the period
1
Watchdog operation is WINDOW, W/D refresh must occur in the open window (second half of period)
b0
Crank - Select the Vsup1 threshold to disable Vdd, while Vsup1 is falling toward gnd
0
Vdd disable when Vsup1 is below typ 4V (parameter Vsup-th1), and device in Reset mode
1
Vdd kept ON when Vsup1 is below typ4V (parameter Vsup_th1)
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
61
SERIAL PERIPHERAL INTERFACE
DETAIL OF CONTROL BITS AND REGISTER MAPPING
Table 17. Initialization LIN and I/O registers, INIT LIN I/O (note: register can be written only in INIT mode)
MOSI First Byte [15-8]
[b_15 b_14] 0_0111 [P/N]
MOSI Second Byte, bits 7-0
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
01 00 _ 111 P
I/O-1 ovoff
LIN_T1[1]
LIN_T1[0]
LIN_T0[1]
LIN_T0[0]
I/O-1 out-en
I/O-0 out-en
Cyc_Inv
Default state
0
0
0
0
0
0
0
Condition for default
POR
Bit
Description
b7
I/O-1 ovoff - Select the deactivation of I/O-1 in case VDD or VAUX over voltage condition is detected
0
Disable I/O-1 turn off.
1
Enable I/O-1 turn off, in case VDD or VAUX over-voltage condition is detected.
b6, b5
LIN_T1[1], LIN_T1[1] - Select Terminal operation as LIN Master Terminal switch or I/O
00
Terminal is OFF
01
Terminal operation as LIN Master Terminal switch
10
Terminal operation as I/O: high side switch and wake-up input
11
N/A
b4, b3
LIN_T0[1], LIN_T0[1] - Select Terminal operation as LIN Master Terminal switch or I/O
00
Terminal is OFF
01
Terminal operation as LIN Master Terminal switch
10
Terminal operation as I/O: high side switch and wake-up input
11
N/A
b2
I/O-1 out-en- Select the operation of the I/O-1 as output driver (high side, low side)
0
Disable high side and low side drivers of terminal I/O-1. I/O-1 can only be used as input.
1
Enable high side and low side drivers of terminal I/O-1. Terminal can be used as input and output driver.
b1
I/O-0 out-en - Select the operation of the I/O-0 as output driver (high side, low side)
0
Disable high side and low side drivers of terminal I/O-0. I/O-0 can only be used as input.
1
Enable high side and low side drivers of terminal I/O-0. Terminal can be used as input and output driver.
b0
Cyc_Inv - Select I/O-0 operation in device Low Power mode, when cyclic sense is selected
During cyclic sense active time, I/O is set to the same state prior to enter in low power mode. During cyclic sense off time, I/O-0 is disable (high
side and low side drivers OFF).
During cyclic sense active time, I/O is set to the same state prior to enter in low power mode. During cyclic sense on time, I/O-0 is actively set to
the opposite (High side or low side driver is turned on).
33904/5
62
Analog Integrated Circuit Device Data
Freescale Semiconductor
SERIAL PERIPHERAL INTERFACE
DETAIL OF CONTROL BITS AND REGISTER MAPPING
Table 18. Initialization Miscellaneous Functions, INIT MISC (note: register can be written only in INIT mode)
MOSI First Byte [15-8]
[b_15 b_14] 0_1000 [P/N]
MOSI Second Byte, bits 7-0
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
01 01_ 000 P
LPM w RND
SPI parity
INT pulse
INT width
INT flash
Dbg Res[2]
Dbg Res[1]
Dbg Res[0]
Default state
0
0
0
0
0
0
0
Condition for default
POR
Bit
Description
b7
LPM w RND - Select the functionality to change mode (enter in Low Power) using the device Random Code
0
Function disable: the Low Power mode can be entered without usage of Random Code
1
Function enabled: the Low Power mode is entered using the Random Code
b6
SPI parity - Select usage of the parity bit in SPI write operation
0
Function disable: the parity is not used. The parity bit must always set to logic 0.
1
Function enable: the parity is used, and parity must be calculated.
b5
INT pulse -Select INT terminal operation: low level pulse or low level
0
INT terminal will assert a low level pulse, duration selected by bit [b4]
1
INT terminal assert a permanent low level (no pulse)
b4
INT width - Select the INT pulse duration
0
INT pulse duration is typ 100μs. Ref to dynamic parameter table for exact value.
1
INT pulse duration is typ 25μs. Ref to dynamic parameter table for exact value.
b3
INT flash - Select INT pulse generation at 50% of the Watchdog Period in Flash mode
Function disable
Function enable: an INT pulse will occur at 50% of the Watchdog Period when device in flash mode.
b2, b1, b0
Dbg Res[2], Dbg Res[1], Dbg Res[0] - Allow verification of the external resistor connected at DBG terminal. Ref to parametric table for resistor
range value.
0xx
Function disable
100
100 verification enable: resistor at DBG terminal is typ 68kohms (RB3) - Selection of SAFE mode B3
101
101 verification enable: resistor at DBG terminal is typ 33kohms (RB2 - Selection of SAFE mode B2
110
110 verification enable: resistor at DBG terminal is typ 15kohms (RB1) - Selection of SAFE mode B1
111
111 verification enable: resistor at DBG terminal is typ 0kohms (RA) - Selection of SAFE mode A
Notes
23. Bits b2,1 and 0 allow the following operation:
First, check the resistor device has detected at the Debug pin. If the resistor is different, bit 5 (Debug resistor) is set in INTerrupt
register (ref to device flag table).
Second, over write the resistor decoded by device, to set the SAFE mode operation by SPI. Once this function is selected by bit 2 =1,
this selection has higher priority than “hardware”, and device will behave according to b2,b1 and b0 setting
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
63
SERIAL PERIPHERAL INTERFACE
DETAIL OF CONTROL BITS AND REGISTER MAPPING
.SPECIFIC MODE REGISTER
Table 19. Specific Mode Register, SPE_MODE
MOSI First Byte [15-8]
[b_15 b_14] 01_001 [P/N]
MOSI Second Byte, bits 7-0
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
01 01_ 001 P
Sel_Mod[1]
Sel_Mod[0]
Rnd_C5b
Rnd_C4b
Rnd_C3b
Rnd_C2b
Rnd_C1b
Rnd_C0b
Default state
0
0
0
0
0
0
0
Condition for default
POR
Bit
Description
b7, b6
Sel_Mod[1], Sel_Mod[0] - Mode selection: these 2 bits are used to select which mode the device will enter upon a SPI command.
00
RESET mode
01
INIT mode
10
FLASH mode
11
N/A
b5....b0
[Rnd_C4b... Rnd_C0b] - Random Code inverted, these 6 bits are the inverted bits obtained from the SPE-MODE Register read command.
The SPE MODE register is used for the following
operation:
- Set the device in RESET mode, to exercise or test the
RESET functions.
- Go to INIT mode, using the Secure SPi command.
- Go to FLASH mode (in this mode the watchdog timer can
be extended up to 32s).
- Activate the SAFE terminal by S/W.
These mode (called Special Mode) are accessible via
secured SPI command, which consist in 2 commands:
1) reading a random code and
2) then write the inverted random code plus mode
selection or SAFE pin activation:
Return to INIT mode is done as follow (this is done from
Normal mode only):
1) Read random code:
MOSI : 0001 0011 0000 0000 [Hex:0x 13 00]
MISO report 16 bits, random code are bits (5-0)
miso = xxxx xxxx xxR5 R4 R3 R2 R1 R0 (Rx= 6 bits
random code)
2) Write INIT mode + random code inverted
MOSI : 0101 0010 01 Ri5 Ri4 Ri3 Ri2 Ri1 Ri0 [Hex 0x 52
HH] (Rix= random code inverted)
MISO : xxxx xxxx xxxx xxxx (don’t care)
SAFE pin activation: SAFE pin can be set low, only in INIT
mode, with following commands:
1) Read random code:
MOSI : 0001 0011 0000 0000 [Hex:0x 13 00]
MISO report 16 bits, random code are bits (5-0)
miso = xxxx xxxx xxR5 R4 R3 R2 R1 R0 (Rx= 6 bits
random code)
2) Write INIT mode + random code bits 5:4 not inverted
and random code bits 3:0 inverted
MOSI : 0101 0010 01 R5 R4 Ri3 Ri2 Ri1 Ri0 [Hex 0x 52
HH] (Rix= random code inverted)
MISO : xxxx xxxx xxxx xxxx (don’t care)
Return to RESET or FLASH mode is done similarly to the
go to INIT mode, except that the b7, b6 are set according to
table above (b7, b6 = 00 - go to reset, b7, b6 = 10 - go to
FLASH).
33904/5
64
Analog Integrated Circuit Device Data
Freescale Semiconductor
SERIAL PERIPHERAL INTERFACE
DETAIL OF CONTROL BITS AND REGISTER MAPPING
TIMER REGISTERS
Table 20. Timer Register A, Low Power Vdd over current & Watchdog Period Normal mode, TIM_A
MOSI Second Byte, bits 7-0
MOSI First Byte [15-8]
[b_15 b_14] 01_010 [P/N]
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
01 01_ 010 P
I_mcu[2]
I_mcu[1]
I_mcu[1]
W/D Nor[4]
W/D_N[4]
W/D_Nor[3]
W/D_N[2]
W/D_Nor[0]
Default state
0
0
0
1
1
1
1
0
Condition for default
POR
Low Power Vdd over current (ms)
b6, b5
b7
00
01
10
11
0
3 (def)
6
12
24
1
4
8
16
32
Watchdog Period in Device Normal Mode (ms)
b2, b1, b0
b4, b3
000
001
010
011
100
101
110
111
2.5
5
10
20
40
80
160
320
01
3
6
12
24
48
96
192
384
10
3.5
7
14
28
56
112
224
448
11
4
8
16
32
64
128
256 (def)
512
00
Table 21. Timer Register B, Cyclic Sense and Cyclic INT, in Device Low Power Mode, TIM_B
MOSI First Byte [15-8]
[b_15 b_14] 01_011 [P/N]
MOSI Second Byte, bits 7-0
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
01 01_ 011 P
Cyc-sen[3]
Cyc-sen[2]
Cyc-sen[1]
Cyc-sen[0]
Cyc-int[3]
Cyc-int[2]
Cyc-int[1]
Cyc-int[0]
Default state
0
0
0
0
0
0
0
0
Condition for default
POR
Cyclic sense (ms)
b6, b5, b4
b7
000
001
010
011
100
101
110
111
0
3
6
12
24
1
4
8
16
32
48
96
192
384
64
128
256
512
100
101
110
111
Cyclic Interrupt (ms)
b2, b1, b0
b3
000
001
010
011
0
6 (def)
12
24
48
96
192
384
768
1
8
16
32
64
128
258
512
1024
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
65
SERIAL PERIPHERAL INTERFACE
DETAIL OF CONTROL BITS AND REGISTER MAPPING
Table 22. Timer Register C, Watchdog LP Mode or Flash Mode and Forced Wake-up Timer, TIM_C
MOSI First Byte [15-8]
[b_15 b_14] 01_100 [P/N]
MOSI Second Byte, bits 7-0
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
01 01_ 100 P
WD-LP-F[3]
WD-LP-F[2]
WD-LP-F[1]
WD-LP-F[0]
FWU[3]
FWU[2]
FWU[1]
FWU[0]
Default state
0
0
0
0
0
0
0
0
Condition for default
POR
Table 23. Typical Timing Values
Watchdog in Low Power VDD ON Mode (in ms)
b6, b5, b4
b7
000
001
010
011
100
101
0
12
24
1
16
32
110
111
48
96
192
64
128
256
384
768
1536
512
1024
2048
100
101
110
111
Watchdog in Flash Mode (in ms)
b6, b5, b4
b7
000
001
010
011
0
48 (def)
96
192
384
768
1536
3072
6144
1
256
512
1024
2048
4096
8192
16384
32768
100
101
110
111
Forced Wake Up (in ms)
b2, b1, b0
b3
000
001
010
011
0
48 (def)
96
192
384
768
1536
3072
6144
1
64
128
258
512
1024
2048
4096
8192
33904/5
66
Analog Integrated Circuit Device Data
Freescale Semiconductor
SERIAL PERIPHERAL INTERFACE
DETAIL OF CONTROL BITS AND REGISTER MAPPING
WATCHDOG AND MODE REGISTERS
Table 24. Watchdog refresh register, W/D
MOSI First Byte [15-8]
[b_15 b_14] 01_101 [P/N]
MOSI Second Byte, bits 7-0
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
01 01_ 101 P
0
0
0
0
0
0
0
0
Default state
0
0
0
0
0
0
0
0
Condition for default
POR
Notes
24. The Simple Watchdog Refresh command is in hexadecimal: 5A00. This command is used to refresh the W/D and also to transition
from INIT mode to Normal Mode, and from Normal Request Mode to Normal mode (after a wake up of a reset)
.
Table 25. MODE Register, MODE
MOSI First Byte [15-8]
[b_15 b_14] 01_110 [P/N]
MOSI Second Byte, bits 7-0
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
01 01_ 110 P
Mode[4]
Mode[3]
Mode[2]
Mode[1]
Mode[0]
Rnd_b[2]
Rnd_b[1]
Rnd_b[0]
Default state
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Low Power Vdd OFF selection and FWU / Cyclic Sense selection
b7, b6, b5, b4, b3
FWU
Cyclic Sense
0 1100
off
off
0 1101
off
ON
0 1110
ON
off
0 1111
ON
ON
Table 26.
Low Power Vdd ON selection and operation mode
b7, b6, b5, b4, b3
FWU
Cyclic Sense
Cyclic INT
Watchdog
1 0000
off
off
off
off
1 0001
off
off
off
ON
1 0010
off
off
ON
off
1 0011
off
off
ON
ON
1 0100
off
ON
off
off
1 0101
off
ON
off
ON
1 0110
off
ON
ON
off
1 0111
off
ON
ON
ON
1 1000
ON
off
off
off
1 1001
ON
off
off
ON
1 1010
ON
off
ON
off
1 1011
ON
off
ON
ON
1 1100
ON
ON
off
off
1 1101
ON
ON
off
ON
1 1110
ON
ON
ON
off
ON
ON
ON
ON
1 1111
b2, b1, b0
Random Code inverted, these 3bits are the inverted bits obtained from the
previous SPI command.
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
67
SERIAL PERIPHERAL INTERFACE
DETAIL OF CONTROL BITS AND REGISTER MAPPING
Prior to enter in LP Vdd ON or LP Vdd OFF, the wake up
flags must be cleared or read.
This is done by the following SPI commands: 0xE100 and
oxE380 for CAN and I/O wake up respectively. Ref to table
“Device Flag, I/O real time and Device Identification” for
details.
If wake up flags are not cleared, device will enter in
selected LP mode but will wake up immediately. When the
device is in LP Vdd ON mode, the wake up by SPI command
uses a write to “Normal Request Mode”, 0x5C10.
Mode Register Features
The mode register include specific function and “global
SPI command” that allow the following:
- read device current mode
- read device Debug status
- read state of SAFE terminal
- leave Debug state
- release or turn off SAFE terminal
These global commands are built using the MODE register
adress bit [13-9], along with several combinations of bit [1514] and bit [7]. Note that bit [8] is always set to 1.
The table below summarize these commands
Table 27. Device Modes
Global commands and effects
Read device current Mode, Leave debug mode.
Keep SAFE terminal as is.
MOSI in hexadecimal: 1D 00
MOSI
bits 15-14
bits 13-9
bit 8
bit 7
bits 6-0
00
01 110
1
0
000 0000
MISO
MOSI
Read device current mode
Release SAFE terminal (turn OFF).
MOSI in hexadecimal: 1D 80
bit 15-8
bit 7-3
bit 2-0
Fix Status
device current mode
Random code
bits 15-14
bits 13-9
bit 8
00
01 110
1
MISO
Read device current Mode, Leave debug mode.
Keep SAFE terminal as is.
MOSI in hexadecimal: DD 00
MISO reports Debug and SAFE state (bits 1,0)
Read device current mode, Keep DEBUG mode
Release SAFE terminal (turn OFF).
MOSI in hexadecimal: DD 80
MISO reports Debug and SAFE state (bits 1,0)
MOSI
1
000 0000
bit 7-3
bit 2-0
Fix Status
device current mode
Random code
bits 15-14
bits 13-9
bit 8
11
01 110
1
bit 7
bits 6-0
0
000 0000
bit 15-8
bit 7-3
bit 2
bit 1
bit 0
Fix Status
device current mode
X
SAFE
DEBUG
bits 15-14
bits 13-9
bit 8
bit 7
bits 6-0
11
01 110
1
1
000 0000
MISO
Tables below describe the meaning of MISO bits 7-0, that
allow to decode the device current mode.
Table 28. MISO bits 7-0
bits 6-0
bit 15-8
MISO
MOSI
bit 7
bit 15-8
bit 7-3
bit 2
bit 1
bit 0
Fix Status
device current mode
X
SAFE
DEBUG
Table below describes the SAFE and DEBUG bit
decoding.
Table 29. SAFE and DEBUG status
Device current mode, any of the above command
SAFE and DEBUG bits
b7, b6, b5, b4, b3
MODE
b1
description
0 0000
INIT
0
SAFE terminal OFF, not activated
FLASH
0 0001
FLASH
1
0 0010
Normal Request
b0
0 0011
Normal mode
0
DEBUG mode OFF
1
DEBUG mode Active
33904/5
68
Analog Integrated Circuit Device Data
Freescale Semiconductor
SERIAL PERIPHERAL INTERFACE
DETAIL OF CONTROL BITS AND REGISTER MAPPING
.REGULATOR, CAN, I/O, INT AND LIN REGISTERS
Table 30. (25)REGULATOR register, REG
MOSI First Byte [15-8]
[b_15 b_14] 01_111 [P/N]
MOSI Second Byte, bits 7-0
bit 7
bit 6
01 01_ 111 P
VAUX[1]
Default state
0
Condition for default
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
VAUX[0]
-
5V-can[1]
5V-can[0]
VDD bal en
VDD bal auto
VDD off en
0
N/A
0
0
N/A
N/A
N/A
POR
Bits
b7 b6
POR
Description
VAUX[1], VAUX[0] - Vauxilary regulator control
00
Regulator OFF
01
Regulator ON. Under-voltage (UV) and Over-current (OC) monitoring flags not reported. VAUX disable in case UV or UV
detected after 1.0ms blanking time.
10
Regulator ON. Under-voltage (UV) and Over-current (OC) monitoring flags active. VAUX disable in case UV or UV detected after
1.0ms blanking time.
11
Regulator ON. Under-voltage (UV) and Over-current (OC) monitoring flags active. VAUX disable in case UV or UV detected after
25μs blanking time.
b4 b3
5V-can[1], 5V-can[0] - 5V-CAN regulator control
00
Regulator OFF
01
Regulator ON. Thermal protection active. Under-voltage (UV) and Over-current (OC) monitoring flags not reported.
10
Regulator ON. Thermal protection active. Under-voltage (UV) and Over-current (OC) monitoring flags active.
11
Regulator ON. Thermal protection active. Under-voltage (UV) and Over-current (OC) monitoring flags active. 5V-CAN disable
in case UV or UV detected after 25μs blanking time.
b2
VDD bal en - Control bit to Enable the VDD external ballast transistor
0
External VDD ballast disable
1
External VDD ballast Enable
b1
VDD bal auto - Control bit to automatically Enable the VDD external ballast transistor, if VDD is > typ 60mA
0
Disable the automatic activation of the external ballast
1
Enable the automatic activation of the external ballast, if VDD > typ 60mA
b0
VDD off en - Control bit to allow transition into Low Power VDD OFF Mode (to prevent VDD turn OFF)
0
Disable Usage of Low Power VDD OFF Mode
1
Enable Usage of Low Power VDD OFF Mode
Notes
25. The first time the device is set in Normal mode, the CAN is in Sleep wake-up enable (10). The next time the device is set in Normal
mode, the CAN state is controlled by the bit 7 and bit6 states.
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
69
SERIAL PERIPHERAL INTERFACE
DETAIL OF CONTROL BITS AND REGISTER MAPPING
Table 31. CAN Register, CAN
MOSI First byte [15-8]
[b_15 b_14] 10_000 [P/N]
MOSI Second Byte, bits 7-0
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
01 10_ 000P
CAN mod[1]
CAN mod[0]
Slew[1]
Slew[0]
Wake up 1/3
-
-
CAN int
Default state
1
0
0
0
0
-
-
0
Condition for default
note
POR
Bits
b7 b6
POR
POR
Description
CAN mod[1], CAN mod[0] - CAN interface mode control, wake-up enable / disable
00
CAN interface in Sleep Mode, CAN wake-up disable.
01
CAN interface in receive only mode, CAN driver disable.
10
CAN interface is in Sleep Mode, CAN wake-up enable. In device low power mode,
CAN wake-up is reported by device wake-up. In device normal mode, CAN wake-up reported by INT.
11
CAN interface in transmit and receive mode.
b5 b4
Slew[1] Slew[0] - CAN driver slew rate selection
00
FAST
01
MEDIUM
10
SLOW
11
SLOW
b3
Wake-up 1/3 - Selection of CAN wake-up mechanism
0
3 dominant pulses wake-up mechanism
1
Single dominant pulse wake-up mechanism
b0
CAN INT - Select the CAN failure detection reporting
0
Select INT generation when a bus failure is fully identified and decoded (i.e after 5 dominant pulses on TxCAN)
1
Select INT generation as soon as a bus failure is detected, event if not fully identified
33904/5
70
Analog Integrated Circuit Device Data
Freescale Semiconductor
SERIAL PERIPHERAL INTERFACE
DETAIL OF CONTROL BITS AND REGISTER MAPPING
Table 32. I/O Register, I/O
MOSI First byte [15-8]
[b_15 b_14] 10_001 [P/N]
MOSI Second Byte, bits 7-0
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
01 10_ 001P
I/O-3 [1]
I/O-3 [0]
I/O-2 [1]
I/O-2 [0]
I/O-1 [1]
I/O-1 [0]
I/O-0 [1]
I/O-0 [0]
Default state
0
0
0
0
0
0
0
0
Condition for default
Bits
b7 b6
Description
I/O-3 [1], I/O-3 [0] - I/O-3 terminal operation
00
I/O-3 driver disable, Wake-up capability disable
01
I/O-3 driver disable, Wake-up capability enable.
10
I/O-3 High Side driver enable.
11
I/O-3 High Side driver enable.
b5 b4
I/O-2 [1], I/O-2 [0] - I/O-2 terminal operation
00
I/O-2 driver disable, Wake-up capability disable
01
I/O-2 driver disable, Wake-up capability enable.
10
I/O-2 High Side driver enable.
11
I/O-2 High Side driver enable.
b3 b2
I/O-1 [1], I/O-1 [0] - I/O-1 terminal operation
00
I/O-1 driver disable, Wake-up capability disable
01
I/O-1 driver disable, Wake-up capability enable.
10
I/O-1 Low Side driver enable.
11
I/O-1 High Side driver enable.
b1 b0
POR
I/O-0 [1], I/O-0 [0] - I/O-0 terminal operation
00
I/O-0 driver disable, Wake-up capability disable
01
I/O-0 driver disable, Wake-up capability enable.
10
I/O-0 Low Side driver enable.
11
I/O-0 High Side driver enable.
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
71
SERIAL PERIPHERAL INTERFACE
DETAIL OF CONTROL BITS AND REGISTER MAPPING
Table 33. INT Register, INT
MOSI First byte [15-8]
[b_15 b_14] 10_010 [P/N]
MOSI Second Byte, bits 7-0
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
01 10_ 010P
CAN failure
MCU req
LIN1 fail
LIN0fail
I/O
Default state
0
0
0
0
0
Condition for default
bit 1
bit 0
SAFE
-
Vmon
0
0
0
POR
Bits
Description
b7
CAN failure - control bit for CAN failure INT (CANH/L to GND, VDD or VSUP, CAN over-current, Driver Over Temp, TX-PD,
RX-PR, RX2HIGH, and CANBUS Dominate clamp)
0
INT disable
1
INT enable.
b6
MCU req - Control bit to request an INT. INT will occur once when the bit is enable
0
INT disable
1
INT enable.
b5
not implemented in MC33904
0
INT disable
1
INT enable.
b4
not implemented in MC33904
0
INT disable
1
INT enable.
b3
I/O - Bit to control I/O interruption: I/O Wake-up
0
INT disable
1
INT enable.
b2
SAFE - description to be done
0
INT disable
1
INT enable.
b0
Vmon - enable interruption by voltage monitoring of one of the voltage regulator: VAUX, 5V-CAN, VDD (IDD Over-current,
VDD_Temp_prewarning), VSUV, VSOV, VSENSElow, 5V-CAN low or thermal shutdown, VAUX low or VAUX over-current
0
INT disable
1
INT enable.
33904/5
72
Analog Integrated Circuit Device Data
Freescale Semiconductor
SERIAL PERIPHERAL INTERFACE
DETAIL OF CONTROL BITS AND REGISTER MAPPING
Table 34. LIN 1 Register, LIN1
MOSI First byte [15-8]
[b_15 b_14] 10_010 [P/N]
MOSI Second Byte, bits 7-0
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
01 10_ 011P
LIN mode[1]
LIN mode[0]
Slew rate[1]
Default state
0
0
0
Slew rate[0]
-
0
0
Condition for default
Bits
b7 b6
LIN T1 on
-
Vsup ext
0
0
0
POR
LIN mode [1], LIN mode [0] - LIN 1 interface mode control, wake-up enable / disable
LIN1 disable, wake-up capability disable
01
not used
10
LIN1 disable, wake-up capability enable
11
LIN1 Transmit Receive mode
Slew rate[1], Slew rate[0] LIN 1 slew rate selection
00
Slew rate for 20kbit/s baud rate
01
Slew rate for 10kbit/s baud rate
10
Slew rate for fast baud rate
11
Slew rate for fast baud rate
b2
LIN T1 on
0
LIN 1 termination OFF
1
LIN 1 termination ON
b0
bit 0
Description
00
b5 b4
bit 1
Vsup ext
0
LIN goes recessive when device Vsup2 is below typ 6V. This is to meet J2602 specification
1
LIN continues operation below Vsup2 6V, until 5V-CAN is disabled.
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
73
SERIAL PERIPHERAL INTERFACE
DETAIL OF CONTROL BITS AND REGISTER MAPPING
Table 35. LIN 2 Register, LIN2
MOSI First byte [15-8]
[b_15 b_14] 10_010 [P/N]
MOSI Second Byte, bits 7-0
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
01 10_ 100P
LIN mode[1]
LIN mode[0]
Slew rate[1]
Default state
0
0
0
Slew rate[0]
-
0
0
Condition for default
Bits
b7 b6
LIN T2 on
-
Vsup ext
0
0
0
POR
LIN mode [1], LIN mode [0] - LIN 2 interface mode control, wake-up enable / disable
LIN2 disable, wake-up capability disable
01
not used
10
LIN2 disable, wake-up capability enable
11
LIN2 Transmit Receive mode
Slew rate[1], Slew rate[0] LIN 2slew rate selection
00
Slew rate for 20kbit/s baud rate
01
Slew rate for 10kbit/s baud rate
10
Slew rate for fast baud rate
11
Slew rate for fast baud rate
b2
LIN T2 on
0
LIN 2 temination OFF
1
LIN 2 temination ON
b0
bit 0
Description
00
b5 b4
bit 1
Vsup ext
0
LIN goes recessive when device Vsup2 is below typ 6V. This is to meet J2602 specification
1
LIN continues operation below Vsup2 6V, until 5V-CAN is disabled.
33904/5
74
Analog Integrated Circuit Device Data
Freescale Semiconductor
SERIAL PERIPHERAL INTERFACE
FLAGS
FLAGS
DESCRIPTION
bits 15 and 14: [1 1] for failure flags, or [0 0] for I/O real time
status or device identification.
• bit 13 to 9 are the register address from which the flags is
to be read.
• bit 8 = 1 (this is not parity bit function, as this is a read
command).
The table below is the summary of the device flags, I/O
real time level and device Identification. They are obtained
using the following commands.
This command is composed of the following:
Table 36. Device Flag, I/O real time and Device Identification
Bits
15-14
13-9
8
7
6
5
4
3
2
1
0
MOSI bits 15-7
MOSI
MISO
REG
bits [15,
14]
Address
bit 8
[13-9]
Next 6 MOSI bits (bits 6.0) should be “000_0000”
bit
7
MISO bits [7-0], device response on MISO terminal
8 Bits Device Fixed Status
(bits 15...8)
11
0_1111
REG
1
11
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
0
VAUX_low
VAUX_overcurrent
5V-can_
Thermal
shutdown
5V-can_
UV
5V-can_
over-current
VSENSE_
low
VSUP_
Undervoltage
IDD-OCNORMAL
mode
1
-
-
-
VDD_
Thermal
shutdown
RST_low
(<100ms)
VSUP_
batfail
IDD-OC-LP
Vddon mode
Hexa SPI commands to get Vreg Flags: MOSI Ox DF 00, and MOSI Ox DF 80
CAN
11
1_0000
CAN
1
0
CAN
wake-up
-
CAN Overtemp
RxD low
Rxd high
TxD dom
Bus Dom
clamp
CAN Overcurrent
1
CAN_UF
CAN_F
CANL
to VBAT
CANL to VDD
CANL to
GND
CANH to
VBAT
CANH to VDD
CANH to
GND
Hexa SPI commands to get CAN Flags: MOSI Ox E1 00, and MOSI Ox E1 80
I/O
11
1_0001
I/O
1
0
HS3 short to HS2 short to
GND
GND
1
I/O-1-3
wake-up
SPI parity
error
I/O-0-2 wake- SPI wake-up
up
CSB low
>2ms
VSUP2-UV
VSUP1-OV I/O-O thermal
W/D flash
mode 50%
FWU
INT service
Timeout
Low Power
VDD OFF
Hardware
Leave
Debug
Reset
request
Hexa SPI commands to get I/O Flags and I/O wake up: MOSI Ox E3 00, and MOSI Ox E3 80
00
1_0001
I/O
1
1
I/O-3
state
I/O-2
state
I/O-1 state
I/O-0 state
Hexa SPI commands to get I/O real time level: MOSI Ox 23 00
INT
11
1_0010
Interrupt
1
0
INT request
RST high
DBG resistor
VDD temp
Prewarning
VDD UV
VDD Overvoltage
VAUX_overvoltage
-
1
-
-
-
VDD low
>100ms
VDD low RST
RST low
>100ms
multiple
Resets
W/D refresh
failure
id2
id1
id0
RxD1 high
TxD1 dom
LIN1 bus
dom clamp
RxD2 high
TxD2 dom
LIN2 bus
dom clamp
Hexa SPI commands to get INT Flags: MOSI Ox E5 00, and MOSI Ox E5 80
00
1_0010
Interrupt
1
1
Vdd (5V or
3.3V)
device
p/n 1
device
p/n 0
id4
id3
Hexa SPI commands to get device Identification: MOSI Ox 25 10
MISO bit [7-0] = 1011 0001: MC33904, 5V version, silicon pass 3.0
MISO bit [7-0] = 1011 0010: MC33904, 5V version, silicon pass 3.1
LIN1
11
1_0011
LIN 1
1
0
-
LIN2
11
1_0100
LIN 2
1
0
-
LIN1
wake up
LIN1 Term
short to gnd
LIN 1
Over-temp
RxD1 low
Hexa SPI commands to get LIN 2 Flags: MOSI Ox E7 00
LIN2
wake up
LIN2 Term
short to gnd
LIN 2
Over-temp
RxD2 low
Hexa SPI commands to get LIN 2 Flags: MOSI Ox E9 00
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
75
SERIAL PERIPHERAL INTERFACE
FLAGS
Table 37. Flag Descriptions
Flag
Vaux_low
Description
Description
Reports that VAUX regulator output voltage is lower than the VAUX_UV threshold.
Set / Reset condition
Set: VAUX below threshold for t >100μs typ. Reset: VAUX above threshold and flag read (SPI)
Vaux_overcurrent
Description
Report that current out of VAUX regulator is above VAUX_OC threshold.
Set / Reset condition
Set: Current above threshold for t >100μs. Reset: Current below threshold and flag read by SPI.
5V-can_
Description
Report that the 5V-can regulator has reached over temperature threshold.
Thermal
shutdown
Set / Reset condition
Set: 5V-can thermal sensor above threshold. Reset: thermal sensor below threshold and flag read
(SPI)
5V-can_
Description
Reports that 5V-can regulator output voltage is lower than the 5V-can UV threshold.
UV
Set / Reset condition
Set: 5V-can below 5V-can UV for t >100μs typ. Reset: 5V-can > threshold and flag read (SPI)
5V-can_
Description
Report that the CAN driver output current is above threshold.
over-current
Set / Reset condition
Set: 5V-can current above threshold for t>100us. Reset: 5V-can current below threshold and flag read
(SPI)
VSENSE_
Description
Reports that Vsense terminal is lower than the Vsense low threshold.
low
Set / Reset condition
Set: Vsense below threshold for t >100μs typ. Reset: Vsense above threshold and flag read (SPI)
VSUP_
Description
Reports that Vsup1 terminal is lower than the Vsup1 low resoled.
Under-voltage Set / Reset condition
Set: Vsup1 below threshold for t >100μs typ. Reset: Vsup1 above threshold and flag read (SPI)
IDD-OCNORMAL
mode
Description
Report that current out of Vdd pin is higher that Idd-oc threshold, while device is in Normal mode.
Set / Reset condition
Set: current above threshold for t>100us typ. Reset; current below threshold and flag read (SPI)
VDD_
Description
Report that the Vdd has reached over temperature threshold, and was turned off.
Thermal
shutdown
Set / Reset condition
Set: Vdd off due to thermal condition. Reset: Vdd recover and flag read (SPI)
RST_low
Description
Report that the Reset pin has detected a low level, shorter than 100ms
(<100ms)
Set / Reset condition
Set: after detection of reset low pulse. Reset: Reset pulse terminated and flag read (SPI)
VSUP_
Description
Report that the device voltage at Vsup1 pin was below BATFAIL threshold.
batfail
Set / Reset condition
Set: Vsup1 below BATFAIL. Reset: Vsup1 above threshold, and flag read (SPI)
IDD-OC-LP
Vddon mode
Description
Report that current out of Vdd pin is higher that Idd-oc threshold LP, while device is in Low Power VDD
ON Mode.
Set / Reset condition
Set: current above threshold for t>100us typ. Reset; current below threshold and flag read (SPI)
CAN
Description
Report that wake up source is CAN
wake-up
Set / Reset condition
Set: after CAN wake detected. Reset: Flag read (SPI)
CAN Overtemp
Description
Report that the CAN interface has reach over temperature threshold.
Set / Reset condition
Set: CAN thermal sensor above threshold. Reset: thermal sensor below threshold and flag read (SPI)
RxD low
Description
Report that Rx pin is shorted to gnd.
Set / Reset condition
Set: Rx low failure detected. Reset: failure recovered and flag read (SPI)
Description
Report that Rx pin is shorted to recessive voltage.
Set / Reset condition
Set: Rx high failure detected. Reset: failure recovered and flag read (SPI)
Description
Report that Tx pin is shorted to gnd.
Set / Reset condition
Set: Tx low failure detected. Reset: failure recovered and flag read (SPI)
Description
Report that the CAN bus is dominant for a time longer than tDOM
Set / Reset condition
Set: Bus dominant clamp failure detected. Reset: failure recovered and flag read (SPI)
Rxd high
TxD dom
Bus Dom
clamp
33904/5
76
Analog Integrated Circuit Device Data
Freescale Semiconductor
SERIAL PERIPHERAL INTERFACE
FLAGS
Table 37. Flag Descriptions
Flag
Description
CAN Overcurrent
Description
Report that the CAN current is above CAN over current threshold.
Set / Reset condition
Set: CAN current above threshold. Reset: current below threshold and flag read (SPI)
CAN_UF
Description
Report that the CAN failure detection has not yet identified the bus failure
Set / Reset condition
Set: bus failure pre detection. Reset: CAN bus failure recovered and flag read
Description
Report that the CAN failure detection has identified the bus failure
Set / Reset condition
Set: bus failure complete detetction.Reset: CAN bus failure recovered and flag read
CANL
Description
Report CAN L short to Vbat failure
to VBAT
Set / Reset condition
Set: failure detected. Reset failure recovered and flag read (SPI)
CAN_F
CANL to GND Description
Set / Reset condition
CANL to GND Description
Report CAN L short to gnd failure
Set: failure detected. Reset failure recovered and flag read (SPI)
Report CAN L short to Vbat failure
Set / Reset condition
Set: failure detected. Reset failure recovered and flag read (SPI)
CANH
Description
Report CAN H short to Vbat failure
to VBAT
Set / Reset condition
Set: failure detected. Reset failure recovered and flag read (SPI)
CANH to GND Description
Set / Reset condition
CANH to GND Description
Report CAN H short to gnd failure
Set: failure detected. Reset failure recovered and flag read (SPI)
Report CAN H short to Vbat failure
Set / Reset condition
Set: failure detected. Reset failure recovered and flag read (SPI)
HS3 short to
GND
Description
Report I/O-3 high side switch short to gnd failure
Set / Reset condition
Set: failure detected. Reset failure recovered and flag read (SPI)
HS2 short to
GND
Description
Report I/O-2 high side switch short to gnd failure
Set / Reset condition
Set: failure detected. Reset failure recovered and flag read (SPI)
SPI parity
error
Description
Report SPI parity error was detected.
Set / Reset condition
Set: failure detected. Reset: flag read (SPI)
CSB low >2ms Description
Report SPI CSB was low for a time longer than typ 2ms
Set / Reset condition
Set: failure detected. Reset: flag read (SPI)
Description
Report that VSUP2 is below VSUP2-UV threshold.
Set / Reset condition
Set VSUP2 below VSUP2-UV thresh. Reset VSUP2 > VSUPUV thresh and flag read (SPI)
Description
Report that VSUP1 is above VSUP1-OV threshold.
Set / Reset condition
Set VSUP1 above VSUP1-OV thresh. Reset VSUP1 < VSUPOV thresh and flag read (SPI)
Description
Report that the I/O-0 high side switch has reach over temperature threshold.
Set / Reset condition
Set: I/O-0 high side switch thermal sensor above threshold. Reset: thermal sensor below threshold
and flag read (SPI)
W/D flash
mode 50%
Description
Report that the W/D period has reach 50% of its value, while device is in Flash mode.
Set / Reset condition
Set: W/D period > 50%. Reset: flag read
I/O-1-3 wakeup
Description
Report that wake up source is I/O-1 or I/O-3
Set / Reset condition
Set: after I/O-1 or I/O-3 wake detected. Reset: Flag read (SPI)
I/O-0-2 wakeup
Description
Report that wake up source is I/O-0 or I/O-2
Set / Reset condition
Set: after I/O-0 or I/O-2 wake detected. Reset: Flag read (SPI)
SPI wake-up
Description
Report that wake up source is SPI command, in Low Power VDD ON Mode.
Set / Reset condition
Set: after SPI Wake Up detected. Reset: Flag read (SPI)
VSUP2-UV
VSUP1-OV
I/O-O thermal
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
77
SERIAL PERIPHERAL INTERFACE
FLAGS
Table 37. Flag Descriptions
Flag
FWU
Description
Description
Report that wake up source is Forced Wake Up
Set / Reset condition
Set: after Forced Wake Up detected. Reset: Flag read (SPI)
INT service
Timeout
Description
Report that INT time out error detected.
Set / Reset condition
Set: INT service time out expired. Reset: flag read.
Low Power
VDD OFF
Description
Report that Low Power VDD OFF Mode was selected, prior wake up occurred.
Set / Reset condition
Set: Low Power VDD OFF selected. Reset: Flag read (SPI)
Reset request
Description
Report that RST source is an request from a SPI command (go to RST mode).
Set / Reset condition
Set: After reset occurred due to SPI request. Reset: flag read (SPI)
Description
Report that the device left the Debug mode due to Hardware cause (voltage at DBG pin lower than
typ 8V).
Set / Reset condition
Set: device leave debug mode due to Hardware cause. Reset: flag read.
Description
Report that INT source is an INT request from a SPI command.
Set / Reset condition
Set: INT occurred. Reset: flag read (SPI)
Description
Report that RST pin is shorted to high voltage.
Set / Reset condition
Set: RST failure detection. Reset: flag read.
Description
Report that the resistor at DBG pin is different from expected (different from SPI register content).
Set / Reset condition
Set: failure detected. Reset: correct resistor and flag read (SPI).
VDD temp
Prewarning
Description
Report that the Vdd has reached over temperature pre warning threshold.
Set / Reset condition
Set: Vdd thermal sensor above threshold. Reset: Vdd thermal sensor below threshold and flag read
(SPI)
VDD UV
Description
Reports that VDD terminal is lower than the VDDUV threshold.
Set / Reset condition
Set: VDD below threshold for t >100μs typ. Reset: VDD above threshold and flag read (SPI)
Description
Reports that VDD terminal is higher than the typ Vdd + 0.6V threshold. I/O-1 can be turned OFF if this
function is selected in INIT register.
Set / Reset condition
Set: VDD above threshold for t >100μs typ. Reset: VDD below threshold and flag read (SPI)
Description
Reports that Vaux terminal is higher than the typ Vaux + 0.6V threshold. I/O-1 can be turned OFF if
this function is selected in INIT register.
Set / Reset condition
Set: Vaux above threshold for t >100μs typ. Reset: Vaux below threshold and flag read (SPI)
VDD low
>100ms
Description
Reports that VDD terminal is lower than the VDDUV threshold for a time longer than 100ms
Set / Reset condition
Set: VDD below threshold for t >100ms typ. Reset: VDD above threshold and flag read (SPI)
VDD low
Description
Report that Vdd is below Vdd undervoltage threshold.
Set / Reset condition
Set: Vdd below threshold. Reset: fag read (SPI)
RST low
>100ms
Description
Report that the Reset pin has detected a low level, longer than 100ms (Reset permanent low)
Set / Reset condition
Set: after detection of reset low pulse. Reset: Reset pulse terminated and flag read (SPI)
multiple
Resets
Description
Report that the more than 8 consecutive reset pulses occurred, due to missing or wrong W/D refresh.
Set / Reset condition
Set: after detection of multiple reset pulses. Reset: flag read (SPI)
W/D refresh
failure
Description
Report that a wrong or missing W/D failure occurred.
Set / Reset condition
Set: failure detected. reset: flag read (SPI)
LIN1/2
Description
Report that wake up source is LIN1 or LIN2
wake up
Set / Reset condition
Set: after LIN1 or LIN 2 wake detected. Reset: Flag read (SPI)
LIN1/2 Term
short to gnd
Description
Report LIN term 1 or LIN term 2 short to gnd failure
Set / Reset condition
Set: failure detected. Reset failure recovered and flag read (SPI)
Hardware
Leave Debug
INT request
RST high
DBG resistor
VDD Overvoltage
VAUX_overvoltage
33904/5
78
Analog Integrated Circuit Device Data
Freescale Semiconductor
SERIAL PERIPHERAL INTERFACE
FLAGS
Table 37. Flag Descriptions
Flag
Description
LIN 1
Description
Report that the LIN1 or LIN 2 interface has reach over temperature threshold.
Over-temp
Set / Reset condition
Set: LIN1 /LIN2 thermal sensor above threshold. Reset: sensor below threshold and flag read (SPI)
RxD1 low
Description
Report that RxD1 / RxD2 pin is shorted to gnd.
Set / Reset condition
Set: Rx low failure detected. Reset: failure recovered and flag read (SPI)
Description
Report that RxD1 / RxD2 pin is shorted to recessive voltage.
Set / Reset condition
Set: Rx high failure detected. Reset: failure recovered and flag read (SPI)
Description
Report that TxD1 / RxD2 pin is shorted to gnd.
Set / Reset condition
Set: Tx low failure detected. Reset: failure recovered and flag read (SPI)
Description
Report that the LIN1 / LIN2 bus is dominant for a time longer than tDOM
Set / Reset condition
Set: Bus dominant clamp failure detected. Reset: failure recovered and flag read (SPI)
RxD1 high
TxD1 dom
LIN1 bus dom
clamp
FIX AND EXTENDED DEVICE STATUS
one byte
For every SPi command the device response on MISO is
a fix status information. This information is either:
Fix Status: when a device read operation is performed
(MOSI bits 15-14, bits C1 C0 = 00 or 11).
two bytes
Fix Status + Extended Status: when a device write
command is used (MOSI bits 15-14, bits C1 C0 = 01)
Table 38. status bits description
Bits
15
14
13
12
11
10
MOSI
INT
WU
RST
CAN-G
LIN-G
I/O-G
9
8
SAFE-G VREGG
Bits
7
6
5
4
3
2
CANBUS
CANLOC
LIN1
LIN0
I/O-1
I/O-0
1
Description
INT
Indicate that an INT has occurred and that INT flags are pending to be read.
WU
Indicate that an Wake Up has occurred and that Wake Up flags are pending to be read.
RST
Indicate that an Reset has occurred and that the flags that report the Reset source are pending to be read.
CAN-G
I/O-G
0
VREG-1 VREG0
The INT, or WU or RST source is CAN interface. CAN local or CAN bus source.
The INT, or WU or RST source is I/O interfaces.
SAFE-G
The INT, or WU or RST source is from a SAFE condition
VREG-G
The INT, or WU or RST source is from a Regulator event, or voltage monitoring event
CAN-LOC
The INT, or WU or RST source is CAN interface. CAN local source.
CAN-BUS
The INT, or WU or RST source is CAN interface. CAN bus source.
I/O-1
The INT, or WU or RST source is I/O interface, flag from I/O sub adress Low (bit 7 =0)
I/I-0
The INT, or WU or RST source is I/O interface, flag from I/O sub adress High (bit 7 =1)
VREG-1
The INT, or WU or RST source is from a Regulator event, flag from REG register sub adress high (bit 7 =1)
VREG-0
The INT, or WU or RST source is from a Regulator event, flag from REG register sub adress low (bit 7 =0)
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
79
TYPICAL APPLICATIONS
TYPICAL APPLICATIONS
* = Optional
5.0 V (3.3 V)
Q2
RF module
Switch Detection Interface
eSwitch
Safing Micro Controller
CAN xcvr
>2.2uF
<10k
VBAT
VBAUX VCAUX VAUX
D1
VSUP
22uF
Q1*
VE
VSUP2
100nF
VB
VDD
VSUP1
(26)
DBG
>1uF
1k
VBAT
22k
100nF
5V-CAN
VSENSE
I/O-0
VSUP
I/O-1
CANH
INT
A/D
4.7k *
MCU
SPI
CAN
CANL
TXDL1
RXDL1
LIN1
TXDL2
RXDL2
LIN2
LIN TERM1
1.0 k
INT
MUX
TXD
RXD
4.7nF
VSUP1/2
RST
SPLIT
60
60
RST
MOSI
SCLK
MISO
CS
100nF
CAN BUS
VDD
>4.7uF
1.0 k
LIN BUS 1
option 1
option 2
LIN1
LIN TERM2
VSUP1/2
1.0 k
1.0 k
LIN BUS 1
LIN2
option 1
option 2
GND
SAFE
VSUP
VSUP
Safe Circuitry
Notes
26. Cap > 10uF required to pass EMC requirement according to
“OEM_HW_Requirement-For CAN_LIN_FR-interface_V10_20081210” or newer
Figure 36. 33905D Typical Application Schematic
33904/5
80
Analog Integrated Circuit Device Data
Freescale Semiconductor
TYPICAL APPLICATIONS
* = Optional
5.0 V (3.3 V)
Q2
RF module
Switch Detection Interface
eSwitch
Safing Micro Controller
CAN xcvr
>2.2uF
<10k
VBAT
VBAUX VCAUX VAUX
D1
VSUP
VSUP2
22uF
100nF
VB
VSUP1
(27)
DBG
>1uF
1k
VBAT
22k
5V-CAN
VSENSE
100nF
VSUP
I/O-0
>4.7uF
RST
RST
INT
INT
MUX
A/D
I/O-1
I/O-3
TXD
RXD
VSUP
CANH
VDD
VDD
MOSI
SCLK
MISO
CS
100nF
4.7k *
CAN
LIN1
RXDL1
SPLIT
MCU
SPI
TXDL1
60
60
Q1*
VE
4.7nF
CAN BUS
CANL
LIN TERM1
VSUP1/2
1.0 k
1.0 k
LIN BUS 1
option 1
option 2
LIN1
GND
SAFE
VSUP
VSUP
Safe Circuitry
Notes
27. Cap > 10uF required to pass EMC requirement according to
“OEM_HW_Requirement-For CAN_LIN_FR-interface_V10_20081210” or newer
Figure 37. 33905S Typical Application Schematic
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
81
TYPICAL APPLICATIONS
* = Optional
5V (3.3 V)
Q2
RF module
Switch Detection Interface
eSwitch
Safing Micro Controller
CAN xcvr
>2.2uF
<10k
VBAT
VBAUX VCAUX VAUX VE
D1
VSUP
22uF
100nF
(28)
VBAT
22k
VSUP
>1uF
1k
100nF
1k
VSUP2
VB
VSUP1
VDD
5V-CAN
VSENSE
RST
RST
INT
INT
MUX
A/D
MOSI
SCLK
MISO
CS
100nF
I/O-1
VBAT
22k
VDD
>4.7uF
DBG
I/O-0
1k
4.7k *
MCU
SPI
TXD
RXD
I/O-2
VSUP
Q1*
100nF
CAN
I/O-3
CANH
60
60
CAN BUS
SPLIT
4.7nF
CANL
GND
SAFE
VSUP
VSUP
OR
function
Safe Circuitry
Notes
28. Cap > 10uF required to pass EMC requirement according to
“OEM_HW_Requirement-For CAN_LIN_FR-interface_V10_20081210” or newer
Figure 38. 33904A Typical Application Schematic
33904/5
82
Analog Integrated Circuit Device Data
Freescale Semiconductor
TYPICAL APPLICATIONS
The following figure illustrates the application case
where 2 reverse battery diodes can be used for optimization
of the filtering and buffering capacitor at the VDD pin. This
allows using a minimum value capacitor at the VDD pin to
guarantee reset free operation of the MCU during the
cranking pulse, and temporary (50 ms) loss of the VBAT
supply.
Applications without an external ballast on VDD and
without using the VAUX regulator are illustrated as well.
Q2
5 V/3.3 V
Q2
VBAT
5 V/3.3 V
D2
VBAT
VBAUX VCAUX
D1
C2
VAUX
VBAUX VCAUX VAUX
Q1
VSUP2
VE
VSUP1
VB
Q1
VSUP2
D1
VE
VSUP1
VB
C1
VDD
VDD
Partial View
Partial View
ex2: Split VSUP Supply
ex1: Single VSUP Supply
Optimized solution for cranking pulses.
C1 is sized for MCU power supply buffer only.
Q2
5 V/3.3 V
VBAT
VBAT
D1
VBAUX VCAUX VAUX
D1
VSUP2
VE
VSUP2
VSUP1
VBAUX VCAUX VAUX
VE
VSUP1
VB
VB
VDD
VDD
Partial View
Partial View
ex 3: No External Transistor, VDD ~100 mA Capability
delivered by internal path transistor.
ex 4: No External Transistor - No VAUX
Figure 39. Application Options
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
83
PACKAGING
SOIC 32 PACKAGE DIMENSIONS
PACKAGING
SOIC 32 PACKAGE DIMENSIONS
For the most current package revision, visit www.freescale.com and perform a keyword search using the “98A” listed below.
EK SUFFIX (PB-FREE)
32-PIN SOIC WIDE BODY
EXPOSED PAD
98ASA10556D
REVISION D
33904/5
84
Analog Integrated Circuit Device Data
Freescale Semiconductor
PACKAGING
SOIC 32 PACKAGE DIMENSIONS
EK SUFFIX (PB-FREE)
32-PIN SOIC WIDE BODY
EXPOSED PAD
98ASA10556D
REVISION D
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
85
PACKAGING
SOIC 32 PACKAGE DIMENSIONS
EK SUFFIX (PB-FREE)
32-PIN SOIC WIDE BODY
EXPOSED PAD
98ASA10556D
REVISION D
33904/5
86
Analog Integrated Circuit Device Data
Freescale Semiconductor
PACKAGING
SOIC 54 PACKAGE DIMENSIONS
SOIC 54 PACKAGE DIMENSIONS
EK SUFFIX (PB-FREE)
54-PIN SOIC WIDE BODY
EXPOSED PAD
98ASA10506D
REVISION D
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
87
PACKAGING
SOIC 54 PACKAGE DIMENSIONS
EK SUFFIX (PB-FREE)
54-PIN SOIC WIDE BODY
EXPOSED PAD
98ASA10506D
REVISION D
33904/5
88
Analog Integrated Circuit Device Data
Freescale Semiconductor
PACKAGING
SOIC 54 PACKAGE DIMENSIONS
EK SUFFIX (PB-FREE)
54-PIN SOIC WIDE BODY
EXPOSED PAD
98ASA10506D
REVISION D
33904/5
Analog Integrated Circuit Device Data
Freescale Semiconductor
89
REVISION HISTORY
REVISION HISTORY
REVISION
DATE
DESCRIPTION OF CHANGES
1.0
11/2009
•
Initial Release
2.0
1/2010
•
•
•
•
•
•
Updated LIN 2.0 to LIN 2.1 throughout document
Changed Pin VC to VE
Changed Pin VBASE to VB
Added note to Simplified Application and Typical Application drawings for Q1 to be optional.
Updated Parameters Tables.; Timing accuracy added, CAN wake and CANL/CANH input current.
Changed default setting of: INIT Reg register, bit7, I/Ox sync - INIT W/D register, bit 6 MCU_OC
and bit 1 W/D N/Win
3.0
2/2010
•
Re-arranged the order of the devices.
33904/5
90
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 China Ltd.
Exchange Building 23F
No. 118 Jianguo Road
Chaoyang District
Beijing 100022
China
+86 10 5879 8000
[email protected]
For Literature Requests Only:
Freescale Semiconductor Literature Distribution Center
P.O. Box 5405
Denver, Colorado 80217
1-800-441-2447 or +1-303-675-2140
Fax: +1-303-675-2150
[email protected]
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. 2010. All rights reserved.
MC33904_5
Rev. 3.0
2/2010