![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
UJA1023 LIN-I/O slave Rev. 03 -- 9 February 2006 Preliminary data sheet 1. General description The UJA1023 is a stand-alone Local Interconnect Network (LIN) I/O slave that replaces basic components commonly used in electronic control units for input and output handling. The UJA1023 contains a LIN 2.0 controller, an integrated LIN transceiver which is LIN 2.0 / SAE J2602 compliant and LIN 1.3 compatible, a 30 k termination resistor necessary for LIN-slaves, and eight I/O ports which are configurable via the LIN bus. An automatic bit rate synchronization circuit adapts to any (master) bit rate between 1 kbit/s and 20 kbit/s. For this, an oscillator is integrated. The LIN protocol will be handled autonomously and both Node Address (NAD) and LIN frame Identifier (ID) programming will be done by a master request and an optional slave response message in combination with a daisy chain or plug coding function. The eight bidirectional I/O pins are configurable via LIN bus messages and can have the following functions: * Input: - Standard input pin - Local wake-up - Edge capturing on falling, rising or both edges - Analog input pin - Switch matrix (in combination with output pins) * Output: - Standard output pin as high-side driver, low-side driver or push-pull driver - Cyclic sense mode for local wake-up - PWM mode, for example, for back light illumination - Switch matrix (in combination with input pins) On entering a low-power mode it is possible to hold the last output state or to change over to a user programmable output state. In case of a failure (e.g. LIN bus short to ground) the output changes over to a user programmable limp home output state and the low-power Limp home mode will be entered. Due to the advanced low-power behavior the power consumption of the UJA1023 in low-power mode is minimal. Philips Semiconductors UJA1023 LIN-I/O slave 2. Features s Automatic bit rate synchronization to any (master) bit rate between 1 kbit/s and 20 kbit/s s Integrated LIN 2.0 / SAE J2602 transceiver (including 30 k termination resistor) s Eight bidirectional I/O pins s 4 x 2, 4 x 3, or 4 x 4 switch matrix to support reading and supplying a maximum number of 16 switches s Outputs configurable as high-side and/or low-side driver and as cyclic or PWM driver s 8-bit ADC s Advanced low-power behavior s On-chip oscillator s Node Address (NAD) configuration via daisy chain or plug coding s Inputs supporting local wake-up and edge capturing s Configurable Sleep mode s Limp home configuration in case of error conditions s Extremely low electromagnetic emission s High immunity against electromagnetic interference s Bus line protected in accordance with ISO 7637 s Extended ambient temperature range (-40 C to +125 C) 3. Quick reference data Table 1: VBAT IBAT VLIN Tvj Vesd [1] [2] Quick reference data Conditions all operating modes LH sleep, Sleep and Limp home mode DC value [2] [1] Symbol Parameter supply voltage on pin BAT supply current on pin BAT voltage on pin LIN virtual junction temperature Min 6.5 -27 -40 -8 Typ 45 - Max 27 65 +40 +150 +8 Unit V A V C kV electrostatic discharge voltage human body model; on pins LIN, BAT, C1, C2 and C3 C = 100 pF; R = 1.5 k All outputs turned off, LIN recessive, Vth1 selected. Junction temperature in accordance with IEC60747-1. An alternative definition of Tvj = Tamb + P x Rth(j-a), where Rth(j-a) is a fixed value to be used for calculating Tvj. The rating for Tvj limits the allowable combinations of power dissipation (P) and ambient temperature (Tamb). 4. Ordering information Table 2: Ordering information Package Name UJA1023T SO16 Description plastic small outline package; 16 leads; body width 3.9 mm Version SOT109-1 Type number UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 2 of 50 Philips Semiconductors UJA1023 LIN-I/O slave 5. Block diagram BAT GND 3 5 VOLTAGE REGULATOR 1 VIO UJA1023 TERMINATION LIN 4 ADC LIN TRANSCEIVER AUTO BIT RATE DETECTION OSCILLATOR PWM C1 to C3 6 to 8 CONFIGURATION CYCLIC SENSE LIN CONTROLLER INH 2 INH I/O BLOCK 9 to 16 P0 to P7 mdb488 Fig 1. Block diagram 6. Pinning information 6.1 Pinning VIO INH BAT LIN GND C1 C2 C3 1 2 3 4 16 P7 15 P6 14 P5 13 P4 UJA1023T 5 6 7 8 001aab877 12 P3 11 P2 10 P1 9 P0 Fig 2. Pin configuration UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 3 of 50 Philips Semiconductors UJA1023 LIN-I/O slave 6.2 Pin description Table 3: Symbol VIO INH BAT LIN GND C1 C2 C3 P0 P1 P2 P3 P4 P5 P6 P7 [1] Pin description Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Type [1] I O I I/O I I I I/O I/O I/O I/O I/O I/O I/O I/O I/O Description reference input for level adaptation of the I/O pins P0 to P7 inhibit output for controlling an external voltage regulator or internal ADC battery supply LIN bus line ground configuration input 1 for LIN slave NAD assignment configuration input 2 for LIN slave NAD assignment configuration input / output 3 for LIN slave NAD assignment bidirectional I/O pin 0 bidirectional I/O pin 1 bidirectional I/O pin 2 bidirectional I/O pin 3 bidirectional I/O pin 4 bidirectional I/O pin 5 bidirectional I/O pin 6 bidirectional I/O pin 7 I = input; O = output; I/O = input or output. 7. Functional description The UJA1023 combines all blocks necessary to work as a stand-alone LIN slave. Various I/O functions typically used in a car are supported. For a more detailed description refer to Section 7.2 to Section 7.6. The block diagram is shown in Figure 1. 7.1 Short description of the UJA1023 7.1.1 LIN controller The LIN 2.0 controller monitors and evaluates the LIN messages in order to process the LIN commands. It supervises and executes the NAD assignment, ID assignment and I/O-configuration and controls the operating modes of the UJA1023. The NAD configuration is done by a combination of a LIN master request frame and a setting done by either a daisy chain or plug ID code. 7.1.2 LIN transceiver (including termination) The LIN transceiver, which is LIN 2.0 / SAE J2602 compliant, is the interface between the internal LIN controller and the physical LIN bus. The transmit data stream of the LIN controller is converted into a bus signal with an optimized wave shape to minimize UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 4 of 50 Philips Semiconductors UJA1023 LIN-I/O slave electromagnetic emission. The required LIN slave termination of 30 k is already integrated. In case of LIN bus faults the UJA1023 switches to the low-power Limp home mode. 7.1.3 Automatic bit rate detection The automatic bit rate detection adapts to the LIN master's bit rate. Any bit rate between 1 kbit/s and 20 kbit/s can be handled. This block checks whether the synchronization break and synchronization field are valid. If not, the message will be rejected. 7.1.4 Oscillator The on-chip oscillator provides the internal clock signal for some digital functions and is the time reference for the automatic bit rate detection. 7.1.5 I/O block The I/O block controls the configuration of the I/O pins. The LIN master configures the I/O pin functionality by means of a master request frame and an optional slave response frame. Besides the standard level input and output behavior the following functions are also handled by the UJA1023: local wake-up, cyclic input, edge capture, PWM output, switch matrix I/O and AD conversion. 7.1.6 ADC With three external components an 8-bit ADC function can be implemented. Each of the eight bidirectional I/O pins can be used as input for the ADC, one at a time. 7.1.7 PWM Each pin can be configured with a Pulse Width Modulation (PWM) function. The resolution is 8-bit and the base frequency is approximately 2.7 kHz. 7.1.8 Cyclic sense To reduce current consumption, the cyclic sense function can be used to read a switch. The switch will be supplied and read back periodically. 7.2 LIN controller 7.2.1 Configuration In this data sheet basic knowledge of the "LIN diagnostic and configuration specification, Rev. 2.0" is expected. 7.2.1.1 Message sequence The UJA1023 conforms to the "LIN diagnostic and configuration specification, Rev. 2.0" and is compatible with LIN 1.3. The UJA1023 can be configured via the LIN command frames `Master Request' (MasterReq) and `Slave Response' (SlaveResp). Both frames consist of eight data bytes. The MasterReq is used to send configuration data from the master to the slaves, whereas the slave being addressed by the prior MasterReq will answer with the related data on demand. UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 5 of 50 Philips Semiconductors UJA1023 LIN-I/O slave Depending on the usage of the MasterReq the meaning of the data bytes can be different. Thus each LIN slave evaluates these data bytes. Using MasterReq and SlaveResp for the UJA1023 configuration flow, as shown in Figure 3, is a so-called `handshake' concept. The slave echoes its received MasterReq data in the SlaveResp, so the master can review slave configuration data. The use of the SlaveResp is optional. The configuration flow is not disturbed if LIN commands other than shown in Figure 3 are sent to other LIN slave nodes. Thus the LIN master can transmit other LIN messages while it (re)configures the UJA1023. Remarks: * The I/O configuration will be enabled during the first usage of the UJA1023 message frames (see Section 7.2.5) of the PxResp or PxReq. * Notation Px is used in this document when referring to a function or property of any of the I/O pins P0 to P7. * For correct I/O configuration, the configuration requests must be sent in sequential order of first, second and third configuration data block. UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 6 of 50 xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx Preliminary data sheet Rev. 03 -- 9 February 2006 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. UJA1023_3 Philips Semiconductors assign NAD (optional) assign frame ID slave I/O configuration via data dump enable new I/O configuration PxResp MasterReq ID: 3C SlaveResp ID: 3D MasterReq ID: 3C SlaveResp ID: 3D MasterReq ID: 3C SlaveResp ID: 3D configured RxReq mce653 UJA1023 LIN-I/O slave 7 of 50 Fig 3. Typical configuration flow Philips Semiconductors UJA1023 LIN-I/O slave 7.2.1.2 LIN slave node address assignment The default slave Node Address (NAD) after power-on depends on the input levels of the configuration pins C1, C2 and C3. These pins will be sampled directly after the power-on event. The relation between the configuration pins and the NAD is shown in Table 4. Table 4: C3 0 0 0 0 1 1 1 1 Default NAD after power-on Default NAD (hex) C2 0 0 1 1 0 0 1 1 C1 0 1 0 1 0 1 0 1 60 61 62 63 64 65 66 67 Configuration pins In case a different NAD is necessary the assign NAD command has to be used. The assign NAD request is carried out if the Service Identifier (SID) in the third data byte of the MasterReq is the assign NAD request and the fourth to seventh data bytes are the LIN supplier codes of Philips (0x0011) and UJA1023 function ID (0x0000). Table 5: Data byte D0 D1 D2 D3 D4 D5 D6 D7 [1] Data bytes of assign NAD request [1] 7 6 5 4 3 2 1 0 Default value (hex) 08 06 B0 11 00 00 00 NAD d 0 1 0 0 0 0 NAD7 d 0 0 0 0 0 0 NAD6 d 0 1 0 0 0 0 NAD5 d 0 1 1 0 0 0 NAD4 d 0 0 0 0 0 0 NAD3 d 1 0 0 0 0 0 NAD2 d 1 0 0 0 0 0 NAD1 d 0 0 1 0 0 0 NAD0 d = different values possible; see Table 6. UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 8 of 50 Philips Semiconductors UJA1023 LIN-I/O slave Bit description of assign NAD request Bit 7 to 0 Symbol C[3:1] Description Initial NAD. This byte defines the initial NAD, refer to the related items topics 0x08 to 0x0F (D0[0] = C1, D0[1] = C2 and D0[2] = C3) defines Plug ID; D0[3] = 1 for Plug ID configuration 0x20 = daisy chain on; enable daisy chain pin drivers and receivers 0x21 = assign NAD via daisy chain 0x23 = daisy chain off; disable daisy chain pin drivers and receivers Table 6: Byte D0 D1 D2 7 to 0 7 to 0 PCI SID NAD[7:0] Protocol control information. Service identifier. As SlaveResp the RSID code will be 0xF0. Supplier ID. Fixed code 0x0011 for Philips. Function ID. For the UJA1023 this code is fixed as 0x0000. Slave Node Address (NAD). NAD values are in the range 1 to 127, while 0 and 128 to 255 are reserved for other purposes. D3 and D4 7 to 0 D5 and D6 7 to 0 D7 7 to 0 The format of the positive response is shown in Table 7. Table 7: Data byte D0 D1 D2 D3 D4 D5 D6 D7 [1] Positive response assign NAD request 7 6 5 4 3 [1] 2 1 0 Default value (hex) 08 01 F0 FF FF FF FF FF d 0 1 1 1 1 1 1 d 0 1 1 1 1 1 1 d 0 1 1 1 1 1 1 d 0 1 1 1 1 1 1 d 0 0 1 1 1 1 1 d 0 0 1 1 1 1 1 d 0 0 1 1 1 1 1 d 1 0 1 1 1 1 1 d = different values possible; see Table 6. The NAD assignment can be done via Daisy Chain (DC), (see Section "Daisy chain NAD assignment") as well as via Plug ID (see Section "Plug ID NAD assignment"). The type of NAD assignment can be distinguished on the value of the initial NAD, which is the first data byte D0 of the MasterReq assign NAD request. For reliability reasons the assignment mode decision is valid only if the combination of D0 to D6 (see Table 5) is true. After power-on the UJA1023 message identifiers PxReq and PxResp (see Section 7.2.5) are disabled. This is also true for NAD reassignment. In this case the message identifiers PxReq, PxResp and I/O configuration are disabled. UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 9 of 50 Philips Semiconductors UJA1023 LIN-I/O slave Daisy chain NAD assignment: Once the UJA1023 receives the assign NAD MasterReq frame and the type of configuration is daisy chain, the following actions can take place, depending on the initial NAD value: * Initial NAD 0x20: Daisy chain on, the C1 to C3 pin drivers are enabled. * Initial NAD 0x21: The input level on the configuration pin C1 and the status flag of the internal DC-switch is read. The UJA1023 will be configured if C1 is LOW and the DC-switch is open (see slave 2 in Figure 4). The UJA1023 under daisy chain configuration uses the data byte D7 as new NAD for its further LIN configuration requests (e.g. Assign Frame ID). After the NAD assignment the DC-switch at pin C3 is closed, which puts through the daisy chain signal to the next slave. The switch will be opened again as soon as an Assign NAD request with initial NAD daisy chain off has been received. * Initial NAD 0x23: Daisy chain off, the C1 to C3 pin drivers are disabled. After the NAD assignment, for example, the `assign frame ID' can be used to assign specific ID numbers. The internal pull-up resistors at pin C1 to C3 are active during the assign NAD process only. Thus it causes no permanent current (see also Section 7.4) and reduces power consumption especially in the low-power modes. Remark: There is no slave response to assign NAD requests using the initial NAD 0x20 and NAD 0x23. UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 10 of 50 xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx Preliminary data sheet Rev. 03 -- 9 February 2006 BAT (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. UJA1023_3 Philips Semiconductors CONFIGURED MASTER UJA1023 ASSIGN NAD IN CONFIGURATION 1 UJA1023 ASSIGN NAD NOT CONFIGURED 2 UJA1023 ASSIGN NAD n INITIAL NAD = DAISY CHAIN INITIAL NAD = DAISY CHAIN INITIAL NAD = DAISY CHAIN DC FLAG BAT BAT DC FLAG BAT BAT DC FLAG BAT BAT & & & BAT LIN GND BAT LIN C1 C2 C3 GND BAT LIN C1 C2 C3 GND BAT LIN C1 C2 C3 GND PLUG PLUG PLUG PLUG GND mdb492 UJA1023 LIN-I/O slave 11 of 50 Fig 4. Daisy chain ID Philips Semiconductors UJA1023 LIN-I/O slave Plug ID NAD assignment: Here the UJA1023 can be addressed via the pins C1, C2, and C3. Once the assign NAD MasterReq with the initial NAD `Plug ID configuration' is received, the UJA1023 compares the values of the configuration pins C3, C2, and C1 with the values of the data bits D0[2:0]. If the values are equal and bits D0[7:4] are logic 0 and D0[3] is logic 1, the value of D7 is used as new NAD for the UJA1023. Next, for example, the `assign frame ID' can be used to assign specific ID numbers. The internal pull-up resistors at pin C1 to C3 are active during the assign NAD process only. Thus it causes no permanent current (see also Section 7.4) and reduces power consumption especially in the low-power modes. UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 12 of 50 xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx Preliminary data sheet Rev. 03 -- 9 February 2006 BAT LIN GND UJA1023_3 Philips Semiconductors MASTER UJA1023 ASSIGN NAD 1 C1 = 1 C2 = 1 C3 = 1 UJA1023 ASSIGN NAD 2 C1 = 0 C2 = 1 C3 = 1 UJA1023 ASSIGN NAD 8 C1 = 0 C2 = 0 C3 = 0 INITIAL NAD = PLUG INITIAL NAD = PLUG INITIAL NAD = PLUG NAD NAD NAD DATA BYTE 7 DATA BYTE 7 DATA BYTE 7 D0.0 D0.1 D0.2 D0.0 D0.1 D0.2 D0.0 D0.1 D0.2 COMPARATOR BAT BAT BAT BAT COMPARATOR BAT BAT BAT COMPARATOR BAT BAT BAT LIN C1 C2 C3 GND BAT LIN C1 C2 C3 GND BAT LIN C1 C2 C3 GND PLUG (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. PLUG PLUG PLUG BAT GND mdb493 UJA1023 LIN-I/O slave 13 of 50 Fig 5. Plug ID Philips Semiconductors UJA1023 LIN-I/O slave 7.2.1.3 Assign frame ID By means of the assign frame ID command the LIN message identifier PxReq and PxResp can be changed to the desired values. Table 8: Data byte D0 D1 D2 D3 D4 D5 D6 D7 7 NAD7 0 1 0 0 0 0 ID7 Assign frame ID request bit allocation 6 NAD6 0 0 0 0 0 0 ID6 5 NAD5 0 1 0 0 0 0 ID5 4 NAD4 0 1 1 0 0 0 ID4 3 NAD3 0 0 0 0 0 0 ID3 2 NAD2 1 0 0 0 0 0 ID2 1 NAD1 1 0 0 0 0 0 ID1 0 NAD0 0 1 1 0 0 0 ID0 Default value (hex) NAD 06 B1 11 00 00 00 protected ID Table 9: Byte D0 Assign frame ID request bit description Bit 7 to 0 Symbol NAD[7:0] Description Slave Node Address (NAD). NAD values are in the range from 1 to 127, while 0 and 128 to 255 are reserved for other purposes. The slave node address is assigned with the assign NAD command (see Table 5). Protocol control information. Service identifier. As SlaveResp the RSID code will be 0xF1. Supplier ID. Fixed to 0x0011 for Philips. Message ID. Defines the assignment of the protected ID to PxResp and PxReq 0x0000: PxReq = protected ID; PxResp = protected ID + 1 0x0001: PxReq = unchanged; PxResp = protected ID 0x0002: PxReq = protected ID; PxResp = unchanged D1 D2 D3 and D4 D5 and D6 7 to 0 7 to 0 7 to 0 7 to 0 PCI[7:0] SID[7:0] - D7 7 to 0 ID[7:0] Protected ID. Defines the protected ID. The format of the positive response is shown in Table 10. Table 10: Data byte D0 D1 D2 D3 D4 D5 D6 D7 7 Positive response assign frame ID 6 5 4 3 2 1 0 Default value (hex) NAD 01 F1 FF FF FF FF FF NAD7 0 1 1 1 1 1 1 NAD6 0 1 1 1 1 1 1 NAD5 0 1 1 1 1 1 1 NAD4 0 1 1 1 1 1 1 NAD3 0 0 1 1 1 1 1 NAD2 0 0 1 1 1 1 1 NAD1 0 0 1 1 1 1 1 NAD0 1 1 1 1 1 1 1 UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 14 of 50 Philips Semiconductors UJA1023 LIN-I/O slave 7.2.1.4 Read by identifier It is possible to read the supplier identifier, function identifier and the variant of the UJA1023 by means of the read by identifier request. The format for this request is shown in Table 11. The positive response is shown in Table 13, the negative response is shown in Table 14. Table 11: Data byte D0 D1 D2 D3 D4 D5 D6 D7 Table 12: Byte D0 7 Read by identifier (LIN product identification) 6 5 4 3 2 1 0 Default value (hex) NAD 06 B2 00 11 00 00 00 NAD7 0 1 0 0 0 0 0 NAD6 0 0 0 0 0 0 0 NAD5 0 1 0 0 0 0 0 NAD4 0 1 0 1 0 0 0 NAD3 0 0 0 0 0 0 0 NAD2 1 0 0 0 0 0 0 NAD1 1 1 0 0 0 0 0 NAD0 0 0 0 1 0 0 0 Read by identifier bit description Bit 7 to 0 Symbol NAD[7:0] Description Slave Node Address (NAD). NAD values are in the range from 1 to 127, while 0 and 128 to 255 are reserved for other purposes. The slave node address is assigned with the assign NAD command (see Table 5). Protocol control information. Service identifier. As SlaveResp the RSID code will be 0xF2 for a positive response and 0x7F for a negative response. Identifier. Only the LIN product identifier 0x00 is supported. Supplier ID. Fixed to 0x0011 for Philips. Function ID. For the UJA1023 this code is fixed to 0x0000. D1 D2 D3 D4 and D5 D6 and D7 Table 13: Data byte D0 D1 D2 D3 D4 D5 D6 D7 7 7 to 0 7 to 0 7 to 1 7 to 0 7 to 0 PCI[7:0] SID[7:0] - Read by identifier positive response 6 5 4 3 2 1 0 Default value (hex) NAD 06 F2 11 00 00 00 variant NAD7 0 1 0 0 0 0 d NAD6 0 1 0 0 0 0 d NAD5 0 1 0 0 0 0 d NAD4 0 1 1 0 0 0 d NAD3 0 0 0 0 0 0 d NAD2 1 0 0 0 0 0 d NAD1 1 1 0 0 0 0 d NAD0 0 0 1 0 0 0 d UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 15 of 50 Philips Semiconductors UJA1023 LIN-I/O slave Read by identifier negative response 7 6 5 4 3 2 1 0 Default value (hex) NAD 03 7F B2 12 FF FF FF Table 14: Data byte D0 D1 D2 D3 D4 D5 D6 D7 NAD7 0 0 1 0 1 1 1 NAD6 0 1 0 0 1 1 1 NAD5 0 1 1 0 1 1 1 NAD4 0 1 1 1 1 1 1 NAD3 0 1 0 0 1 1 1 NAD2 0 1 0 0 1 1 1 NAD1 1 1 1 1 1 1 1 NAD0 1 1 0 0 1 1 1 7.2.1.5 I/O configuration The I/O configuration is done via the LIN configuration request `Data Dump', where the first data byte of the MasterReq contains the slave node address NAD. The I/O-pin configuration process starts only, if the received slave node address matches the own UJA1023 node address and if data byte D2 (SID) is 0xB4. As with the other configuration commands, the master transmits the I/O-pin configuration data via the MasterReq message. Due to the limited amount of data bytes within the LIN configuration command `Data Dump', the configuration and diagnosis is split-up into four blocks. The configuration and diagnosis blocks are distinguished on bits 6 and 7 of data byte D3. The master can review the new configuration data via the SlaveResp message. Finally if the master considers the received configuration data of the LIN-I/O to be correct, it can enable the slave I/O-configuration by using the UJA1023 message frames (see Section 7.2.5) PxResp or PxReq. It should be noted that for correct I/O configuration, the configuration requests must be sent in sequential order of: first, second and third configuration data block. Table 15: Data byte D0 D1 D2 D3 D4 D5 D6 D7 7 First I/O configuration data block bit allocation 6 5 4 3 2 1 0 Default value (hex) NAD 06 B4 00 00 00 00 NAD7 0 1 0 HSE7 LSE7 OM0_7 OM1_7 NAD6 0 0 0 HSE6 LSE6 OM0_6 OM1_6 NAD5 0 1 IM1 HSE5 LSE5 OM0_5 OM1_5 NAD4 0 1 IM0 HSE4 LSE4 OM0_4 OM1_4 NAD3 0 0 RxDL HSE3 LSE3 OM0_3 OM1_3 NAD2 1 1 HSE2 LSE2 OM0_2 OM1_2 NAD1 1 0 HSE1 LSE1 OM0_1 OM1_1 NAD0 0 0 HSE0 LSE0 OM0_0 OM1_0 ADCIN2 ADCIN1 ADCIN0 00 UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 16 of 50 Philips Semiconductors UJA1023 LIN-I/O slave First I/O configuration data block bit description Bit 7 to 0 Symbol NAD[7:0] Description Slave node address (NAD). NAD values are in the range from 1 to 127, while 0 and 128 to 255 are reserved for other purposes. The slave node address is assigned with the assign NAD command (see Table 5). Protocol control information. Service identifier. As SlaveResp the RSID value will be 0xF4. 00 for first configuration data block. Pin INH mode. Mode will be changed after PxReq or PxResp 00 = external regulator (control of external voltage regulator) 01 = ADC 10 = reserved, if selected both bits will be logic 1 11 = switch open 3 2 to 0 RxDL ADCIN[2:0] Receive data length. Message PxReq contains two data bytes if RxDL = 0 and three data bytes if RxDL = 1. Analog source channel selection. The number of ADCIN[2:0] determines which of the P7 to P0 input is used. For example if ADCIN[2:0] = 101 then P5 will be the input. ADCIN[2:0] is used only if ADC mode is selected (IM[1:0] = 01) and RxDL = 0 (No analog input selection at PxReq). High-side enable for I/O pin Px. Low-side enable for I/O pin Px. Output mode for I/O pin Px. OM1_x 0 0 1 1 OM0_x 0 1 0 1 level reserved cyclic sense PWM Table 16: Byte D0 D1 D2 D3 7 to 0 7 to 0 7 and 6 5 and 4 PCI[7:0] SID[7:0] IM[1:0] D4 D5 7 to 0 7 to 0 HSE[7:0] LSE[7:0] OM0_[7:0], OM1_[7:0] D6 and D7 7 to 0 UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 17 of 50 Philips Semiconductors UJA1023 LIN-I/O slave The second configuration data block (shown in Table 17) is selected only if D3.7 = 0 and D3.6 = 1. Table 17: Data byte D0 D1 D2 D3 D4 D5 D6 D7 7 NAD7 0 1 0 CM0_7 CM1_7 TH2/TH1 LWM7 Second I/O configuration data block bit allocation 6 NAD6 0 0 1 CM0_6 CM1_6 TH2/TH1 LWM6 Table 18: Byte D0 5 NAD5 0 1 LSLP CM0_5 CM1_5 TH2/TH1 LWM5 4 NAD4 0 1 TxDL CM0_4 CM1_4 TH2/TH1 LWM4 3 NAD3 0 0 SMC CM0_3 CM1_3 TH2/TH1 LWM3 2 NAD2 1 1 SMW CM0_2 CM1_2 TH2/TH1 LWM2 1 NAD1 1 0 SM1 CM0_1 CM1_1 TH2/TH1 LWM1 0 NAD0 0 0 SM0 CM0_0 CM1_0 TH2/TH1 LWM0 Default value (hex) NAD 06 B4 40 00 00 00 00 Second I/O configuration data block bit description Bit 7 to 0 Symbol NAD[7:0] Description Slave node address (NAD). NAD values are in the range from 1 to 127, while 0 and 128 to 255 are reserved for other purposes. The slave node address is assigned with the assign NAD command (see Table 5). Protocol control information. Service identifier. As SlaveResp the RSID value will be 0xF4. 01 for the second configuration data block. Limp home sleep mode. If LSLP = 1, the Limp home sleep mode is enabled. In this case the Limp Home value (LH) is automatically used as output value if the Sleep mode is entered. Transmit data length. Message PxResp contains two data bytes if TxDL = 0 and four data bytes if TxDL = 1. Switch matrix capture. If SMC = 1, the Switch matrix capture mode is enabled. Switch matrix wake-up. If SMW = 1, the switch matrix wakes up upon changed input level. Switch matrix enable 00 = no switch matrix 01 = 4 x 2: P3 to P0 input and P5 and P4 strong pull down 10 = 4 x 3: P3 to P0 input and P6 to P4 strong pull down 11 = 4 x 4: P3 to P0 input and P7 to P4 strong pull down Unassigned pins can be used as I/O. It should be noted, however, that for the unassigned pins, which are configured in Capture mode, the captured edge value will not be transferred. D1 D2 D3 7 to 0 7 to 0 7 and 6 5 PCI[7:0] SID[7:0] LSLP 4 3 2 1 and 0 TxDL SMC SMW SM[1:0] UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 18 of 50 Philips Semiconductors UJA1023 LIN-I/O slave Second I/O configuration data block bit description ...continued Bit Symbol CM0_[7:0], CM1_[7:0] Description Capture mode for I/O pin Px. CM1_x 0 0 1 1 CM0_x 0 1 0 1 no capture falling edge rising edge both edges Table 18: Byte D4 and D5 7 to 0 D6 7 to 0 TH2 and TH1 Threshold select. If logic 0 (= TH1), selects Vth1 as input threshold. If logic 1 (= TH2) selects Vth2 as input threshold, except in Cyclic sense mode, then Vth3 is selected. Local wake-up mask. If LWM_x = 1, the corresponding Px pin is configured as local wake-up pin. LWM_x is ignored if Px is configured as switch matrix. D7 7 to 0 LWM_[7:0] Table 19 shows the third configuration data block, that is used to define the slope of the transmitter, selection between classic or enhanced checksum model, limp home output value and PWM initial value. It is selected only if D3.7 = 1 and D3.6 = 0. Table 19: Data byte D0 D1 D2 D3 [1] D4 D5 D6 D7 [1] Third I/O configuration data block bit allocation 7 6 5 4 3 2 1 0 Default value (hex) NAD 04 B4 80 00 00 FF FF NAD7 0 1 1 LH7 PWM7 1 1 NAD6 0 0 0 LH6 PWM6 1 1 NAD5 0 1 r LH5 PWM5 1 1 NAD4 0 1 r LH4 PWM4 1 1 NAD3 0 0 r LH3 PWM3 1 1 NAD2 1 1 r LH2 PWM2 1 1 NAD1 0 0 LSC LH1 PWM1 1 1 NAD0 0 0 ECC LH0 PWM0 1 1 r = reserved, must be `0'. Table 20: Byte D0 Third I/O configuration data block bit description Bit 7 to 0 Symbol NAD[7:0] Description Slave node address (NAD). NAD values are in the range from 1 to 127, while 0 and 128 to 255 are reserved for other purposes. The slave node address is assigned with the assign NAD command (see Table 5). Protocol control information. Service identifier. As SlaveResp the RSID value will be 0xF4. D1 D2 7 to 0 7 to 0 PCI[7:0] SID[7:0] UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 19 of 50 Philips Semiconductors UJA1023 LIN-I/O slave Third I/O configuration data block bit description ...continued Bit 7 and 6 5 to 2 1 Symbol LSC Description 10 for the third configuration data block. Reserved. Must be 0. LIN slope control 0 = up to 20 kbit/s (default) 1 = up to 10.4 kbit/s 0 ECC Enhanced checksum control 0 = classic checksum (default) 1 = enhanced checksum Table 20: Byte D3 D4 D5 7 7 to 0 LH[7:0] PWM[7:0] - Limp home value. Output value in Limp home and Limp home sleep mode. PWM initial value. Not used. D6 and D7 7 to 0 Table 21 shows the fourth data block, that is selected if D3.6 = 1 and D3.7 = 1. It is not used for I/O-pin configuration but to provide the master with diagnosis data of the UJA1023. It is a read-only data block. If the slave node address matches and the fourth data block is selected, the UJA1023 transmits its diagnosis data via the SlaveResp message. Table 21: Data byte D0 D1 D2 D3 D4 D5 D6 D7 Table 22: Byte D0 7 Fourth I/O diagnostic data block request frame bit allocation 6 5 4 3 2 1 0 Default value (hex) NAD 02 B4 C0 FF FF FF FF NAD7 0 1 1 1 1 1 1 NAD6 0 0 1 1 1 1 1 NAD5 0 1 0 1 1 1 1 NAD4 0 1 0 1 1 1 1 NAD3 0 0 0 1 1 1 1 NAD2 0 1 0 1 1 1 1 NAD1 1 0 0 1 1 1 1 NAD0 0 0 0 1 1 1 1 Fourth I/O diagnostic data block request frame bit description Bit 7 to 0 Symbol NAD[7:0] Description Slave node address (NAD). NAD values are in the range from 1 to 127, while 0 and 128 to 255 are reserved for other purposes. The slave node address is assigned with the assign NAD command (see Table 5). Protocol control information. Service identifier. 11 for the fourth configuration data block. Not used. Not used. D1 D2 D3 D4 to D7 7 to 0 7 to 0 7 and 6 5 to 0 7 to 0 PCI[7:0] SID[7:0] - UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 20 of 50 Philips Semiconductors UJA1023 LIN-I/O slave Fourth I/O diagnostic data block response frame bit allocation 7 6 5 4 3 2 1 0 Default value (hex) NAD 04 F4 C0 00 00 FF FF Table 23: Data byte D0 D1 D2 D3 D4 D5 D6 D7 [1] NAD7 0 1 1 P PL7 1 1 Undefined. NAD6 0 1 1 RxB PL6 1 1 NAD5 0 1 0 CS PL5 1 1 NAD4 0 1 0 TxB PL4 1 1 NAD3 0 0 0 u [1] PL3 1 1 NAD2 1 1 0 NVM PL2 1 1 NAD1 0 0 0 LHE PL1 1 1 NAD0 0 0 0 ERR PL0 1 1 Table 24: Byte D0 Fourth I/O diagnostic data block response frame bit description Bit 7 to 0 Symbol NAD[7:0] Description Slave node address (NAD). NAD values are in the range from 1 to 127, while 0 and 128 to 255 are reserved for other purposes. The slave node address is assigned with the assign NAD command (see Table 5). Protocol control information. Response service identifier. 11 for the fourth configuration data block. Not used. Parity error. Set if identifier parity bits are erroneous. Receive error. Set if start or stop bits are erroneous during reception. Checksum error. Set if checksum is erroneous. Transmit error. Set if start, data or stop bits are erroneous during transmission. No valid message. Set if there is bus activity, but no valid message frame for longer than tto(idle). Set if Limp home mode is entered. Response error. Sets internal signal Response_Error if there is an RxB, CS or TxB during a response frame. PxOut latch value. Not used. D1 D2 D3 D4 [1] 7 to 0 7 to 0 7 and 6 5 to 0 7 6 5 4 3 2 1 0 PCI[7:0] RSID[7:0] P RxB CS TxB undefined NVM LHE ERR PL[7:0] - D5 7 to 0 D6 and D7 7 to 0 [1] All diagnosis flags in byte D4 are reset after data access from master. UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 21 of 50 Philips Semiconductors UJA1023 LIN-I/O slave 7.2.1.6 Configuration examples Example 1, UJA1023 configuration with eight low-side outputs. // //Example 8 LSE and walking `1' pattern //C1, C2 and C3 are GND //SB = SyncBreak; SF = SyncField // SB SF 3C 60 06 B1 11 00 00 00 04 D2 // // SB SF 7D 60 01 F1 FF FF FF FF FF AC // SB SF 3C 60 06 B4 00 00 FF 00 00 E4 // SB SF 7D 60 06 F4 00 00 FF 00 00 A4 // SB SF 3C 60 06 B4 40 00 00 00 00 A4 // // SB SF 7D 60 06 F4 40 00 00 00 00 64 // SB SF 3C 60 04 B4 80 55 10 FF FF 01 // SB SB SB SB SB SB SB SB SB SB SB SF SF SF SF SF SF SF SF SF SF SF 7D 3C 7D C4 C4 C4 C4 C4 C4 C4 C4 60 60 60 01 02 04 08 10 20 40 80 04 06 06 80 80 80 80 80 80 80 80 F4 80 55 10 FF FF C0 B2 00 11 00 00 00 D5 F2 11 00 00 00 02 93 7E 7D 7B 77 6F 5F 3F FE // // // // // // // // // // // // Assign frameID, default NAD used and ID(PxReq) = 04,ID(PxResp) = 05 Positive response Datadump1, 8 x LSE Read back configuration sent Datadump2, no capture and threshold select (optional) Read back configuration sent Data dump3, LH value = 0x55, default PWM = 0x10 (optional) Read back configuration sent Read by identifier request (optional) Positive response IO configuration enabled and low-side switch P0 on Low-sideswitch P1 on Low-sideswitch P2 on Low-sideswitch P3 on Low-sideswitch P4 on Low-sideswitch P5 on Low-sideswitch P6 on Low-sideswitch P7 on UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 22 of 50 Philips Semiconductors UJA1023 LIN-I/O slave Example 2, UJA1023 configuration with eight inputs and edge capture. // //Example 8 inputs with capture //C1, C2 and C3 are GND //SB = SyncBreak; SF = SyncField // SB SF 3C 60 06 B1 11 00 00 00 04 D2 SB SB SB SB SF SF SF SF 7D 3C 7D 3C 60 60 60 60 01 06 06 06 F1 B4 F4 B4 FF 00 00 40 FF 00 00 FF FF 00 00 FF FF 00 00 00 FF 00 00 FF AC E4 A4 A4 SB SF 7D 60 06 F4 40 FF FF 00 FF 64 SB SF 3C 60 04 B4 80 55 10 FF FF 01 SB SB SB SB SB SB SB SB SB SF SF SF SF SF SF SF SF SF 7D 3C 7D 85 80 80 85 80 85 60 60 60 00 04 06 06 00 F4 80 55 10 FF FF C0 B2 00 11 00 00 00 D5 F2 11 00 00 00 02 93 FF // // // // // // // // // 01 01 FD 01 00 FE // // // // // // // // // Input 0 still set Assign frameID, default NAD used and ID(PxReq) = 04,ID(PxResp) = 05 Positive response Datadump1, all outputs disabled (optional) Read back configuration sent Datadump2, all both edge capture and inputs as wake-up Read back configuration sent Data dump3, LH value = 0x55, default PWM = 0x10 (optional) Read back configuration sent Read by identifier request (optional) Positive response IO configuration enabled and read inputs Dummy message Dummy message and input 0 changes Input 0 set and edge detected UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 23 of 50 Philips Semiconductors UJA1023 LIN-I/O slave 7.2.2 Operating modes power-on OR undervoltage (NAD not assigned OR not used) AND remote wake-up Configuration Active mode HSE, LSE: 0x00 PxO: 0x00 INH: HIGH LIN: active failure OR sleep mode command "Assign NAD" OR default NAD used NAD reconfiguration Standby Active mode HSE: as configured LSE: as configured PxO: limp home value INH: as configured LIN: active (NAD assigned OR default used) AND remote wake-up oscillator fail HSE, LSE: 0x00 PxO: 0x00 read DIAGNOSE data PxO limp home value failure OR sleep mode command Normal Active mode HSE: as configured LSE: as configured PxO: output data INH: as configured LIN: active I/O reconfiguration failure Limp Home Low-power mode HSE: as configured LSE: as configured PxO: limp home value INH: high impedance LIN: off-line/failsilent remote wake-up PxO OR local wake-up limp home value sleep mode command AND LSLP = 0 remote wake-up OR local wake-up sleep mode command AND LSLP = 1 Sleep Low-power mode HSE: as configured LSE: as configured PxO: output data INH: high impedance LIN: off-line LH Sleep Low-power mode HSE: as configured LSE: as configured PxO: limp home value INH: high impedance LIN: off-line mdb494 HSE = High-Side Enable LSE = Low-Side Enable PxO = PxOut LSLP = Limp-home sleep LWM = Local Wake-up Mask Failure: bus idle time-out or bus dominant time-out Local: [(LWM = 1) AND (t > twake(local); after edge capture) causes transmission of LIN wake-up request] AND [reception of LIN header] Remote: [(t > twake(bus); after falling edge) AND recessive again] AND [reception of LIN header]. Fig 6. Overview of operating modes UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 24 of 50 Philips Semiconductors UJA1023 LIN-I/O slave 7.2.2.1 Configuration mode The Configuration mode can be seen as initial state after power-on or undervoltage detection. The UJA1023 configuration values are in the default settings. The I/O pins P0 to P7 (Px) are set to high-impedance behavior and the INH is in its External regulator mode, which outputs a HIGH-level in order to switch on an external voltage regulator. In Configuration mode the UJA1023 is not configured and it has no valid identifier and, depending on the configuration pins, a default NAD. Thus, with the exception of the MasterReq command, all LIN slave commands are disabled. Once the UJA1023 NAD is assigned, via the assign NAD request, or the default NAD is used for the first time, the Normal mode is entered. If a LIN bus failure is present (bus idle time-out or bus dominant time-out) or the sleep command has been received, the UJA1023 enters its low-power (Limp home) mode. 7.2.2.2 Normal mode In Normal mode the UJA1023 receives and/or transmits input/output data as well as configuration data. A UJA1023 in Configuration mode enters the Normal mode only after its NAD assignment or the first usage of the default NAD. After a NAD reconfiguration, all ports that are configured in Output mode will be set to high-impedance. Coming from Sleep mode or Limp home sleep mode the Normal mode can be entered via local or remote wake-up. The output register of each I/O pin P0 to P7 (PxOut) keeps its values of the Sleep mode or Limp home sleep mode. If the INH is in External regulator mode, it outputs a HIGH-level to switch on an external voltage regulator. For a mode transition from Standby mode to Normal mode the diagnostic data must be read via a SlaveResp. With this request the master acknowledges the previous failure. The PxOut registers keep their limp home values. 7.2.2.3 Sleep mode The UJA1023 enters its Sleep mode when the `Sleep mode command' has been received and the limp home sleep bit LSLP is reset (LSLP = 0). In Sleep mode the UJA1023 keeps the current status on its Px. The INH will switch to high-impedance state. After a local wake-up event the UJA1023 sends a `wake-up signal' to wake up the master. In Sleep mode the PWM and ADC are reset. The first LIN message will be lost due to waking up the UJA1023. 7.2.2.4 Limp home sleep mode Some applications may need dedicated HIGH and/or LOW output levels during Sleep mode in order to achieve the lowest power dissipation of the application. Therefore the UJA1023 provides the Limp home sleep mode (LH sleep mode). By enabling the LSLP bit, the LH sleep mode output behavior can be configured. The LH sleep mode is enabled if the configuration bit LSLP (D3.5) is set (LSLP = 1, see Table 18). After a local wake-up event the UJA1023 sends a `wake-up signal' to wake up the master. In the LH sleep mode the output registers (PxOut) of the UJA1023 are loaded with the limp home value. After a wake-up event (local or remote wake-up) the PxOut keep their limp home value. UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 25 of 50 Philips Semiconductors UJA1023 LIN-I/O slave In LH sleep mode the PWM and ADC are reset. The first LIN message will be lost due to waking up the UJA1023. 7.2.2.5 Limp home mode and Standby mode Limp home mode and Standby mode differ in the output of pin INH if the INH is configured in External regulator mode. Where in Limp home mode pin INH is high-impedance and in Standby mode pin INH is HIGH. In contrast to the Standby mode the Limp home mode is a low-power mode. The limp home value specifies the PxOut values in case LIN bus communication fails. The Px configuration push-pull, open-drain or high-impedance keeps unchanged in Limp home mode. The Limp home mode will be entered from Normal mode if the LIN bus is short-circuited to ground for a time exceeding the bus dominant time-out (tto(dom)) or if the bus idle time-out (tto(idle)) expires. Coming from Limp home mode the Standby mode is entered after remote wake-up if the UJA1023 is configured. In case the UJA1023 is not configured, it enters the Configuration mode after remote wake-up. In Standby and Configuration mode the UJA1023 enters the Limp home mode again if the configuration fails or if the `Sleep mode command' has been received. 7.2.3 I/O pin modes 7.2.3.1 Input Inputs can always be read via a PxResp frame (see Section 7.2.5). The input threshold is determined by the TH bits in the second I/O configuration block (see Table 17). 7.2.3.2 Level mode In Level mode the PxOut register of the UJA1023 can be set or reset. Depending on the Px configuration the PxOut value is output. 7.2.3.3 PWM mode The PWM mode provides a PWM signal with 8-bit resolution to the I/O-stage. The base frequency is typically 700 kHz divided by 256 (8-bit) and becomes approximately 2.7 kHz. The mode is entered via both mode configuration bits OM0 and OM1. The PWM signal is common for all assigned outputs. In the low-power modes (Sleep mode, LH sleep mode and Limp home mode) the PWM value is reset (PWM = 0x00) and the previous PWM value is lost. 7.2.3.4 Cyclic sense mode The Cyclic sense mode is used to supply and read back external switches. In this mode the Px pin is configured as a switched supply to reduce the power consumption. It is primarily intended to supply wake-up switches. A Px pin in Cyclic sense mode has to be configured with the High-Side Enable register (HSE) in HIGH-state and the Low-Side Enable register (LSE) in LOW-state. The PxOut flip-flop is being cyclically switched (see Figure 7). UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 26 of 50 Philips Semiconductors UJA1023 LIN-I/O slave The Cyclic sense mode can be configured via the Output mode bits OM0 and OM1 in the configuration data bytes (see Table 16). In case threshold TH2 is selected then threshold TH3 will be used instead. This feature is used for diagnosis purposes to check the presence of a switch with an integrated parallel resistor (typical value is 4300 ). The switch can be detected by selecting first TH1 and then TH2. All Px pins in Cyclic sense mode are sampled simultaneously. The Cyclic sense mode timing is specified in Section 11. No wake-up will occur when the local wake-up mask is set and Sleep mode is entered when the Px pin is LOW. A wake-up will be issued when in Sleep mode and the Px input level changes. ton PxOut Tcy VPx external switch at Px OPEN tsample CLOSE capture active edge capture mdb495 Fig 7. Cyclic sense mode 7.2.3.5 Switch matrix mode Figure 8 shows an application example of a 4 x 4 switch matrix with the UJA1023. The drive capability of the I/O-pins Px supports the use of a 4 x 4 switch matrix without extra components. The I/O pins from P0 to P3 provide a weak but sufficient pull-up for switch applications and the pins from P4 to P7 are used as strong pull-down in case a switch is pushed. The Switch matrix mode can be enabled for the I/O-pins Px via data byte D3 of the second configuration data block (see Table 18). The data bits SM0 and SM1 configure P0 to P3 as an input with a weak but sufficient pull-up for switch applications and P4 to P7 as strong pull-down in order to detect an activated switch (see Table 18). In Normal mode when a valid sync break and sync field is received, automatically a matrix scan starts: * Immediately if the slave is not addressed * When addressed, after the LIN message is handled UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 27 of 50 Philips Semiconductors UJA1023 LIN-I/O slave This means that the scan matrix value is determined directly after the previous LIN message. In case two or more switches are closed simultaneously, extra diodes have to be added to prevent the `short-circuit' of neighbor switches. For the switch matrix inputs a `quasi' capture mode can be configured via the data bit SMC (D3.3) of the second configuration block. If a matrix switch input value has been changed the changed value is captured until the master reads the switch matrix value via the UJA1023 command PxResp. Note that two readings are necessary for proper initialization. A switch matrix can be configured as local wake-up. If the data bit SMW (D3.2) of the second configuration block is set to logic 1, a change of a matrix switch input value causes a wake-up of the UJA1023. If in addition the Switch matrix capture mode is enabled via SMC the switch matrix value of PxResp represents the local wake-up source switch of the switch matrix. Ron(HS) 1 k Vth1 P0 Ron(HS) 1 k SM40 Vth1 P1 Ron(HS) 1 k SM41 Vth1 P2 Ron(HS) 1 k SM72 Vth1 P3 SM73 P4 Ron(LS) 50 P5 Ron(LS) 50 P6 Ron(LS) 50 P7 Ron(LS) 50 mdb496 Fig 8. Switch matrix principle 7.2.3.6 ADC mode The principle of the bit stream ADC is shown in Figure 9. Only three external components are needed per analog input, which should be dimensioned as: Ri = R1 = 100 k; C1 = 10 nF. All eight inputs can be used as analog input, one at a time. ADC values are referenced to VVIO. A register/counter is used to count the ratio of HIGH and LOW phases of the bit stream. This ratio represents the analog voltage VA. The upper counter is used to define the measurement period, typically 1.5 ms. UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 28 of 50 Philips Semiconductors UJA1023 LIN-I/O slave The inverted bit stream of the ADC comparator generates the quasi-analog output voltage on pin INH, which can be used to control the analog voltage VA via a low-pass filter. An analog-to-digital conversion will have following steps: 1. Select an input channel via PxReq, see Section 7.2.5. Not needed in case a fixed ADC-input is selected (see Table 16 for RxDL = 0 and ADCIN[2:0]). 2. The internal multiplexer switches over to the selected input; note that some time is needed to stabilize the loop, due to the RC network time constant. 3. In case a valid sync break and sync field is received, an analog-to-digital conversion starts. The data is available in the next LIN message, implying the ADC value is sampled during the previous LIN message. To reduce current consumption, the 0.5VVIO reference voltage is turned off in the low-power modes. 7.2.4 INH pin mode The External regulator mode, IM0 = IM1 = 0 (see Table 16), can be used to control an external voltage regulator. In Configuration mode, Normal mode and Standby mode the INH outputs a HIGH level, and in the low-power modes (Sleep, LH sleep and Limp home) the INH pin becomes high-impedance. Switching between the INH modes `external regulator' and `switch open' the INH pin can be used as high-side switch. In ADC mode the INH pin is configured internally as follows: the high-side switch is put in high-impedance state and a special symmetrical push-pull output is activated. Next, the ADC mode enables an ADC control loop. The output level of the push-pull stage is defined via the VVIO voltage. 7.2.5 LIN-I/O message frames The UJA1023 uses one LIN command to receive data PxReq and one to transmit data PxResp respectively. The IDs for PxReq and PxResp are configured by means of the `assign frame ID' command as described in Section 7.2.1.3. Please note that the I/O configuration will be enabled during the first usage of the PxResp or PxReq. The PxReq and PxResp data bytes are described in Table 25 to Table 28. UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 29 of 50 Philips Semiconductors UJA1023 LIN-I/O slave oscillator COUNTER period REGISTER/COUNTER ADC ADC mode VVIO INH MUX up/down FF TFILTER oscillator 0.5VVIO Ri 100 k Px R1 VA 100 k C1 10 nF mdb497 Fig 9. Analog-to-digital converter Table 25: Data byte D0 D1 D2 Table 26: Byte D0 D1 D2 7 PxReq frame bit allocation 6 5 4 3 2 1 0 Default value (hex) 00 00 P7 PWM7 - P6 PWM6 - P5 PWM5 - P4 PWM4 - P3 PWM3 - P2 PWM2 P1 PWM1 P0 PWM0 ADCIN2 ADCIN1 ADCIN0 00 PxReq frame bit description Bit 7 to 0 7 to 0 7 to 3 2 to 0 Symbol P[7:0] PWM[7:0] ADCIN[2:0] Description Px output value. The Px output value is ignored if Px is configured in cyclic sense or PWM mode. PWM value. Not used. ADC analog source channel selection. For example, 000 selects input 0, 001 selects input 1 and 111 selects input 7. The ADC input source is observed only if the INH output is in ADC mode. The UJA1023 expects to receive data byte D2 only if bit RxDL = 1 (bit 3 of byte D3 in the first I/O configuration data block, see Table 15 and Table 16). UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 30 of 50 Philips Semiconductors UJA1023 LIN-I/O slave PxResp frame bit allocation 7 P7 EC7 SM53 PxL7 SM73 PWM7 ADC7 6 P6 EC6 SM52 PxL6 SM72 PWM6 ADC6 5 P5 EC5 SM51 PxL5 SM71 PWM5 ADC5 4 P4 EC4 SM50 PxL4 SM70 PWM4 ADC4 3 P3 EC3 SM43 PxL3 SM63 PWM3 ADC3 2 P2 EC2 SM42 PxL2 SM62 PWM2 ADC2 1 P1 EC1 SM41 PxL1 SM61 PWM1 ADC1 0 P0 EC0 SM40 PxL0 SM60 PWM0 ADC0 Table 27: Data byte D0 D1 D2 D3 Table 28: Byte D0 D1 D2 D1 D2 Byte D3 D3 PxResp frame bit allocation Bit 7 to 0 7 to 0 7 to 0 7 to 0 7 to 0 [1] Symbol P[7:0] EC[7:0] PxL[7:0] SMxx SMxx PWM[7:0] ADC[7:0] Description Px input value. [1] Bytes D1 and D2 if switch matrix is not configured (default) Edge capture value. PxOut latch value. [1] Bytes D1 and D2 if switch matrix is configured Switch matrix value 0. Refer to Figure 8. Switch matrix value 1. PWM value. ADC value. The ADC value is transmitted only if the INH output is in ADC mode (IM0 = 1, IM1 = 0). 7 to 0 7 to 0 [1] Data bytes D2 and D3 are transmitted only if bit TxDL = 1 (bit 4 of byte D3 in the second I/O configuration data block, see Table 17 and Table 18). UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 31 of 50 Philips Semiconductors UJA1023 LIN-I/O slave 7.3 I/O block 7.3.1 I/O pins P0 to P7 The I/O-pin structure of the UJA1023 is shown in Figure 10. VIO 0 1 2 3 S0 VIO Y S1 Ron(HS) PxOut FF Px 0 1 2 3 low-side enable Y S0 S1 Ron(LS) FF Vth3 high-side enable FF Vth2 cyclic mode input threshold rise/fall/both 2 edge capture PxIn to analog multiplexer mdb498 FF FF TFILTER Vth1 Fig 10. I/O-pin structure The output is configurable as: * * * * Push-pull High-side switch Low-side switch High-impedance The input can be configured: * * * * UJA1023_3 To capture on falling, rising or both edges To provide an internal pull-up With respect to the required threshold Vth1, Vth2 or Vth3 As analog multiplexer for the ADC (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 32 of 50 Philips Semiconductors UJA1023 LIN-I/O slave I/O pin operation [1] [2] Table 29: Operation High-side enable 0 0 0 0 Low-side enable 0 0 1 1 0 0 1 1 0 X X X X X PxOut 0 X 0 1 0 1 1 0 1 X X X X X Input threshold 0 X X X X X X X X 0 1 X X X [3] Edge capture none X X X X X X X X X X both fall rise Power-on condition (high-impedance) High-impedance Low-side open-state Low-side close-state High-side open-state (Cyclic 1 sense mode: off-state) High-side close-state (Cyclic 1 sense mode: on-state) Push-pull HIGH-state Push-pull LOW-state Input with pull-up Input at threshold Vth1 (typically 3 V) Input at threshold Vth2 (typically 1.5 V) Capture edge at falling and rising edge 1 1 1 X X X Capture edge at falling edge X Capture edge at rising edge X [1] [2] X = don't care. The Ron values of the high-side and the low-side switches can be found in Section 10. The Ron(HS) value is chosen to provide enough pull-up current for switches; thus no external pull-up resistor is needed. The Ron(LS) of the low-side driver is much smaller than the Ron(HS) of the high-side driver, which enables the low side driver to drive LEDs. Refer to Table 17 where threshold TH3 is defined in Cyclic sense mode in case threshold TH2 is selected. This feature is used for diagnosis purposes to check the presence of a switch with integrated parallel resistor (a useful resistor value is 3000 1 %). [3] 7.3.2 INH pin The inhibit pin INH can be configured in three operation modes: ADC mode, Switch open mode and External regulator mode (see Section 7.2.4 and Figure 11). After power-on the INH is in External regulator mode (high-side switch is on). UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 33 of 50 Philips Semiconductors UJA1023 LIN-I/O slave BAT output FF & Ron(INH1) VIO & Ron(INH2) INH ADC mode FF & Ron(INH2) mdb499 Fig 11. INH structure 7.4 Configuration pins C1 to C3 The structure of the configuration pins C1 to C3 (Cx) is shown in Figure 12. Each pin has a pull-up to the battery. The pull-up is switched on during node address configuration only. In all other cases the Cx have high-impedance behavior. In order to have a safety margin against ground shift the input threshold of the configuration pins is about 0.5 x VBAT. In addition the configuration pin C3 has a low-side driver to provide the output signal during daisy chain ID configuration. VBAT configuration on/off Cx 0.5VBAT Cx input Cx output 001aad492 Fig 12. Configuration pin structure 7.5 LIN transceiver The integrated LIN transceiver of the UJA1023 is compliant with LIN 2.0 / SAE J2602 and provides: * Integrated 30 k termination resistor * Internal LIN-termination switch (RTLIN) * Disabling of termination switch during a short-circuit from LIN to GND UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 34 of 50 Philips Semiconductors UJA1023 LIN-I/O slave Figure 13 shows the states of the complete LIN transceiver including RTLIN for LIN termination. power-on or undervoltage Off-line TX: off RX: off LPRX: on RTLIN: 75 A tto(idle) or sleep or LH sleep remote wake-up or local wake-up tto(dom) tto(rec) tto(dom) Active TX: on RX: on LPRX: on RTLIN: 30 k Fail silent TX: off RX: off LPRX: on RTLIN: off local wake-up mce652 TX = Transmitter. RX = Receiver. LPRX = Low-power receiver. RTLIN = LIN termination. Fig 13. LIN transceiver states The first mode after power-on is the Off-line mode. The transmitter and receiver are both switched off, but wake-up events will be recognized. Any LIN wake-up event will wake-up the UJA1023. Within Sleep mode any wake-up event is automatically forwarded to the LIN (protocol) controller, the Normal mode will be entered and the LIN-transceiver automatically enters the Active mode. It should be noted that the first message (wake-up message) will be lost when no wake-up signal has been received before. The differences between Active, Off-line and Fail silent mode are: * In Off-line and Fail silent mode the transmitter is off, whereas in Active mode the transmitter is enabled. * During active state with no short-circuit between LIN and GND the internal termination switch RTLIN provides an internal 30 k pull-up resistor to VBAT. In case the LIN wire is shorted to GND for longer than tto(dom), the RTLIN switch switches off in order to make sure that no current is discharging the battery unintentionally and Fail silent mode will be entered. * After failure recovery (in fail silent) when the LIN bus is recessive again the Off-line mode is entered and activates a weak termination of 75 A. UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 35 of 50 Philips Semiconductors UJA1023 LIN-I/O slave * Entering Active mode out of Off-line mode results always in switching on the internal 30 k pull-up resistor to battery. 7.6 On-chip oscillator The on-chip oscillator is the time reference for all timers in the LIN controller, auto bit rate detector, ADC and LIN transceiver. A too-low frequency of the on-chip oscillator or a not-running on-chip oscillator results immediately in Limp home operating mode. 8. Limiting values Table 30: Limiting values In accordance with the Absolute Maximum Rating System (IEC 60134). All voltages are referenced to GND. Symbol Parameter VBAT VVIO VLIN VINH VCx VPx IPx Vtrt(LIN) Tvj Tstg Vesd supply voltage on pin BAT supply voltage on pin VIO voltage on pin LIN voltage on pin INH voltage on pins C1 to C3 voltage on pins P0 to P7 current on pins P0 to P7 transient voltages on pin LIN virtual junction temperature storage temperature electrostatic discharge voltage pins BAT, LIN, C1, C2 and C3 human body model; C = 100 pF; R = 1.5 k corner pins other pins charged device model human body model; C = 100 pF; R = 1.5 k charged device model [1] Conditions Min -0.3 -0.3 Max +40 +40 +40 VVIO + 0.3 +15 +100 +150 +150 +8 +750 +2 +500 Unit V V V V mA V C C kV V kV V VBAT + 0.3 V VBAT + 0.3 V DC value DC value DC value DC value DC value; VPx > VVIO + 0.3 V; VPx < -0.3 V ISO 7637 [1] -27 -0.3 -27 -0.3 -15 -150 -40 -55 -8 -750 -2 -500 Junction temperature in accordance with IEC60747-1. An alternative definition of Tvj = Tamb + P x Rth(j-a), where Rth(j-a) is a fixed value to be used for calculating Tvj. The rating for Tvj limits the allowable combinations of power dissipation (P) and ambient temperature (Tamb). 9. Thermal characteristics Table 31: Symbol Rth(j-a) Thermal characteristics Parameter thermal resistance from junction to ambient Conditions in free air Typ 106 Unit K/W UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 36 of 50 Philips Semiconductors UJA1023 LIN-I/O slave 10. Static characteristics Table 32: Static characteristics VBAT = 6.5 V to 27 V; VVIO = 3 V to 27 V; Tvj = -40 C to +150 C; RL(LIN-BAT) = 500 ; all voltages are referenced to GND; positive current flows into the IC; unless otherwise specified. [1] Symbol VBAT IBAT Parameter supply voltage on pin BAT supply current on pin BAT Conditions all operating modes LH sleep, Sleep and Limp home mode Normal mode; LIN receiving recessive VBAT = 12 V VBAT = 27 V Normal mode; LIN receiving dominant VBAT = 12 V VBAT = 27 V Normal mode; LIN sending dominant VBAT = 12 V VBAT = 27 V Additional current if all high- and low-side switches are activated VBAT(pf) VBAT power fail detection voltage supply voltage on pin VIO supply current on pin VIO LH sleep, Sleep and Limp home mode; no load at Px high-side switches disabled high-side switches enabled and active Normal mode; ADC enabled; no load at Px and INH; high-side switches enabled Configuration: pins C1, C2 and C3 VIH VIL IL Rpu VOL(C3) HIGH-level input voltage LOW-level input voltage leakage current internal pull-up resistor configuration pins disabled configuration pins enabled 0.6 x VBAT -0.3 5 11 VBAT + 0.3 0.4 x VBAT 5 25 0.2 x VBAT V V A k V [5] [4] [3] [3] [3] [3] [3] [3] [2] Min 6.5 - Typ 45 Max 27 65 Unit V A Supply: pin BAT - 0.7 1.0 1.4 2.0 mA mA - 1.1 1.7 2.2 3.4 mA mA - 2.2 3.6 1040 4.4 7.5 1280 mA mA A 4.45 - 5.0 V I/O reference (Px operating range): pin VIO VVIO IVIO 3 VBAT + 0.3 V - 1.6 230 520 5.0 280 1000 A A A [5] [5] LOW-level output voltage on external Rpu = 5 k to pin C3 pin BAT; C3 enabled UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 37 of 50 Philips Semiconductors UJA1023 LIN-I/O slave Table 32: Static characteristics ...continued VBAT = 6.5 V to 27 V; VVIO = 3 V to 27 V; Tvj = -40 C to +150 C; RL(LIN-BAT) = 500 ; all voltages are referenced to GND; positive current flows into the IC; unless otherwise specified. [1] Symbol Isc(C3) Parameter short-circuit current on pin C3 Conditions C3 = VBAT; C3 enabled Min Typ Max 50 Unit mA I/O: pins P0 to P7 VIH(th1) VIL(th1) VIH(th2) VIL(th2) VIH(th3) VIL(th3) IL Ron(HS) Isc(HS) Ron(LS) Isc(LS) VBAT-INH IL VO(dom) IL(H) IL(L) Ipu Rpu(slave) IL IO(sc) HIGH-level input voltage Vth1 VVIO 3.7 V LOW-level input voltage Vth1 VVIO 3.7 V HIGH-level input voltage Vth2 LOW-level input voltage Vth2 HIGH-level input voltage Vth3 VVIO 10 V LOW-level input voltage Vth3 VVIO 10 V leakage current high-side on-state resistance high-side short-circuit current VI = VVIO or GND VPx = VVIO - 1 V; per switch VPx = 0 V [6] 3.7 -0.3 2.0 -0.3 VVIO - 0.8 -0.3 550 -3.1 25 [6] 1200 -2.0 50 23 1.2 0 -60 30 0 40 60 0.5 x VBAT - VVIO + 0.3 +2.1 VVIO + 0.3 +0.8 VVIO + 0.3 VVIO - 2.5 10 3000 -0.8 83 40 1.8 5 0.2 x VBAT +10 +10 -10 47 60 86 0.4 x VBAT 0.525 x VBAT 0.175 x VBAT V V V V V V A mA mA V A V A A A k A mA mA V V V V low-side on-state resistance VPx = 1 V; per switch low-side short-circuit current VPx = VVIO voltage drop leakage current INH mode; IINH = -1 mA VINH = 0 V 10 0 -10 -10 -150 20 Special function: pin INH Bus line: pin LIN LIN dominant output voltage 7.0 V < VBAT < 18 V HIGH-level leakage current LOW-level leakage current LIN pull-up current slave termination pull-up leakage current short-circuit output current 7.0 V < VBAT < 18 V; VLIN = VBAT Fail silent mode; VLIN = 0 V; t > tto(dom) Off-line mode; VLIN = 0 V; t < tto(dom) Active mode VBAT = 0 V LIN dominant; t < tto(dom) VLIN = 12 V; VBAT = 12 V VLIN = 18 V; VBAT = 18 V Vth(dom) Vth(rec) Vcen(RX) Vhys(RX) [1] [7] 27 40 0.6 x VBAT 0.475 x VBAT 0.05 x VBAT receiver dominant state voltage receiver recessive state voltage receiver center voltage receiver hysteresis voltage Active mode Active mode Active mode Active mode All parameters are guaranteed over the virtual junction temperature range by design. Products are 100 % tested at 125 C ambient temperature on wafer level (pre-testing). Cased products are 100 % tested at 25 C ambient temperature (final testing). Both pre-testing and final testing use correlated test conditions to cover the specified temperature and power supply voltage ranges. All outputs turned off, LIN recessive, Vth1 selected. (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. [2] UJA1023_3 Preliminary data sheet Rev. 03 -- 9 February 2006 38 of 50 Philips Semiconductors UJA1023 LIN-I/O slave [3] [4] [5] [6] [7] All outputs turned off. Configuration is lost when VBAT is below 5 V. Vth1 on, Vth2 off, Vth3 off. Outputs are not temperature protected. Not tested in production. 11. Dynamic characteristics Table 33: Dynamic characteristics VBAT = 6.5 V to 27 V; VVIO = 3 V to 27 V; Tvj = -40 C to +150 C; RL(LIN-BAT) = 500 ; all voltages are referenced to GND; unless otherwise specified. [1] Symbol tprocess tconv(ADC) 1 Parameter PxReq to output conversion time ADC [4] Conditions after valid LIN message [2] [2] [3] Min 0.396 Typ 200 1.5 - Max - Unit s ms I/O processing LIN transceiver; see Figure 14 duty cycle 1 Vth(rec)(max) = 0.744 x VBAT; Vth(dom)(max) = 0.581 x VBAT; LSC = 0; tbit = 50 s; VBAT = 7 V to 18 V Vth(rec)(min) = 0.422 x VBAT; Vth(dom)(min) = 0.284 x VBAT; LSC = 0; tbit = 50 s; VBAT = 7.6 V to 18 V Vth(rec)(max) = 0.778 x VBAT; Vth(dom)(max) = 0.616 x VBAT; LSC = 1; tbit = 96 s; VBAT = 7 V to 18 V Vth(rec)(min) = 0.389 x VBAT; Vth(dom)(min) = 0.251 x VBAT; LSC = 1; tbit = 96 s; VBAT = 7.6 V to 18 V [5] 2 duty cycle 2 [6] - - 0.581 3 duty cycle 3 [5] 0.417 - - 4 duty cycle 4 [6] - - 0.590 tPHL(RX), tPLH(RX) tP(RX)(sym) propagation delay of receiver symmetry of receiver propagation delay rising edge with respect to falling edge bus idle time-out bus dominant time-out bus recessive time-out network wake-up signal time after local wake-up, sent by slave [7] -2 - 6 +2 s s [7] LIN protocol controller tto(idle) tto(dom) tto(rec) twake(bus) twake(local) tdet(syncbrk) 4.1 32 15 0.25 30 100 10 18.0 270 65 5 150 s ms s ms s tbit bus wake-up dominant time Sleep mode, sent by master sync break detection threshold Automatic bit rate detection UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 39 of 50 Philips Semiconductors UJA1023 LIN-I/O slave Table 33: Dynamic characteristics ...continued VBAT = 6.5 V to 27 V; VVIO = 3 V to 27 V; Tvj = -40 C to +150 C; RL(LIN-BAT) = 500 ; all voltages are referenced to GND; unless otherwise specified. [1] Symbol ftol(sync) Parameter total tolerance slave synchronized cycle period PxOut pin turned on PxIn sample time total ADC error R = 100 k; C = 10 nF VVIO = 6.5 V to 12 V; VBAT = 6.5 V to 12 V VVIO = 3 V to 27 V; VBAT = 6.5 V to 27 V [1] [8] Conditions complete message Min - Typ - Max 2 Unit % Cyclic function; see Figure 7 Tcy ton(PxOut) tsample(PxIn) EADC 16 350 262 ms s s ADC function 4 6 LSB LSB [8] All parameters are guaranteed over the virtual junction temperature range by design. Products are 100 % tested at 125 C ambient temperature on wafer level (pre-testing). Cased products are 100 % tested at 25 C ambient temperature (final testing). Both pre-testing and final testing use correlated test conditions to cover the specified temperature and power supply voltage ranges. Guaranteed by design. Analog-to-digital conversion starts when valid sync break and sync field is received. tbit = selected bit time 50 s or 96 s (20 kbit/s or 10.4 kbit/s), depends on LSC bit; bus load conditions are (C parallel to R): Cbus = 1 nF and Rbus = 1 k, Cbus = 6.8 nF and Rbus = 660 or Cbus = 10 nF and Rbus = 500 . [2] [3] [4] [5] t bus ( rec ) ( min ) 1, 3 = ------------------------------2 x t bit t bus ( rec ) ( max 2, 4 = -------------------------------) 2 x t bit RXD is an internal signal. Not tested. [6] [7] [8] UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 40 of 50 Philips Semiconductors UJA1023 LIN-I/O slave tbit VTXDL tbit tbit tbus(dom)(max) VBAT tbus(rec)(min) Vth(rec)(max) LIN BUS signal Vth(dom)(max) Vth(rec)(min) Vth(dom)(min) thresholds of receiving node 1 thresholds of receiving node 2 tbus(dom)(min) receiving node 1 VRXDL1 tbus(rec)(max) tp(rx1)f receiving node 2 VRXDL2 tp(rx1)r tp(rx2)r tp(rx2)f 001aae375 Fig 14. Timing diagram LIN transceiver UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 41 of 50 Philips Semiconductors UJA1023 LIN-I/O slave 12. Application information LIN MASTER NODE ECU V1 BAT42 BAT14 CBAT VDD SPI INTERFACE RSTN INTN SPI INTERFACE RSTN INTN RTLIN RMASTER LIN CLIN RXDL GND TXDL FAIL-SAFE SBC RXD TXD MICROCONTROLLER UJA106x VBAT LIN bus LIN SLAVE NODE ECU INH VIO P6 BAT CBAT SWITCH BACKGROUND ILLUMINATION P7 4 x 3 SWITCH MATRIX P5 P4 LIN CLIN GND C1 C2 P3 P2 P1 C3 P0 LIN I/O SLAVE UJA1023 001aad687 Fig 15. Application Diagram UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 42 of 50 Philips Semiconductors UJA1023 LIN-I/O slave 13. Test information 13.5 V BAT RxD 1 k TJA1020 TxD LIN MASTER LIN TRANSIENT GENERATOR GND INH 1 nF LIN BAT 4 3 2 9 10 11 P0 P1 P2 P3 P4 P5 P6 P7 10 F UJA1023 VIO C1 C2 C3 1 6 7 8 5 12 13 14 15 16 VVIO GND 001aab867 Fig 16. Test circuit for automotive transients 13.1 Quality information Quality specification in accordance with AEC-Q100. UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 43 of 50 Philips Semiconductors UJA1023 LIN-I/O slave 14. Package outline SO16: plastic small outline package; 16 leads; body width 3.9 mm SOT109-1 D E A X c y HE vMA Z 16 9 Q A2 pin 1 index Lp 1 e bp 8 wM L detail X A1 (A 3) A 0 2.5 scale 5 mm DIMENSIONS (inch dimensions are derived from the original mm dimensions) UNIT mm inches Note 1. Plastic or metal protrusions of 0.15 mm (0.006 inch) maximum per side are not included. OUTLINE VERSION SOT109-1 REFERENCES IEC 076E07 JEDEC MS-012 JEITA EUROPEAN PROJECTION A max. 1.75 A1 0.25 0.10 A2 1.45 1.25 A3 0.25 0.01 bp 0.49 0.36 c 0.25 0.19 D (1) 10.0 9.8 E (1) 4.0 3.8 0.16 0.15 e 1.27 0.05 HE 6.2 5.8 L 1.05 Lp 1.0 0.4 0.039 0.016 Q 0.7 0.6 0.028 0.020 v 0.25 0.01 w 0.25 0.01 y 0.1 Z (1) 0.7 0.3 0.010 0.057 0.069 0.004 0.049 0.019 0.0100 0.39 0.014 0.0075 0.38 0.244 0.041 0.228 0.028 0.004 0.012 8 o 0 o ISSUE DATE 99-12-27 03-02-19 Fig 17. Package outline SOT109-1 (SO16) UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 44 of 50 Philips Semiconductors UJA1023 LIN-I/O slave 15. Soldering 15.1 Introduction to soldering surface mount packages This text gives a very brief insight to a complex technology. A more in-depth account of soldering ICs can be found in our Data Handbook IC26; Integrated Circuit Packages (document order number 9398 652 90011). There is no soldering method that is ideal for all surface mount IC packages. Wave soldering can still be used for certain surface mount ICs, but it is not suitable for fine pitch SMDs. In these situations reflow soldering is recommended. 15.2 Reflow soldering Reflow soldering requires solder paste (a suspension of fine solder particles, flux and binding agent) to be applied to the printed-circuit board by screen printing, stencilling or pressure-syringe dispensing before package placement. Driven by legislation and environmental forces the worldwide use of lead-free solder pastes is increasing. Several methods exist for reflowing; for example, convection or convection/infrared heating in a conveyor type oven. Throughput times (preheating, soldering and cooling) vary between 100 seconds and 200 seconds depending on heating method. Typical reflow peak temperatures range from 215 C to 270 C depending on solder paste material. The top-surface temperature of the packages should preferably be kept: * below 225 C (SnPb process) or below 245 C (Pb-free process) - for all BGA, HTSSON..T and SSOP..T packages - for packages with a thickness 2.5 mm - for packages with a thickness < 2.5 mm and a volume 350 mm3 so called thick/large packages. * below 240 C (SnPb process) or below 260 C (Pb-free process) for packages with a thickness < 2.5 mm and a volume < 350 mm3 so called small/thin packages. Moisture sensitivity precautions, as indicated on packing, must be respected at all times. 15.3 Wave soldering Conventional single wave soldering is not recommended for surface mount devices (SMDs) or printed-circuit boards with a high component density, as solder bridging and non-wetting can present major problems. To overcome these problems the double-wave soldering method was specifically developed. If wave soldering is used the following conditions must be observed for optimal results: * Use a double-wave soldering method comprising a turbulent wave with high upward pressure followed by a smooth laminar wave. * For packages with leads on two sides and a pitch (e): - larger than or equal to 1.27 mm, the footprint longitudinal axis is preferred to be parallel to the transport direction of the printed-circuit board; UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 45 of 50 Philips Semiconductors UJA1023 LIN-I/O slave - smaller than 1.27 mm, the footprint longitudinal axis must be parallel to the transport direction of the printed-circuit board. The footprint must incorporate solder thieves at the downstream end. * For packages with leads on four sides, the footprint must be placed at a 45 angle to the transport direction of the printed-circuit board. The footprint must incorporate solder thieves downstream and at the side corners. During placement and before soldering, the package must be fixed with a droplet of adhesive. The adhesive can be applied by screen printing, pin transfer or syringe dispensing. The package can be soldered after the adhesive is cured. Typical dwell time of the leads in the wave ranges from 3 seconds to 4 seconds at 250 C or 265 C, depending on solder material applied, SnPb or Pb-free respectively. A mildly-activated flux will eliminate the need for removal of corrosive residues in most applications. 15.4 Manual soldering Fix the component by first soldering two diagonally-opposite end leads. Use a low voltage (24 V or less) soldering iron applied to the flat part of the lead. Contact time must be limited to 10 seconds at up to 300 C. When using a dedicated tool, all other leads can be soldered in one operation within 2 seconds to 5 seconds between 270 C and 320 C. 15.5 Package related soldering information Table 34: Package [1] BGA, HTSSON..T [3], LBGA, LFBGA, SQFP, SSOP..T [3], TFBGA, VFBGA, XSON DHVQFN, HBCC, HBGA, HLQFP, HSO, HSOP, HSQFP, HSSON, HTQFP, HTSSOP, HVQFN, HVSON, SMS PLCC [5], SO, SOJ LQFP, QFP, TQFP SSOP, TSSOP, VSO, VSSOP CWQCCN..L [8], PMFP [9], WQCCN..L [8] [1] [2] Suitability of surface mount IC packages for wave and reflow soldering methods Soldering method Wave not suitable not suitable [4] Reflow [2] suitable suitable suitable not not recommended [5] [6] recommended [7] suitable suitable suitable not suitable not suitable For more detailed information on the BGA packages refer to the (LF)BGA Application Note (AN01026); order a copy from your Philips Semiconductors sales office. All surface mount (SMD) packages are moisture sensitive. Depending upon the moisture content, the maximum temperature (with respect to time) and body size of the package, there is a risk that internal or external package cracks may occur due to vaporization of the moisture in them (the so called popcorn effect). For details, refer to the Drypack information in the Data Handbook IC26; Integrated Circuit Packages; Section: Packing Methods. UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 46 of 50 Philips Semiconductors UJA1023 LIN-I/O slave [3] These transparent plastic packages are extremely sensitive to reflow soldering conditions and must on no account be processed through more than one soldering cycle or subjected to infrared reflow soldering with peak temperature exceeding 217 C 10 C measured in the atmosphere of the reflow oven. The package body peak temperature must be kept as low as possible. These packages are not suitable for wave soldering. On versions with the heatsink on the bottom side, the solder cannot penetrate between the printed-circuit board and the heatsink. On versions with the heatsink on the top side, the solder might be deposited on the heatsink surface. If wave soldering is considered, then the package must be placed at a 45 angle to the solder wave direction. The package footprint must incorporate solder thieves downstream and at the side corners. Wave soldering is suitable for LQFP, QFP and TQFP packages with a pitch (e) larger than 0.8 mm; it is definitely not suitable for packages with a pitch (e) equal to or smaller than 0.65 mm. Wave soldering is suitable for SSOP, TSSOP, VSO and VSSOP packages with a pitch (e) equal to or larger than 0.65 mm; it is definitely not suitable for packages with a pitch (e) equal to or smaller than 0.5 mm. Image sensor packages in principle should not be soldered. They are mounted in sockets or delivered pre-mounted on flex foil. However, the image sensor package can be mounted by the client on a flex foil by using a hot bar soldering process. The appropriate soldering profile can be provided on request. Hot bar soldering or manual soldering is suitable for PMFP packages. [4] [5] [6] [7] [8] [9] UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 47 of 50 Philips Semiconductors UJA1023 LIN-I/O slave 16. Revision history Table 35: Revision history Release date 20060209 Data sheet status Preliminary data sheet Change notice Doc. number Supersedes UJA1023_2 Document ID UJA1023_3 Modifications: * * * * * * * The format of this data sheet has been redesigned to comply with the new presentation and information standard of Philips Semiconductors. Table 30 "Limiting values": updated. Table 32 "Static characteristics": updated. Table 33 "Dynamic characteristics": updated. Figure 6 "Overview of operating modes": updated. Figure 14 "Timing diagram LIN transceiver": updated. Updated various other tables, figures and texts in order to make signal names consistent. Objective specification 9397 750 12022 - UJA1023_2 20050203 UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 48 of 50 Philips Semiconductors UJA1023 LIN-I/O slave 17. Data sheet status Level I II Data sheet status [1] Objective data Preliminary data Product status [2] [3] Development Qualification Definition This data sheet contains data from the objective specification for product development. Philips Semiconductors reserves the right to change the specification in any manner without notice. This data sheet contains data from the preliminary specification. Supplementary data will be published at a later date. Philips Semiconductors reserves the right to change the specification without notice, in order to improve the design and supply the best possible product. This data sheet contains data from the product specification. Philips Semiconductors reserves the right to make changes at any time in order to improve the design, manufacturing and supply. Relevant changes will be communicated via a Customer Product/Process Change Notification (CPCN). III Product data Production [1] [2] [3] Please consult the most recently issued data sheet before initiating or completing a design. The product status of the device(s) described in this data sheet may have changed since this data sheet was published. The latest information is available on the Internet at URL http://www.semiconductors.philips.com. For data sheets describing multiple type numbers, the highest-level product status determines the data sheet status. 18. Definitions Short-form specification -- The data in a short-form specification is extracted from a full data sheet with the same type number and title. For detailed information see the relevant data sheet or data handbook. Limiting values definition -- Limiting values given are in accordance with the Absolute Maximum Rating System (IEC 60134). Stress above one or more of the limiting values may cause permanent damage to the device. These are stress ratings only and operation of the device at these or at any other conditions above those given in the Characteristics sections of the specification is not implied. Exposure to limiting values for extended periods may affect device reliability. Application information -- Applications that are described herein for any of these products are for illustrative purposes only. Philips Semiconductors makes no representation or warranty that such applications will be suitable for the specified use without further testing or modification. customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Philips Semiconductors for any damages resulting from such application. Right to make changes -- Philips Semiconductors reserves the right to make changes in the products - including circuits, standard cells, and/or software - described or contained herein in order to improve design and/or performance. When the product is in full production (status `Production'), relevant changes will be communicated via a Customer Product/Process Change Notification (CPCN). Philips Semiconductors assumes no responsibility or liability for the use of any of these products, conveys no license or title under any patent, copyright, or mask work right to these products, and makes no representations or warranties that these products are free from patent, copyright, or mask work right infringement, unless otherwise specified. 20. Trademarks Notice -- All referenced brands, product names, service names and trademarks are the property of their respective owners. 19. Disclaimers Life support -- These products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. Philips Semiconductors 21. Contact information For additional information, please visit: http://www.semiconductors.philips.com For sales office addresses, send an email to: sales.addresses@www.semiconductors.philips.com UJA1023_3 (c) Koninklijke Philips Electronics N.V. 2006. All rights reserved. Preliminary data sheet Rev. 03 -- 9 February 2006 49 of 50 Philips Semiconductors UJA1023 LIN-I/O slave 22. Contents 1 2 3 4 5 6 6.1 6.2 7 7.1 7.1.1 7.1.2 7.1.3 7.1.4 7.1.5 7.1.6 7.1.7 7.1.8 7.2 7.2.1 7.2.1.1 7.2.1.2 7.2.1.3 7.2.1.4 7.2.1.5 7.2.1.6 7.2.2 7.2.2.1 7.2.2.2 7.2.2.3 7.2.2.4 7.2.2.5 7.2.3 7.2.3.1 7.2.3.2 7.2.3.3 7.2.3.4 7.2.3.5 7.2.3.6 7.2.4 7.2.5 7.3 7.3.1 7.3.2 7.4 7.5 7.6 General description . . . . . . . . . . . . . . . . . . . . . . 1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Quick reference data . . . . . . . . . . . . . . . . . . . . . 2 Ordering information . . . . . . . . . . . . . . . . . . . . . 2 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Pinning information . . . . . . . . . . . . . . . . . . . . . . 3 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 4 Functional description . . . . . . . . . . . . . . . . . . . 4 Short description of the UJA1023. . . . . . . . . . . 4 LIN controller . . . . . . . . . . . . . . . . . . . . . . . . . . 4 LIN transceiver (including termination) . . . . . . . 4 Automatic bit rate detection . . . . . . . . . . . . . . . 5 Oscillator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 I/O block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 PWM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Cyclic sense . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 LIN controller . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Message sequence. . . . . . . . . . . . . . . . . . . . . . 5 LIN slave node address assignment. . . . . . . . . 8 Assign frame ID . . . . . . . . . . . . . . . . . . . . . . . 14 Read by identifier . . . . . . . . . . . . . . . . . . . . . . 15 I/O configuration . . . . . . . . . . . . . . . . . . . . . . . 16 Configuration examples . . . . . . . . . . . . . . . . . 22 Operating modes . . . . . . . . . . . . . . . . . . . . . . 24 Configuration mode . . . . . . . . . . . . . . . . . . . . 25 Normal mode . . . . . . . . . . . . . . . . . . . . . . . . . 25 Sleep mode. . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Limp home sleep mode . . . . . . . . . . . . . . . . . 25 Limp home mode and Standby mode. . . . . . . 26 I/O pin modes . . . . . . . . . . . . . . . . . . . . . . . . . 26 Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Level mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 PWM mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Cyclic sense mode . . . . . . . . . . . . . . . . . . . . . 26 Switch matrix mode . . . . . . . . . . . . . . . . . . . . 27 ADC mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 INH pin mode . . . . . . . . . . . . . . . . . . . . . . . . . 29 LIN-I/O message frames. . . . . . . . . . . . . . . . . 29 I/O block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 I/O pins P0 to P7. . . . . . . . . . . . . . . . . . . . . . . 32 INH pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Configuration pins C1 to C3 . . . . . . . . . . . . . . 34 LIN transceiver . . . . . . . . . . . . . . . . . . . . . . . . 34 On-chip oscillator . . . . . . . . . . . . . . . . . . . . . . 36 8 9 10 11 12 13 13.1 14 15 15.1 15.2 15.3 15.4 15.5 16 17 18 19 20 21 Limiting values . . . . . . . . . . . . . . . . . . . . . . . . Thermal characteristics . . . . . . . . . . . . . . . . . Static characteristics . . . . . . . . . . . . . . . . . . . Dynamic characteristics . . . . . . . . . . . . . . . . . Application information . . . . . . . . . . . . . . . . . Test information. . . . . . . . . . . . . . . . . . . . . . . . Quality information . . . . . . . . . . . . . . . . . . . . . Package outline . . . . . . . . . . . . . . . . . . . . . . . . Soldering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Introduction to soldering surface mount packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reflow soldering. . . . . . . . . . . . . . . . . . . . . . . Wave soldering. . . . . . . . . . . . . . . . . . . . . . . . Manual soldering . . . . . . . . . . . . . . . . . . . . . . Package related soldering information . . . . . . Revision history . . . . . . . . . . . . . . . . . . . . . . . Data sheet status. . . . . . . . . . . . . . . . . . . . . . . Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . Contact information . . . . . . . . . . . . . . . . . . . . 36 36 37 39 42 43 43 44 45 45 45 45 46 46 48 49 49 49 49 49 (c) Koninklijke Philips Electronics N.V. 2006 All rights are reserved. Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof does not convey nor imply any license under patent- or other industrial or intellectual property rights. Date of release: 9 February 2006 Document number: UJA1023_3 Published in The Netherlands |
Price & Availability of UJA1023
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |