UJA1066_2 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2010. All rights reserved.
Product data sheet Rev. 03 — 17 March 2010 7 of 70
NXP Semiconductors
UJA1066
High-speed CAN fail-safe system basis chip
6. Functional description
6.1 Introduction
The UJA1066 combines all the peripheral functions found around a microcontroller in a
typical automotive networking application in a single, dedicated chip. These functions are:
Power supply for the microcontroller
Power supply for the CAN transceiver
Switched BAT42 output
System reset
Watchdog with Window and Time-out modes
On-chip oscillator
High-speed CAN transceiver for serial communication; suitable for 14 V and 42 V
applications
SPI control interface
Local wake-up input
Inhibit or limp-home output
System inhibit output port
Compatible with 42 V power supply systems
Fail-safe behavior
6.2 Fail-safe system controller
The fail-safe system controller is at the core of the UJA1066 and is supervised by a
watchdog timer that is clocked directly by the dedicated on-chip oscillator. The system
controller manages the register configuration and controls the internal functions of the
SBC. Detailed device status information is collected and presented to the microcontroller.
The system controller also provides the reset and interrupt signals.
The fail-safe system controller is a state machine. The SBC operating modes, and how
transitions between modes are triggered, are illustrated in Figure 3
. These modes are
discussed in more detail in the following sections.
UJA1066_2 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2010. All rights reserved.
Product data sheet Rev. 03 — 17 March 2010 8 of 70
NXP Semiconductors
UJA1066
High-speed CAN fail-safe system basis chip
Fig 3. Main state diagram
001aag305
flash entry enabled (111/001/111 mode sequence)
OR mode change to Sleep with pending wake-up
OR watchdog not properly served
OR interrupt ignored > t
RSTN(INT)
OR RSTN falling edge detected
OR V1 undervoltage detected
OR illegal Mode register code
wake-up detected with its wake-up interrupt disabled
OR mode change to Sleep with pending wake-up
OR watchdog time-out with watchdog timeout interrupt disabled
OR watchdog OFF and I
V1
> I
thH(V1)
with reset option
OR interrupt ignored > t
RSTN(INT)
OR RSTN falling edge detected
OR V1 undervoltage detected
OR illegal Mode register code
Start-up mode
V1: ON
SYSINH: HIGH
CAN: on-line/on-line listen/off-line
watchdog: start-up
INH/LIMP: HIGH/ LOW/float
EN: LOW
Restart mode
V1: ON
SYSINH: HIGH
CAN: on-line/on-line listen/off-line
watchdog: start-up
INH/LIMP: LOW/ float
EN: LOW
Sleep mode
V1: OFF
SYSINH: HIGH/float
CAN: on-line/on-line listen/off-line
watchdog: time-out/OFF
INH/LIMP: LOW/ float
RSTN: LOW
EN: LOW
Fail-safe mode
V1: OFF
SYSINH: HIGH/float
CAN: on-line/on-line listen/off-line
watchdog: OFF
INH/LIMP: LOW
RSTN: LOW
EN: LOW
Normal mode
V1: ON
SYSINH: HIGH
CAN: all modes available
watchdog: window
INH/LIMP: HIGH/ LOW/float
EN: HIGH/LOW
Flash mode
V1: ON
SYSINH: HIGH
CAN: all modes available
watchdog: time-out
INH/LIMP: HIGH/ LOW/float
EN: HIGH/LOW
Standby mode
V1: ON
SYSINH: HIGH
CAN: on-line/on-line listen/off-line
watchdog: time-out/OFF
INH/LIMP: HIGH/ LOW/float
EN: HIGH/LOW
mode change via SPImode change via SPI
mode change via SPI
wake-up detected
OR watchdog time-out
OR V3 overload detected
wake-up detected
AND oscillator ok
AND t > t
ret
t > t
WD(init)
OR SPI clock count <> 16
OR RSTN falling edge detected
OR RSTN released and V1 undervoltage detected
OR illegal Mode register code
t > t
WD(init)
OR SPI clock count <> 16
OR RSTN falling edge detected
OR RSTN released and V1 undervoltage detected
OR illegal Mode register code
leave Flash mode code
OR watchdog time-out
OR interrupt ignored > t
RSTN(INT)
OR RSTN falling edge detected
OR V1 undervoltage detected
OR illegal Mode register code
init Flash mode via SPI
AND flash entry enabled
init Normal mode
via SPI successful
init Normal mode
via SPI successful
supply connected
for the first time
from any
mode
oscillator fail
OR RSTN externally clamped HIGH detected > t
RSTN(CHT)
OR RSTN externally clamped LOW detected > t
RSTN(CLT)
OR V1 undervoltage detected > t
V1(CLT)
watchdog
trigger
watchdog
trigger
mode change via SPI
watchdog
trigger
UJA1066_2 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2010. All rights reserved.
Product data sheet Rev. 03 — 17 March 2010 9 of 70
NXP Semiconductors
UJA1066
High-speed CAN fail-safe system basis chip
6.2.1 Start-up mode
Start-up mode is the ‘home page’ of the SBC. This mode is entered when battery and
ground are connected for the first time. Start-up mode is also entered after any event that
results in a system reset. The reset source information is provided by the SBC to support
software initialization cycles that depend on the reset event.
It is also possible to enter Start-up mode via a wake-up from Standby mode, Sleep mode
or Fail-safe mode. Such a wake-up event can be triggered in the CAN-bus or by the local
WAKE pin.
A lengthened reset time, t
RSTNL
, is observed on entering Start-up mode. This reset time is
either user-defined (via the RLC bit in the System Configuration register; see Table 11
and
Table 27
) or defaults to the value given in Section 6.12.12. Pin RSTN is held LOW by the
SBC during the reset lengthening time.
When the reset time has elapsed (pin RSTN is released and goes HIGH) the watchdog
timer will wait to be initialized. If the watchdog initialization is successful, the selected
operating mode (Normal mode or Flash mode) will be entered. Otherwise the SBC will
enter Restart mode.
6.2.2 Restart mode
The purpose of Restart mode is to give the application a second chance to start up,
should the first attempt from Start-up mode fail. Entering Restart mode will always set the
reset lengthening time t
RSTNL
to the higher value (see Table 27) to guarantee the
maximum reset length, regardless of previous events.
If start-up from Restart mode is successful (the earlier problems do not recur and
watchdog initialization is successful), the SBC will enter Normal mode (see Figure 3
). If
problems persist or if V1 fails to start up, the SBC will enter Fail-safe mode.
6.2.3 Fail-safe mode
Severe fault situations will cause the SBC to enter Fail-safe mode. Fail-safe mode is also
entered if start-up from Restart mode fails. Fail-safe mode offers the lowest possible
system power consumption from the SBC and from the external components controlled by
the SBC.
A wake-up (via the CAN-bus or the WAKE pin) is needed to leave Fail-safe mode. This is
only possible if the on-chip oscillator is running correctly. The SBC restarts from Fail-safe
mode with a defined delay, t
ret
, to guarantee a discharged V1 before entering Start-up
mode. Regulator V1 will restart and t
RSTNL
will be set to the higher value (see
Section 6.5.1
).
6.2.4 Normal mode
Normal mode gives access to all SBC system resources, including CAN, INH/LIMP and
EN. The SBC watchdog runs in (programmable) Window mode to guarantee the strictest
software supervision. A system reset is performed whenever the watchdog is not being
properly served.
Interrupts from the SBC to the host microcontroller are also monitored. A system reset is
performed if the host microcontroller does not respond within t
RSTN(INT)
.

UJA1066TW/5V0/T

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
CAN Interface IC IC CAN/LIN FAIL-SAFE HS 32
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union