Functional Description Rev. 1.12 / March 2014 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Multi-Market Sensing Platforms Precise and Deliberate ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Contents 1 2 3 4 Control Logic ................................................................................................................................................ 5 1.1 General Description ............................................................................................................................... 5 1.2 CMC Description ................................................................................................................................... 5 1.3 General Working Modes ........................................................................................................................ 5 1.3.1 Normal Operation Mode (NOM) ...................................................................................................... 6 1.3.2 Command Mode (CM)..................................................................................................................... 6 1.3.3 Diagnostic Mode (DM) .................................................................................................................... 8 1.3.4 Failsafe Tasks and Error Codes ..................................................................................................... 9 Signal Conditioning .................................................................................................................................... 12 2.1 A/D Conversion ................................................................................................................................... 12 2.2 Bridge Sensor Signal Conditioning Formula ....................................................................................... 13 2.3 Temperature Signal Conditioning Formula .......................................................................................... 15 2.4 Half-Bridge Signal Conditioning Formula ............................................................................................ 16 2.5 Fitting Conditioning Result to Analog Output ...................................................................................... 17 2.6 Digital Filter Function for Analog Output ............................................................................................. 17 2.7 Analog Output Signal Range and Limitation ....................................................................................... 18 Analog Output ............................................................................................................................................ 21 3.1 Analog Output Modes .......................................................................................................................... 21 3.2 Power-On Diagnostic Output ............................................................................................................... 21 3.3 Sequential Analog Output Mode.......................................................................................................... 23 Serial Digital Interfaces .............................................................................................................................. 26 4.1 General Description ............................................................................................................................. 26 4.1.1 Command Structure ...................................................................................................................... 26 4.1.2 Addressing .................................................................................................................................... 26 4.1.3 Read-Request ............................................................................................................................... 27 4.1.4 Communication Verification .......................................................................................................... 27 4.1.5 Communication Protocol Selection ............................................................................................... 27 4.2 Digital Output ....................................................................................................................................... 28 4.3 I C™ Protocol ...................................................................................................................................... 29 4.4 One-Wire Communication (OWI)......................................................................................................... 32 2 Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 2 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 5 6 4.4.1 Properties and Parameters ........................................................................................................... 33 4.4.2 OWI Startup Window..................................................................................................................... 34 4.4.3 OWI Protocol ................................................................................................................................. 35 Interface Commands .................................................................................................................................. 38 5.1 Command Set ...................................................................................................................................... 38 5.2 Command Processing ......................................................................................................................... 44 5.3 Digital Output Data in Command Mode ............................................................................................... 44 5.4 Detailed Description for Particular Commands ................................................................................... 45 5.4.1 Acquisition of Raw Measurement Data with START_AD_CNT [62]HEX ........................................ 45 5.4.2 Oscillator Frequency Adjustment with ADJ_OSC_ACQ [50]HEX and ADJ_OSC_WRI [65 data]HEX .... 46 EEPROM and RAM .................................................................................................................................... 47 6.1 Programming the EEPROM ................................................................................................................ 47 6.2 EEPROM and RAM Contents.............................................................................................................. 47 6.3 Traceability Information ....................................................................................................................... 50 6.4 Configuration Words ............................................................................................................................ 51 6.5 EEPROM Signature ............................................................................................................................. 56 6.6 EEPROM Write Locking ...................................................................................................................... 57 7 Related Documents .................................................................................................................................... 58 8 Glossary ..................................................................................................................................................... 58 9 Document Revision History ........................................................................................................................ 59 Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 3 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output List of Figures Figure 1.1 Figure 1.2 Figure 2.1 Figure 3.1 Figure 3.2 Figure 3.3 Figure 3.4 Figure 4.1 Figure 4.2 Figure 4.3 Figure 4.4 Figure 4.5 Figure 4.6 Figure 4.7 Figure 4.8 Figure 4.9 Figure 4.10 Figure 4.11 Figure 4.12 Figure 4.13 Measurement Cycle Modes of Digital Serial Communication Accessible Output Signal Range and Limitation Power-On Diagnostic Output Wave with the DFBH Pin Open Power-On Diagnostic Output Wave with Pin DFBH Connected to VSSA Sequential Analog Output with the DFBH Pin Open Sequential Analog Output with the DFBH Pin Connected to VSSA 2 I C™ Read Request during NOM 2 I C™ or OWI Read Request in Temporary DM 2 I C™ or OWI Read Request after Detecting an Error (Steady DM) 2 I C™ or OWI Read Request Answering a Command (CM) 2 Principles of I C™ Protocol 2 Write Operation I C™ 2 Read Operation I C™ – (Data Request) 2 Timing I C™ Protocol Block Schematic of an OWI Connection OWI and Actively Driven AOUT1—Starting OWI Communication with a Stop Condition OWI Write Operation OWI Read Operation OWI Protocol Timing 7 8 19 22 22 24 25 28 28 29 29 29 31 31 32 33 35 36 37 37 List of Tables Table 1.1 Table 4.1 Table 4.2 Table 4.3 Table 5.1 Table 5.2 Table 5.3 Table 6.1 Table 6.2 Table 6.3 Table 6.4 Table 6.5 Table 6.6 Table 6.7 Error Detection Functionality and Error Codes 2 Timing I C™ Protocol OWI Interface Basic Parameters OWI Interface Signal Parameters Command Set Digital Output Data Resulting from Processed Commands A/D Conversion Response Resulting from START_AD_CNT Command EEPROM and RAM Contents Configuration Word CFGAFE Configuration Word CFGAFE2 Configuration Word CFGAPP Configuration Word CFGAPP2 Configuration Word CFGSF C Source Code Signature Generation 9 32 33 37 38 44 46 48 51 52 53 54 55 56 For more information, contact ZMDI via [email protected]. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 4 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 1 Control Logic 1.1 General Description The control logic of the ZSSC3154 consists of the calibration microcontroller (CMC), the module control logic of the analog-to-digital converter (ADC) and the serial digital Interface. The configuration of the various modes of the device is done by programming settings in EEPROM. The CMC controls the measurement cycle and performs the calculations for sensor signal conditioning. This eliminates the gain deviation, the offset, the temperature deviation, and the non-linearity of the pre-amplified and A/D converted sensor signal. The A/D conversion is executed as a continuous measurement cycle. The conditioning calculation by the CMC is performed in parallel with the A/D conversion. The ZSSC3154 communicates with an external microcontroller, especially for calibration purposes, via a serial 2 * digital interface. A communication protocol according to the I C™ standard is supported. Additionally ZMDI’s TM ZACwire interface is implemented for one-wire communication (OWI). These serial interfaces are used for the calibration of the sensor system consisting of a transducer and the ZSSC3154. The serial interface provides the read out of the results of sensor signal conditioning as digital values during the calibration. The internal processing of received interface commands is done by the CMC. As a consequence, the measurement cycle is interrupted if a command is received. Only the read out of data is controlled by the serial interface itself and does not interrupt the CMC. 1.2 CMC Description The calibration microcontroller (CMC) is especially adapted to the tasks connected with the signal conditioning. These are the main features: The microcontroller uses 16-bit processing width and is programmed via ROM. A watchdog timer controls the proper operation of the microcontroller. Constants/coefficients for the conditioning calculation are stored in the EEPROM. The EEPROM is mirrored to the RAM after power-on or after re-initialization from EEPROM by sending a specific command to the serial interface. Parity is checked continuously during every read from RAM. If incorrect data is detected, the Diagnostic Mode is activated (an error code is written to the serial digital output, and the analog output is set to the diagnostic level). 1.3 General Working Modes ZSSC3154 supports three different working modes: Normal Operation Mode (NOM) Command Mode (CM) Diagnostic Mode (DM) * 2 I C™ is a trademark of NXP. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 5 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 1.3.1 Normal Operation Mode (NOM) The Normal Operation Mode (NOM) is the recommended working mode for applications. After power-on, the ZSSC3154 completes an initialization routine during which the EEPROM is mirrored to RAM and the contents are checked against a stored signature. If enabled, a ROM signature check is processed (see Table 6.6). If any error is detected, the Diagnostic Mode is activated. Otherwise the configuration of the ZSSC3154 is set, the serial digital interfaces are enabled, and NOM is started. In NOM, the continuous measurement cycle and conditioning calculations are processed. The signal conditioning results generate the analog output at pins AOUT1 and AOUT2. The measurement cycle covers one or two main signals. The differential bridge sensor signal is always available. In addition, a temperature sensor signal or the half-bridge signal can be measured. Various analog output modes are available (refer to section 3.1). Provided that the EEPROM is programmed correctly, NOM runs without sending any command to the digital 2 serial interface. Readout of the conditioning results via the digital serial interface (I C™) is possible. This does not interrupt the continuous processing of the signal conditioning routine. After power-on, a startup window is opened for one-wire communication (OWI) via the AOUT1 pin. During the startup window, the output levels at the AOUT1 pin depend on the selected OWI mode and the configured analog output mode (see section 4.4). To activate the Command Mode (CM) for end-of-line configuration and calibration, send the START_CM command via OWI communication during the startup window (refer to the data sheet for timing specifications for the startup window). In CM, NOM is stopped and the ZSSC3154 waits for further commands. The ZSSC3154 provides two analog voltage outputs at the AOUT1 and AOUT2 pins. The bridge sensor signal is always output at the AOUT1 pin. For the compensation of temperature dependent deviations via conditioning calculations, a calibration temperature is measured. At the AOUT2 pin, there are several options for the output mode (see section 3), which can be configured in EEPROM. A separate temperature measurement is available for the output of a conditioned temperature signal. A half-bridge measurement is available for validating the main bridge sensor signal. The measurement cycle is adapted to the selected measurement and safety tasks configured in EEPROM CFGAPP2:AOUT2MD and CFGSF, respectively. The measurement cycle is reduced to the minimum necessary measurement phases (see Figure 1.1). All measured signals are auto-zero compensated to eliminate offsets resulting from the selected measurement channel. 1.3.2 Command Mode (CM) The Command Mode (CM) is the working mode that is used for calibration data acquisition and access to the internal RAM and EEPROM of the ZSSC3154. The CM start command START_CM aborts the running NOM, so the measurement cycle stops. The ZSSC3154 changes to CM only after receiving the START_CM command by 2 digital serial communication (I C™ or OWI). This protects the ZSSC3154 against interruption of processing the NOM (continuous signal conditioning mode) and/or unintentional changes of configuration. In CM, the full set of commands is supported (see section 5.1). Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 6 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Figure 1.1 Measurement Cycle CTAZ CT Measurement Cycle with Bridge Signal Output Only BRAZ Startup 10 Measurements per Cycle BR BISTAZ BR BIST BR BRAZ BR CTAZ BR CT BR BISTAZ BR BIST BR CMVAZ BR CMV BR BRAZ BR CTAZ BR CT 14 Measurements per Cycle BR BISTAZ BR BIST BR SSCP BR SSCN BR BRAZ BR CTAZ BR CT 14 Measurements per Cycle BR BISTAZ BR BIST BR CMVAZ BR CMV BR SSCP BR SSCN BR BRAZ BR CTAZ BR CT 18 Measurements per Cycle Measurement Cycle CTAZ CT Measurement Cycle with Bridge Signal and Temperature Output BRAZ Startup 14 Measurements per Cycle BR TAZ BR T BR BISTAZ BR BIST BR BRAZ BR CTAZ BR CT BR TAZ BR T BR BISTAZ BR BIST BR CMVAZ BR CMV BR BRAZ BR CTAZ BR CT 18 Measurements per Cycle BR TAZ BR T BR BISTAZ BR BIST BR SSCP BR SSCN BR BRAZ BR CTAZ BR CT 18 Measurements per Cycle BR TAZ BR T BR BISTAZ BR BIST BR CMVAZ BR CMV BR SSCP BR SSCN BR BRAZ BR HB HBAZ 18 Measurements per Cycle CTAZ BR CT 22 Measurements per Cycle Measurement Cycle CTAZ CT Measurement Cycle with Bridge Signal and Half-Bridge Signal Output BRAZ HBAZ Startup BR HB BRAZ BR HB CTAZ BR HB CT BR HB HBAZ 12 Measurements per Cycle BR HB SSCP BR HB SSCN BR HB BRAZ BR HB CTAZ BR HB CT BR Measurement Cycle Measurement Cycle Phases Main Signals Measurement BR Bridge Sensor Measurement BRAZ Bridge Sensor Auto-Zero Measurement CT Calibration Temperature Measurement CTAZ Calibration Temperature Auto-Zero Measurement Data Sheet March 18, 2014 Safety Functions Measurement T Temperature Measurement BIST AFE Built-In Self-Test Measurement TAZ Temperature Auto-Zero Measurement BISTAZ AFE Built-In Self-Test HB Half-Bridge Signal Measurement SSCP Sensor Short Check HBAZ Half-Bridge Signal SSCN Sensor Short Check Auto-Zero Measurement Auto-Zero Measurement Analog Output Updated CMV Sensor Common Mode Voltage Measurement CMVAZ Sensor Common Mode Voltage Auto-Zero Measurement Bridge Sensor Signal Temperature Signal Half-Bridge Signal Positive-Biased Measurement Negative-Biased Measurement © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 7 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 2 Starting CM via I C™ communication (SCL and SDA pins) is possible at any time. If starting CM via one-wire communication (AOUT1 pin), the START_CM command must be transmitted during the startup window. If the ZSSC3154 receives a command other than START_CM in NOM, it is not valid. It is ignored and no interrupt to the continuous measurement cycle is generated. In CM, the full command set is enabled for processing. During processing of a received command, the digital serial interfaces are disabled; no further commands are recognized. After finishing the processing, the CMC waits for further commands or processes requested measurement loops continuously. EEPROM programming is only enabled after receiving the EEP_WRITE_EN command. Figure 1.2 Modes of Digital Serial Communication Normal Operation Mode 2 I C™ à Read only 1.3.3 Command Mode Command START_CM 2 I C™ or OWI à Full command set Diagnostic Mode (DM) The ZSSC3154 detects various failures. When a failure is detected, Diagnostic Mode (DM) is activated. DM is indicated by setting both output pins AOUT1 and AOUT2 to the diagnostic fault band. The level of diagnostic output is configured by the DFBH pin. If the DFBH pin is open, the output is set to Diagnostic Fault Band Low (DFBL). If pin DFBH is connected to VSSA, output is set to Diagnostic Fault Band High (DFBH). 2 When using digital serial communication protocols (I C™ or OWI) to read out conditioning results data, the error status is indicated by two bits in every data word. DM generates a significant error code which can be read using the command GET_ERR_STATUS. OWI communication is enabled during DM. Because the analog output pin AOUT1 is driven to the diagnostic range, the AOUT1 pin must be overwritten when starting OWI communication. The communication master must provide driving capability (AOUT1 current limitation: <20mA). Note that many of the error detection features can be enabled / disabled by configuration word CFGSF (refer to section 6.4). There are three options for Diagnostic Mode: Steady Diagnostic Mode In steady DM, the measurement cycle is stopped and failure notification is activated. If enabled by the configuration bit CFGSF:DMRES, a reset after the timeout of a watchdog is executed. Temporary Diagnostic Mode There is a failure counting sequence that can result in a temporary DM. DM is activated after two consecutively detected failure events and is deactivated after a failure counter counts down if the failure condition is no longer detected. The measurement cycle is continuously processed during temporary DM. Power and Ground Loss Power and ground loss cases are signaled by setting the analog output pins to high-impedance states. The output levels are determined by the external loads. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 8 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 1.3.4 Failsafe Tasks and Error Codes Table 1.1 Error Detection Functionality and Error Codes Failsafe Task Description Error Code Activation Messaging Time Oscillator Fail Detection Oscillator is observed generating clock pulses by an asynchronous timing logic. EEPROM Signature Checks signature of RAM mirror against signature stored in EEPROM. 6600HEX - ROM Signature Checks CMC ROM signature. Note that this check potentially increases startup time by 10ms. 6500HEX EEPROM Multiple-Bit Error Detection of non-correctable multiple-bit error per 16-bit word. 6440HEX - Startup Arithmetic Check Functional check of arithmetic unit. 6480HEX - One measurement cycle Register Parity Permanent parity check of configuration registers. 6410HEX - Immediate RAM Parity Parity check at every RAM access. 6404HEX - Immediate Watchdog Watchdog timeout during initialization or measurement cycle 6402HEX - Startup, 2 or 3 measurement times BCC Broken chip check. AA00HEX CFGSF: CHKBCC TSC Temperature sensor check: Detection of overdriving the analog frontend during temperature measurement. C900HEX CFGSF: CHKTSC SAC Sensor aging check. A880HEX CFGSF: CHKSAC SCC Sensor connection check. A840HEX CFGSF: CHKSCC SSC Sensor short check. A820HEX CFGSF: CHKSSC AFEBIST Analog front-end (AFE) built-in self-test: Not executed if half-bridge signal measurement is configured. A810HEX AFEBISTMIN / AFEBISTMAX MCCH Main channel check – high: detection of positive overdriving of the analog front-end during bridge measurement. A808HEX CFGSF: CHKMCCH MCCL Main channel check – low: detection of negative overdriving of the analog frontend during bridge measurement. A804HEX CFGSF: CHKMCCL Power or Ground Loss Power or ground loss detection. Data Sheet March 18, 2014 - - - CFGSF: CHKROM - < 200µs Action Temporary DM Startup Startup Steady DM Steady DM or reset after watchdog timeout (enabled by CFGSF: DMRES) Two measurement cycles Temporary DM < 5ms Reset © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 9 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Note: Error codes can be bit-wise masked. Bit [15] (MSB) is even parity. Bits [14:13] are error status flags. Error status is 1 (Temporary DM), 2 (Temporary DM, Temperature Fail), or 3 (Steady DM). If the error status is 0 but the error code at bits [12:0] is set, this means that the indicated error was temporarily detected during normal operation but is currently not active anymore. Note that the reset after the watchdog timeout clears any error codes that were previously generated. 1.3.4.1. Broken Chip Check (BCC) The broken chip check detects damage and fractions of the silicon chip and its passivation caused by the production and assembly process. The check can be applied by GET_BCC_STATUS command during the calibration process or cyclically in the measurement cycle during NOM. 1.3.4.2. Temperature Sensor Check (TSC) The temperature sensor check detects whether the ADC dynamic range has been exceeded during the temperature measurement. The temperature signal raw value is checked to determine if it is less than 128 or 14 greater than (2 - 128). This can result from various causes: the external temperature sensor is disconnected; the analog temperature input channel is not sufficiently calibrated or defective; or the temperature signal is out of targeted range. 1.3.4.3. Bridge Sensor Aging Check (SAC) The sensor aging check detects long-term altering of the bridge sensor resistors that would result in a shift of the calibrated output characteristics. The SAC evaluates the common mode voltage of the sensor bridge once per measurement cycle if enabled. The measurement result is checked for compliance with programmed limits (CMVMIN / CMVMAX). 1.3.4.4. Bridge Sensor Connection Check (SCC) The sensor connection check monitors the connection of the bridge sensor at the VBP and VBN pins. An internally determined current is applied to the sensor, and the resulting differential input signal is evaluated once per measurement cycle if enabled. The following failures are detected by SCC: High-resistive sensor bridge elements (e.g., a diaphragm rapture) Connection loss at the pins VBP, VBN, VBR_T or VBR_B Short between pins VBP or VBN and pins VBR_T or VBR_B Enabling the SCC High Capacitor Mode (CFGSF:CHKSCCHIC; see Table 6.6) is recommended in applications with a high capacitive load greater than 1nF up to 10nF at the input pins VBP and VBN. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 10 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 1.3.4.5. Bridge Sensor Short Check (SSC) The sensor short check detects a short between the bridge sensor input pins VBP and VBN (connections less than 50Ω nominal). An internally determined current is applied to the sensor in both directions, resulting in differential input signals, which are evaluated once per measurement cycle if enabled. If a short occurs, the input signal difference of both is less than an internally determined limit. 1.3.4.6. Analog Front-End Built-In Self-Test (AFEBIST) The analog front-end (AFE) built-in self-test detects whether the AFE (the programmable amplifier and the A/D converter) is functioning correctly. Adjusted to the configured analog gain, an internally generated analog input signal is measured via the main channel. The measurement result is checked against programmed limits (AFEBISTMIN / AFEBISTMAX; see Table 6.1). Note that limits must be calibrated if AFEBIST is used. AFEBIST adds two further measurement phases to the measurement cycle. AFEBIST and the half-bridge measurement validate the same measurement channel. Hence AFEBIST is measured if and only if the half-bridge measurement is not enabled. AFEBIST validation can be disabled by setting the limits AFEBISTMIN / AFEBISTMAX to 0HEX and 3FFFHEX, respectively. 1.3.4.7. Main Channel Check (MCCH / MCCL) The main channel check detects whether the ADC dynamic range has been exceeded during the bridge measurement. The bridge signal raw value is checked to determine if the value is less than 128 or greater than 14 (2 - 128). This can result from various causes: the bridge sensor is disconnected; the main input channel is defective or not sufficiently calibrated; or the bridge signal is out of targeted range. The main channel check distinguishes between positive (MCCH) and negative (MCCL) overdrive to allow tailored overdrive handling at the bridge channel. 1.3.4.8. Power and Ground Loss The detection of a power or ground loss is indicated by pulling the analog outputs AOUT1 and AOUT2 to the Diagnostic Fault Band. The level of the diagnostic output depends on the lost node and load connection to ground or supply. In such cases, the ZSSC3154 is inactive and the specified leakage current in combination with the load resistor guarantees reaching DFBH or DFBL. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 11 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 2 Signal Conditioning 2.1 A/D Conversion During NOM, the analog preconditioned sensor signal is continuously converted from analog to digital. The A/D conversion is performed with a 14-bit resolution rADC for all measurements in the measurement cycle (e.g., bridge sensor signal, temperature, half-bridge, auto-zero, etc.). The A/D conversion is configurable regarding the inherent range shift rsADC for the bridge sensor signal and half-bridge signal measurement. All resulting digital raw values are determined by the following equations: Analog differential input voltage to A/D conversion (V ADC_DIFF) VADC _ DIFF aIN VIN _ DIFF a XZC VXZC (1) Where VIN_DIFF Differential input voltage to analog front-end VXZC Extended zero compensation voltage (programmable via CFGAFE:BRXZC and CFGAFE2:HBXZC; see section 6.4) aIN Gain of analog front-end aXZC Gain for extended zero compensation voltage VADC_DIFF Differential input voltage to ADC Digital raw A/D conversion result (Z ADC) VADC _ DIFF VOFF Z ADC 2rADC rsADC VADC _ REF (2) Where VOFF Residual offset voltage of analog front-end (which is eliminated by auto-zero compensation) VADC_REF ADC reference voltage (ratiometric reference for measurement) rADC Resolution of A/D conversion (14-bit) rsADC Range shift of A/D conversion (bridge or half-bridge: ½, ¼, /8, /16; temperature: ½) Data Sheet March 18, 2014 1 1 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 12 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Auto-zero value (ZAZ) VOFF Z AZ 2rADC rsADC VADC _ REF (3) Auto-zero corrected raw A/D conversion result (ZCORR) ZCORR Z ADC Z AZ 2rADC 2.2 VADC _ DIFF VADC _ REF (4) Bridge Sensor Signal Conditioning Formula The digital raw value ZBR,CORR for the measured bridge sensor signal is processed with a conditioning formula to rd remove offset and temperature dependency and to compensate nonlinearity up to 3 order. The signal conditioning equation is processed by the CMC and is defined as follows: Range definition of inputs (ZBR,CORR and ZCT,CORR) ZBR,CORR 2rADC ; 2rADC ZCT,CORR 2rADC 1; 2rADC 1 (5) (6) Where rADC Resolution of A/D conversion(14-bit) ZBR,CORR Raw A/D conversion result for bridge sensor signal (auto-zero compensated) ZCT,CORR Raw A/D conversion result for calibration temperature (auto-zero compensated) In the following conditioning formulas, equation (7) compensates the offset and fits the gain including its temperature dependence. The nonlinearity for the intermediate result Y is then corrected in equation (8). The result of these equations is a non-negative value BR for measured bridge sensor signal in the range [0; 1). Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 13 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Note that the conditioning coefficients ci are positive or negative values in two’s complement. Bridge signal conditioning equations Y 2 Z BR,CORR c 0 2 (rADC 1) c 4 Z CT ,CORR 2 2(rADC 1) c 5 Z CT ,CORR 2 c 1 2 (rADC 1) c 6 Z CT ,CORR 2 2(rADC 1) c 7 Z CT ,CORR BR Y 1 2 15 c 2 2 15 c 3 2 15 c 2 Y 2 2 15 c 3 Y 3 Y 0;1 (7) BR 0;1 (8) Where Conditioning coefficients stored in EEPROM registers 00HEX to 07HEX: ci [-2 ; 2 ), two’s complement. 15 15 c0 Bridge offset c1 Bridge gain c2 Non-linearity correction 2 nd order rd c3 Non-linearity correction 3 order c4 Temperature coefficient bridge offset 1 order c5 Temperature coefficient bridge offset 2 order c6 Temperature coefficient gain 1 order c7 Temperature coefficient gain 2 Data Sheet March 18, 2014 st nd st nd order © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 14 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 2.3 Temperature Signal Conditioning Formula The temperature measurement is enabled by selecting the appropriate analog output mode for the AOUT2 pin (CFGAPP2:AOUT2MD; see Table 6.5). The digital raw value ZT,CORR for the measured temperature is processed nd with a conditioning formula to remove offset and to compensate nonlinearity up to 2 order. The signal conditioning equation is processed by the CMC and is defined as follows: Range definition of input (ZT,CORR): ZT,CORR 2rADC 1; 2rADC 1 (9) Where rADC Resolution of A/D conversion (14-bit) ZT,CORR Raw A/D conversion result for temperature (auto-zero compensated) In the following temperature conditioning formulas, equation (10) compensates the offset and fits the gain. The nonlinearity for the intermediate result YT is then corrected in equation (11). The result of these equations is a non-negative value T for measured temperature in the range [0; 1). Note that the conditioning coefficients ti are positive or negative values in two’s complement format. Temperature signal conditioning equations YT Z T,CORR t 0 t1 T YT 1 2 15 t 2 2 15 t 2 YT2 YT 0;1 (10) T 0;1 (11) Where Conditioning coefficients stored in EEPROM registers 08HEX to 0AHEX when temperature measurement is selected: ti [-2 ; 2 ), two’s complement. 15 15 t0 Temperature offset t1 Temperature gain t2 Temperature non-linearity correction 2 Data Sheet March 18, 2014 nd order © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 15 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 2.4 Half-Bridge Signal Conditioning Formula The half-bridge signal measurement is enabled by selecting the appropriate analog output mode for the AOUT2 pin (CFGAPP2:AOUT2MD; see Table 6.5). The digital raw value ZHB,CORR for the measured half-bridge signal is processed with a conditioning formula to remove offset and temperature dependency and to compensate nd nonlinearity up to 2 order. The signal conditioning equation is processed by the CMC and is defined as follows: Range definition of input (ZHB,CORR and ZCT,CORR): ZHB,CORR 2rADC ; 2rADC ZCT,CORR 2rADC 1; 2rADC 1 (12) (13) Where rADC Resolution of A/D conversion (14-bit) ZHB,CORR Raw A/D conversion result for half-bridge sensor signal (auto-zero compensated) ZCT,CORR Raw A/D conversion result for calibration temperature (auto-zero compensated) In the following conditioning formulas, equation (14) compensates the offset and fits the gain including its temperature dependence. The nonlinearity for the intermediate result Y HB is then corrected in equation (15). The result of these equations is a non-negative value HB for the measured half-bridge signal in the range [0; 1). Note that the conditioning coefficients hi are positive or negative values in two’s complement format. Half-bridge signal conditioning equations YHB 2 ZHB,CORR h0 2 (rADC 1) h 4 Z CT,CORR 2 2(rADC 1) h5 Z CT ,CORR 2 h1 2 (rADC 1) h 6 Z CT,CORR 2 2(rADC 1) h7 Z CT ,CORR 2 HB YHB 1 2 15 h2 2 15 h2 YHB YHB 0;1 (14) HB 0;1 (15) Where Conditioning coefficients stored in EEPROM registers 08HEX to 0EHEX when half-bridge measurement is selected: hi [-2 ; 2 ), two’s complement. 15 15 h0 Half-bridge offset h1 Half-bridge gain Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 16 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 2.5 nd h2 Half-bridge non-linearity correction 2 order h4 Temperature coefficient half-bridge offset 1 st order nd h5 Temperature coefficient half-bridge offset 2 order h6 Temperature coefficient half-bridge gain 1 h7 Temperature coefficient half-bridge gain 2 st order nd order Fitting Conditioning Result to Analog Output The analog output is generated by a 5632-step D/A converter. This guarantees 12-bit analog output resolution for a typical output range of 10-to-90% VDDA or larger. For the calibration of the conditioning coefficients, the target output values must be fitted to that DAC resolution. The fitting factor is 0.6875 = 5632 13 and is applied to the normalized target values BR, T, HB [0; 1). 2 Note that this fitting is supported by the ZSSC3154 Evaluation Kit Software, which can be freely downloaded from ZMDI’s web site (www.zmdi.com/zssc3154), but fitting is not part of the RBIC1.DLL, which is available on request for use with customer proprietary software (contact ZMDI support via [email protected]). 2.6 Digital Filter Function for Analog Output The ZSSC3154 offers digital (averaging) low-pass filters for the two analog output signals at pins AOUT1 and AOUT2. The output signal and mode at the AOUT2 pin are configured by EEPROM CFGAPP2:AOUT2MD (see section 6.4 and Table 6.5). In NOM, the conditioned bridge sensor signal is always continually output at the AOUT1 pin. The AOUT1 output value is filtered with the integrating coefficient LPFAVRGBR and the differential coefficient LPFDIFFBR (see Table 6.1) If the AOUT2 pin is configured to output a function of the bridge sensor signal, the AOUT2 output value is calculated with the conditioned and filtered bridge sensor value that is output at the AOUT1 pin. If the AOUT2 pin is configured to output the temperature signal, the AOUT2 output value is filtered with the integrating coefficient LPFAVRGT and the differential coefficient LPFDIFFT. If the AOUT2 pin is configured to output the half-bridge signal or a function of this signal, the AOUT2 output value is filtered with the integrating coefficient LPFAVRGHB and the differential coefficient LPFDIFFHB. If the half-bridge sensor signal is output at the AOUT2 pin for validating the analog output of the bridge sensor signal at the AOUT1 pin, using equal filter coefficients is recommended. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 17 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output The filter function is implemented as follows: Digital Filter Function (SOUT,0 and SOUT,i) SOUT ,0 S0 (16) S OUT ,i S OUT ,i1 Si S OUT ,i1 LPFDIFF 1 2LPFAVRG i0 w ith LPFAVRG , LPFDIFF 0;7 and SOUT ,i 0;1 (17) Where Si Conditioned signal output result (refer to sections 2.2 through 2.4) SOUT,i Filtered signal output result LPFAVRG Averaging filter coefficient LPFDIFF Differential filter coefficient The result of the filter function is a non-negative value SOUT in the range [0; 1) which is used for continuously updating the analog output value during the measurement cycle. Note that filtering is not applicable if CFGAPP:ADCMD is set to 11BIN (7bit) (see Table 6.2). Note that setting the coefficients LPFAVRG and LPFDIFF to 0 disables the filter function. Important: For proper function, ensure that the factor LPFDIFF 1 2LPFAVRG never becomes larger than 2! 2 Note that the readout of measurement values in NOM via I C™ delivers conditioned but unfiltered result values Si. 2.7 Analog Output Signal Range and Limitation The filtered conditioning results SOUT for the measured bridge signal, the temperature signal, or the half-bridge signal are output at the analog output pins AOUT1 and AOUT2 with a resolution greater than 12 bits. The analog output voltage is generated using a resistor-string DAC with 5632 steps, of which 5120 steps (256 to 5375) can be addressed. As a result, an adjustable range from 5% to 95% of the supply voltage is guaranteed, including all possible tolerances. Setting the analog output outside the allowed range (for example via the SET_AOUTx command) will result in entering the diagnostic mode (DM) and setting the output to the DFB (Diagnostic Fault Band) level. The ZSSC3154 offers an output limitation function for the analog output SOUT that clips the output signal with the configurable limits AOUTMINx and AOUTMAXx as illustrated in Figure 2.1. These output minimum and maximum limits (13-bit accuracy) are defined in EEPROM with separate settings for the bridge, temperature, and half-bridge signal limits (see Table 6.1). Note that these limit-setting registers (0FHEX through 12HEX) are shared with the digital filter configuration (the 3 LSBs). Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 18 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Figure 2.1 Accessible Output Signal Range and Limitation Addressable Range SOUT, SAOUT 5631 5375 AOUTMAX AOUTMIN 256 0 smin smax Measured Signal Analog Output Limitation (SAOUT) SAOUT SOUT AOUTMAX AOUTMAX (18) SAOUT SOUT AOUTMAX ; AOUTMIN (19) SOUT SAOUT SOUT AOUTMIN AOUTMIN w ith AOUTMIN , AOUTMAX 256;5375 100 HEX;14FFHEX (20) (21) Where SOUT Conditioned and filtered signal output result (refer to section 2.6) SAOUT Clipped analog output result AOUTMIN Lower analog output limit AOUTMAX Upper analog output limit Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 19 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output The analog output voltage VAOUT is ratiometric to the power supply (VVDDE - VVSSE) and can be calculated using the following formula. Analog Output Voltage (VAOUT) VAOUT VVDDE VVSSE S AOUT 5632 (22) Where SAOUT Conditioned, filtered and clipped signal output result VAOUT Analog output voltage VVDDE, VVSSE Voltages at VDDE and VSSE pins 2 Note that the readout of measured values in NOM via I C™ delivers conditioned but unfiltered and unclipped values for S. Note that if the output is a function f of the bridge sensor signal via AOUT2 (1-BR, ½*BR, or ½*(1-BR)), which can be configured by CFGAPP2:AOUT2MD, the function is applied to the conditioned, filtered, and clipped bridge signal BRAOUT. The resulting clipping limits for f(BR) at AOUT2 are consequently f(AOUTMINBR) and f(AOUTMAXBR). Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 20 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 3 Analog Output 3.1 Analog Output Modes The ZSSC3154 provides two analog voltage outputs at the pins AOUT1 and AOUT2. In NOM, the conditioned bridge sensor signal is continually output at the AOUT1 pin. At the AOUT2 pin, several output modes are supported that are configured by EEPROM CFGAPP2:AOUT2MD: Continual output of the conditioned temperature signal The selected temperature sensor is configured with CFGAPP:TS. It is possible to select the same sensor as is used for calibration temperature or to select a different temperature sensor (see Table 6.4). Continual output of the conditioned half-bridge signal The half-bridge sensor signal can be used to validate the bridge sensor signal output at the AOUT1 pin (see Table 6.5). If the filter function is used for the bridge sensor signal, setting the coefficients for filtering the halfbridge signal to the same value is recommended. Note, that validating the main signal channel by the halfbridge sensor signal disables the analog front-end BIST functionality (AFEBIST, see Table 1.1 and Figure 1.1). Continual output of a function of bridge sensor signal Output of a function of the bridge sensor signal can be used to validate the bridge sensor signal output at the AOUT1 pin. Several functions are available and are calculated from the conditioned and filtered bridge sensor output value (see Table 6.5). Sequential Analog Output (SEQAOUT) If the Sequential Analog Output Mode (SEQAOUT) is enabled, a configurable, continuous sequence is output on the AOUT2 pin (see Table 6.5 for the settings and section 3.3 for the order). The running sequence begins with the bridge signal or a function of the bridge signal; the Diagnostic Fault Band level driven by the DFBH pin; the inverted DFB level; and then the temperature or the half-bridge sensor. This allows validating the bridge sensor signal output at the AOUT1 pin. The Diagnostic Fault Band levels can be checked to ensure proper failure messaging. 3.2 Power-On Diagnostic Output The ZSSC3154 provides a Power-On Diagnostic Output (PDO) wave. If enabled by EEPROM CFGSF:PDOENA, after power-on, the analog outputs at AOUT1 and AOUT2 run a one-time sequence of the upper and lower output limits followed by the diagnostic fault band output level (see Figure 3.1 and Figure 3.2). This can be used to check the operability of the chip and its output levels. The upper and lower output limits are programmed in EEPROM independently for both output pins. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 21 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output The diagnostic fault band output level depends on the DFBH pin. If the DFBH pin is open, both output pins AOUT1 and AOUT2 switch to the lower diagnostic fault band. If the DFBH pin is connected to VSSA, both output pins switch to the higher diagnostic fault band. Use the appropriate configuration for the user’s application according to output pin loads. Enabling the sequential analog output (SEQAOUT) for the AOUT2 pin with CFGAPP2:AOUT2MD disables PDO independently of control bit CFGSF:PDOENA. If PDO is enabled, the startup window for one-wire communication via the AOUT1 pin is open during the two phases for the upper and lower output limits. The duration τPDO of each phase in the PDO sequence is 160ms (nominal) at fOSC = 2.6MHz. This timing can be shortened by setting the divider CFGAPP:TIMEDIV. Figure 3.1 Power-On Diagnostic Output Wave with the DFBH Pin Open 100 96 4 0 High-Impedance Output VAOUT1/2 in % (VDDE-VSSE) tSTARTUP Timing definition: τPDO is the configurable timing constant tSTARTUP is the startup time Output Signal AOUT2 Upper Output Limit Lower Output Limit τPDO τPDO DFB Low Output Signal AOUT1 τPDO t Figure 3.2 Power-On Diagnostic Output Wave with Pin DFBH Connected to VSSA 100 96 4 0 High-Impedance Output VAOUT1/2 in % (VDDE-VSSE) tSTARTUP Data Sheet March 18, 2014 Timing definition: τPDO is the configurable timing constant tSTARTUP is the startup time Output Signal AOUT2 Upper Output Limit Lower Output Limit τPDO τPDO DFB High Output Signal AOUT1 τPDO © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. t 22 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 3.3 Sequential Analog Output Mode The ZSSC3154 can provide the Sequential Analog Output Mode (SEQAOUT) at the AOUT2 pin if enabled by EEPROM CFAPP2:AOUT2MD. In this mode, the analog output at AOUT2 continuously runs a sequence of the nd bridge sensor signal followed by both diagnostic fault band output levels and by a 2 configurable output signal (see Figure 3.3 and Figure 3.4). At the AOUT1 pin, the bridge sensor signal is continuously output. The output of the diagnostic fault band levels can be used to check operability and proper failure messaging of the chip and to synchronize for evaluating both output signals. The actively driven diagnostic fault band level must be configured by connecting the DFBH pin to VSSA or by leaving it open. This actively driven diagnostic fault band level is output first in the SEQAOUT sequence; the reverse level follows. The bridge sensor signal output in the SEQAOUT sequence can be manipulated by several functions selectable by CFGAPP2:AOUT2MD. This supports validating the bridge sensor signal output at pin AOUT1. A half-bridge signal is selectable as the second signal output in the SEQAOUT sequence, which can also be used to validate bridge sensor signal. Alternately the temperature signal can be selected as the second signal output. Depending on the selected temperature sensor (see Table 6.4, bits 5:3), this can be the sensor output used for calibration, which provides temperature compensation of the bridge sensor signal, or another temperature sensor. The timing constant τSEQ, which determines duration of the individual phases in the SEQAOUT sequence, is 37ms (nominal) at fOSC=2.6MHz. This timing can be shortened by setting the divider CFGAPP:TIMEDIV. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 23 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Figure 3.3 Sequential Analog Output with the DFBH Pin Open τSEQ is the configurable timing constant tSTARTUP is the startup time Output Bridge Sensor Signal tSTARTUP ≤τSEQ t Data Sheet March 18, 2014 τSEQ τSEQ τSEQ • • • • • Temperature Sensor Signal • Half-Bridge Sensor Signal Bridge Sensor Signal 1 - Bridge Sensor Signal 1/2 Bridge Sensor Signal 1/2 (1 - Bridge Sensor Signal) Output f( Bridge Sensor Signal ) Output 2nd Signal Output 2nd Signal 4τSEQ Output 2nd Signal: DFB High DFB High tSTARTUP ≤τSEQ Output f( Bridge Sensor Signal ) DFB Low 4 0 DFB Low 100 96 High-Impedance Output VAOUT2 in % (VDDE-VSSE) Function f() of Bridge Sensor Signal: DFB Low 4 0 Timing definition: DFB Low 100 96 High-Impedance Output VAOUT1 in % (VDDE-VSSE) 4τSEQ τSEQ τSEQ τSEQ Output f(Bridge Sensor Signal) © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 4τSEQ t 24 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Figure 3.4 Sequential Analog Output with the DFBH Pin Connected to VSSA τSEQ is the configurable timing constant tSTARTUP is the startup time Output Bridge Sensor Signal tSTARTUP ≤τSEQ t Data Sheet March 18, 2014 τSEQ τSEQ τSEQ • • • • • Temperature Sensor Signal • Half-Bridge Sensor Signal Bridge Sensor Signal 1 - Bridge Sensor Signal 1/2 Bridge Sensor Signal 1/2 (1 - Bridge Sensor Signal) Output f( Bridge Sensor Signal ) Output 2nd Signal Output 2nd Signal 4τSEQ Output 2nd Signal: DFB Low DFB Low tSTARTUP ≤SEQ Output f( Bridge Sensor Signal ) DFB High 4 0 DFB High 100 96 High-Impedance Output VAOUT2 in % (VDDE-VSSE) Function f() of Bridge Sensor Signal: DFB High 4 0 Timing definition: DFB High 100 96 High-Impedance Output VAOUT1 in % (VDDE-VSSE) 4τSEQ τSEQ τSEQ τSEQ Output f(Bridge Sensor Signal) © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 4τSEQ t 25 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 4 Serial Digital Interfaces 4.1 General Description 2 TM The ZSSC3154 includes a serial digital I C™ interface and a ZACwire interface for one-wire communication (OWI). The digital interfaces allow programming the EEPROM to configure the application mode for the ZSSC3154 and to calibrate the conditioning equations. It also provides the readout of the conditioning results as a digital value. The ZSSC3154 always functions as a slave. 2 I C™ access to the ZSSC3154 is available in all operation modes independent of the programmed configuration. 2 The I C™ interface is enabled after power-on and a short initialization phase. In Normal Operation Mode (NOM), the result values for the bridge sensor signal and for the temperature or the half-bridge signal can be read out. To access the ZSSC3154 by using OWI communication, the START_CM command must be transmitted in the startup window after power-on. For OWI communication, there are two possible startup window modes selectable by the CFGAPP2:OWIMD bit: with simultaneous analog output or without analog output during the startup window. The duration of the startup window depends on the selected analog output mode (refer to section 4.4.2). In NOM after the startup window, OWI communication is not applicable. Transmitting the command START_CM enables the Command Mode (CM). In CM, either communication protocol 2 can be used; all commands are available to process calibration. EEPROM write access via I C™ is always available in CM. The EEPROM lock bit only affects EEPROM write access via OWI communication (refer to section 6.6). In Diagnostic Mode (DM), both communication protocols can be used to read an error code to identify the error source. A non-configured device, identified by a non-consistent EEPROM signature, starts up in DM. Because the analog output pin AOUT1 is driven to the diagnostic range in DM, the analog output must be overwritten when starting communication using OWI communication. Starting CM from DM by transmitting the START_CM 2 command is possible by using I C™ or OWI communication. In CM and DM, an alternating use of communication protocols is permitted. 4.1.1 Command Structure A command consists of a device address byte and a command byte. Some commands (e.g. writing data into EEPROM) also include two data bytes. The command structure is independent from the communication protocol used. Refer to section 1.3 for details of working modes and section 5 for command descriptions. 4.1.2 Addressing 2 Addressing is supported by I C™ and OWI communication protocol. Every slave connected to the master responds to a defined address. After generating the start condition, the master sends the address byte containing a 7-bit address followed by a data direction bit (R/W). A ‘0’ indicates a transmission from master to slave 2 (WRITE); a ’1’ indicates a data request (READ). The addressed slave answers with an acknowledge bit (I C™ only). All other slaves connected to the master ignore this communication. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 26 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output The ZSSC3154 always responds to its general ZSSC3154 slave address, which is 28HEX (7-bit). Via EEPROM programming, it is possible to allocate and activate an additional unique slave address within the range 20HEX to 2FHEX to the ZSSC3154. In this case, the device recognizes communication on both addresses, on the general one and on the additional one. 4.1.3 Read-Request There are two general types of requests for reading data from the ZSSC3154: Digital read out 2 (Continuously) reading the conditioned result in NOM via I C™ communication only During the measurement cycle, the ZSSC3154 transfers the conditioned results for the bridge sensor signal and for the temperature or half-bridge signal (as configured by CFGAPP2:AOUT2MD[bit 13] in register 2 16HEX; see Table 6.5) into the output registers of the I C™ interface. These data will be sent if the master 2 generates a read-request via I C™. The active measurement cycle is not interrupted by this. Calibration and/or configuration tasks via I C™ or via OWI communication Reading internal data (e.g., EEPROM content) or acquired measurement data in CM 2 To read internal and/or measurement data from the ZSSC3154 in CM, usually a specific command must be sent to transfer this data into the output registers of the digital interfaces. Thereafter the data will be sent if the master generates a read-request. 4.1.4 Communication Verification In Normal Operation Mode (NOM) 16-bit data words are protected by even parity on the MSB (see section 4.2). In Command Mode (CM) a read request is answered by the return of the data present in the digital interface output registers (2 bytes). Next a CRC is sent (1 byte) followed by the command which is answered (refer to section 4.2). The CRC and the returned command allow the verification of received data by the master. For details and exceptions, also see Table 5.2. 4.1.5 Communication Protocol Selection 2 Both available protocols, I C™ and OWI, can be active simultaneously, but only one interface can be used at a time. An OWI communication access is also possible if OWI communication is enabled and analog output is active at the same time (i.e. during the startup window, in Diagnostic Mode, or in Command Mode after START_CYCL commands). For this, the active output AOUT1 must be overwritten by the communication master, so generating a stop condition before starting the communication is recommended to guarantee a defined start of communication (refer to Figure 4.10). Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 27 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 4.2 Digital Output A read request is answered by transmitting data from the digital interface output registers. 2 During the continuous measurement cycle (NOM, Temporary DM), the digital output via the I C™ interface sends the 13-bit bridge sensor value and 13-bit temperature or half-bridge value (configured by the 16HEX register CFGAPP2:AOUT2MD[bit 13], see Table 6.5), depending on the configured analog output mode. The diagnostic status (ERR) is included with 2 bits per 16-bit word. The MSB carries an even-parity (PAR). The data is updated continuously when a new conditioned value is calculated. 2 Figure 4.1 I C™ Read Request during NOM Bridge Sensor Signal Value 28HEX Bridge signal (conditioned 13-bit value) ERR R/W PAR Address Low Byte 1 P 00BIN MSB High Byte ERR High Byte Byte Temperature or Half-Bridge Signal PAR Device Address Low Byte Temperature or Half-Bridge signal (conditioned 13-bit value) LSB P 00BIN MSB LSB During Temporary Diagnostic Mode (refer to section 1.3.3), the 2-bit diagnostic status ERR is set to 01BIN for bridge sensor and main channel related failures and set to 10 BIN for temperature sensor related failures. 2 Figure 4.2 I C™ or OWI Read Request in Temporary DM Bridge Sensor Signal Value 28HEX 1 P ERR R/W PAR Address 01BIN/ MSB 10BIN Low Byte Possibly invalid Bridge signal (conditioned 13-bit value) High Byte LSB P ERR High Byte Byte Temperature or Half-Bridge Signal PAR Device Address Low Byte Possibly invalid Temperature or Half-Bridge signal (conditioned 13-bit value) 01BIN/ MSB 10BIN LSB During Steady Diagnostic Mode (DM), i.e., when a permanent failure has been detected, the diagnostic status ERR is set to 11BIN. An error code is also transmitted to identify the failure source. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 28 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 2 Figure 4.3 I C™ or OWI Read Request after Detecting an Error (Steady DM) Error Code Value 28HEX ERR R/W PAR Address Low Byte Error code 1 P 11BIN MSB High Byte ERR High Byte Byte Error Code PAR Device Address Low Byte Error Code LSB P 11BIN MSB LSB In Command Mode (CM) a 2-byte answer is generated for every received command. A 1-byte CRC is added followed by the command that is being answered. The CRC and the command echo allow verification of received data by the master. For details and exceptions, refer to section 5.3. 2 Figure 4.4 I C™ or OWI Read Request Answering a Command (CM) Device Address Answer High Byte R/W Byte Address Value 28HEX Verification Low Byte Response (2 byte) 1 MSB LSB MSB High Byte Low Byte CRC Command Echo LSB MSB LSB I2C™ Protocol 4.3 2 For I C™ communication, a data line (SDA) and a clock line (SCL) are required as illustrated in Figure 4.5. 2 Figure 4.5 Principles of I C™ Protocol SCL SDA start condition Data Sheet March 18, 2014 valid data proper change of data stop condition © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 29 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 2 The I C™ communication and protocol used are defined as follows: Idle period When the bus is inactive, SDA and SCL are pulled-up to supply voltage VDDA. Start condition A high-to-low transition on SDA while SCL is at the high level indicates a start condition. Every command must be initiated by a start condition sent by a master. A master can always generate a start condition. Stop condition A low-to-high transition on SDA while SCL is at the high level indicates a stop condition. A command must be closed by a stop condition for the ZSSC3154 to start processing the command routine. The ZSSC3154 changes to inactive interface mode during processing of internal command routines started by a previously sent command. Valid data Data is transmitted in bytes starting with the most significant bit (MSB). Each byte transmitted is followed by an acknowledge bit. Transmitted bits are valid if after a start condition, SDA maintains a constant level during a high period of SCL. The SDA level must change only when the clock signal at SCL is low. Acknowledge An acknowledge after a transmitted byte is required. The master must generate an acknowledge-related clock pulse. The receiver (slave or master) pulls-down the SDA line during the acknowledge clock pulse. If no acknowledge is generated by the receiver, a transmitting slave will remain inactive. A transmitting master can abort the transmission by generating a stop condition and can then repeat the command. A receiving master must signal the end of transfer to the transmitting slave by not generating an acknowledge bit and by transmitting a subsequent stop condition. Write operation During transmission from master to slave (WRITE), the device address byte is followed by a command byte and, depending on the transmitted command, up to 2 optional data bytes. The internal microcontroller evaluates the received command and processes the related routine. See Figure 4.6. Read operation After a data request from master to slave by sending a device address byte including a set-data-direction bit of 1, the slave answers by sending data from the interface output registers. The master must generate the transmission clock on SCL, acknowledges after each data byte (except after the last one), and then the stop condition. See Figure 4.7. A data request is answered by the interface module itself and consequently does not interrupt the current process of the internal microcontroller. The data in the output registers is sent continuously until a missed acknowledge occurs or a stop condition is detected. After transmitting all available data, the slave starts repeating the data. During operation, measurement cycle data is continuously updated with conditioning results. To get other data from the slave (e.g., EEPROM content) a specific command must be sent before the data request to initiate the transfer of this data to the interface output registers. This command does interrupt the current process of the internal microcontroller, e.g. the active measurement cycle. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 30 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 2 Figure 4.6 Write Operation I C™ I2C™ WRITE, 1 Command Byte, 2 Data Bytes: optional S 6 5 4 3 2 1 0 W A 7 6 5 4 3 2 1 0 A 15 14 13 12 11 10 9 8 A 7 6 5 4 3 2 1 0 A S Device Slave Address [6:0] Command Byte [7:0] Data [15:8] Data [7:0] Wait for Slave ACK I2C™ WRITE, 1 Command Byte, no Data: Wait for Slave ACK S 6 5 4 3 2 1 0 W A 7 6 5 4 3 2 1 0 A S Device Slave Address [6:0] Command Byte [7:0] Wait for Slave ACK S Start Condition 5 Device Slave Address (example: Bit 5) W Write Bit (Write = 0) Wait for Slave ACK S Stop Condition A Acknowledge (ACK) 2 Data Bit (example: Bit 2) 2 Figure 4.7 Read Operation I C™ – (Data Request) I2C™ Read, 2 (+n) Data Bytes: optional S 6 5 4 3 2 1 0 R A 15 14 13 12 11 10 9 8 A 7 6 5 4 3 2 1 0 A 7 6 5 4 3 2 1 0 N S Device Slave Address [6:0] Data [15:8] Wait for Slave ACK S Start Condition 5 Data Sheet March 18, 2014 Master ACK S Stop Condition Device Slave Address (example: Bit 5) 2 … nth Byte Data [7:0] A Acknowledge (ACK) Master ACK N No Acknowledge (NACK) Master ACK R Write Bit (Read = 1) Data Bit (example: Bit 2) © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 31 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 2 Figure 4.8 Timing I C™ Protocol SDA tI2C_SU_DAT tI2C_L tI2C_BF SCL tI2C_HD_STA Table 4.1 No. tI2C_HD_DAT tI2C_H tI2C_SU_STA tI2C_R tI2C_F tI2C_SU_STO 2 Timing I C™ Protocol Parameter Symbol 1 SCL clock frequency fSCL 2 Bus free time between start and stop condition tI2C_BF 1.3 s 3 Hold time start condition tI2C_HD_STA 0.6 s 4 Setup time repeated start condition tI2C_SU_STA 0.6 s 5 Low period SCL/SDA tI2C_L 1.3 s 6 High period SCL/SDA tI2C_H 0.6 s 7 Data hold time tI2C_HD_DAT 0 s 8 Data setup time tI2C_SU_DAT 0.1 s 9 Rise time SCL/SDA tI2C_R 0.3 s 10 Fall time SCL/SDA tI2C_F 0.3 s 11 Setup time stop condition tI2C_SU_STO 12 Noise interception SDA/SCL tI2C_NI 4.4 min typ max 400 Unit kHz Conditions fOSC ≥ 2MHz s 0.6 50 ns Spike suppression One-Wire Communication (OWI) TM The ZSSC3154 utilizes a ZACwire interface, a digital interface concept for one-wire communication (OWI). It combines a simple and easy protocol adaptation with cost-saving pin sharing. The OWI communication principle 2 2 is derived from the I C™ protocol, so becoming familiar with the I C™ protocol is recommended for an understanding of OWI communication. Both the analog voltage output for normal operation and the one-wire digital interface for calibration use the same pin AOUT1. This enables “end of line” calibration; no additional pins are required to digitally calibrate a finished assembly. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 32 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 4.4.1 Properties and Parameters The ZSSC3154 functions as an OWI slave. An external master must control the communication by transmitting commands or data requests. Figure 4.9 explains the physical OWI connection in principle. Note that pulling up the OWI connection line must be done externally. There is no guarantee for using the ZSSC3154 internal pull-up. In addition, it might be necessary to implement a master push-pull driver to overwrite an analog output voltage at pin AOUT1 (IOUT,max = 20mA). OWI communication is self-locking (synchronizing) on the master’s communication speed in the range of the defined OWI bit time, which is guaranteed for the ZSSC3154’s clock frequency in the range of 2 to 3MHz. Figure 4.9 Block Schematic of an OWI Connection ZSSC3154 5µA External Master Slave ROWI,PULLUP ROWI_PUP OWI Connection ROWI,LINE COWI,LINE Table 4.2 OWI Interface Basic Parameters Note: Also see Table 4.3 for additional specifications related to signal conditions and bit definitions. No. Parameter 1 OWI bit time 2 Pull-up resistance master 3 Symbol Unit Conditions tOWI,BIT 0.04 to 4 ms ROWI,PULLUP 3.3 (typical) k OWI line resistance ROWI,LINE <0.01 ROWI,PULLUP 4 OWI load capacitance COWI,LOAD 50 (typical) nF 5 Voltage level LOW VOWI,L 0.2 VDDA Min VDDA is 4.2V @ 4.5V VDDE 6 Voltage level HIGH VOWI,H 0.75 VDDA Max VDDA is 5.5V @ 5.5V VDDE Data Sheet March 18, 2014 t OWI,BIT = 5 * ROWI,PULLUP * COWI,LINE Guaranteed for fOSC = 2 to 3MHz. Total OWI line load. © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 33 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 4.4.2 OWI Startup Window OWI communication must be started via the start command START_CM [72 74]HEX sent to the AOUT1 pin within a time window (nominal 200ms) after power-on. If this OWI startup window expires without the ZSSC3154 receiving a valid start command, OWI access is disabled. The OWI startup window is activated immediately after initialization (nominal 5ms). OWI startup window is affected by several EEPROM configuration bits: CFGAPP2:OWIMD à OWI startup window mode Analog voltage output starts after expiration of the OWI startup window (nominal 200ms). If CFGAPP2:OWIMD is set to 1, analog voltage output starts immediately after power-on, simultaneously with the OWI startup window. If CFGAPP2:OWIMD is set to 1, the OWI window is shortened to 50ms (nominal) and the OWI master must overwrite the active analog voltage output on the AOUT1 pin to send the start command START_CM if OWI communication is needed. CFGSF:PDOENA à Power-on Diagnostic Output If the Power-on Diagnostic Output (PDO) is activated, a diagnostic sequence of the output limits and the diagnostic fault band (DFB) level is sent after power-on. The OWI startup window occurs simultaneously during the two PDO phases for the upper and lower analog output limits, so the startup window is 320ms (nominal) at fOSC = 2.6MHz. (Refer to section 3.2 for further details on the timing). CFGAPP2:AOUT2MD à Sequential Analog Output Mode (SEQAOUT) at AOUT2 When Sequential Analog Output Mode (SEQAOUT; see AOUT2MD in Table 6.5) is enabled, the OWI startup window is activated immediately after initialization and remains open until the beginning of the first occurrence of the Second Analog Signal on the AOUT2 pin (refer to section 3.3). Note: Enabling SEQAOUT disables the Power-On Diagnostic Output (PDO) regardless of the setting for the control bit CFGSF:PDOENA. In Command Mode (CM), OWI communication is always possible. After commands requesting an analog output at pin AOUT1, the OWI master must overwrite the analog voltage output for further communication. In Diagnostic Mode (DM), OWI communication is also possible. If the pin AOUT1 is driven to Diagnostic Fault Band Low (DFBL), again the OWI master must overwrite this voltage level for communication. Note that an unconfigured ZSSC3154 with an invalid EEPROM signature always starts in DM. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 34 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 4.4.3 OWI Protocol OWI communication is always initiated by a master. Transmission starts with an address byte including a read/write bit to define the direction of the following byte transfer. The OWI protocol is defined as follows: Idle Period During inactivity of the bus, the OWI communication line is pulled-up to supply voltage VVDDE by an external resistor. Start Condition † When the OWI communication line is in idle mode, a low pulse with a minimum width of 10s and then a return to high indicates a start condition. Every command must be initiated by a start condition sent by a master. A master can generate a start condition only when the OWI line is in idle mode. Stop Condition A constant level at the OWI line (no transition from low to high or from high to low) for at least twice the period of the last transmitted valid bit indicates a stop condition. Without considering the last bit-time (secure stop condition), a stop condition is generated with a constant level at the OWI line for at least 20ms. The master finishes a transmission by changing back to the high level (idle mode). Every command (refer to the subsequent “Write Operation” section) must be closed by a stop condition to start the processing of the command. The master must interrupt a sending slave after it has completed a data request (refer to the subsequent “Read Operation” section) by clamping the OWI line to the low level for generating a stop condition. In the case of an active analog voltage output at pin AOUT1, the output level must be overwritten by the OWI master. For example, this can occur if the OWI communication is started in the OWI startup window with a simultaneous analog voltage output. To ensure correct communication, first generate a stop condition (see Figure 4.10) before sending the first command (e.g., START_CM). After the ZSSC3154 receives this first command, the analog output is disabled and OWI communication functions without sending additional sequences for this purpose. Figure 4.10 OWI and Actively Driven AOUT1—Starting OWI Communication with a Stop Condition Note: Bit times shown here are examples based on a given f OSC. AOUT1 one bit time = 100µs † one bit time = 100µs one bit time = 100µs stop condition = 300µs (longer than two bit times or ³ 20ms) start cond. = 100µs 1st bit of data (LOW or HIGH) 2nd bit 10µs is the minimum tOWI_START that guarantees the OWI start condition in the range of fOSC = 2 to 3 MHz. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 35 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Valid Data Data is transmitted in bytes (8 bits) starting with the most significant bit (MSB). Transmitted bits are recognized after a start condition at every transition from low to high at the OWI line. The value of the transmitted bit depends on the duty ratio between the high phase and high/low period (bit period, tOWI,BIT in Figure 4.13). A duty ratio greater than 1/8 and less than 3/8 is detected as ‘0’, a duty ratio greater than 5/8 and less than 7/8 is detected as ‘1’. The bit period of consecutive bits must not change by more than a factor of 2 because the stop condition is detected in this case. Write Operation During transmission from master to slave (WRITE), the address byte including a set data direction bit (0 for WRITE) is followed by a command byte and, depending on the transmitted command, by an optional 2 data bytes. The internal microcontroller evaluates the received command and processes the requested routine. Figure 4.11 illustrates the writing of a command with two data bytes and a command without data bytes. A detailed description of the command set is given in section 5.1. Figure 4.11 OWI Write Operation optional OWI WRITE, 1 Command Byte, 2 Data Bytes: S 6 5 4 3 2 1 0 W 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 S Device Slave Address [6:0] Command Byte [7:0] S 6 5 4 3 2 1 0 W 7 6 5 4 3 2 1 0 S sent by Data [7:0] S Start Condition OWI WRITE, 1 Command Byte, No Data: Device Slave Address [6:0] Data [15:8] Command Byte [7:0] S Stop Condition W Write Bit (Write = 0) 5 Device Slave Address (example: Bit 5) 2 Data Bit (example: Bit 2) master Read Operation After a data request from the master to the slave by sending an address byte including a set data direction bit (1 for READ), the slave answers by sending data from the interface output registers. The slave generates the data bits with a bit period equal to the last received bit (R bit). The master must generate a stop condition after receiving the requested data. (See Figure 4.12.) A data request is answered by the interface module itself and consequently does not interrupt the current process of the internal microcontroller. To get certain data from the slave (e.g. EEPROM content), the appropriate command must be sent before the data request to initiate the transfer of this data into the interface output registers. This command does interrupt the current operation of the internal microcontroller and consequently also an active measurement cycle. The data in the output registers is sent continuously until a stop condition is detected, after transmitting all available data, the slave starts repeating the data. Note that during the active measurement cycle, data is continuously updated with conditioned results. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 36 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Figure 4.12 OWI Read Operation Optional OWI Read, 2 (+n) Data Bytes: S 6 5 4 3 2 1 0 R 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 S Device Slave Address [6:0] sent by Data [15:8] 3rd Data Byte Data [7:0] 4 data bytes are sent in a loop without resending initialization by master. Master must generate the stop condition to terminate transmission. master slave Start Condition S 4th … nth Data Byte S Stop Condition R Read Bit (Read = 1) 5 master Device Slave Address (example: Bit 5) 2 Data Bit (example: Bit 2) OWI protocol timing and parameters are specified in Figure 4.13 and in Table 4.3. Figure 4.13 OWI Protocol Timing Start 1 0 0 1 Stop Start Write mode Read mode tOWI,START Table 4.3 tOWI,BIT tOWI,0 tOWI,1 tOWI,STOP tOWI,IDLE OWI Interface Signal Parameters Note: Also see Table 4.2 for basic OWI interface parameters. No. ‡ Parameter 1 Bus free time 2 Hold time start condition ‡ Symbol Min Typical Max tOWI,IDLE 25 s tOWI,START 10 s tOWI,BIT 25 8000 Unit s 3 Bit time 4 Duty ratio bit ‘0’ tOWI,0 0.125 0.25 0.375 tOWI,BIT 5 Duty ratio bit ‘1’ tOWI,1 0.625 0.75 0.875 tOWI,BIT 6 Hold time stop condition tOWI,STOP 2.0 1.0 7 Bit time deviation tOWI,BIT,DEV 0.55 1.0 Conditions Between stop and start conditions min: fOSC = 3.2MHz, max: fOSC = 2MHz tOWI,BIT Depends on the bit time of the last valid transmitted bit 1.5 tOWI,BIT Current bit time to previous bit time This bit time range is achievable with different frequency adjustments for minimum and maximum values (see section 5.4.2). OWI communication functions independently of frequency adjustment with a bit time in the range specified in Table 4.2. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 37 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 5 Interface Commands 5.1 Command Set 2 All commands are available for I C™ and OWI communication, but only in Command Mode (CM). CM is initiated by sending the command START_CM [72 74]HEX. Every received command is answered. The response consists of 2 bytes for the requested data or a validation code, 1-byte CRC, and 1-byte command echo. See Table 5.1 for exceptions (also refer to section 5.2). EEPROM programming must be enabled first by sending the EEP_WRITE_EN command [6C F7 42]HEX. Table 5.1 Command Set Note: See table notes at the end of the table. Refer to Table 5.2 for a summary of responses to commands. Command Data Command 01HEX START_CYC_EEP 02HEX START_CYC_RAM 03HEX START_CYC_EEP_OWI 04HEX START_CYC_RAM_OWI Notes Processing Time @ fOSC=2.6MHz Start measurement cycle including initialization from EEPROM or RAM. Analog output mode as configured. Note that selected analog output mode influences startup time. 500µs Start measurement cycle including initialization from EEPROM or RAM. OWI communication remains enabled during the measurement cycle. No analog output is generated at AOUT1. Return conditioned but unfiltered conversion result values via OWI if requested. Analog output mode at AOUT2 as configured. Note that selected analog output mode influences startup time. 500µs 10HEX to 27HEX READ_RAM Read data from RAM addresses 00HEX through 17HEX. 100µs 30HEX to 4BHEX READ_EEP Read data from EEPROM addresses 00HEX through 1BHEX. 100µs ADJ_OSC_ACQ Use this command with OWI communication only! Acquire frequency ratio (fOSC / fOWI) where fOSC is the frequency of internal oscillator fOWI is the OWI communication frequency Use this for adjusting the internal oscillator frequency via CFGAPP2:OSCADJ (refer to section 5.4.2). 2 Returns CF50HEX if command is received via I C™. 100µs 50HEX Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 38 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Command Data Command Notes Processing Time @ fOSC=2.6MHz 51HEX START_AD_BIST Start cyclic A/D conversion for analog front-end BIST (internally generated differential input voltage). 500µs 52HEX START_AD_BIST_AZC Start cyclic A/D conversion for analog front-end BIST (internally generated differential input voltage) including auto-zero. 500µs 53HEX START_AD_SAC Start cyclic A/D conversion for Sensor Aging Check (bridge common mode voltage measurement). 500µs 54HEX START_AD_SAC_AZC Start cyclic A/D conversion for Sensor Aging Check (bridge common mode voltage measurement) including auto-zero. 500µs 56HEX RD_AD_CNT_1 Read result values of START_AD_CNT command: st Read 1 result value (bridge or half-bridge) nd and 2 result value (calibration temperature) Also see RD_AD_CNT_2. 100µs 57HEX RD_AD_CNT_2 Read result values of START_AD_CNT command: rd Read 3 result value (half-bridge or temperature, or 00HEX´if only two input channels were selected) and CRC (inverted sum of all 3 result values). Also see RD_AD_CNT_1. 100µs 58HEX GET_ERR_STATUS Read and reset error code. 100µs 5AHEX GET_SENS_STATUS Evaluate status information from Sensor Connection and Sensor Short Checks. Returns C35AHEX if check passed. Returns CF5AHEX if check failed. Read resulting error code with command GET_ERR_STAT to distinguish the root causes if check failed. Error code is reset before check. 5BHEX GET_BCC_STATUS Evaluate status information from Broken Chip Check. Returns C35BHEX if check passed. Returns CF5BHEX if check failed. 100µs 5CHEX OUT_VDDB0 100µs 5DHEX OUT_VDDB1 5EHEX OUT_VDD 5FHEX OUT_VDDA Output analog supply voltages at pin AOUT1: OUT_VDDB0 à 10% VDDB (±5%) OUT_VDDB1 à 90% VDDB (±5%) OUT_VDD à 100% VDD (±5%) OUT_VDDA à 50% VDDA (±5%) Returns C35xHEX if command is processed. Reset this output mode by command SET_AOUT1 [60]HEX or by commands START_CYC_* [0*]HEX. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 3 A/D conversion time 39 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Command Data Command Notes Processing Time @ fOSC=2.6MHz 60HEX 2 bytes SET_AOUT1 Set the analog output AOUT1 (DAC) to value defined by data bytes. Important note: If the data byte is outside the valid range of 0100HEX to 14FFHEX, the ZSSC3154 will enter DM and output the DFB (Diagnostic Fault Band) level. The AOUT1 pin goes into tri-state during the command processing. 100µs 61HEX 2 bytes SET_AOUT2 Set the analog output AOUT2 (DAC) to value defined by data bytes. Important note: If the data byte is outside the valid range of 0100HEX to 14FFHEX, the ZSSC3154 will enter DM and output the DFB (Diagnostic Fault Band) level. The AOUT2 pin goes into tri-state during the command processing. 100µs 62HEX 2 bytes START_AD_CNT Process <n> times A/D conversion for main input signals including auto-zero compensation (refer to section 5.4.1). 100µs + (4n OR 6n) the A/D conversion time depending on the number of measurands data[15:13] is digital Low Pass Filter averaging coefficient with range [0; 7] for the selected measurement (see section 2.6). data[12:11] selects the measured input channels: 00BIN Bridge and Calibration Temperature 01BIN Half-Bridge and Calibration Temperature 10BIN Bridge, Calibration Temperature, and Temperature 11BIN Bridge, Calibration Temperature, and Half-Bridge data[10:0] is the number <n> of measurements to process. Responses with the two most-recent result values (Bridge or Half-Bridge, Calibration Temperature) while processing measurement. Returns C362HEX if measurement is finished. Final measurement results can be read out using RD_AD_CNT_1 or RD_AD_CNT_2 commands or stored to EEPROM using STORE2_AD_CNT or STORE3_AD_CNT commands. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 40 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Command Data Command Notes Processing Time @ fOSC=2.6MHz 63HEX 2 bytes STORE2_AD_CNT Write two result values (Bridge or Half-Bridge, Calibration Temperature) of START_AD_CNT to EEPROM addresses <data> to <data+1>. Refer to section 5.4.1 for details. Returns C363HEX if command is processed. Returns CF00HEX if EEPROM programming is disabled. 2 12.5ms 64HEX 2 bytes STORE3_AD_CNT Write three result values (Bridge, Calibration Temperature, and Temperature or Half-Bridge) of START_AD_CNT to EEPROM addresses <data> to <data+2>. Refer to section 5.4.1 for details. Returns C364HEX if command is processed. Returns CF00HEX if EEPROM programming is disabled. 3 12.5ms 65HEX 2 bytes ADJ_OSC_WRI Write to RAM and activate Oscillator Adjust value CFGAPP2:OSCADJ and Spread Spectrum enable CFGAPP2:OSCSS (see Table 6.5). Returns complete new configuration word CFGAPP2. 100µs 6CHEX 2 bytes EEP_WRITE_EN Enable data write to EEPROM. To be sent with data F742HEX. Other data disables EEPROM write. Returns C36CHEX if EEPROM programming is enabled. Returns CF6CHEX if EEPROM programming is disabled. 100µs 6DHEX 2 bytes CHECK_EEP Calculate and return EEPROM signature. Low data byte is start address; high data byte is end address of evaluated area. Use [6D 17 00] for reading EEPROM signature of stored configuration. 250µs 72HEX 1 byte START_CM Start Command Mode. To be sent with data 74HEX. Returns C372HEX if Command Mode is enabled. 100µs 80HEX to 97HEX 2 bytes WRITE_RAM Write data to RAM addresses 00HEX through 17HEX. 100µs A0HEX to BAHEX 2 bytes WRITE_EEP Write data to EEPROM addresses 00HEX through 1AHEX. Note that there is no write access to ZMDI word at address 1BHEX. Returns CF00HEX if EEPROM programming is disabled. 12.5ms Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 41 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Command Data Command Processing Time @ fOSC=2.6MHz Notes C0HEX COPY_EEP2RAM Copy content of EEPROM address 00HEX through 17HEX to RAM. Restores EEPROM configuration in RAM. Does not process EEPROM signature check. Returns C3C0HEX if command is processed. 200µs C3HEX COPY_RAM2EEP Copy content of RAM address 00HEX through 17HEX to EEPROM. Generates EEPROM signature; writes it to address 18 HEX. Returns C3C3HEX if copy is successfully processed. Returns CFC3HEX if copy failed. Returns CF00HEX if EEPROM programming is disabled. 230ms C4HEX LOAD_RAM_STD Load RAM with default contents from ROM. Returns C3C4HEX if load and signature check is successfully processed. Returns CFC4HEX if load failed. 200µs RAM Contents with Default Values from ROM c0 4000HEX c1 7FFFHEX c2 0000HEX c3 0000HEX c4 0000HEX c5 0000HEX c6 0000HEX c7 0000HEX t0 1800HEX t1 7FFFHEX t2 0000HEX Lower Limit BIST 0000HEX Upper Limit BIST Lower Limit CMV Upper Limit CMV Lower Limit BR Upper Limit BR Lower Limit T Upper Limit T CFGAFE CFGAFE2 CFGAPP CFGAPP2 CFGSF FFFFHEX 0000HEX FFFFHEX 0800HEX A7F8HEX 0800HEX A7F8HEX 0220HEX 0026HEX 0000HEX 0018HEX 4000HEX C9HEX GEN_EEP_SIGN Calculate and return EEPROM signature and write it to EPROM address 18HEX. Returns CF00HEX if EEPROM programming is disabled. 12.7ms CAHEX GET_RAM_SIGN Calculate and return RAM signature. 250µs CEHEX GET_ROM_STATUS Check ROM Diagnostic Status. Returns C3CEHEX if no failure is detected. Returns CFCEHEX if a failure is detected. 10ms CFHEX GET_REVISION Get Hardware and ROM Revision. 100µs Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 42 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Command Data Command Processing Time @ fOSC=2.6MHz Notes D0HEX 1) START_AD_P Start cyclic A/D conversion at bridge sensor channel. D1HEX 1) START_AD_CT Start cyclic A/D conversion at calibration temperature channel. D2HEX 1) START_AD_T Start cyclic A/D conversion at temperature channel. D3HEX 1) START_AD_HB Start cyclic A/D conversion at half-bridge channel. D4HEX 1) START_AD_PAZ Start cyclic A/D conversion for auto-zero at bridge sensor channel. D5HEX 1) START_AD_CTAZ Start cyclic A/D conversion for auto-zero at calibration temperature channel. D6HEX 1) START_AD_TAZ Start cyclic A/D conversion for auto-zero at temperature channel. D7HEX 1) START_AD_HBAZ Start cyclic A/D conversion for auto-zero at half-bridge channel. D8HEX 1) START_AD_P_AZC Start cyclic A/D conversion at bridge sensor channel including auto-zero. D9HEX 1) START_AD_CT_AZC Start cyclic A/D conversion at calibration temperature channel including auto-zero. DAHEX 1) START_AD_T_AZC Start cyclic A/D conversion at temperature channel including auto-zero. DBHEX 1) START_AD_HB_AZC Start cyclic A/D conversion at half-bridge channel including auto-zero. DCHEX 1) START_AD_SSCP Start cyclic A/D conversion for positively biased Sensor Short Check. DDHEX 1) START_AD_SSCN Start cyclic A/D conversion for negatively biased Sensor Short Check. DEHEX 1) START_AD_ SSCP-SSCN Start cyclic A/D conversion for positively biased Sensor Short Check minus negatively biased Sensor Short Check. 1) 100µs + A/D conversion time 2 All Dx commands are used for the calibration process and return raw conversion result values via I C™ and OWI. No analog output is generated. OWI communication remains enabled during the measurement cycle. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 43 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 5.2 Command Processing 2 All implemented commands are available for both protocols – I C™ and OWI. If Command Mode (CM) is active, a received valid command interrupts the internal microcontroller (CMC) and starts a routine processing the received command. During this processing time, the interfaces are disabled and transmitted commands are ignored. The processing time depends on the internal system clock frequency. A command always returns data (e.g., register contents, acquired measurement data) to interface output registers, which can be read by a read request. 5.3 Digital Output Data in Command Mode 2 Digital output data in CM consists of two 16-bit words that can be read by an I C™ or OWI read request. Content of data words depends on the previously received command. Table 5.2 Digital Output Data Resulting from Processed Commands Mode/ Commands Output Data Word 1 High Byte High Byte Low Byte Requested data CRC * Processed command Success code [C3 command]HEX CRC * Processed command CRC * Received command Commands with data response Commands without data response Unknown commands START_CYC [01]HEX, [02]HEX Output Data Word 2 Low Byte Reject code [CF command]HEX Reject code [CF 00]HEX Conditioned values, error status and parity as transmitted in NOM (see Figure 4.1) or in DM (see Figure 4.2 or Figure 4.3) START_AD_CNT [62]HEX during measurement st 2 measured raw value (Calibration Temperature) nd st 2 measured raw value from START_AD_CNT command (Calibration Temperature) rd CRC for all three measured raw values from START_AD_CNT command * 1 measured raw value (Bridge or Half-Bridge) RD_AD_CNT_1 [56]HEX 1 measured raw value from START_AD_CNT command (Bridge or Half-Bridge) RD_AD_CNT_2 [57]HEX 3 measured raw value from START_AD_CNT command (Temperature or Half-Bridge or 00HEX) nd * The CRC for the two-byte digital output word is calculated with following formula: CRC = FFHEX – (HighByte1st_word + LowByte1st_word)8LSB. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 44 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 5.4 5.4.1 Detailed Description for Particular Commands Acquisition of Raw Measurement Data with START_AD_CNT [62]HEX The START_AD_CNT [62]HEX command is used for synchronized raw data acquisition during the calibration process (snapshot mode). Especially for mass calibration, it enables a raw data snapshot for all attached devices under temperature drift and pressure leakage conditions. The command START_AD_CNT transmits two data bytes containing the following parameters: data[15:13] is the digital Low Pass Filter averaging coefficient LPAVRG for all measured values. X OUT ,i X OUT ,i1 Xi XOUT,i1 2 AVRG i 0, AVRG 0;7 (23) data[12:11] specifies the input channels to measure. Use appropriate selections for measuring the application-relevant input channels (see Table 5.3). data[10:0] is the A/D conversion cycle count to be processed. Recommended value is at least (2 AVRG + 8). The A/D conversion is done cyclically over all selected input channels including adjustment for auto-zero for the selected channel. While measuring, the most recent result values for the bridge or half-bridge followed by the calibration temperature measurement can be read out by read request. No analog output is generated. OWI communication remains enabled during the measurement cycle. When finishing the A/D conversion cycles, the read request delivers the success code C362HEX. The commands RD_AD_CNT_1 [56]HEX and RD_AD_CNT_2 [57]HEX read the final result values of the A/D conversion initiated by the START_AD_CNT command. RD_AD_CNT_1 reads the first value and second value. RD_AD_CNT_2 reads the third value, if available, and a CRC calculated over all 3 values. If only two input channels were selected by START_AD_CNT, the third value is set to zero. The CRC for the three values is calculated by [FFFFHEX – ( Σ(Result Values) )16LSB]. Alternatively, the final 2 or 3 A/D conversion result values of START_AD_CNT can be stored in EEPROM with commands STORE2_AD_CNT (63HEX) or STORE3_AD_CNT (64HEX), respectively. This can be done without prior reading of the values. The STORE*_AD_CNT command is transmitted with 2 data bytes that contain the EEPROM start address for storage. EEPROM programming must be enabled before sending STORE*_AD_CNT. Note that these commands need a processing time of 2 or 3 EEPROM programming cycles. For mass calibration, this enables data collection in the on-chip EEPROM and one-pass calibration as post-process. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 45 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Table 5.3 A/D Conversion Response Resulting from START_AD_CNT Command START_AD_CNT [62]HEX Response While Measuring Selected Input Channel RD_AD_CNT_1 [56]HEX Response RD_AD_CNT_2 [57]HEX Response High 16-Bit Word Low 16-Bit Word High 16-Bit Word Low 16-Bit Word Bridge and Calibration Temperature data[12:11] = 00BIN Bridge Calibration Temperature Zero CRC Half-Bridge and Calibration Temperature data[12:11] = 01BIN Half-Bridge Calibration Temperature Zero CRC Bridge, Calibration Temperature and Temperature data[12:11] = 10BIN Bridge Calibration Temperature Temperature CRC Bridge, Calibration Temperature and Half-Bridge data[12:11] = 11BIN Bridge Calibration Temperature Half-Bridge CRC 5.4.2 Oscillator Frequency Adjustment with ADJ_OSC_ACQ [50]HEX and ADJ_OSC_WRI [65 data]HEX ADJ_OSC_x commands are used to adjust the frequency of the internal oscillator. This frequency is adjustable in the range of 1.5MHz to 3MHz. It has a directly proportional effect on the A/D conversion time and on the timing of the Sequential Analog Output Mode (SEQAOUT) if enabled at the AOUT2 pin. The internal oscillator frequency can be adjusted by CFGAPP2:OSCADJ (refer to section 6.4 and Table 6.5). The frequency is adjusted by steps with one step equal to approximately -125kHz (frequency is decreased if CFGAPP2:OSCADJ is increased). The ADJ_OSC_ACQ command is sent first. This command functions ONLY with one-wire communication (OWI). It returns a value that represents the ratio fOSC/fOWI of the internal oscillator frequency to the OWI communication 2 frequency. After sending an ADJ_OSC_x command, the frequency ratio can be read with an I C™ or OWI READ request (see Figure 4.4). The communication frequency fOWI is known, so the current internal oscillator frequency fOSC can be calculated. Note that the resolution of the frequency measurement is better when a lower OWI communication frequency is used. The required adjustment of CFGAPP2:OSCADJ to reach the target frequency can be calculated from the ratio fOSC/fOWI and the adjustment increment of -125kHz/step. The ADJ_OSC_WRI command is used to write CFGAPP2:OSCADJ to RAM and to activate the new adjustment. The command returns the complete configuration word CFGAPP2 (all other configuration bits retain their value). Refer to the ZSSC3154 Application Note—Oscillator Frequency Adjustment for details and example code for an easy and accurate adjustment of the internal frequency during end-of-line calibration. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 46 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 6 EEPROM and RAM 6.1 Programming the EEPROM Programming the EEPROM is done using an internal charge pump to generate the required programming voltage. The timing of the programming pulses is controlled internally. The programming time for a write operation is typically 12.5ms independent of the programmed clock frequency (CFGAPP2:OSCADJ). Waiting a minimum of 15ms per write operation before starting the next communication is recommended. To program the EEPROM, the ZSSC3154 must be set to Command Mode by the command START_CM [72 74]HEX and EEPROM programming must be enabled by the command EEP_WRITE_EN [6C F7 42]HEX. Writing data to the EEPROM is done via the serial digital interface by sending specific commands (refer to section 5.1). The WRITE_EEP command includes the address of the targeted EEPROM word and is followed by two data bytes. During EEPROM programming, the serial digital interface is disabled and no further commands can be recognized. The COPY_RAM2EEP command writes the contents of the RAM mirror area to the EEPROM. This is to simplify the calibration process when the ZSSC3154 is configured iteratively. The EEPROM signature, which is not mirrored in RAM, is generated, written to EEPROM, and returned to the interface output register. This copy operation includes 25 EEPROM write operations and therefore typically requires 300ms (recommended wait time 375ms). 6.2 EEPROM and RAM Contents The configuration of the ZSSC3154 is stored in 28 EEPROM 16-bit words. Calibration coefficients for conditioning the sensor signal via conditioning calculations and output limits are stored in 19 words. There are 5 words for setting the configuration of the ZSSC3154 for the application. One register is used for storing the EEPROM signature, which is used in NOM to check the validity of the EEPROM contents after power-on. Two additional 16-bit words are available for optional user data. One additional word is reserved for ZMDI use only. After every power-on, the EEPROM contents are mirrored to RAM. After this read out, the contents of the RAM mirror are checked by calculating the signature and comparing it to the one stored in EEPROM. If a signature error is detected, the ZSSC3154 changes to steady Diagnostic Mode (DM). DM is indicated by setting both analog outputs AOUT1 and AOUT2 to the Diagnostic Fault Band (DFB). Subsequently the error code can be read 2 via I C™ or OWI. The configuration of the device is done from the mirrored area in RAM, so the configuration words are subsequently transferred to the internal registers. The calibration coefficients for the conditioning calculations are also read from RAM. As a result, every change to the RAM mirror area impacts the configuration and behavior of the device after the next start of the measurement cycle. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 47 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output After power-on, the contents of the RAM mirror area are determined by the EEPROM contents and can then be changed by specific commands writing to RAM. This new configuration can be activated by the START_CYC_RAM command or by the START_AD_x commands. The EEPROM data are stored with Hamming distance of 3, which means that detection and correction of 1-bit or 2-bit errors is 100%. Detection of multi-bit-errors (>2 bit) is processed at a lower detection rate. Table 6.1 EEPROM and RAM Contents RAM and EEPROM Address Write Command Description RAM/EEPROM Note: The MSB is given first if an address has more than one assignment. Conditioning Coefficients – Conditioning Formula Bridge Sensor Signal (section 2) 00HEX 80HEX/A0HEX c0 – Bridge offset 01HEX 81HEX/A1HEX c1 – Bridge gain Bridge Signal Bridge Signal nd 02HEX 82HEX/A2HEX c2 – Bridge non-linearity 2 03HEX 83HEX/A3HEX c3 – Bridge non-linearity 3 order order Bridge Signal rd Bridge Signal st 04HEX 84HEX/A4HEX c4 – Bridge temperature coefficient offset 1 order 05HEX 85HEX/A5HEX c5 – Bridge temperature coefficient offset 2 06HEX 86HEX/A6HEX st c6 – Bridge temperature coefficient gain 1 order 07HEX 87HEX/A7HEX c7 – Bridge temperature coefficient gain 2 nd nd Bridge Signal order Bridge Signal Bridge Signal order Bridge Signal Temperature Measurement à CFGAPP2:AOUT2MD selects output of conditioned Temperature Signal Conditioning Coefficients – Conditioning Formula Temperature Signal (section 2.3) 88HEX/A8HEX t0 – Temperature offset 09HEX 89HEX/A9HEX t1 – Temperature gain 0AHEX 8AHEX/AAHEX t2 – Temperature non-linearity 2 08HEX Temperature Signal Temperature Signal nd order Temperature Signal Analog Front-End Built-In Self-Test (AFEBIST) Limits 0BHEX 8BHEX/ABHEX AFEBISTMIN – Lower limit analog front-end BIST Not used (14MSB) (2LSB) 0CHEX 8CHEX/ACHEX AFEBISTMAX – Upper limit analog front-end BIST Not used (14MSB) (2LSB) Sensor Aging Check (SAC) Limits 0DHEX 8DHEX/ADHEX CMVMIN – Lower limit common mode voltage (SAC) Not used (14MSB) (2LSB) 0EHEX 8EHEX/AEHEX CMVMAX – Upper limit common mode voltage (SAC) Not used (14MSB) (2LSB) Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 48 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output RAM and EEPROM Address Write Command Description RAM/EEPROM Note: The MSB is given first if an address has more than one assignment. Half-Bridge Measurement à CFGAPP2:AOUT2MD selects output of conditioned half-bridge signal Conditioning Coefficients – Conditioning Formula Half-Bridge Sensor Signal (section 2.4) 88HEX/A8HEX h0 – Half-bridge offset 09HEX 89HEX/A9HEX h1 – Half-bridge gain 0AHEX 8AHEX/AAHEX h2 – Half-bridge non-linearity 2 08HEX Half-Bridge Sensor Half-Bridge Sensor nd order Half-Bridge Sensor st 0BHEX 8BHEX/ABHEX h4 – Half-bridge temperature coefficient offset 1 order 0CHEX 8CHEX/ACHEX h5 – Half-bridge temperature coefficient offset 2 0DHEX 8DHEX/ADHEX h6 – Half-bridge temperature coefficient gain 1 order 0EHEX 8EHEX/AEHEX h7 – Half-bridge temperature coefficient gain 2 nd order st nd order Half-Bridge Sensor Half-Bridge Sensor Half-Bridge Sensor Half-Bridge Sensor Analog Output Filter Coefficients and Limits 0FHEX 10HEX 11HEX 12HEX 8FHEX/AFHEX 90HEX/B0HEX 91HEX/B1HEX 92HEX/B2HEX Bridge sensor signal analog output AOUTMINBR – Lower limit analog output LPFAVRGBR – Digital LPF averaging coefficient Note that f(AOUTMINBR) limits f(BR) at pin AOUT2 if selected. (13MSB) (3LSB) Bridge sensor signal analog output AOUTMAXBR – Upper limit analog output LPFDIFFBR – Digital LPF differential coefficient Note that f(AOUTMAXBR) limits f(BR) at pin AOUT2 if selected. (13MSB) (3LSB) Temperature or half-bridge signal analog output AOUTMINT, AOUTMINHB – Lower limit analog output LPFAVRGT, LPFAVRGHB – Digital LPF averaging coefficient (13MSB) (3LSB) Temperature or half-bridge signal analog output AOUTMAXT, AOUTMAXHB – Upper limit analog output LPFDIFFT, LPFDIFFHB – Digital LPF differential coefficient (13MSB) (3LSB) Configuration Words (section 6.4) – Configuration of analog front-end 13HEX 93HEX/B3HEX CFGAFE 14HEX 94HEX/B4HEX CFGAFE2 – Configuration of analog front-end 15HEX 95HEX/B5HEX CFGAPP – Configuration of target application 16 HEX 96HEX/B6HEX CFGAPP2 – Configuration of target application 17HEX 97HEX/B7HEX CFGSF 18HEX - /B8HEX – Configuration of safety functions (Diagnostic function and bridge sensor signal filter function) Signature Data Sheet March 18, 2014 Signature © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 49 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output RAM and EEPROM Address Write Command Description RAM/EEPROM Note: The MSB is given first if an address has more than one assignment. Free Memory Available for Optional Use by User Applications (not included in signature) 19HEX - /B9HEX Free user memory, not included in signature (e.g., serial number) 1AHEX - /BAHEX Free user memory, not included in signature Restricted 1BHEX -/- No user access - ZMDI restricted use Note: The contents of the EEPROM registers at delivery are not specified and can be subject to changes. Particularly with regard to traceability, the contents can be unique per die. Note that contents at delivery might not have a valid signature. In this case, the ZSSC3154 would start in the Diagnostic Mode. All registers must be rewritten during the calibration procedure. Note that the LOAD_RAM_STD command can be used to load default values from ROM into RAM for registers 00HEX to 17HEX. See page 42 for defaults and command details. 6.3 Traceability Information ZMDI can guarantee the EEPROM content only for packaged parts; on delivery, the EEPROM content of bare dice might be changed by flipped bits because of electrostatic effects, which might occur during the wafer sawing. For more information, refer to the ZSSC3154 Technical Note—Traceability Information. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 50 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 6.4 Configuration Words The data stored in EEPROM at addresses 13HEX to 17HEX determine the configuration of the ZSSC3154, as explained in the following tables. Table 6.2 Bit 15 14:10 Configuration Word CFGAFE CFGAFE - Configuration of Analog Front-End (Part 1) EEPROM/RAM Address 13HEX BRidge sensor channel eXtended Zero Compensation POLarity (offset compensation by analog front-end; refer to section 2.1) 0 = negative – compensates positive offsets 1 = positive – compensates negative offsets BRXZCPOL BRidge sensor channel eXtended Zero Compensation value (offset compensation by analog front-end; refer to section 2.1) BRXZC Offset compensation is only active if BRXZC 0. One compensation step depends on the selected input span (refer to the “Analog Front-End Characteristics” section in the ZSSC3154 Data Sheet). 9:6 BRidge sensor channel GAIN (aIN—refer to section 2.1) 0000BIN = 420 0001BIN = 280 0010BIN = 210 0011BIN = 140 5:4 0100BIN = 105 0101BIN = 70 0110BIN = 52.5 0111BIN = 35 11ddBIN = 2.8 A/D Conversion input Range Shift regarding measured signal (rsADC – refer to section 2.1) 1 00BIN = /16 à ADC range = [(–1/16 VADC_REF ) 1 01BIN = /8 à ADC range = [ (–1/8 VADC_REF ) 10BIN = ¼ à ADC range = [ (–1/4 VADC_REF ) 11BIN = ½ à ADC range = [ (–1/2 VADC_REF ) 3 1000BIN = 26.25 1001BIN = 14 1010BIN = 9.3 1011BIN = 7 BRGAIN BRADCRS to (+15/16 VADC_REF)] to (+7/8 VADC_REF)] to (+3/4 VADC_REF)] to (+1/2 VADC_REF)] BRidge Signal POLarity (differential voltage at pins VBP, VBN) BRPOL 0 = positive (VIN_DIFF = VVBP – VVBN) 1 = negative (VIN_DIFF = VVBN – VVBP) 2 A/D Conversion SLOW mode ADCSLOW Doubles A/D conversion time (see ADCMD). Valid for all measurements. 0 = disabled 1 = enabled Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 51 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Bit 1:0 CFGAFE - Configuration of Analog Front-End (Part 1) EEPROM/RAM Address 13HEX A/D Conversion MODE ADCMD Resolution of A/D conversion integration phase. Adjust conversion and integration time. Valid for all measurements. ADCMD Resolution @ fOSC = 2.6MHz A/D Conversion Time @ fOSC = 2.6MHz 10-bit 788µs 837µs 9-bit 394µs 443µs 10BIN 8-bit 197µs 246µs 11BIN 7-bit 98.5µs 197µs A/D Conversion Integration Phase 00BIN 01BIN Table 6.3 Bit 15:12 Integration Time 14bit Configuration Word CFGAFE2 CFGAFE2 - Configuration of Analog Front-End (Part 2) EEPROM/RAM Address 14HEX Not used - 11 Half-Bridge channel eXtended Zero Compensation POLarity (offset compensation by analog front-end; refer to section 2.1) 0 = negative – compensates positive offsets 1 = positive – compensates negative offsets HBXZCPOL 10:6 Half-Bridge channel eXtended Zero Compensation value (offset compensation by analog front-end; refer to section 2.1) HBXZC Offset compensation is only active if HBXZC 0. One compensation step depends on the selected input span (refer to the “Analog Front-End Characteristics” section in the ZSSC3154 Data Sheet). 5:2 Half-Bridge channel GAIN (aIN—refer to section 2.1) 0000BIN = 420 0001BIN = 280 0010BIN = 210 0011BIN = 140 1:0 0100BIN = 105 0101BIN = 70 0110BIN = 52.5 0111BIN = 35 1 March 18, 2014 11ddBIN = 2.8 Half-Bridge A/D Conversion input Range Shift (rsADC—refer to section 2.1) 00BIN = /16 à ADC range = [(–1/16 VADC_REF ) 1 01BIN = /8 à ADC range = [ (–1/8 VADC_REF ) 10BIN = ¼ à ADC range = [ (–1/4 VADC_REF ) 11BIN = ½ à ADC range = [ (–1/2 VADC_REF ) Data Sheet 1000BIN = 26.25 1001BIN = 14 1010BIN = 9.3 1011BIN = 7 HBGAIN HBADCRS to (+15/16 VADC_REF)] to (+7/8 VADC_REF)] to (+3/4 VADC_REF)] to (+1/2 VADC_REF)] © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 52 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Table 6.4 Bit Configuration Word CFGAPP CFGAPP - Configuration of Temp. Measurement and TIMEDIV EEPROM/RAM Address 15HEX 15:8 Not used - 7:6 Output TIMing DIVider: TIMEDIV Timing of Power-On Diagnostic Output and of Sequential Analog Output (refer to sections 3.2 and 3.3): TIMEDIV 5:3 Time base basic timing 160ms 37ms 01BIN divide basic timing by 2 80ms 18ms 10BIN divide basic timing by 4 40ms 9ms 11BIN divide basic timing by 8 20ms 4ms Temperature Sensor select: March 18, 2014 TS 100BIN = external resistor on pin VTN2 101BIN = external diode on pin VTN2 Calibration Temperature Sensor select: 00dBIN = on-chip diode d10BIN = external resistor on pin VTN1 d11BIN = external diode on pin VTN1 Data Sheet Time base τSEQ Sequential Analog Output @ fOSC = 2.6MHz 00BIN 00dBIN = on-chip diode d10BIN = external resistor on pin VTN1 d11BIN = external diode on pin VTN1 2:0 Time base τPDO Power-On Diagnostic @ fOSC = 2.6MHz CTS 100BIN = external resistor on pin VTN2 101BIN = external diode on pin VTN2 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 53 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Table 6.5 Bit 15 Configuration Word CFGAPP2 CFGAPP2 - Configuration of Target Application EEPROM/RAM Address 16HEX One-Wire Interface MoDe OWIMD 0 = Analog output starts after OWI startup window 1 = Analog output starts simultaneously with OWI startup window 14 Enable Sequential Analog OUTput MoDe at AOUT2 pin (SEQAOUT; refer to section 3.3.) 0 = Single Analog Output 13:11 AOUT2MD 1 = Sequential Analog Output Select Analog Output Signal at the AOUT2 pin: AOUT2MD[2:0] AOUT2MD[3] = 0 Single Signal Analog Output AOUT2MD[3] = 1 Sequential Analog Output (see Figure 3.3) 1st Analog Output 2 nd Analog Output 000BIN Temperature Bridge Temperature 001BIN (1 – Bridge) (1 – Bridge) Temperature 010BIN (½ Bridge) (½ Bridge) Temperature 011BIN (½ (1 – Bridge)) (½ (1 – Bridge)) Temperature 100BIN Half-Bridge Bridge Half-Bridge 101BIN Half-Bridge (1 – Bridge) Half-Bridge 110BIN Half-Bridge (½ Bridge) Half-Bridge 111BIN Half-Bridge (½ (1 – Bridge)) Half-Bridge Note: Bit 13 (AOUT2MD[2]) is also used for selecting the second signal sent by the digital 2 output (I C™ interface) during NOM and Temporary DM (see section 4.2). The second value sent in the digital output sequence can be either the 13-bit temperature or 13-bit half-bridge value: 0 = temperature; 1 = half bridge. 10:5 REFerence Voltage for Half-Bridge Measurement HBREF Single-ended Half-Bridge signal is measured against reference voltage VHB,REF. Reference voltage is linearly adjusted in 63 steps from 0.3∙VBR to 0.7∙VBR. HBREF 0; 31 VHB,REF VBR 81 HBREF 161 HBREF 32; 63 VHB,REF VBR 4 81 31 HBREF 161 Enable OSCillator Spread Spectrum Mode OSCSS 0 = disabled 1 = enabled Reduces electromagnetic emission (EME). Frequency of internal oscillator is linearly varied in 63 steps by nominal ±11%. 3:0 Data Sheet March 18, 2014 ADJust frequency fOSC of internal OSCillator Refer to the ZSSC3154 Application Note—Oscillator Frequency Adjustment for details. © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. OSCADJ 54 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Table 6.6 Bit 15 Configuration Word CFGSF CFGSF - Configuration of Safety Functions EEPROM/RAM Address 17HEX Enables the EEPROM Lock for OWI communication 0 = disabled 1 = enabled 2 EEPLOCK Slave address for OWI and I C™ communication 2 Defines 4 LSB of a possible additional I C™ slave address within the range 20HEX to 2FHEX. Use 8HEX to disable this second address by setting it to the general address 28 HEX. SLVADDR 10 Enable the Power-On Diagnostic Output (PDO) 0 = disabled 1 = enabled Note that the Sequential Analog Output at pin AOUT2 is dominant and disables PDO. (Refer to section 3.2.) PDOENA 9 Enable the ROM Check at power-on. Startup time is increased approximately 10ms. 0 = disabled 1 = enabled CHKROM 8 Enable the Temperature Sensor Check Applies to temperature and calibration temperature. 0 = disabled 1 = enabled CHKTSC 7 Enable the Main Channel A/D Conversion Result Check High Limit 0 = disabled 1 = enabled CHKMCCH 6 Enable the Main Channel A/D Conversion Result Check Low Limit 0 = disabled 1 = enabled CHKMCCL 5 Enable the Broken Chip Check 0 = disabled CHKBCC 14:11 1 = enabled 4 Enable the Sensor Short Check 0 = disabled 1 = enabled Note that the Sensor Short Check is always disabled if the Half-Bridge measurement is enabled by the CFGAPP2:AOUT2MD setting. 3 Switch to the Sensor Connection Check High Capacitor Mode CHKSCCHIC 0 = SCC Normal Mode 1 = SCC High Capacitor Mode The SCC High Capacitor Mode enables SCC diagnostics for input load capacities greater than 1nF up to 10nF. Note that for either mode, the Sensor Connection Check must be enabled by the CFGSF:CHKSCC setting. Note that the Sensor Connection Check is always disabled if the Half-Bridge measurement is enabled by the CFGAPP2:AOUT2MD setting. 2 Enable the Sensor Connection Check 0 = disabled 1 = enabled Note that the Sensor Connection Check is always disabled if the Half-Bridge measurement is enabled by the CFGAPP2:AOUT2MD setting. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. CHKSSC CHKSCC 55 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Bit 6.5 CFGSF - Configuration of Safety Functions EEPROM/RAM Address 17HEX 1 Enable the Sensor Aging Check 0 = disabled 1 = enabled Note that the Sensor Aging Check is always disabled if the Half-Bridge measurement is enabled by the CFGAPP2:AOUT2MD setting. CHKSAC 0 Enables triggering a reset if the Diagnostic Mode (DM) occurs 0 = stop and DM 1 = reset and startup again If set to 1, reset is executed after timeout of watchdog. DMRES EEPROM Signature The EEPROM signature (address 18HEX) is used to check the validity of the EEPROM contents. The signature is built using a polynomial arithmetic modulo 2. The following source code generates the signature if the field eepcont[ ] is allocated by the EEPROM content (addresses 00HEX to 17HEX). The parameter N is the count of applicable addresses and must be set as N=23. Table 6.7 C Source Code Signature Generation #define POLYNOM A005HEX unsigned short signature(eepcont, N) unsigned short eepcont[], N; { unsigned short sign, poly, p, x, i, j; sign = 0; poly = POLYNOM; for (i=0; i<N; i++) { sign^=eepcont[i]; p=0; x=sign&poly; for (j=0; j<16; j++, p^=x, x>>=1); sign<<=1; sign+=(p&1); } return(~sign); } Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 56 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 6.6 EEPROM Write Locking The ZSSC3154 supports EEPROM write locking (EEPLOCK). If the EEPROM lock is active (i.e., CFGSF:EEPLOCK=1), it is not possible to enable EEPROM programming with the command EEP_WRITE_EN using one-wire communication (OWI); the ZSSC3154 answers the command EEP_WRITE_EN with the reject code CF6CHEX, and a subsequent EEPROM write access is blocked. 2 2 An activated EEPLOCK does not block writing to the EEPROM using I C™ and can always be reset using I C™. EEPLOCK is active only if programmed into EEPROM and activated due to New power-on or Receiving the EEP_WRITE_EN command or Starting the measurement cycle by receiving the START_CYC_x command The following write sequence is possible: Write calibration data including EEPLOCK to RAM mirror Enable EEPROM writing by sending the command EEP_WRITE_EN Copy the RAM mirror to EEPROM Write the EEPROM signature directly to EEPROM If an invalid EEPROM signature is detected, the EEPROM lock is always deactivated. Data Sheet March 18, 2014 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 57 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output 7 Related Documents Note: X_xy refers to the latest version of the document. Document File Name ZSSC3154 Data Sheet ZSSC3154_DataSheet_RevX_xy.pdf ZSSC3154 AN Oscillator Frequency Adjustment ZSSC3154 AN Oscillator Frequency Adjustment Rev X.xy ZSSC3154 Technical Note—Traceability Information ZSSC3154_Traceability_RevX_xy.pdf Visit the ZSSC31354 product page at www.zmdi.com/zssc3154 on ZMDI’s website www.zmdi.com or contact your nearest sales office for the latest version of these documents. 8 Glossary Term Description ADC Analog-to-Digital Converter AFE Analog Front-End AFEBIST Analog Front-End Built-In Self-Test BCC Broken Chip Check BIST Built-In Self-Test CM Command Mode CMC Calibration Microcontroller CMV Common Mode Voltage DFB Diagnostic Fault Band DFBH Diagnostic Fault Band level High DFBL Diagnostic Fault Band level Low DM Diagnostic Mode HB Half Bridge LSB Least Significant Bit MCCH Main Channel Check High MCCL Main Channel Check Low MSB Most Significant Bit NOM Normal Operation Mode OWI One-Wire Interface Data Sheet © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. March 18, 2014 58 of 59 ZSSC3154 Automotive Sensor Signal Conditioner with Dual Analog Output Term Description PDO Power-On Diagnostic Output SAC Sensor Aging Check SEQAOUT Sequential Analog Output SCC Sensor Connection Check SSC Sensor Signal Conditioner TSC Temperature Sensor Check 9 Document Revision History Revision Date Description 1.00 June 4, 2012 First released revision 1.10 June 7, 2012 Updates for revision B silicon, including addition of ADJ_OSC_WRI command. 1.11 April 2, 2013 Updates for traceability information in new section 6.3 and section 7. 1.12 March 18, 2014 Update for contact information and imagery for cover and header. Replacement of Table 5.4 with a referral to the ZSSC3154 Application Note—Oscillator Frequency Adjustment. Minor edits for clarity. Sales and Further Information www.zmdi.com [email protected] Zentrum Mikroelektronik Dresden AG Global Headquarters Grenzstrasse 28 01109 Dresden, Germany ZMD America, Inc. 1525 McCarthy Blvd., #212 Milpitas, CA 95035-7453 USA Central Office: Phone +49.351.8822.0 Fax +49.351.8822.600 USA Phone +855.275.9634 Phone +408.883.6310 Fax +408.883.6358 European Technical Support Phone +49.351.8822.7.772 Fax +49.351.8822.87.772 DISCLAIMER: This information applies to a product under development. Its characteristics and specifications are subject to change without notice. Zentrum Mikroelektronik Dresden AG (ZMD AG) assumes no obligation regarding future manufacture unless otherwise agreed to in writing. The information furnished hereby is believed to be true and accurate. However, under no circumstances shall ZMD AG be liable to any customer, licensee, or any other third party for any special, indirect, incidental, or consequential damages of any kind or nature whatsoever arising out of or in any way related to the furnishing, performance, or use of this technical data. ZMD AG hereby expressly disclaims any liability of ZMD AG to any customer, licensee or any other third party, and any such customer, licensee and any other third party hereby waives any liability of ZMD AG for any damages in connection with or arising out of the furnishing, performance or use of this technical data, whether based on contract, warranty, tort (including negligence), strict liability, or otherwise. European Sales (Stuttgart) Phone +49.711.674517.55 Fax +49.711.674517.87955 Data Sheet March 18, 2014 Zentrum Mikroelektronik Dresden AG, Japan Office 2nd Floor, Shinbashi Tokyu Bldg. 4-21-3, Shinbashi, Minato-ku Tokyo, 105-0004 Japan ZMD FAR EAST, Ltd. 3F, No. 51, Sec. 2, Keelung Road 11052 Taipei Taiwan Phone +81.3.6895.7410 Fax +81.3.6895.7301 Phone +886.2.2377.8189 Fax +886.2.2377.8199 Zentrum Mikroelektronik Dresden AG, Korea Office U-space 1 Building 11th Floor, Unit JA-1102 670 Sampyeong-dong Bundang-gu, Seongnam-si Gyeonggi-do, 463-400 Korea Phone +82.31.950.7679 Fax +82.504.841.3026 © 2014 Zentrum Mikroelektronik Dresden AG — Rev.1.12 All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. The information furnished in this publication is subject to changes without notice. 59 of 59