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 13 of 70
NXP Semiconductors
UJA1066
High-speed CAN fail-safe system basis chip
The following corrupted watchdog accesses result in an immediate system reset:
Illegal watchdog period coding; only ten different codes are valid
Illegal operating mode coding; only six different codes are valid
Any microcontroller-driven mode change is synchronized with a watchdog access by
reading the mode information and the watchdog period information from the same
register. This facilitates easy software flow control with defined watchdog behavior when
switching between different software modules.
6.4.1 Watchdog start-up behavior
Following any reset event, the watchdog is used to monitor the ECU start-up procedure. It
checks the behavior of the RSTN pin for clamping conditions or an interrupted reset wire.
If the watchdog is not properly served within t
WD(init)
, another reset is forced and the
monitoring procedure is restarted. If the watchdog is again not properly served, the
system enters Fail-safe mode (see also Figure 3
, Start-up mode and Restart mode).
6.4.2 Watchdog window behavior
When the SBC enters Normal mode, the Window mode of the watchdog is activated. This
ensures that the microcontroller operates within the required speed window; an operation
that is too fast or too slow will be detected. Watchdog triggering using Window mode is
illustrated in Figure 4
.
The SBC provides 10 different period timings, scalable with a 4-factor watchdog prescaler.
The period can be changed within any valid trigger window. Whenever the watchdog is
triggered within the window time frame, the timer will be reset to start a new period.
Fig 4. Watchdog triggering using Window mode
mce62
6
trigger window
trigger
window
too early
trigger
restarts
period
50 %
trigger
via SPI
trigger
via SPI
last
trigger point
earliest possible
trigger point
latest possible
trigger point
earliest
possible
trigger
point
latest
possible
trigger
point
too early
trigger restarts period
(with different duration if
desired)
period
100 %
50 % 100 %
new period
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 14 of 70
NXP Semiconductors
UJA1066
High-speed CAN fail-safe system basis chip
The watchdog window is defined to be between 50 % and 100 % of the nominal
programmed watchdog period. Any ‘too early’ or ‘too late’ watchdog access or incorrect
Mode register code access will result in an immediate system reset, when the SBC will
revert to Start-up mode.
6.4.3 Watchdog time-out behavior
When the SBC is in Standby, Sleep or Flash mode, the active watchdog operates in
Time-out mode. The watchdog has to be triggered within the programmed time frame (see
Figure 5
). Time-out mode can be used to generate cyclic wake-up events for the host
microcontroller from Standby and Sleep modes.
In Standby and Flash modes, the nominal periods can be changed with any SPI access to
the Mode register.
Any illegal watchdog trigger code results in an immediate system reset, when the SBC will
revert to Start-up mode.
6.4.4 Watchdog OFF behavior
In Standby and Sleep modes, the watchdog can be switched off entirely. For fail-safe
reasons this is only possible if the microcontroller has halted program execution. To
ensure that there is no continuing program execution, the V1 supply current is monitored
by the SBC while the watchdog is switched off.
When selecting the watchdog OFF code, the watchdog remains active until the
microcontroller supply current has dropped below the current monitoring threshold I
thL(V1)
.
Once the supply current has dropped below this threshold, the watchdog stops at the end
of the watchdog period. The watchdog will remain active as long as the supply current
remains above the monitoring threshold.
Fig 5. Watchdog triggering using Time-out mode
mce62
7
trigger
via SPI
earliest
possible
trigger
point
latest
possible
trigger
point
trigger restarts period
(with different duration if
desired)
new period
trigger range
trigger range time-out
time-out
period
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 15 of 70
NXP Semiconductors
UJA1066
High-speed CAN fail-safe system basis chip
If the microcontroller supply current rises above I
thH(V1)
while the watchdog is OFF, the
watchdog will be restarted using the watchdog period last used and, if enabled, a
watchdog restart interrupt will be generated.
In the case of a direct mode change to Standby with watchdog OFF selected, the longest
possible watchdog period is used. It should be noted that V1 current monitoring is not
active in Sleep mode.
6.5 System reset
The reset function of the UJA1066 provides two signals to deal with reset events:
RSTN; the global ECU system reset
EN; a fail-safe global enable signal
6.5.1 RSTN pin
The system reset pin (RSTN) is a bidirectional input/output. RSTN is active LOW with a
selectable pulse length triggered by the following events (see Figure 3
):
Power-on (first battery connection) or V
BAT42
below power-on reset threshold voltage
Low V1 supply
V1 current above threshold in Standby mode while watchdog OFF behavior is
selected
V3 is down due to short-circuit condition in Sleep mode
RSTN externally forced LOW, falling edge event
Successful preparation for Flash mode completed
Successful exit from Flash mode
Wake-up from Standby mode via pins CAN or WAKE if programmed accordingly, or
any wake-up event from Sleep mode
Wake-up event from Fail-safe mode
Watchdog trigger failure (too early, overflow, wrong code)
Illegal mode code applied via SPI
Interrupt not served within t
RSTN(INT)
The source of the reset event can be determined by reading the RSS[3:0] bits in the
System Status registers.
The SBC will lengthen a reset event, to 1 ms or 20 ms, to ensure that external hardware is
properly reset. When the battery is connected initially, a short power-on reset of 1 ms is
generated once voltage V1 is present. Once started, the microcontroller can set the Reset
Length Control (RLC) bit in the System Configuration register; this allows the reset pulse
to be adjusted for future reset events. When this bit is set, reset events are lengthened to
20 ms. Fail-safe behavior ensures that this bit is set automatically (to 20 ms) in Restart
and Fail-safe modes. This mechanism guarantees that an erroneously shortened reset
pulse will still restart the microcontroller, at least within the second trial period by using the
long reset pulse.

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