ZSC31150 Functional Description
Contents
1
Control Logic ................................................................................................................................................. 4
1.1. General Description ................................................................................................................................ 4
1.2. CMC Description .................................................................................................................................... 4
1.3. General Working Modes ......................................................................................................................... 4
1.3.1. Normal Operation Mode (NOM) ....................................................................................................... 4
1.3.2. Command Mode (CM) ..................................................................................................................... 5
1.3.3. Diagnostic Mode (DM), Failsafe Tasks, and Error Codes ............................................................... 5
Signal Conditioning ....................................................................................................................................... 8
2.1. AD Conversion........................................................................................................................................ 8
2.2. AD Conversion Result Segmentation ..................................................................................................... 9
2.3. Signal Conditioning Formula ................................................................................................................ 10
2.4. Analog and Digital Output ..................................................................................................................... 11
2.5. Digital Filter Function ............................................................................................................................ 11
2.6. Output Signal Range and Limitation ..................................................................................................... 12
Serial Digital Interface (SIF) ........................................................................................................................ 13
3.1. General Description .............................................................................................................................. 13
3.1.1. Addressing ..................................................................................................................................... 13
3.1.2. Communication Verification ........................................................................................................... 13
3.1.3. Communication Protocol Selection ................................................................................................ 14
2
3.2. I C Protocol ........................................................................................................................................... 14
3.3. Digital One-Wire Interface (OWI).......................................................................................................... 17
Interface Commands ................................................................................................................................... 22
4.1. Command Set ....................................................................................................................................... 22
4.2. Command Processing .......................................................................................................................... 24
4.3. SIF Output Registers ............................................................................................................................ 24
4.4. Command Response Codes ................................................................................................................ 26
4.5. Detailed Description for Specific Commands ....................................................................................... 26
4.5.1. START_CM (72D1
HEX
) ................................................................................................................... 26
4.5.2. START_AD_CNT (62
HEX
) ............................................................................................................... 27
4.5.3. ADJ_OSC_ACQ (50
HEX
) and ADJ_OSC_WRI (65xxxx
HEX
) ........................................................... 28
EEPROM and RAM ..................................................................................................................................... 29
5.1. Programming the EEPROM ................................................................................................................. 29
5.2. EEPROM and RAM Content ................................................................................................................ 29
5.2.1. Traceability ..................................................................................................................................... 31
5.2.2. Configuration Words ...................................................................................................................... 32
5.3. EEPROM Signature .............................................................................................................................. 35
5.4. EEPROM Write Locking ....................................................................................................................... 35
Temperature Sensor Adaption and CMV Measurement ............................................................................. 36
6.1. Temperature Measurement when Sensor Bridge is in Voltage Excitation Mode ................................. 36
6.1.1. Internal PN-Junction TS ................................................................................................................. 36
6.1.2. External PN-Junction TS ................................................................................................................ 36
6.1.3. External Resistor ............................................................................................................................ 38
2
3
4
5
6
© 2016 Integrated Device Technology, Inc.
1
May 27, 2016
ZSC31150 Functional Description
6.1.4. Result and Sensitivity Calculation .................................................................................................. 38
6.2. Temperature Measurement when Sensor Bridge in Current Excitation Mode ..................................... 39
6.3. CMV Measurement ............................................................................................................................... 39
6.4. Sensor Check ....................................................................................................................................... 40
7 Related Documents ..................................................................................................................................... 41
8 Glossary ...................................................................................................................................................... 42
9 Document Revision History ......................................................................................................................... 43
List of Figures
Figure 1.1
Figure 2.1
Figure 3.1
Figure 3.2
Figure 3.3
Figure 3.4
Figure 3.5
Figure 3.6
Figure 3.7
Figure 3.8
Figure 3.9
Figure 4.1
Figure 4.2
Figure 5.1
Figure 6.1
Figure 6.2
Figure 6.3
Figure 6.4
Modes of Digital Serial Communication ........................................................................................... 5
Accessible Output Signal Range and Limitation ............................................................................ 12
2
I C – Principles of Protocol ............................................................................................................ 14
I²C™ – Write Operation ................................................................................................................. 15
I²C™ – Read Operation – Data Request ....................................................................................... 16
I²C™ – Timing Protocol ................................................................................................................. 17
Block Diagram of the OWI Connection .......................................................................................... 18
OWI – Stop Condition for Active Driven AOUT ............................................................................. 19
OWI – Write Operation .................................................................................................................. 20
OWI – Read Operation – Data Request ........................................................................................ 21
OWI – Timing Protocol ................................................................................................................... 21
Preventing Misinterpretation of Check Sum .................................................................................. 25
START_CM Command .................................................................................................................. 26
Source-Code Signature Generation .............................................................................................. 35
External PN-Junction Temperature Sensor ................................................................................... 37
Temperature Measurement with External Resistor ....................................................................... 38
Bridge Current Mode Application ................................................................................................... 39
Principle of Sensor Short Check .................................................................................................... 41
© 2016 Integrated Device Technology, Inc.
2
May 27, 2016
ZSC31150 Functional Description
List of Tables
Table 1.1
Table 2.1
Table 3.1
Table 3.2
Table 3.3
Table 4.1
Table 4.2
Table 4.3
Table 4.4
Table 4.5
Table 4.6
Table 5.1
Table 5.2
Table 5.3
Table 5.4
Table 5.5
Table 5.6
Table 6.1
Table 6.2
Table 6.3
Table 6.4
Table 6.5
Table 6.6
Table 6.7
Error Codes...................................................................................................................................... 7
Valid Data Ranges for 15-bit and 16-bit ADC Resolution ................................................................ 9
2
Timing I C Protocol ........................................................................................................................ 17
OWI Interface Parameters ............................................................................................................. 19
OWI Timing Protocol ...................................................................................................................... 21
Command Set ................................................................................................................................ 22
Output Register Contents of Serial Digital Interface (SIF) When Processing Commands ............ 25
Command Response: First Readout Word (SIF Output Register 1) ............................................. 26
START_AD_CNT – Data Word Description .................................................................................. 27
START_AD_CNT – Command Response Description.................................................................. 28
Oscillator Frequency Adjustment Sequence / Tasks (OWI Only) .................................................. 28
EEPROM and RAM Content.......................................................................................................... 30
Lot, Wafer, x-Position, and y-Position Number Calculation Procedure ......................................... 31
Configuration Word CFGAFE ........................................................................................................ 32
Configuration Word CFGAPP ........................................................................................................ 33
Configuration Word ADJREF ......................................................................................................... 34
Configuration Word RESERVED ................................................................................................... 34
Configuration Temperature Measurement ..................................................................................... 36
Sensitivity Internal Temperature Sensor ....................................................................................... 36
Sensitivity and IRTEMP Input Signal Range in mV/V using External PN-Junction Mode ............. 37
Temperature Measurement Input Range Midpoint in mV (RM
ED
) ................................................. 37
ZSC31150 Input Signal Range for External Resistor Mode (Voltages referenced to VDDA) ....... 38
Temperature Gain Coefficients ...................................................................................................... 38
Temperature Measurement in Bridge Current Excitation Mode (CFGAPP:CSBE=1) ................... 39
© 2016 Integrated Device Technology, Inc.
3
May 27, 2016
ZSC31150 Functional Description
1
1.1.
Control Logic
General Description
The control logic of the ZSC31150 consists of the calibration microcontroller (CMC) and the control logic modules
of the analog-to-digital (A/D) converter and serial digital interface. The configuration of the various modes of the
device is done by programming an 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.
Communication between the ZSC31150 and an external microcontroller, especially for calibration purposes, is
2
done via a serial digital interface. Communication protocols according to the I C standard are supported. A one-
wire interface called OWI with the brand name ZACwire™ is also implemented. These serial interfaces are used
for calibration of the sensor system consisting of a sensor transducer and the ZSC31150. 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. Therefore, 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.
The controller of the A/D conversion is started by the CMC and executed as a continuous measurement cycle.
The conditioning calculation by the CMC works in parallel to the A/D conversion.
1.2.
CMC Description
The CMC is especially adapted to the tasks connected with the signal conditioning.
The main features are
16-bit processing width and programming via ROM.
Constants/coefficients for the conditioning calculation stored in the EEPROM. After power-on or after
re-initialization from EEPROM by sending a specific command to the serial interface, the EEPROM is
mirrored to the RAM.
Continuous parity checking during every read from RAM. If incorrect data is detected, the diagnostic mode
(DM) is activated (an error code is written to the serial digital output; the analog out is set to the diagnostic
level).
1.3.
General Working Modes
The ZSC31150 supports three different working modes:
Normal Operation Mode (NOM)
Command Mode (CM)
Diagnostic Mode (DM)
The command set includes commands for changing the working mode. Refer to section 4 for a detailed descrip-
tion of these commands.
1.3.1. Normal Operation Mode (NOM)
The NOM is the recommended working mode for applications. After power-on, the ZSC31150 starts with an
initialization routine, and the NOM will be activated after this.
During the initialization routine, first the EEPROM is mirrored to the RAM, which checks the EEPROM content. If
an error is detected, the DM is activated. The configuration of the ZSC31150, which is stored in the EEPROM, is
consecutively set.
© 2016 Integrated Device Technology, Inc.
4
May 27, 2016
ZSC31150 Functional Description
Next, the continuous measurement cycle and the conditioning calculation start. The signal conditioning result is
refreshed with each cycle time period. This generates the analog output at the AOUT pin, and it can be read via
the serial digital Interface (SIF) as a digital output.
Provided that the EEPROM is programmed correctly, the NOM works without the microcontroller sending any
command to the digital serial interface. Read-out of the conditioning result via the SIF is possible; this does not
interrupt continuous processing of the signal conditioning routine.
1.3.2. Command Mode (CM)
The CM is the working mode that is used for calibration data acquisition and access to the internal RAM and
EEPROM of the ZSC31150. The CM start command START_CM aborts the running NOM, so the measurement
cycle is stopped. The ZSC31150 changes to CM only after receiving the START_CM command via the digital
serial interface. This protects the ZSC31150 against interruption of processing during the NOM (= continuous
signal conditioning) and/or unintentional changes of configuration. In CM, the full set of commands is supported.
If the ZSC31150 receives a command other than START_CM in NOM, it is not valid. It will be ignored, and no
interrupt to the continuous measurement cycle will be generated. Refer to section 4.5.1 for a detailed description
of the START_CM command.
In CM, the full command set is enabled for processing. During processing of a received command, the serial
interface is disabled, and no further commands are recognized. After finishing the routine, the CMC waits for
further commands or the process loops continuously (e.g., after measurement commands).
Figure 1.1 Modes of Digital Serial Communication
Normal Operation Mode
Only SIF readout
Command: START_CM (72
HEX
)
Refer to Table 4.1 for details of the command set.
Command Mode
Full command set
EEPROM programming is only enabled after receiving the EEP_WRITE_EN command.
Starting CM via I C communication (SCL and SDA pins) is possible at any time. For communication via the one-
wire interface (AOUT pin), several modes can be activated in the configuration setup, e.g., the start window.
1.3.3. Diagnostic Mode (DM), Failsafe Tasks, and Error Codes
The ZSC31150 detects various possible failures, in which case the DM is activated. The DM is indicated by the
ZSC31150 setting the output pin AOUT in the lower diagnostic range (LDR) and the output registers of the digital
2
serial interface are set to a defined error code. In this case, independent from configuration, the OWI and I C
communication is enabled, and an error code can be read out.
Because the analog output AOUT is driven LOW, the AOUT pin must be overwritten (AOUT current limitation:
< 20mA) for starting digital communication using the OWI interface. Therefore the communication master must
provide driving capability for doing this.
Note that the error detection functionality can be partly enabled/disabled by configuration words (e.g., sensor
connection check, sensor aging (CMV) limits, ROM check, etc.).
The failure counting sequence/procedure is called the “Temporary DM.” The DM (LDR) will be activated after two
sequential detected failure events and will be deactivated after counting down the failure counter if the failure
condition is no longer given.
2
© 2016 Integrated Device Technology, Inc.
5
May 27, 2016