UJA1164 Mini high-speed CAN system basis chip with Standby mode & watchdog Rev. 1 — 5 August 2013 Product data sheet 1. General description The UJA1164 is a mini high-speed CAN System Basis Chip (SBC) containing an ISO 11898-2/5 compliant HS-CAN transceiver and an integrated 5 V/100 mA supply for a microcontroller. It also features a watchdog and a Serial Peripheral Interface (SPI). The UJA1164 can be operated in a very low-current Standby mode with bus wake-up capability and supports ISO 11898-6 compliant autonomous CAN biasing. A number of configuration settings are stored in non-volatile memory, allowing the SBC to be adapted for use in a specific application. This makes it possible to configure the power-on behavior of the UJA1164 to meet the requirements of different applications. 2. Features and benefits 2.1 General ISO 11898-2 and ISO 11898-5 compliant high-speed CAN transceiver Autonomous bus biasing according to ISO 11898-6 Fully integrated 5 V/100 mA low-drop voltage regulator for 5 V microcontroller supply (V1) Bus connections are truly floating when power to pin BAT is off 2.2 Designed for automotive applications 8 kV ElectroStatic Discharge (ESD) protection, according to the Human Body Model (HBM) on the CAN bus pins 6 kV ESD protection, according to IEC 61000-4-2 on the CAN bus pins and on pin BAT CAN bus pins short-circuit proof to 58 V Battery and CAN bus pins protected against automotive transients according to ISO 7637-3 Very low quiescent current in Standby mode with full wake-up capability Leadless HVSON14 package (3.0 mm 4.5 mm) with improved Automated Optical Inspection (AOI) capability and low thermal resistance Dark green product (halogen free and Restriction of Hazardous Substances (RoHS) compliant) 2.3 Low-drop voltage regulator for 5 V microcontroller supply (V1) 5 V nominal output; 2 % accuracy 100 mA output current capability UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog Current limiting above 150 mA On-resistance of 5 (max) Support for microcontroller RAM retention down to a battery voltage of 2 V Undervoltage reset with selectable detection thresholds: 60 %, 70 %, 80 % or 90 % of output voltage Excellent transient response with a 4.7 F ceramic output capacitor Short-circuit to GND/overload protection on pin V1 2.4 Power Management Standby mode featuring very low supply current; voltage V1 remains active to maintain the supply to the microcontroller Remote wake-up capability via standard CAN wake-up pattern Wake-up source recognition Remote wake-up can be disabled to reduce current consumption 2.5 System control and diagnostic features Mode control via the Serial Peripheral Interface (SPI) Overtemperature warning and shutdown Watchdog with independent clock source Watchdog can be operated in Window, Timeout and Autonomous modes Optional cyclic wake-up in watchdog Timeout mode Watchdog automatically re-enabled when wake-up event captured Watchdog period selectable between 8 ms and 4 s Supports remote flash programming via the CAN bus 16-, 24- and 32-bit SPI for configuration, control and diagnosis Bidirectional reset pin with variable power-on reset length to support a variety of microcontrollers Configuration of selected functions via non-volatile memory 3. Ordering information Table 1. Ordering information Type number UJA1164TK UJA1164 Product data sheet Package Name Description Version HVSON14 plastic thermal enhanced very thin small outline package; no leads; 14 terminals; body 3 4.5 0.85 mm SOT1086-2 All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 2 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 4. Block diagram UJA1164 5 BAT 10 5 V MICROCONTROLLER SUPPLY (V1) 3 RSTN V1 WATCHDOG RXD TXD SCK SDI SDO SCSN 4 HS-CAN 1 13 12 CANH CANL 8 11 SPI 6 14 2 GND Fig 1. UJA1164 Product data sheet 015aaa268 Block diagram of UJA1164 All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 3 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 5. Pinning information 5.1 Pinning terminal 1 index area TXD 1 14 SCSN GND 2 13 CANH V1 3 12 CANL RXD 4 RSTN 5 10 BAT SDO 6 9 i.c. i.c. 7 8 SCK UJA1164 11 SDI 015aaa441 Transparent top view Fig 2. Pin configuration diagram 5.2 Pin description Table 2. Symbol Pin Description TXD 1 transmit data input GND 2[1] ground V1 3 5 V microcontroller supply voltage RXD 4 receive data output; reads out data from the bus lines RSTN 5 reset input/output SDO 6 SPI data output i.c. 7 internally connected; should be left floating or connected to GND SCK 8 SPI clock input i.c. 9 internally connected; should be left floating or connected to GND BAT 10 battery supply voltage SDI 11 SPI data input CANL 12 LOW-level CAN bus line CANH 13 HIGH-level CAN bus line SCSN 14 SPI chip select input [1] UJA1164 Product data sheet Pin description HVSON14 package die supply ground is connected to both the GND pin and the exposed center pad. The GND pin must be soldered to board ground. For enhanced thermal and electrical performance, it is recommended to also solder the exposed center pad to board ground. All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 4 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 6. Functional description 6.1 System controller The system controller manages register configuration and controls the internal functions of the UJA1164. Detailed device status information is collected and made available to the microcontroller. 6.1.1 Operating modes The system controller contains a state machine that supports six operating modes: Normal, Standby, Reset, Forced Normal, Overtemp and Off. The state transitions are illustrated in Figure 3. 6.1.1.1 Normal mode Normal mode is the active operating mode. In this mode, all the hardware on the device is available and can be activated (see Table 3). Voltage regulator V1 is enabled to supply the microcontroller. The CAN interface can be configured to be active and thus to support normal CAN communication. Depending on the SPI register settings, the watchdog may be running in Window or Timeout mode. Normal mode can be selected from Standby mode via an SPI command (MC = 111). 6.1.1.2 Standby mode Standby mode is the UJA1164’s power saving mode, offering reduced current consumption. The transceiver is unable to transmit or receive data in Standby mode. The SPI remains enabled and V1 is still active; the watchdog is active (in Timeout mode) if enabled. If remote CAN wake-up is enabled (CWE = 1; see Table 24), the receiver monitors bus activity for a wake-up request. The bus pins are biased to GND (via Ri(cm)) when the bus is inactive for t > tto(silence) and at approximately 2.5 V when there is activity on the bus (autonomous biasing). Pin RXD is forced LOW when any enabled wake-up event is detected. This can be either a regular wake-up (via the CAN bus) or a diagnostic wake-up such as an overtemperature event (see Section 6.8). The UJA1164 switches to Standby mode via Reset mode: • from Off mode if the battery voltage rises above the power-on detection threshold (Vth(det)pon) • from Overtemp mode if the chip temperature falls below the overtemperature protection release threshold, Tth(rel)otp Standby mode can also be selected from Normal mode via an SPI command (MC = 100). UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 5 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog MC = Standby NORMAL STANDBY MC = Normal any reset event RSTN = HIGH V1 undervoltage no overtemperature RESET OVERTEMP power-on any reset event FORCED NORMAL VBAT undervoltage OFF overtemperature event from RESET mode if FNMC = 1 from any mode from any mode except Off MTP programming completed or MTP factory presets restored Fig 3. 015aaa271 UJA1164 system controller state diagram 6.1.1.3 Reset mode Reset mode is the reset execution state of the SBC. This mode ensures that pin RSTN is pulled down for a defined time to allow the microcontroller to start up in a controlled manner. The transceiver is unable to transmit or receive data in Reset mode. The SPI is inactive; the watchdog is disabled; V1 and overtemperature detection are active. The UJA1164 switches to Reset mode from any mode in response to a reset event (see Table 5 for a list of reset sources). The UJA1164 exits Reset mode: • and switches to Standby mode if pin RSTN is released HIGH • and switches to Forced Normal mode if bit FNMC = 1 • if the SBC is forced into Off or Overtemp mode If a V1 undervoltage event forced the transition to Reset mode, the UJA1164 will remain in Reset mode until the voltage on pin V1 has recovered. UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 6 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 6.1.1.4 Off mode The UJA1164 switches to Off mode when the battery is first connected or from any mode when VBAT < Vth(det)poff. Only power-on detection is enabled; all other modules are inactive. The UJA1164 starts to boot up when the battery voltage rises above the power-on detection threshold Vth(det)pon (triggering an initialization process) and switches to Reset mode after tstartup. In Off mode, the CAN pins disengage from the bus (zero load; high-ohmic). 6.1.1.5 Overtemp mode Overtemp mode is provided to prevent the UJA1164 being damaged by excessive temperatures. The UJA1164 switches immediately to Overtemp mode from any mode (other than Off mode) when the global chip temperature rises above the overtemperature protection activation threshold, Tth(act)otp. To help prevent the loss of data due to overheating, the UJA1164 issues a warning when the IC temperature rises above the overtemperature warning threshold (Tth(warn)otp). When this happens, status bit OTWS is set and an overtemperature warning event is captured (OTW = 1), if enabled (OTWE = 1). In Overtemp mode, the CAN transmitter and receiver are disabled and the CAN pins are in a high-ohmic state. No wake-up event will be detected, but a pending wake-up will still be signalled by a LOW level on pin RXD, which will persist after the overtemperature event has been cleared. V1 is off and pin RSTN is driven LOW. The UJA1164 exits Overtemp mode: • and switches to Reset mode if the chip temperature falls below the overtemperature protection release threshold, Tth(rel)otp • if the device is forced to switch to Off mode (VBAT < Vth(det)poff) 6.1.1.6 Forced Normal mode Forced Normal mode simplifies SBC testing and is useful for initial prototyping and failure detection, as well as first flashing of the microcontroller. The watchdog is disabled in Forced Normal mode. The low-drop voltage regulator (V1) and the CAN transceiver are active. Bit FNMC is factory preset to 1, so the UJA1164 initially boots up in Forced Normal mode (see Table 8). This allows a newly installed device to be run in Normal mode without a watchdog. So the microcontroller can be flashed via the CAN bus in the knowledge that a watchdog timer overflow will not trigger a system reset. The register containing bit FNMC (address 74h) is stored in non-volatile memory (see Section 6.9). So once bit FNMC is programmed to 0, the SBC will no longer boot up in Forced Normal mode, allowing the watchdog to be enabled. Even in Forced Normal mode, a reset event (e.g. an external reset or a V1 undervoltage) will trigger a transition to Reset mode with normal Reset mode behavior (e.g. CAN goes offline). However, when the UJA1164 exits Reset mode, it will return to Forced Normal mode instead of switching to Standby mode. In Forced Normal mode, only the Main status register, the Watchdog status register, the Identification register and registers stored in non-volatile memory can be read. The non-volatile memory area is fully accessible for writing as long as the UJA1164 is in the UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 7 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog factory preset state (for details see Section 6.9). The UJA1164 switches from Reset mode to Forced Normal mode if bit FNMC = 1. 6.1.1.7 Table 3. Hardware characterization for the UJA1164 operating modes Hardware characterization by functional block Block Operating mode Off Forced Normal Standby Normal Reset Overtemp V1 off[1] on on on on off RSTN LOW HIGH HIGH HIGH LOW LOW SPI disabled active active active disabled disabled off off floating WMC[2] Watchdog off off determined by bits WMC (see Table 7)[2] determined by bits CAN floating Active Offline Active/ Offline/ Listen-only (determined by bits CMC; see Table 14) Offline RXD V1 level CAN bit stream V1 level/LOW if wake-up detected CAN bit stream if CMC = 01/10/11; otherwise same as Standby V1 level/LOW V1 level/LOW if wake-up if wake-up detected detected [1] When the SBC switches from Reset, Standby or Normal mode to Off mode, V1 behaves as a current source during power down while VBAT is between 3 V and 2 V. [2] Window mode is only active in Normal mode. 6.1.2 System control registers The operating mode is selected via bits MC in the Mode control register. The Mode control register is accessed via SPI address 0x01 (see Section 6.13). Table 4. Bit Mode control register (address 01h) Symbol Access Value 7:3 reserved R 2:0 MC R/W Description mode control: 100 Standby mode 111 Normal mode The Main status register can be accessed to monitor the status of the overtemperature warning flag and to determine whether the UJA1164 has entered Normal mode after initial power-up. It also indicates the source of the most recent reset event. Table 5. UJA1164 Product data sheet Main status register (address 03h) Bit Symbol Access Value 7 reserved R 6 OTWS R Description overtemperature warning status: 0 IC temperature below overtemperature warning threshold 1 IC temperature above overtemperature warning threshold All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 8 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog Table 5. Main status register (address 03h) …continued Bit Symbol Access Value Description 5 NMS R Normal mode status: 4:0 RSS 0 UJA1164 has entered Normal mode (after power-up) 1 UJA1164 has powered up but has not yet switched to Normal mode R reset source status: 00000 exited Off mode (power-on) 01110 watchdog triggered too early (Window mode) 01111 watchdog overflow (Window mode or Timeout mode with WDF = 1) 10000 illegal watchdog mode control access 10001 RSTN pulled down externally 10010 exited Overtemp mode 10011 V1 undervoltage 6.2 Watchdog The UJA1164 contains a watchdog that supports three operating modes: Window, Timeout and Autonomous. In Window mode (available only in SBC Normal mode), a watchdog trigger event within a closed watchdog window resets the watchdog timer. In Timeout mode, the watchdog runs continuously and can be reset at any time within the timeout time by a watchdog trigger. Watchdog timeout mode can also be used for cyclic wake-up of the microcontroller. In Autonomous mode, the watchdog can be off or in Timeout mode (see Section 6.2.4). The watchdog mode is selected via bits WMC in the Watchdog control register (Table 7). The SBC must be in Standby mode when the watchdog mode is changed. If Window mode is selected (WMC = 100), the watchdog will remain in (or switch to) Timeout mode until the SBC enters Normal mode. Any attempt to change the watchdog operating mode (via WMC) while the SBC is in Normal mode will cause the UJA1164 to switch to Reset mode and the reset source status bits (RSS) will be set to 10000 (‘illegal watchdog mode control access’; see Table 5). Eight watchdog periods are supported, from 8 ms to 4096 ms. The watchdog period is programmed via bits NWP. The selected period is valid for both Window and Timeout modes. The default watchdog period is 128 ms. A watchdog trigger event resets the watchdog timer. A watchdog trigger event is any valid write access to the Watchdog control register. If the watchdog mode or the watchdog period have changed as a result of the write access, the new values are immediately valid. UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 9 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog Table 6. Summary of watchdog settings Watchdog configuration via SPI FNMC 0 0 SDMC x Table 7. 0 1 1 x x 0 010 (Timeout) 001 (Autonomous) 001 (Autonomous) n.a. Window Timeout Timeout off off Timeout Timeout off off off WMC 100 (Window) Normal mode SBC Standby mode (RXD HIGH) Operating Standby mode (RXD LOW) Mode Other modes 0 Timeout Timeout Timeout off off off off off off off Watchdog control register (address 00h) Bit Symbol Access Value Description 7:5 WMC R/W watchdog mode control: 4 reserved R 3:0 NWP R/W 001[1] Autonomous mode 010[2] Timeout mode 100[3] Window mode nominal watchdog period 1000 8 ms 0001 16 ms 0010 32 ms 1011 64 ms 0100[2] 128 ms 1101 256 ms 1110 1024 ms 0111 4096 ms [1] Default value if SDMC = 1 (see Section 6.2.1) [2] Default value. [3] Selected in Standby mode but only activated when the SBC switches to Normal mode. The watchdog is a valuable safety mechanism, so it is critical that it is configured correctly. Two features are provided to prevent watchdog parameters being changed by mistake: • redundant states of configuration bits WMC and NWP • reconfiguration protection in Normal mode Redundant states associated with control bits WMC and NWP ensure that a single bit error cannot cause the watchdog to be configured incorrectly (at least two bits must be changed to reconfigure WMC or NWP). If an attempt is made to write an invalid code to WMC or NWP (e.g. 011 or 1001 respectively), the SPI operation is abandoned and an SPI failure event is captured, if enabled (see Section 6.8). Two operating modes have a major impact on the operation of the watchdog: Forced Normal mode and Software Development mode (Software Development mode is provided for test purposes and is not an SBC operating mode; the UJA1164 can be in any mode with Software Development mode enabled; see Section 6.2.1). These modes are enabled and disabled via bits FNMC and SDMC respectively in the SBC configuration control UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 10 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog register (see Table 8). Note that this register is located in the non-volatile memory area (see Section 6.8). In Forced Normal mode (FNM), the watchdog is completely disabled. In Software Development mode (SDM), the watchdog can be disabled or activated for test purposes. Information on the status of the watchdog is available from the Watchdog status register (Table 9). This register also indicates whether Forced Normal and Software Development modes are active. Table 8. SBC configuration control register (address 74h) Bit Symbol Access Value 7:6 reserved R 5:4 V1RTSUC R/W 3 FNMC V1 reset threshold (defined by bit V1RTC) at start-up: 00[1] V1 undervoltage detection at 90 % of nominal value at start-up (V1RTC = 00) 01 V1 undervoltage detection at 80 % of nominal value at start-up (V1RTC = 01) 10 V1 undervoltage detection at 70 % of nominal value at start-up (V1RTC = 10) 11 V1 undervoltage detection at 60 % of nominal value at start-up (V1RTC = 11) R/W Forced Normal mode control: 0 1[1] 2 1:0 [1] SDMC reserved Forced Normal mode enabled Software Development mode control: 0[1] Software Development mode disabled 1 Software Development mode enabled - Watchdog status register (address 05h) Bit Symbol Access Value 7:4 reserved R - 3 FNMS R 0 1 SBC is in Forced Normal mode 2 SDMS R 0 SBC is not in Software Development mode 1 SBC is in Software Development mode 1:0 Product data sheet Forced Normal mode disabled Factory preset value. Table 9. UJA1164 R/W R Description WDS R Description SBC is not in Forced Normal mode watchdog status: 00 watchdog is off 01 watchdog is in first half of window 10 watchdog is in second half of window 11 reserved All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 11 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 6.2.1 Software Development mode Software Development mode is provided to simplify the software design process. When Software Development mode is enabled, the watchdog starts up in Autonomous mode (WMC = 001) and is inactive after a system reset, overriding the default value (see Table 7). The watchdog is always off in Autonomous mode if Software Development mode is enabled (SDMC = 1; see Table 10). Software can be run without a watchdog in Software Development mode. However, it is possible to activate and deactivate the watchdog for test purposes by selecting Window or Timeout mode via bits WMC while the SBC is in Standby mode (note that Window mode will only be activated when the SBC switches to Normal mode). Software Development mode is activated via bits SDMC in non-volatile memory (see Table 8). 6.2.2 Watchdog behavior in Window mode The watchdog runs continuously in Window mode. The watchdog will be in Window mode if WMC = 100 and the UJA1164 is in Normal mode. In Window mode, the watchdog can only be triggered during the second half of the watchdog period. If the watchdog overflows, or is triggered in the first half of the watchdog period (before ttrig(wd)1), a watchdog failure event is captured (if enabled) and a system reset is performed. After the system reset, the watchdog failure event is indicated in the System event status register (WDF = 1; see Table 19). If the watchdog is triggered in the second half of the watchdog period (after ttrig(wd)1 but before ttrig(wd)2), the watchdog timer is restarted. 6.2.3 Watchdog behavior in Timeout mode The watchdog runs continuously in Timeout mode. The watchdog will be in Timeout mode if WMC = 010 and the UJA1164 is in Normal or Standby mode. The watchdog will also be in Timeout mode if WMC = 100 and the UJA1164 is in Standby mode. If Autonomous mode is selected (WMC = 001), the watchdog will be in Timeout mode if one of the conditions for Timeout mode listed in Table 10 has been satisfied. In Timeout mode, the watchdog timer can be reset at any time by a watchdog trigger. If the watchdog overflows, a watchdog failure event (WDF) is captured. If a WDF is already pending when the watchdog overflows, a system reset is performed. In Timeout mode, the watchdog can be used as a cyclic wake-up source for the microcontroller when the UJA1164 is in Standby mode. 6.2.4 Watchdog behavior in Autonomous mode Autonomous mode is selected when WMC = 001. In Autonomous mode, the watchdog is either off or in Timeout mode, according to the conditions detailed in Table 10. Table 10. Watchdog status in Autonomous mode UJA1164 Operating mode UJA1164 Product data sheet Watchdog status SDMC = 0 SDMC = 1 Normal Timeout mode off Standby; RXD HIGH off off any other mode off off Standby; RXD LOW Timeout mode off All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 12 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog When Autonomous mode is selected, the watchdog will be in Timeout mode if the SBC is in Normal mode or Standby mode with RXD LOW, provided Software Development mode has been disabled (SDMC = 0). Otherwise the watchdog will be off. In Autonomous mode, the watchdog will not be running when the SBC is in Standby mode (RXD HIGH). If a wake-up event is captured, pin RXD is forced LOW to signal the event and the watchdog is automatically restarted in Timeout mode. 6.3 System reset When a system reset occurs, the SBC switches to Reset mode and initiates a process that generates a low-level pulse on pin RSTN. 6.3.1 Characteristics of pin RSTN Pin RSTN is a bidirectional open drain low side driver with integrated pull-up resistance, as shown in Figure 4. With this configuration, the SBC can detect the pin being pulled down externally, e.g. by the microcontroller. A filter, with filter time tfltr(rst), prevents a reset being triggered by noise etc. V1 RSTN 015aaa276 Fig 4. RSTN internal pin configuration 6.3.2 Selecting the reset pulse width The duration of the reset pulse is selected via bits RLC in the Start-up control register (Table 11). The SBC distinguishes between a cold start and a warm start. A cold start is performed on start-up if the reset event was generated by a V1 undervoltage event. The reset pulse width for a cold start is determined by the setting of bits RLC. If the reset event was not triggered by a V1 undervoltage (e.g by a warm start of the microcontroller), the SBC always uses the shortest reset length (tw(rst) = 1 ms to 1.5 ms). Table 11. Bit Symbol Access Value 7:6 reserved R 5:4 RLC R/W 3:0 UJA1164 Product data sheet Start-up control register (address 73h) reserved R Description RSTN reset pulse width: 00[1] tw(rst) = 20 ms to 25 ms 01 tw(rst) = 10 ms to 12.5 ms 10 tw(rst) = 3.6 ms to 5 ms 11 tw(rst) = 1 ms to 1.5 ms - All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 13 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog [1] Factory preset value. 6.3.3 Reset sources The following events will cause the UJA1164 to switch to Reset mode: • • • • • • VV1 drops below the selected V1 undervoltage threshold defined by bits V1RTC pin RSTN is pulled down externally the watchdog overflows in Window mode the watchdog is triggered too early in Window mode (before ttrig(wd)1) the watchdog overflows in Timeout mode with WDF = 1 (watchdog failure pending) an attempt is made to reconfigure the Watchdog control register while the SBC is in Normal mode • the SBC leaves Off mode • the SBC leaves Overtemp mode 6.4 Global temperature protection The temperature of the UJA1164 is monitored continuously, except in Off mode. The SBC switches to Overtemp mode if the temperature exceeds the overtemperature protection activation threshold, Tth(act)otp. In addition, pin RSTN is driven LOW and V1 and the CAN transceiver are switched off. When the temperature drops below the overtemperature protection release threshold, Tth(rel)otp, the SBC switches to Standby mode via Reset mode. In addition, the UJA1164 provides an overtemperature warning. When the IC temperature rises about the overtemperature warning threshold (Tth(warn)otp), status bit OTWS is set and an overtemperature warning event is captured (OTW = 1). 6.5 Power supplies 6.5.1 Battery supply voltage (VBAT) The internal circuitry is supplied from the battery via pin BAT. The device needs to be protected against negative supply voltages, e.g. by using an external series diode. If VBAT falls below the power-off detection threshold, Vth(det)poff, the SBC switches to Off mode. However, the microcontroller supply voltage (V1) remains active until VBAT falls below 2 V. The SBC switches from Off mode to Reset mode tstartup after the battery voltage rises above the power-on detection threshold, Vth(det)pon. Power-on event status bit PO is set to 1 to indicate the UJA1164 has powered up and left Off mode (see Table 19). 6.5.2 Low-drop voltage supply for 5 V microcontroller (V1) V1 is intended to supply the microcontroller and the internal CAN transceiver and delivers up to 150 mA at 5 V. The output voltage on V1 is monitored. A system reset is generated if the voltage on V1 drops below the selected undervoltage threshold (60 %, 70 %, 80 % or 90 % of the nominal V1 output voltage, selected via V1RTC in the V1 control register; see Table 12). UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 14 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog The internal CAN transceiver consumes 50 mA (max) when the bus is continuously dominant, leaving 100 mA available for the external load on pin V1. In practice, the typical current consumption of the CAN transceiver is lower (25 mA), depending on the application, leaving more current available for the load. The default value of the undervoltage threshold at power-up is determined by the value of bits V1RTSUC in the SBC configuration control register (Table 8). The SBC configuration control register is in non-volatile memory, allowing the user to define the undervoltage threshold (V1RTC) at start-up. In addition, an undervoltage warning (a V1U event; see Section 6.8) is generated if the voltage on V1 falls below 90 % of the nominal value (and V1U event detection is enabled, V1UE = 1; see Table 23). This information can be used as a warning, when the 60 %, 70 % or 80 % threshold is selected, to indicate that the level on V1 is outside the nominal supply range. The status of V1, whether it is above or below the 90 % undervoltage threshold, can be read via bit V1S in the Supply voltage status register (Table 13). Table 12. V1 control register (address 10h) Bit Symbol Access Value 7:2 reserved R 1:0 V1RTC[1] R/W [1] set V1 reset threshold: 00 reset threshold set to 90 % of V1 nominal output voltage 01 reset threshold set to 80 % of V1 nominal output voltage 10 reset threshold set to 70 % of V1 nominal output voltage 11 reset threshold set to 60 % of V1 nominal output voltage Default value at power-up defined by setting of bits V1RTSUC (see Table 8). Table 13. Supply voltage status register (address 1Bh) Bit Symbol Access Value 7:1 reserved R - 0 V1S R/W [1] Description Description V1 status: 0[1] V1 output voltage above 90 % undervoltage threshold 1 V1 output voltage below 90 % undervoltage threshold Default value at power-up. 6.6 High-speed CAN transceiver The integrated high-speed CAN transceiver is designed for bit rates up to 1 Mbit/s, providing differential transmit and receive capability to a CAN protocol controller. The transceiver is ISO 11898-2 and ISO 11898-5 compliant. The CAN transmitter is supplied from V1. The CAN transceiver supports autonomous CAN biasing as defined in ISO 11898-6, which helps to minimize RF emissions. CANH and CANL are always biased to 2.5 V when the transceiver is in Active or Listen-only modes (CMC = 01/10/11). Autonomous biasing is active in CAN Offline mode - to 2.5 V if there is activity on the bus (CAN Offline Bias mode) and to GND if there is no activity on the bus for t > tto(silence) (CAN Offline mode). UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 15 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog This is useful when the node is disabled due to a malfunction in the microcontroller. The SBC ensures that the CAN bus is correctly biased to avoid disturbing ongoing communication between other nodes. The autonomous CAN bias voltage is derived directly from VBAT. 6.6.1 CAN operating modes The integrated CAN transceiver supports four operating modes: Active, Listen-only, Offline and Offline Bias (see Figure 6). The CAN transceiver operating mode depends on the UJA1164 operating mode and on the setting of bits CMC in the CAN control register (Table 14). When the UJA1164 is in Normal mode, the CAN transceiver operating mode (Active, Listen-only or Offline) can be selected via bits CMC in the CAN control register (Table 14). When the SBC is in Standby mode, the transceiver is forced to Offline mode. 6.6.1.1 CAN Active mode In CAN Active mode, the transceiver can transmit and receive data via CANH and CANL. The differential receiver converts the analog data on the bus lines into digital data, which is output on pin RXD. The transmitter converts digital data generated by the CAN controller (input on pin TXD) into analog signals suitable for transmission over the CANH and CANL bus lines. The CAN transceiver is in Active mode when: • the UJA1164 is in Normal mode (MC = 111) and the CAN transceiver has been enabled by setting bits CMC in the CAN mode control register to 01 or 10 (see Table 14) and the voltage on pin V1 is above the 90 % threshold OR • the UJA1164 is in Forced Normal mode with VV1 > 90 % of nominal value If pin TXD is held LOW (e.g. by a short-circuit to GND) when CAN Active mode is selected via bits CMC, the transceiver will not enter CAN Active mode but will switch to or remain in CAN Listen-only mode. It will remain in Listen-only mode until pin TXD goes HIGH in order to prevent a hardware and/or software application failure from driving the bus lines to an unwanted dominant state. In CAN Active mode, the CAN bias voltage is derived from V1. If V1 falls below the 90 % threshold, the UJA1164 exits CAN Active mode and enters CAN Offline Bias mode with autonomous CAN voltage biasing via pin BAT. If, however, the SBC is in Forced Normal mode when V1 falls below the 90 % threshold, the transceiver switches to CAN Listen-only mode to ensure as much as possible of the SBC remains active during the ECU development phase. The application can determine whether the CAN transceiver is ready to transmit data or is disabled by reading the CAN Transmitter Status (CTS) bit in the Transceiver Status Register (Table 15). 6.6.1.2 CAN Listen-only mode CAN Listen-only mode allows the UJA1164 to monitor bus activity while the transceiver is inactive, without influencing bus levels. This facility could be used by development tools that need to listen to the bus but do not need to transmit or receive data or for UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 16 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog software-driven selective wake-up. Dedicated microcontrollers could be used for selective wake-up, providing an embedded low-power CAN engine designed to monitor the bus for potential wake-up events. In Listen-only mode the CAN transmitter is disabled, reducing current consumption. The CAN receiver and CAN biasing remain active. This enables the host microcontroller to switch to a low-power mode in which an embedded CAN protocol controller remains active, waiting for a signal to wake up the microcontroller. The CAN transceiver is in Listen-only mode when: • the UJA1164 is in Normal mode and CMC = 11 OR • the UJA1164 is in Forced Normal mode and VV1 < 90 % of nominal value OR • the UJA1164 is in Normal mode, CMC = 01 or 10 and VV1 < 90 % of nominal value 6.6.1.3 CAN Offline and Offline Bias modes In CAN Offline mode, the transceiver monitors the CAN bus for a wake-up event, provided CAN wake-up detection is enabled (CWE = 1). CANH and CANL are biased to GND. CAN Offline Bias mode is the same as CAN Offline mode, with the exception that the CAN bus is biased to 2.5 V. This mode is activated automatically when activity is detected on the CAN bus while the transceiver is in CAN Offline mode. The transceiver will return to CAN Offline mode if the CAN bus is silent (no CAN bus edges) for longer than tto(silence). The CAN transceiver will switch from CAN Active mode to CAN Offline Bias mode if: • the SBC switches to Reset or Standby mode OR • the SBC is in Normal mode and CMC = 00 OR • VV1 < 90 % of nominal value The CAN transceiver will switch from CAN Listen-only mode to CAN Offline Bias mode if: • the SBC switches to Reset or Standby mode OR • the SBC is in Normal mode and CMC = 00 The CAN transceiver switches to CAN Offline mode: • from CAN Offline Bias mode if no activity is detected on the bus (no CAN edges) for t > tto(silence) OR • when the SBC switches from Off or Overtemp mode to Reset mode The CAN transceiver switches from CAN Offline mode to CAN Offline Bias mode if: • a wake-up event is detected on the CAN bus OR • the SBC is in Normal mode, CMC = 01 or 10 and VV1 < 90 % 6.6.1.4 CAN off The CAN transceiver is switched off completely with the bus lines floating when: • the SBC switches to Off or Overtemp mode OR • VBAT falls below the CAN receiver undervoltage detection threshold, Vuvd(CAN) UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 17 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog It will be switched on again on entering CAN Offline mode when VBAT rises above the undervoltage release threshold and the SBC is no longer in Off/Overtemp mode. 6.6.2 CAN standard wake-up If the CAN transceiver is in Offline mode and CAN wake-up is enabled (CWE = 1), the UJA1164 will monitor the bus for a wake-up pattern. A filter at the receiver input prevents unwanted wake-up events occurring due to automotive transients or EMI. A dominant-recessive-dominant wake-up pattern must be transmitted on the CAN bus within the wake-up timeout time (tto(wake)) to pass the wake-up filter and trigger a wake-up event (see Figure 5; note that additional pulses may occur between the recessive/dominant phases). The recessive and dominant phases must last at least twake(busrec) and twake(busdom), respectively. dominant tdom ≥ twake(busdom) recessive dominant trec ≥ twake(busrec) tdom ≥ twake(busdom) twake < tto(wake) CAN wake-up 015aaa267 Fig 5. CAN wake-up timing When a valid CAN wake-up pattern is detected on the bus, wake-up bit CW in the Transceiver event status register is set (see Table 21) and pin RXD is driven LOW. UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 18 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog &$1$FWLYH W!WWRVLOHQFH >UHVHW250& 6WDQGE\25 0& 1RUPDO&0& 2IIOLQH25 99@ WUDQVPLWWHURQ UHFHLYHURQ 5;'ELWVWUHDP &$1+&$1/WHUPLQDWHG WR9§9 0& 1RUPDO&0& /LVWHQRQO\25 )10& 99 WWWRVLOHQFH >UHVHW250& 6WDQGE\25 0& 1RUPDO&0& 2IIOLQH25 99@ 0& 1RUPDO 0& 1RUPDO&0& $FWLYH99!25 &0& $FWLYH )10& 99! 99! 0& 1RUPDO &0& /LVWHQRQO\ &$12IIOLQH%LDV WUDQVPLWWHURII UHFHLYHURII 5;'ZDNHXS+,*+ &$1+&$1/WHUPLQDWHG WR9IURP9%$7 0& 1RUPDO &0& $FWLYH 99!25 )10& 99! 0& 1RUPDO &0& $FWLYH 99 &$1/LVWHQRQO\ WUDQVPLWWHURII UHFHLYHURQ 5;'ELWVWUHDP &$1+&$1/WHUPLQDWHG WR9IURP9%$7 WWWRVLOHQFH >UHVHW250& 6WDQGE\25 0& 1RUPDO&0& 2IIOLQH@ IURPDOOPRGHV W!WWRVLOHQFH 0& 1RUPDO&0& /LVWHQRQO\25 )10& 99 ZDNHXS25 0& 1RUPDO &0& $FWLYH 99 W!WWRVLOHQFH >UHVHW250& 6WDQGE\25 0& 1RUPDO&0& 2IIOLQH@ 2II25 2YHUWHPS25 9%$79XYG&$1 &$12IIOLQH WUDQVPLWWHURII UHFHLYHURII 5;'ZDNHXS+,*+ &$1+&$1/WHUPLQDWHG WR*1' &$12II WUDQVPLWWHURII UHFHLYHURII 5;'ZDNHXS+,*+ &$1+&$1/IORDWLQJ OHDYLQJ2II2YHUWHPS 9%$7!9XYU&$1 DDD (1) To prevent the bus lines being driven to a permanent dominant state, the transceiver will not switch to CAN Active mode if pin TXD is held LOW (e.g. by a short-circuit to GND) (2) When CMC = 01, a V1 undervoltage event (VV1 < 90 %) will cause the transceiver to exit Active mode and the transmitter will be switched off. When CMC = 10, the transceiver will not immediately leave Active mode in response to a V1 undervoltage event; the transmitter will remain active until the V1 reset threshold has been reached, when the SBC will switch to Reset mode and the transceiver will switch to CAN Offline or CAN Offline Bias mode. Fig 6. CAN transceiver state machine UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 19 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 6.6.3 CAN control and Transceiver status registers Table 14. Bit Symbol Access Value 7:2 reserved R/W 1:0 CMC R/W Table 15. CAN transceiver operating mode selection (available when UJA1164 is in Normal mode; MC = 111): 00 Offline mode 01 Active mode (VCC undervoltage detection active for CAN state machine) 10 Active mode (VCC undervoltage detection not active for CAN state machine) 11 Listen-only mode Transceiver status register (address 22h) Symbol Access Value Description 7 CTS R 0 CAN transmitter disabled 1 CAN transmitter ready to transmit data 6:4 reserved R - 3 CBSS R 0 CAN bus active (communication detected on bus) 1 CAN bus inactive (for longer than tto(silence)) 2 reserved R - 1 VCS[1] R 0 the output voltage on V1 is above the 90 % threshold 1 the output voltage on V1 is below the 90 % threshold 0 no TXD dominant timeout event detected 1 CAN transmitter disabled due to a TXD dominant timeout event [1] Product data sheet Description Bit 0 UJA1164 CAN control register (address 20h) CFS R Only active when CMC = 01. All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 20 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 6.7 CAN fail-safe features 6.7.1 TXD dominant timeout A TXD dominant time-out timer is started when pin TXD is forced LOW while the transceiver is in CAN Active Mode. If the LOW state on pin TXD persists for longer than the TXD dominant time-out time (tto(dom)TXD), the transmitter is disabled, releasing the bus lines to recessive state. This function prevents a hardware and/or software application failure from driving the bus lines to a permanent dominant state (blocking all network communications). The TXD dominant time-out timer is reset when pin TXD goes HIGH. The TXD dominant time-out time also defines the minimum possible bit rate of 15 kbit/s. When the TXD dominant time-out time is exceeded, a CAN failure event is captured (CF = 1; see Table 21), if enabled (CFE = 1; see Table 24). In addition, the status of the TXD dominant timeout can be read via the CFS bit in the Transceiver status register (Table 15) and bit CTS is cleared. 6.7.2 Pull-up on TXD pin Pin TXD has an internal pull-up towards V1 to ensure a safe defined recessive driver state in case the pin is left floating. 6.7.3 V1 undervoltage event A CAN failure event is captured (CF = 1), if enabled, when the supply to the CAN transceiver (V1) falls below 90 % of its nominal value. In addition, status bit VCS is set to 1. 6.7.4 Loss of power at pin BAT A loss of power at pin BAT has no influence on the bus lines or on the microcontroller. No reverse currents will flow from the bus. 6.8 Wake-up and interrupt event diagnosis via pin RXD Wake-up and interrupt event diagnosis in the UJA1164 is intended to provide the microcontroller with information on the status of a range of features and functions. This information is stored in the event status registers (Table 19 to Table 21) and is signaled on pin RXD, if enabled. A distinction is made between regular CAN wake-up events and interrupt events. UJA1164 Product data sheet Table 16. Regular events Symbol Event Power-on Description CW CAN wake-up disabled a CAN wake-up event was detected while the transceiver was in CAN Offline mode. All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 21 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog Table 17. Diagnostic/interrupt events Symbol Event Power-on Description PO power-on always enabled the UJA1164 has exited Off mode (after battery power has been restored/connected) OTW overtemperature warning disabled the IC temperature has exceeded the overtemperature warning threshold SPIF SPI failure disabled SPI clock count error (only 16-, 24- and 32-bit commands are valid), illegal WMC, NWP or MC code or attempted write access to locked register WDF watchdog failure always enabled watchdog overflow in Window or Timeout mode or watchdog triggered too early in Window mode; a system reset is triggered immediately in response to a watchdog failure in Window mode; when the watchdog overflows in Timeout mode, a system reset is only performed if a WDF is already pending (WDF = 1) V1U V1 undervoltage disabled voltage on V1 has dropped below the 90 % undervoltage threshold when V1 is active. V1U event capture is independent of the setting of bits V1RTC. CBS CAN bus silence disabled no activity on CAN bus for tto(silence) (detected only when CBSE = 1 while bus active) CF CAN failure disabled one of the following CAN failure events detected: - CAN transceiver deactivated due to a V1 undervoltage - CAN transceiver deactivated due to a dominant clamped TXD. PO and WDF interrupts are always captured. Wake-up and interrupt detection can be enabled/disabled for the remaining events individually via the event capture enable registers (Table 22 to Table 24). If an event occurs while the associated event capture function is enabled, the relevant event status bit is set. If the transceiver is in CAN Offline mode with V1 active (SBC Normal or Standby mode), pin RXD is forced LOW to indicate that a wake-up or interrupt event has been detected. The microcontroller can monitor events via the event status registers. An extra status register, the Global event status register (Table 18), is provided to help speed up software polling routines. By polling the Global event status register, the microcontroller can quickly determine the type of event captured (system, supply or transceiver) and then query the relevant table (Table 19, Table 20 or Table 21 respectively). After the event source has been identified, the relevant status bit should be cleared (set to 0) by writing 1 to the relevant bit (writing 0 will have no effect). A number of status bits can be cleared in a single write operation by writing 1 to all relevant bits. It is strongly recommended to clear only the status bits that were set to 1 when the status registers were last read. This precaution ensures that events triggered just before the write access are not lost. 6.8.1 Interrupt/wake-up delay If interrupt or wake-up events occur very frequently while the transceiver is in CAN Offline mode, they can have a significant impact on the software processing time (because pin RXD is repeatedly driven LOW, requiring a response from the microcontroller each time an interrupt/wake-up is generated). The UJA1164 incorporates an event delay timer to limit the disturbance to the software. UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 22 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog When one of the event capture status bits is cleared, pin RXD is released (HIGH) and a timer is started. If further events occur while the timer is running, the relevant status bits are set. If one or more events are pending when the timer expires after td(event), pin RXD goes LOW again to alert the microcontroller. In this way, the microcontroller is interrupted once to process a number of events rather than several times to process individual events. If all events are cleared while the timer is running, RXD remains HIGH after the timer expires, since there are no pending events. The event capture registers can be read at any time. The event capture delay timer is stopped immediately when pin RSTN goes low (triggered by a HIGH-to-LOW transition on the pin). RSTN is driven LOW when the SBC enters Reset, Overtemp and Off modes. 6.8.2 Event status and event capture registers Table 18. Bit Symbol Access Value 7:3 reserved R - 2 TRXE R 0 no pending transceiver event 1 transceiver event pending at address 0x63 0 no pending supply event 1 supply event pending at address 0x62 0 no pending system event 1 system event pending at address 0x61 1 0 SUPE SYSE Table 19. Product data sheet R R Description System event status register (address 61h) Bit Symbol Access 7:5 reserved R - 4 PO R/W 0 no recent power-on 1 the UJA1164 has left Off mode after power-on Value Description 3 reserved R - 2 OTW R/W 0 overtemperature not detected 1 the global chip temperature has exceeded the overtemperature warning threshold (Tth(warn)otp) no SPI failure detected 1 SPIF R/W 0 1 SPI failure detected 0 WDF R/W 0 no watchdog failure event captured 1 watchdog failure event captured Table 20. UJA1164 Global event status register (address 60h) Supply event status register (address 62h) Bit Symbol Access Value 7:1 reserved R - Description 0 V1U R/W 0 no V1 undervoltage event captured 1 V1 undervoltage event captured All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 23 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog Table 21. Bit Symbol Access Value 7:5 reserved R - 4 CBS R/W 0 CAN bus active 1 no activity on CAN bus for tto(silence) reserved R - 1 CF R/W 0 no CAN failure detected 1 CAN transceiver deactivated due to V1 undervoltage OR dominant clamped TXD 0 no CAN wake-up event detected 1 CAN wake-up event detected while the transceiver is in CAN Offline Mode CW Table 22. R/W System event capture enable register (address 04h) Bit Symbol Access Value 7:3 reserved R - 2 OTWE R/W 1 0 SPIFE reserved Table 23. overtemperature warning event capture: overtemperature warning disabled 1 overtemperature warning enabled R/W R SPI failure detection: 0 SPI failure detection disabled 1 SPI failure detection enabled - Supply event capture enable register (address 1Ch) Symbol Access Value 7:1 reserved R - 0 V1UE R/W Description V1 undervoltage detection: 0 V1 undervoltage detection disabled 1 V1 undervoltage detection enabled Transceiver event capture enable register (address 23h) Bit Symbol Access Value 7:5 reserved R - 4 CBSE R/W 3:2 reserved R 1 CFE R/W 0 Description 0 Bit Table 24. Product data sheet Description 3:2 0 UJA1164 Transceiver event status register (address 63h) CWE Description CAN bus silence detection: 0 CAN bus silence detection disabled 1 CAN bus silence detection enabled CAN failure detection 0 CAN failure detection disabled 1 CAN failure detection enabled R/W CAN wake-up detection: 0 CAN wake-up detection disabled 1 CAN wake-up detection enabled All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 24 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 6.9 Non-volatile SBC configuration The UJA1164 contains Multiple Time Programmable Non-Volatile (MTPNV) memory cells that allow some of the default device settings to be reconfigured. The MTPNV memory address range is from 0x73 to 0x74. An overview of the MTPNV registers is given in Table 25. Table 25. Overview of MTPNV registers Address Register Name Bit: 7 6 5 4 3 0x73 Start-up control (see Table 11) reserved RLC reserved 0x74 SBC configuration control (see Table 8) reserved V1RTSUC FNMC 2 1 SDMC reserved 0 6.9.1 Programming MTPNV cells The UJA1164 must be in Forced Normal mode and the MTPNV cells must contain the factory preset values before the non-volatile memory can be reprogrammed. The UJA1164 will switch to Forced Normal mode after a reset event (e.g. pin RSTN LOW) when the MTPNV cells contain the factory preset values (since FNMC = 1). The factory presets may need to be restored before reprogramming can begin (see Section 6.9.2). When the factory presets have been restored, a system reset is generated automatically and UJA1164 switches to Forced Normal mode. This ensures that the programming cycle cannot be interrupted by the watchdog. Programming of the non-volatile memory registers is performed in two steps. Firstly, the required values are written to addresses 0x73 and 0x74. In the second step, reprogramming is confirmed by writing the correct CRC value to the MTPNV CRC control register (see Section 6.9.1.1). The SBC starts reprogramming the MTPNV cells as soon as the CRC value has been validated. If the CRC value is not correct, reprogramming is aborted. On completion, a system reset is generated to indicate that the MTPNV cells have been reprogrammed successfully. Note that the MTPNV cells cannot be read while they are being reprogrammed. After an MTPNV programming cycle has been completed, the non-volatile memory is protected from being overwritten via a standard SPI write operation. The MTPNV cells can be reprogrammed a maximum of 200 times (Ncy(W)MTP; see Table 42). Bit NVMPS in the MTPNV status register (Table 26) indicates whether or not the non-volatile cells can be reprogramed. This register also contains a write counter, WRCNTS, that is incremented each time the MTPNV cells are reprogrammed (up to a maximum value of 111111; there is no overflow). Note that this counter is provided for information purposes only; reprogramming will not be aborted if it reaches its maximum value. An error correction code status bit, ECCS, indicates whether reprogramming was successful. UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 25 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog Table 26. Bit Symbol Access Value Description 7:2 WRCNTS R xxxxxx write counter: contains the number of times the MTPNV cells were reprogrammed 1 ECCS R 0 no error detected during MTPNV cell programming 1 an error was detected during MTPNV cell programming 0 MTPNV memory cannot be overwritten 1[1] MTPNV memory is ready to be reprogrammed 0 [1] 6.9.1.1 MTPNV status register (address 70h) NVMPS R Factory preset value. Calculating the CRC value for MTP programming The cyclic redundancy check value stored in bits CRCC in the MTPNV CRC control register is calculated using the data written to registers 0x73 and 0x74. Table 27. MTPNV CRC control register (address 75h) Bit Symbol Access Value Description 7:0 CRCC R/W - CRC control data The CRC value is calculated using the data representation shown in Figure 7 and the modulo-2 division with the generator polynomial: X8 + X5 + X3 + X2 + X + 1. The result of this operation must be bitwise inverted. 7 6 1 0 7 register 0x73 Fig 7. 6 1 register 0x74 0 015aaa382 Data representation for CRC calculation The following parameters can be used to calculate the CRC value (e.g. via the Autosar method): Table 28. UJA1164 Product data sheet Parameters for CRC coding Parameter Value CRC result width 8 bits Polynomial 0x2F Initial value 0xFF Input data reflected no Result data reflected no XOR value 0xFF All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 26 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog Alternatively, the following algorithm can be used: data = 0 // unsigned byte crc = 0xFF for i = 0 to 1 data = content_of_address(0x73 + i) EXOR crc for j = 0 to 7 if data 128 data = data * 2 // shift left by 1 data = data EXOR 0x2F else data = data * 2 // shift left by 1 next j crc = data next i crc = crc EXOR 0xFF 6.9.2 Restoring factory preset values Factory preset values are restored if the following conditions apply for at least td(MTPNV) during power-up: • pin RSTN is held LOW • CANH is pulled up to VBAT • CANL is pulled down to GND After the factory preset values have been restored, the SBC performs a system reset and enters Forced normal Mode. Since the CAN bus is clamped dominant, pin RXDC is forced LOW. During the factory preset restore process, this pin is forced HIGH; a falling edge on this pin caused by bit PO being set after power-on then clearly indicates that the process has been completed. Note that the write counter, WRCNTS, in the MTPNV status register is incremented every time the factory presets are restored. 6.10 Device ID A byte is reserved at address 0x7E for a UJA1164 identification code. Table 29. Identification register (address 7Eh) Bit Symbol Access Value Description 7:0 IDS[7:0] R 80h device identification code 6.11 Lock control register Sections of the register address area can be write-protected to protect against unintended modifications. Note that this facility only protects locked bits from being modified via the SPI and will not prevent the UJA1164 updating status registers etc. UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 27 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog Table 30. Lock control register (address 0Ah) Bit Symbol Access Value Description 7 reserved R cleared for future use 6 LK6C R/W 5 4 LK5C LK4C - lock control 6: address area 0x68 to 0x6F 0 SPI write-access enabled 1 SPI write-access disabled R/W lock control 5: address area 0x50 to 0x5F 0 SPI write-access enabled 1 SPI write-access disabled R/W lock control 4: address area 0x40 to 0x4F 0 1 3 2 1 0 LK3C LK2C LK1C LK0C R/W SPI write-access enabled SPI write-access disabled lock control 3: address area 0x30 to 0x3F 0 SPI write-access enabled 1 SPI write-access disabled R/W lock control 2: address area 0x20 to 0x2F - transceiver control 0 SPI write-access enabled 1 SPI write-access disabled R/W lock control 1: address area 0x10 to 0x1F - regulator control 0 SPI write-access enabled 1 SPI write-access disabled R/W lock control 0: address area 0x06 to 0x09 - general purpose memory 0 SPI write-access enabled 1 SPI write-access disabled 6.12 General purpose memory UJA1164 allocates 4 bytes of RAM as general purpose registers for storing user information. The general purpose registers can be accessed via the SPI at address 0x06 to 0x09 (see Table 31). 6.13 SPI 6.13.1 Introduction The Serial Peripheral Interface (SPI) provides the communication link with the microcontroller, supporting multi-slave operations. The SPI is configured for full duplex data transfer, so status information is returned when new control data is shifted in. The interface also offers a read-only access option, allowing registers to be read back by the application without changing the register content. The SPI uses four interface signals for synchronization and data transfer: • SCSN: SPI chip select; active LOW • SCK: SPI clock; default level is LOW due to low-power concept (pull-down) • SDI: SPI data input UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 28 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog • SDO: SPI data output; floating when pin SCSN is HIGH Bit sampling is performed on the falling edge of the clock and data is shifted in/out on the rising edge, as illustrated in Figure 8. SCSN SCK 01 02 03 04 N–1 N sampled SDI SDO X floating X MSB MSB–1 MSB–2 MSB–3 01 LSB MSB MSB–1 MSB–2 MSB–3 01 LSB X floating 015aaa255 Fig 8. SPI timing protocol The SPI data in the UJA1164 is stored in a number of dedicated 8-bit registers. Each register is assigned a unique 7-bit address. Two bytes must be transmitted to the SBC for a single register write operation. The first byte contains the 7-bit address along with a ‘read-only’ bit (the LSB). The read-only bit must be 0 to indicate a write operation (if this bit is 1, a read operation is assumed and any data on the SDI pin is ignored). The second byte contains the data to be written to the register. 24- and 32-bit read and write operations are also supported. The register address is automatically incremented, once for a 24-bit operation and twice for a 32-bit operation, as illustrated in Figure 9. UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 29 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog Register Address Range 0x00 0x01 0x02 0x03 0x04 ID=0x05 addr 0000101 A6 A5 A4 A3 A2 Address Bits A1 A0 0x05 0x06 data data data byte 1 0x07 0x7D 0x7F data data byte 2 data byte 3 RO x x x Read-only Bit x x x x x x x x Data Bits x x x x x x x Data Bits Fig 9. 0x7E x x x Data Bits x x x 015aaa289 SPI data structure for a write operation (16-, 24- or 32-bit) During an SPI data read or write operation, the contents of the addressed register(s) is returned via pin SDO. The UJA1164 tolerates attempts to write to registers that don’t exist. If the available address space is exceeded during a write operation, the data overflows into address 0x00. During a write operation, the UJA1164 monitors the number of SPI bits transmitted. If the number recorded is not 16, 24 or 32, then the write operation is aborted and an SPI failure event is captured (SPIF = 1). If more than 32 bits are clocked in on pin SDI during a read operation, the data stream on SDI is reflected on SDO from bit 33 onwards. UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 30 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 6.13.2 Register map The addressable register space contains 128 registers with addresses from 0x00 to 0x7F. An overview of the register mapping is provided in Table 31 to Table 38. The functionality of individual bits is discussed in more detail in relevant sections of the data sheet. Table 31. Overview of primary control registers Address Register Name Bit: 7 6 0x00 Watchdog control WMC 0x01 Mode control reserved 5 4 Main status reserved OTWS System event enable reserved 0x05 Watchdog status reserved 0x06 Memory 0 GPM[7:0] 0x07 Memory 1 GPM[15:8] 0x08 Memory 2 GPM[23:16] 0x09 Memory 3 GPM[31:24] 0x0A Lock control reserved LK6C Table 32. Overview of V1 and transceiver control registers V1 control reserved 0x1B Supply status reserved 0x1C Supply event enable reserved 0x20 CAN control reserved 0x22 Transceiver status CTS 0x23 Transceiver event enable reserved reserved FNMS SDMS WDS LK5C LK4C LK3C LK2C LK1C LK0C 5 4 3 2 1 0 V1UE CMC reserved CBSS CBSE Overview of event capture registers Register Name reserved reserved VCS CFS CFE CWE Bit: 7 6 0x60 Global event status reserved 0x61 System event status reserved 0x62 Supply event status reserved 0x63 Transceiver event status reserved Table 34. Overview of MTPNV status register 5 4 PO 3 2 1 0 TRXE SUPE SYSE SPIF WDF reserved OTW V1U CBS reserved 4 3 CF CW 1 0 ECCS NVMPS Bit: 7 Product data sheet SPIFE V1S Address UJA1164 OTWE RSS V1RTC Table 33. MTPNV status NMS 6 0x10 0x70 0 Bit: 7 Register Name 1 MC 0x04 Address 2 reserved NWP 0x03 Address Register Name 3 6 5 WRCNTS All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 2 © NXP B.V. 2013. All rights reserved. 31 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog Table 35. Address Overview of Startup control register Register Name Bit: 7 0x73 Table 36. Address Startup control 6 5 reserved RLC Table 37. Address Register Name Table 38. Address 6 5 SBC configuration control reserved 1 0 reserved 4 V1RTSUC 3 2 1 0 FNMC SDMC reserved Overview of CRC control register Register Name Bit: MTPNV CRC control 6 5 4 3 2 1 0 5 4 3 2 1 0 CRCC[7:0] Overview of Identification register Register Name Bit: 7 0x7E 2 Bit: 7 0x75 3 Overview of SBC configuration control register 7 0x74 4 Identification 6 IDS[7:0] 6.13.3 Register configuration in UJA1164 operating modes A number of register bits may change state automatically when the UJA1164 switches from one operating mode to another. This is particularly evident when the UJA1164 switches to Off mode. These changes are summarized in Table 39. If an SPI transmission is in progress when the UJA1164 changes state, the transmission is ignored (automatic state changes have priority). Table 39. UJA1164 Product data sheet Register bit settings in UJA1164 operating modes Symbol Off (power-on default) Standby Normal Overtemp Reset CBS 0 no change no change no change no change CBSE 0 no change no change no change no change CBSS 1 actual state actual state actual state actual state CF 0 no change no change no change no change CFE 0 no change no change no change no change CFS 0 actual state actual state actual state actual state CMC 00 no change no change no change no change CRCC 00000000 no change no change no change no change CTS 0 0 actual state 0 0 CW 0 no change no change no change no change CWE 0 no change no change no change no change ECCS actual state actual state actual state actual state actual state FNMC MTPNV MTPNV MTPNV MTPNV MTPNV FNMS 0 actual state actual state actual state actual state GPMn 00000000 no change no change no change no change All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 32 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog Table 39. Symbol Off (power-on default) Standby Normal Overtemp Reset IDS 1000 0000 no change no change no change no change LKnC 0 no change no change no change no change MC 100 100 111 don’t care 100 NMS 1 no change 0 no change no change NVMPS actual state actual state actual state actual state actual state NWP 0100 no change no change 0100 0100 OTW 0 no change no change no change no change OTWE 0 no change no change no change no change OTWS 0 actual state actual state actual state actual state PO 1 no change no change no change no change RLC MTPNV MTPNV MTPNV MTPNV MTPNV RSS 00000 no change no change 10010 reset source SDMC MTPNV MTPNV MTPNV MTPNV MTPNV SDMS 0 actual state actual state actual state actual state SPIF 0 no change no change no change no change SPIFE 0 no change no change no change no change SUPE 0 no change no change no change no change SYSE 1 no change no change no change no change TRXE 0 no change no change no change no change V1RTC defined by V1RTSUC no change no change no change no change V1RTSUC MTPNV MTPNV MTPNV MTPNV MTPNV V1S 0 actual state actual state actual state actual state V1UE 0 no change no change no change no change V1U 0 no change no change no change no change VCS 0 actual state actual state actual state actual state WDF 0 no change no change no change no change WDS 0 actual state actual state actual state actual state WMC [1] no change no change no change [1] WRCNTS actual state actual state actual state actual state actual state [1] UJA1164 Product data sheet Register bit settings in UJA1164 operating modes …continued 001 if SDMC = 1; otherwise 010. All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 33 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 7. Limiting values Table 40. Limiting values In accordance with the Absolute Maximum Rating System (IEC 60134). Symbol Parameter Conditions Vx voltage on pin x DC value voltage between pin CANH and pin CANL Vtrt transient voltage Max Unit V 0.2 +6 pins TXD, RXD, SDI, SDO, SCK, SCSN, RSTN 0.2 VV1 + 0.2 V pin BAT 0.2 +40 V pins CANH and CANL with respect to any other pin 58 +58 V 40 +40 V 150 +100 V 6 +6 kV 8 +8 kV on pins BAT 4 +4 kV on any other pin 2 +2 kV 100 +100 V 750 +750 V 500 +500 V 40 +150 C 55 +150 C [1] pin V1 V(CANH-CANL) Min [2] on pins BAT: via reverse polarity diode and capacitor to ground CANL, CANH: coupling via 1 nF capacitors VESD electrostatic discharge voltage IEC 61000-4-2 [3] on pins CANH and CANL; pin BAT with capacitor [4] HBM on pins CANH, CANL [5] [6] MM on any pin [7] CDM on corner pins on any other pin Tvj virtual junction temperature Tstg storage temperature [8] [1] When the device is not powered up, IV1 (max) = 25 mA. [2] Verified by an external test house to ensure pins can withstand ISO 7637 part 2 automotive transient test pulses 1, 2a, 3a and 3b. [3] ESD performance according to IEC 61000-4-2 (150 pF, 330 ) has been verified by an external test house; the result was equal to or better than 6 kV. [4] Human Body Model (HBM): according to AEC-Q100-002 (100 pF, 1.5 k). [5] V1 and BAT connected to GND, emulating the application circuit. [6] Machine Model (MM): according to AEC-Q100-003 (200 pF, 0.75 H, 10 ). [7] Charged Device Model (CDM): according to AEC-Q100-011 (field Induced charge; 4 pF). [8] In accordance with IEC 60747-1. An alternative definition of virtual junction temperature is: Tvj = Tamb + P Rth(j-a), where Rth(j-a) is a fixed value used in the calculation of Tvj. The rating for Tvj limits the allowable combinations of power dissipation (P) and ambient temperature (Tamb). UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 34 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 8. Thermal characteristics Table 41. Symbol Rth(vj-a) [1] Thermal characteristics Parameter Conditions [1] thermal resistance from virtual junction to ambient Typ Unit 60 K/W According to JEDEC JESD51-2, JESD51-5 and JESD51-7 at natural convection on 2s2p board. Board with two inner copper layers (thickness: 35 m) and thermal via array under the exposed pad connected to the first inner copper layer (thickness: 70 m). 9. Static characteristics Table 42. Static characteristics Tvj = 40 C to +150 C; VBAT = 3 V to 28 V; R(CANH-CANL) = 60 ; all voltages are defined with respect to ground; positive currents flow into the IC; typical values are given at VBAT = 13 V; unless otherwise specified. Symbol Parameter Conditions Min Typ Max Unit Supply; pin BAT Vth(det)pon power-on detection threshold voltage VBAT rising 4.2 - 4.55 V Vth(det)poff power-off detection threshold voltage VBAT falling 2.8 - 3 V Vuvr(CAN) CAN undervoltage recovery voltage VBAT rising 4.5 - 5 V Vuvd(CAN) CAN undervoltage detection voltage VBAT falling 4.2 - 4.55 V IBAT battery supply current Standby mode; MC = 100; CWE = 1; CAN Offline mode; IV1 = 0 A; VBAT = 7 V to 18 V; 40 C < Tvj < 85 C - 60 85 A additional current in CAN Offline Bias mode; 40 C < Tvj < 85 C - 46 63 A Normal mode; MC = 111; CAN Active mode; CAN recessive; VTXD = VV1 - 4 7.5 mA Normal mode; MC = 111; CAN Active mode; CAN dominant; VTXD = 0 V - 46 67 mA VBAT = 5.5 V to 18 V; IV1 = 120 mA to 0 mA; VTXD = VV1 4.9 5 5.1 V VBAT = 5.65 V to 18 V; IV1 = 150 mA to 0 mA; VTXD = VV1 4.9 5 5.1 V VBAT = 5.65 V to 18 V; IV1 = 100 mA to 0 mA; VTXD = 0 V; VCANH = 0 V 4.9 5 5.1 V VBAT = 2 V to 3 V; IV1 = 2 mA - - 100 mV 10 mV Voltage source: pin V1 VO Vret(RAM) output voltage RAM retention voltage difference VBAT = 2 V to 3 V; IV1 = 200 A UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 35 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog Table 42. Static characteristics …continued Tvj = 40 C to +150 C; VBAT = 3 V to 28 V; R(CANH-CANL) = 60 ; all voltages are defined with respect to ground; positive currents flow into the IC; typical values are given at VBAT = 13 V; unless otherwise specified. Symbol Parameter Conditions Min Typ Max Unit R(BAT-V1) resistance between pin BAT and pin V1 VBAT = 4 V to 6 V; IV1 = 120 mA; Tvj < 150 C - - 5 VBAT = 3 V to 4 V; IV1 = 40 mA - 2.625 - Vuvd(nom) = 90 % 4.5 - 4.75 V Vuvd(nom) = 80 % 4 - 4.25 V Vuvd(nom) = 70 % 3.5 3.75 V Vuvd(nom) = 60 % 3 - 3.25 V Vuvd undervoltage detection voltage Vuvr undervoltage recovery voltage 4.5 - 4.75 V IO(sc) short-circuit output current 300 - 150 mA Serial peripheral interface inputs; pins SDI, SCK and SCSN Vth(sw) switching threshold voltage 0.25VV1 - 0.75VV1 V Rpd(SCK) pull-down resistance on pin SCK 40 60 80 k Rpu(SCSN) pull-up resistance on pin SCSN 40 60 80 k ILI(SDI) input leakage current on pin SDI 5 - +5 A Serial peripheral interface data output; pin SDO VOH HIGH-level output voltage IOH = 4 mA VV1 0.4 - - V VOL LOW-level output voltage IOL = 4 mA - - 0.4 V ILO(off) off-state output leakage current VSCSN = VV1; VO = 0 V to VV1 5 - +5 A CAN transmit data input; pin TXD Vth(sw) switching threshold voltage 0.25VV1 - 0.75VV1 V Rpu pull-up resistance 40 60 80 k CAN receive data output; pin RXD VOH HIGH-level output voltage IOH = 4 mA VV1 0.4 - - V VOL LOW-level output voltage IOL = 4 mA - - 0.4 V Rpu pull-up resistance CAN Offline mode 40 60 80 k pin CANH 2.75 3.5 4.5 V pin CANL 0.5 1.5 2.25 V 400 - +400 mV 0.9VV1 - 1.1VV1 V CAN Active mode (dominant); VTXD = 0 V; VV1 = 4.75 V to 5.5 V; R(CANH-CANL) = 45 to 65 1.5 - 3.0 V CAN Active mode (recessive); CAN Listen-only mode; CAN Offline mode; VTXD = VV1; R(CANH-CANL) = no load 50 - +50 mV High-speed CAN bus lines; pins CANH and CANL VO(dom) dominant output voltage CAN Active mode; VTXD = 0 V Vdom(TX)sym transmitter dominant voltage symmetry Vdom(TX)sym = VV1 VCANH VCANL; VV1 = 5 V VTXsym transmitter voltage symmetry VTXsym = VCANH + VCANL; fTXD = 250 kHz; CSPLIT = 4.7 nF VO(dif)bus bus differential output voltage UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 [1] [2] © NXP B.V. 2013. All rights reserved. 36 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog Table 42. Static characteristics …continued Tvj = 40 C to +150 C; VBAT = 3 V to 28 V; R(CANH-CANL) = 60 ; all voltages are defined with respect to ground; positive currents flow into the IC; typical values are given at VBAT = 13 V; unless otherwise specified. Symbol Parameter Conditions Min Typ Max Unit VO(rec) recessive output voltage CAN Active mode; VTXD = VV1 R(CANH-CANL) = no load 2 0.5VV1 3 V CAN Offline mode; R(CANH-CANL) = no load 0.1 - +0.1 V CAN Offline Bias/Listen-only modes; R(CANH-CANL) = no load; VV1 = 0 V 2 2.5 3 V pin CANH; VCANH = 0 V 50 - - mA pin CANL; VCANL = 5 V - - 52 mA IO(dom) dominant output current CAN Active mode; VTXD = 0 V; VV1 = 5 V IO(rec) recessive output current VCANL = VCANH = 27 V to +32 V; VTXD = VV1 3 - +3 mA Vth(RX)dif differential receiver threshold voltage CAN Active/Listen-only modes; VCANL = VCANH = 12 V to +12 V 0.5 0.7 0.9 V CAN Offline mode; VCANL = VCANH = 12 V to +12 V 0.4 0.7 1.15 V CAN Active/Listen-only modes; VCANL = VCANH = 12 V to +12 V 50 200 400 mV Vhys(RX)dif differential receiver hysteresis voltage Ri(cm) common-mode input resistance 9 15 28 k Ri input resistance deviation 1 - +1 % Ri(dif) differential input resistance 19 30 52 k Ci(cm) common-mode input capacitance [1] - - 20 pF Ci(dif) differential input capacitance [1] - - 10 pF ILI input leakage current 5 - +5 A VCANL = VCANH = 12 V to +12 V VBAT = VV1 = 0 V or VBAT = VV1 = shorted to ground via 47 k; VCANH = VCANL = 5 V Temperature protection Tth(act)otp overtemperature protection activation threshold temperature 167 177 187 C Tth(rel)otp overtemperature protection release threshold temperature 127 137 147 C Tth(warn)otp overtemperature protection warning threshold temperature 127 137 147 C 0 - 0.2VV1 V 40 60 80 k Reset output; pin RSTN VOL LOW-level output voltage Rpu pull-up resistance UJA1164 Product data sheet VV1 = 1.0 V to 5.5 V; pull-up resistor to VV1 900 All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 37 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog Table 42. Static characteristics …continued Tvj = 40 C to +150 C; VBAT = 3 V to 28 V; R(CANH-CANL) = 60 ; all voltages are defined with respect to ground; positive currents flow into the IC; typical values are given at VBAT = 13 V; unless otherwise specified. Symbol Parameter Vth(sw) switching threshold voltage Conditions Min Typ Max Unit 0.25V1 - 0.75VV1 V - - 200 - MTP non-volatile memory Ncy(W)MTP number of MTP write cycles [1] Not tested in production; guaranteed by design. [2] The test circuit used to measure the bus output voltage symmetry (which includes CSPLIT) is shown in Figure 14. UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 38 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 10. Dynamic characteristics Table 43. Dynamic characteristics Tvj = 40 C to +150 C; VBAT = 3 V to 28 V; R(CANH-CANL) = 60 ; all voltages are defined with respect to ground; positive currents flow into the IC; typical values are given at VBAT = 13 V; unless otherwise specified. Symbol Parameter Conditions Min Typ Max Unit from VBAT exceeding the power-on detection threshold until VV1 exceeds the 90 % undervoltage threshold - 2.8 4.7 ms 6 - 39 s Voltage source; pin V1 tstartup start-up time td(uvd) undervoltage detection delay time td(uvd-RSTNL) delay time from undervoltage detection to RSTN LOW undervoltage on V1 - - 48 s td(buswake-VOH) delay time from bus wake-up to HIGH-level output voltage HIGH = 0.8VO(V1); IV1 100 mA - - 5 ms Serial peripheral interface timing; pins SCSN, SCK, SDI and SDO tcy(clk) clock cycle time 250 - - ns tSPILEAD SPI enable lead time 50 - - ns tSPILAG SPI enable lag time 50 - - ns tclk(H) clock HIGH time 125 - - ns tclk(L) clock LOW time 125 - - ns tsu(D) data input set-up time 50 - - ns th(D) data input hold time 50 - - ns tv(Q) data output valid time pin SDO; CL = 20 pF - - 50 ns tWH(S) chip select pulse width HIGH pin SCSN 250 - - ns - - 255 ns CAN transceiver timing; pins CANH, CANL, TXD and RXD td(TXD-RXD) delay time from TXD to RXD td(TXD-busdom) delay time from TXD to bus dominant - 80 - ns td(TXD-busrec) delay time from TXD to bus recessive - 80 - ns td(busdom-RXD) delay time from bus dominant to RXD CRXD = 15 pF - 105 - ns td(busrec-RXD) delay time from bus recessive to RXD CRXD = 15 pF - 120 - ns twake(busdom) bus dominant wake-up time first pulse (after first recessive) for wake-up on pins CANH and CANL; CAN Offline mode 0.5 - 3.0 s second pulse for wake-up on pins CANH and CANL 0.5 - 3.0 s UJA1164 Product data sheet 50 % VTXD to 50 % VRXD; CRXD = 15 pF; fTXD = 250 kHz All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 39 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog Table 43. Dynamic characteristics …continued Tvj = 40 C to +150 C; VBAT = 3 V to 28 V; R(CANH-CANL) = 60 ; all voltages are defined with respect to ground; positive currents flow into the IC; typical values are given at VBAT = 13 V; unless otherwise specified. Symbol Parameter Conditions Min Typ Max Unit twake(busrec) bus recessive wake-up time first pulse for wake-up on pins CANH and CANL; CAN Offline mode 0.5 - 3.0 s second pulse (after first dominant) for wake-up on pins CANH and CANL 0.5 - 3.0 s tto(wake) wake-up time-out time between first and second dominant pulses; CAN Offline mode 570 - 1200 s tto(dom)TXD TXD dominant time-out time CAN Active mode; VTXD = 0 V 2.7 - 3.3 ms tto(silence) bus silence time-out time recessive time measurement started in all CAN modes; RL = 120 0.95 - 1.17 s td(busact-bias) delay time from bus active to bias - - 200 s tstartup(CAN) CAN start-up time - - 220 s when switching to Active mode (CTS = 1) Pin RXD: event capture timing (valid in CAN Offline mode only) td(event) event capture delay time CAN Offline mode 0.9 - 1.1 ms tblank blanking time when switching from Offline to Active/Listen-only mode - - 25 s ttrig(wd)1 watchdog trigger time 1 Normal mode; watchdog Window mode only [1] 0.45 NWP[2] 0.55 ms NWP[2] ttrig(wd)2 watchdog trigger time 2 Normal/Standby mode [3] 0.9 NWP[2] 1.11 ms NWP[2] RLC = 00 20 - 25 ms RLC = 01 10 - 12.5 ms RLC = 10 3.6 - 5 ms RLC = 11 1 - 1.5 ms 7 - 18 s 0.9 - 1.1 ms Watchdog Pin RSTN: reset pulse width tw(rst) tfltr(rst) reset pulse width reset filter time MTP non-volatile memory td(MTPNV) MTPNV delay time before factory presets are restored [1] A system reset will be performed if the watchdog is in Window mode and is triggered less than ttrig(wd)1 after the start of the watchdog period (or in the first half of the watchdog period). [2] The nominal watchdog period is programmed via the NWP control bits. [3] The watchdog will be reset if it is in window mode and is triggered at least ttrig(wd)1, but not more than ttrig(wd)2, after the start of the watchdog period (or in the second half of the watchdog period). A system reset will be performed if the watchdog is triggered more than ttrig(wd)2 after the start of the watchdog period (watchdog overflows). UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 40 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog +,*+ 7;' /2: &$1+ &$1/ GRPLQDQW 9 92GLIEXV 9 UHFHVVLYH +,*+ 5;' /2: WG7;'EXVGRP WG7;'EXVUHF WGEXVGRP5;' WGEXVUHF5;' WG7;'5;' WG7;'5;' DDD Fig 10. CAN transceiver timing diagram 6&61 W63,/($' W63,/$* WF\FON WFON+ WFON/ WVX' WK' W:+6 6&. 6', 06% ; /6% ; WY4 IORDWLQJ 6'2 IORDWLQJ ; 06% /6% DDD Fig 11. SPI timing diagram UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 41 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 11. Application information 11.1 Application diagram BAT (1) 22 μF V1 BAT 3 10 5 14 6 UJA1164 8 11 GND 2 4 13 12 CANH RT (2) 1 RSTN RSTN VCC MICROCONTROLLER SCSN SDO standard μC ports SCK SDI RXD TXD RXD TXD VSS CANL RT (2) e.g. 4.7 nF 015aaa381 (1) Actual capacitance value must be a least 1.76 F with 5 V DC offset (recommended capacitor value is 4.7 F) (2) For bus line end nodes, RT = 60 in order to support the ‘split termination concept’. For sub-nodes, an optional ‘weak’ termination of e.g. RT = 1.3 k can be used, if required by the OEM. Fig 12. Typical application using the UJA1164 UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 42 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 12. Test information BAT RXD CANH RL SBC 15 pF TXD 100 pF CANL GND 015aaa369 Fig 13. Timing test circuit for CAN transceiver 10 1 BAT TXD CANH 13 30 Ω SBC f = 250 kHz 4 RXD CSPLIT 4.7 nF CANL 12 GND 2 30 Ω 015aaa444 Fig 14. Test circuit for measuring transceiver driver symmetry 12.1 Quality information This product has been qualified in accordance with the Automotive Electronics Council (AEC) standard Q100 - Failure mechanism based stress test qualification for integrated circuits, and is suitable for use in automotive applications. UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 43 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 13. Package outline HVSON14: plastic, thermal enhanced very thin small outline package; no leads; 14 terminals; body 3 x 4.5 x 0.85 mm SOT1086-2 X A B D E A A1 c terminal 1 index area detail X e1 terminal 1 index area e 1 7 C C A B C v w b y1 C y L k Eh 14 8 Dh 0 2.5 Dimensions Unit mm 5 mm scale A A1 b max 1.00 0.05 0.35 nom 0.85 0.03 0.32 min 0.80 0.00 0.29 c D Dh E 0.2 4.6 4.5 4.4 4.25 4.20 4.15 3.1 3.0 2.9 Eh e e1 1.65 1.60 0.65 1.55 3.9 k L 0.35 0.45 0.30 0.40 0.25 0.35 v 0.1 w y 0.05 0.05 y1 0.1 sot1086-2 References Outline version IEC JEDEC JEITA SOT1086-2 --- MO-229 --- European projection Issue date 10-07-14 10-07-15 Fig 15. Package outline SOT1086-2 (HVSON14) UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 44 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 14. Handling information All input and output pins are protected against ElectroStatic Discharge (ESD) under normal handling. When handling ensure that the appropriate precautions are taken as described in JESD625-A or equivalent standards. 15. Soldering of SMD packages This text provides a very brief insight into a complex technology. A more in-depth account of soldering ICs can be found in Application Note AN10365 “Surface mount reflow soldering description”. 15.1 Introduction to soldering Soldering is one of the most common methods through which packages are attached to Printed Circuit Boards (PCBs), to form electrical circuits. The soldered joint provides both the mechanical and the electrical connection. There is no single soldering method that is ideal for all IC packages. Wave soldering is often preferred when through-hole and Surface Mount Devices (SMDs) are mixed on one printed wiring board; however, it is not suitable for fine pitch SMDs. Reflow soldering is ideal for the small pitches and high densities that come with increased miniaturization. 15.2 Wave and reflow soldering Wave soldering is a joining technology in which the joints are made by solder coming from a standing wave of liquid solder. The wave soldering process is suitable for the following: • Through-hole components • Leaded or leadless SMDs, which are glued to the surface of the printed circuit board Not all SMDs can be wave soldered. Packages with solder balls, and some leadless packages which have solder lands underneath the body, cannot be wave soldered. Also, leaded SMDs with leads having a pitch smaller than ~0.6 mm cannot be wave soldered, due to an increased probability of bridging. The reflow soldering process involves applying solder paste to a board, followed by component placement and exposure to a temperature profile. Leaded packages, packages with solder balls, and leadless packages are all reflow solderable. Key characteristics in both wave and reflow soldering are: • • • • • • Board specifications, including the board finish, solder masks and vias Package footprints, including solder thieves and orientation The moisture sensitivity level of the packages Package placement Inspection and repair Lead-free soldering versus SnPb soldering 15.3 Wave soldering Key characteristics in wave soldering are: UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 45 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog • Process issues, such as application of adhesive and flux, clinching of leads, board transport, the solder wave parameters, and the time during which components are exposed to the wave • Solder bath specifications, including temperature and impurities 15.4 Reflow soldering Key characteristics in reflow soldering are: • Lead-free versus SnPb soldering; note that a lead-free reflow process usually leads to higher minimum peak temperatures (see Figure 16) than a SnPb process, thus reducing the process window • Solder paste printing issues including smearing, release, and adjusting the process window for a mix of large and small components on one board • Reflow temperature profile; this profile includes preheat, reflow (in which the board is heated to the peak temperature) and cooling down. It is imperative that the peak temperature is high enough for the solder to make reliable solder joints (a solder paste characteristic). In addition, the peak temperature must be low enough that the packages and/or boards are not damaged. The peak temperature of the package depends on package thickness and volume and is classified in accordance with Table 44 and 45 Table 44. SnPb eutectic process (from J-STD-020D) Package thickness (mm) Package reflow temperature (C) Volume (mm3) < 350 350 < 2.5 235 220 2.5 220 220 Table 45. Lead-free process (from J-STD-020D) Package thickness (mm) Package reflow temperature (C) Volume (mm3) < 350 350 to 2000 > 2000 < 1.6 260 260 260 1.6 to 2.5 260 250 245 > 2.5 250 245 245 Moisture sensitivity precautions, as indicated on the packing, must be respected at all times. Studies have shown that small packages reach higher temperatures during reflow soldering, see Figure 16. UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 46 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog maximum peak temperature = MSL limit, damage level temperature minimum peak temperature = minimum soldering temperature peak temperature time 001aac844 MSL: Moisture Sensitivity Level Fig 16. Temperature profiles for large and small components For further information on temperature profiles, refer to Application Note AN10365 “Surface mount reflow soldering description”. 16. Soldering of HVSON packages Section 15 contains a brief introduction to the techniques most commonly used to solder Surface Mounted Devices (SMD). A more detailed discussion on soldering HVSON leadless package ICs can found in the following application notes: • AN10365 ‘Surface mount reflow soldering description” • AN10366 “HVQFN application information” UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 47 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 17. Revision history Table 46. Revision history Document ID Release date Data sheet status Change notice Supersedes UJA1164 v.1 20130805 Product data sheet - - UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 48 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 18. Legal information 18.1 Data sheet status Document status[1][2] Product status[3] Definition Objective [short] data sheet Development This document contains data from the objective specification for product development. Preliminary [short] data sheet Qualification This document contains data from the preliminary specification. Product [short] data sheet Production This document contains the product specification. [1] Please consult the most recently issued document before initiating or completing a design. [2] The term ‘short data sheet’ is explained in section “Definitions”. [3] The product status of device(s) described in this document may have changed since this document was published and may differ in case of multiple devices. The latest product status information is available on the Internet at URL http://www.nxp.com. 18.2 Definitions Draft — The document is a draft version only. The content is still under internal review and subject to formal approval, which may result in modifications or additions. NXP Semiconductors does not give any representations or warranties as to the accuracy or completeness of information included herein and shall have no liability for the consequences of use of such information. Short data sheet — A short data sheet is an extract from a full data sheet with the same product type number(s) and title. A short data sheet is intended for quick reference only and should not be relied upon to contain detailed and full information. For detailed and full information see the relevant full data sheet, which is available on request via the local NXP Semiconductors sales office. In case of any inconsistency or conflict with the short data sheet, the full data sheet shall prevail. Product specification — The information and data provided in a Product data sheet shall define the specification of the product as agreed between NXP Semiconductors and its customer, unless NXP Semiconductors and customer have explicitly agreed otherwise in writing. In no event however, shall an agreement be valid in which the NXP Semiconductors product is deemed to offer functions and qualities beyond those described in the Product data sheet. 18.3 Disclaimers Limited warranty and liability — Information in this document is believed to be accurate and reliable. However, NXP Semiconductors does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no liability for the consequences of use of such information. NXP Semiconductors takes no responsibility for the content in this document if provided by an information source outside of NXP Semiconductors. In no event shall NXP Semiconductors be liable for any indirect, incidental, punitive, special or consequential damages (including - without limitation - lost profits, lost savings, business interruption, costs related to the removal or replacement of any products or rework charges) whether or not such damages are based on tort (including negligence), warranty, breach of contract or any other legal theory. Notwithstanding any damages that customer might incur for any reason whatsoever, NXP Semiconductors’ aggregate and cumulative liability towards customer for the products described herein shall be limited in accordance with the Terms and conditions of commercial sale of NXP Semiconductors. Right to make changes — NXP Semiconductors reserves the right to make changes to information published in this document, including without limitation specifications and product descriptions, at any time and without notice. This document supersedes and replaces all information supplied prior to the publication hereof. UJA1164 Product data sheet Suitability for use in automotive applications — This NXP Semiconductors product has been qualified for use in automotive applications. Unless otherwise agreed in writing, the product is not designed, authorized or warranted to be suitable for use in life support, life-critical or safety-critical systems or equipment, nor in applications where failure or malfunction of an NXP Semiconductors product can reasonably be expected to result in personal injury, death or severe property or environmental damage. NXP Semiconductors and its suppliers accept no liability for inclusion and/or use of NXP Semiconductors products in such equipment or applications and therefore such inclusion and/or use is at the customer's own risk. Applications — Applications that are described herein for any of these products are for illustrative purposes only. NXP Semiconductors makes no representation or warranty that such applications will be suitable for the specified use without further testing or modification. Customers are responsible for the design and operation of their applications and products using NXP Semiconductors products, and NXP Semiconductors accepts no liability for any assistance with applications or customer product design. It is customer’s sole responsibility to determine whether the NXP Semiconductors product is suitable and fit for the customer’s applications and products planned, as well as for the planned application and use of customer’s third party customer(s). Customers should provide appropriate design and operating safeguards to minimize the risks associated with their applications and products. NXP Semiconductors does not accept any liability related to any default, damage, costs or problem which is based on any weakness or default in the customer’s applications or products, or the application or use by customer’s third party customer(s). Customer is responsible for doing all necessary testing for the customer’s applications and products using NXP Semiconductors products in order to avoid a default of the applications and the products or of the application or use by customer’s third party customer(s). NXP does not accept any liability in this respect. Limiting values — Stress above one or more limiting values (as defined in the Absolute Maximum Ratings System of IEC 60134) will cause permanent damage to the device. Limiting values are stress ratings only and (proper) operation of the device at these or any other conditions above those given in the Recommended operating conditions section (if present) or the Characteristics sections of this document is not warranted. Constant or repeated exposure to limiting values will permanently and irreversibly affect the quality and reliability of the device. Terms and conditions of commercial sale — NXP Semiconductors products are sold subject to the general terms and conditions of commercial sale, as published at http://www.nxp.com/profile/terms, unless otherwise agreed in a valid written individual agreement. In case an individual agreement is concluded only the terms and conditions of the respective agreement shall apply. NXP Semiconductors hereby expressly objects to applying the customer’s general terms and conditions with regard to the purchase of NXP Semiconductors products by customer. All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 49 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog No offer to sell or license — Nothing in this document may be interpreted or construed as an offer to sell products that is open for acceptance or the grant, conveyance or implication of any license under any copyrights, patents or other industrial or intellectual property rights. Translations — A non-English (translated) version of a document is for reference only. The English version shall prevail in case of any discrepancy between the translated and English versions. Export control — This document as well as the item(s) described herein may be subject to export control regulations. Export might require a prior authorization from competent authorities. 18.4 Trademarks Notice: All referenced brands, product names, service names and trademarks are the property of their respective owners. 19. Contact information For more information, please visit: http://www.nxp.com For sales office addresses, please send an email to: [email protected] UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 50 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 20. Contents 1 2 2.1 2.2 2.3 2.4 2.5 3 4 5 5.1 5.2 6 6.1 6.1.1 6.1.1.1 6.1.1.2 6.1.1.3 6.1.1.4 6.1.1.5 6.1.1.6 6.1.1.7 6.1.2 6.2 6.2.1 6.2.2 6.2.3 6.2.4 6.3 6.3.1 6.3.2 6.3.3 6.4 6.5 6.5.1 6.5.2 6.6 6.6.1 6.6.1.1 General description . . . . . . . . . . . . . . . . . . . . . . 1 Features and benefits . . . . . . . . . . . . . . . . . . . . 1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Designed for automotive applications. . . . . . . . 1 Low-drop voltage regulator for 5 V microcontroller supply (V1) . . . . . . . . . . . . . . . . 1 Power Management . . . . . . . . . . . . . . . . . . . . . 2 System control and diagnostic features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Ordering information . . . . . . . . . . . . . . . . . . . . . 2 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Pinning information . . . . . . . . . . . . . . . . . . . . . . 4 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 4 Functional description . . . . . . . . . . . . . . . . . . . 5 System controller . . . . . . . . . . . . . . . . . . . . . . . 5 Operating modes . . . . . . . . . . . . . . . . . . . . . . . 5 Normal mode . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Standby mode. . . . . . . . . . . . . . . . . . . . . . . . . . 5 Reset mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Off mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Overtemp mode . . . . . . . . . . . . . . . . . . . . . . . . 7 Forced Normal mode . . . . . . . . . . . . . . . . . . . . 7 Hardware characterization for the UJA1164 operating modes . . . . . . . . . . 8 System control registers . . . . . . . . . . . . . . . . . . 8 Watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Software Development mode . . . . . . . . . . . . . 12 Watchdog behavior in Window mode . . . . . . . . . . . . . . . . . . . . . . . 12 Watchdog behavior in Timeout mode . . . . . . . . . . . . . . . . . . . . . . . 12 Watchdog behavior in Autonomous mode . . . . . . . . . . . . . . . . . . . 12 System reset. . . . . . . . . . . . . . . . . . . . . . . . . . 13 Characteristics of pin RSTN . . . . . . . . . . . . . . 13 Selecting the reset pulse width . . . . . . . . . . . . 13 Reset sources. . . . . . . . . . . . . . . . . . . . . . . . . 14 Global temperature protection . . . . . . . . . . . . 14 Power supplies . . . . . . . . . . . . . . . . . . . . . . . . 14 Battery supply voltage (VBAT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Low-drop voltage supply for 5 V microcontroller (V1) . . . . . . . . . . . . . . . . . . . . 14 High-speed CAN transceiver . . . . . . . . . . . . . 15 CAN operating modes . . . . . . . . . . . . . . . . . . 16 CAN Active mode . . . . . . . . . . . . . . . . . . . . . . 16 6.6.1.2 6.6.1.3 CAN Listen-only mode . . . . . . . . . . . . . . . . . . CAN Offline and Offline Bias modes . . . . . . . . . . . . . . . . . . . . . . . . . . 6.6.1.4 CAN off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.6.2 CAN standard wake-up . . . . . . . . . . . . . . . . . 6.6.3 CAN control and Transceiver status registers . . . . . . . . . . . . . . 6.7 CAN fail-safe features . . . . . . . . . . . . . . . . . . 6.7.1 TXD dominant timeout . . . . . . . . . . . . . . . . . . 6.7.2 Pull-up on TXD pin. . . . . . . . . . . . . . . . . . . . . 6.7.3 V1 undervoltage event . . . . . . . . . . . . . . . . . . 6.7.4 Loss of power at pin BAT . . . . . . . . . . . . . . . . 6.8 Wake-up and interrupt event diagnosis via pin RXD . . . . . . . . . . . . . . . . . . . . . . . . . . 6.8.1 Interrupt/wake-up delay . . . . . . . . . . . . . . . . . 6.8.2 Event status and event capture registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.9 Non-volatile SBC configuration . . . . . . . . . . . 6.9.1 Programming MTPNV cells . . . . . . . . . . . . . . 6.9.1.1 Calculating the CRC value for MTP programming . . . . . . . . . . . . . . . . . . 6.9.2 Restoring factory preset values . . . . . . . . . . . 6.10 Device ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.11 Lock control register. . . . . . . . . . . . . . . . . . . . 6.12 General purpose memory . . . . . . . . . . . . . . . 6.13 SPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.13.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . 6.13.2 Register map . . . . . . . . . . . . . . . . . . . . . . . . . 6.13.3 Register configuration in UJA1164 operating modes . . . . . . . . . . . . . 7 Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 8 Thermal characteristics . . . . . . . . . . . . . . . . . 9 Static characteristics . . . . . . . . . . . . . . . . . . . 10 Dynamic characteristics. . . . . . . . . . . . . . . . . 11 Application information . . . . . . . . . . . . . . . . . 11.1 Application diagram . . . . . . . . . . . . . . . . . . . . 12 Test information . . . . . . . . . . . . . . . . . . . . . . . 12.1 Quality information . . . . . . . . . . . . . . . . . . . . . 13 Package outline. . . . . . . . . . . . . . . . . . . . . . . . 14 Handling information . . . . . . . . . . . . . . . . . . . 15 Soldering of SMD packages . . . . . . . . . . . . . . 15.1 Introduction to soldering. . . . . . . . . . . . . . . . . 15.2 Wave and reflow soldering. . . . . . . . . . . . . . . 15.3 Wave soldering . . . . . . . . . . . . . . . . . . . . . . . 15.4 Reflow soldering . . . . . . . . . . . . . . . . . . . . . . 16 Soldering of HVSON packages . . . . . . . . . . . 16 17 17 18 20 21 21 21 21 21 21 22 23 25 25 26 27 27 27 28 28 28 31 32 34 35 35 39 42 42 43 43 44 45 45 45 45 45 46 47 continued >> UJA1164 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 1 — 5 August 2013 © NXP B.V. 2013. All rights reserved. 51 of 52 UJA1164 NXP Semiconductors Mini high-speed CAN system basis chip with Standby mode & watchdog 17 18 18.1 18.2 18.3 18.4 19 20 Revision history . . . . . . . . . . . . . . . . . . . . . . . . Legal information. . . . . . . . . . . . . . . . . . . . . . . Data sheet status . . . . . . . . . . . . . . . . . . . . . . Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . Trademarks. . . . . . . . . . . . . . . . . . . . . . . . . . . Contact information. . . . . . . . . . . . . . . . . . . . . Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 49 49 49 49 50 50 51 Please be aware that important notices concerning this document and the product(s) described herein, have been included in section ‘Legal information’. © NXP B.V. 2013. All rights reserved. For more information, please visit: http://www.nxp.com For sales office addresses, please send an email to: [email protected] Date of release: 5 August 2013 Document identifier: UJA1164