ZMD ZMD31014

ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
ZMD31014 RBiciLite™ Sensor Signal Conditioner
SSC Modular Evaluation Kit Documentation
Restrictions:
The ZMD AG RBicLite™ SSC Evaluation Kit hardware and software are designed for RBicLite™ evaluation,
laboratory setup and module development only.
The ZMD AG RBicLite ™ SSC Evaluation Kit hardware and software must not be used for module production
and production test setups. ZMD AG shall not be liable for any damages arising out of defects resulting from
(i) delivered hard and software (ii) non-observance of instructions contained in this manual, or (iii) misuse,
abuse, use under abnormal conditions or alteration by anyone other than ZMD AG. To the extent permitted by
law, ZMD AG hereby expressly disclaims and User expressly waives any and all warranties, whether express,
implied or statutory, including, without limitation, implied warranties of merchantability and of fitness for a
particular purpose, statutory warranty of non-infringement and any other warranty that may arise by reason of
usage of trade, custom or course of dealing.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 1 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
Contents
1
KIT CONTENTS ............................................................................................................................................................ 4
2
USB DRIVER INSTALLATION...................................................................................................................................... 5
2.1
SYSTEM REQUIREMENTS................................................................................................................................5
2.2
INSTALLATION FOR WINDOWS® XP PRO OR XP HOME OPERATING SYSTEMS ......................................5
Installing the Basic USB Driver ...............................................................................................................................5
Installing the Virtual Com Port USB Driver..............................................................................................................6
Checking USB Port Operation ................................................................................................................................7
3
4
ZMD31014 SSC EVALUATION BOARD....................................................................................................................... 8
3.1
OVERVIEW .........................................................................................................................................................8
3.2
INSTALLING THE COMMUNICATION AND CALIBRATION SOFTWARE.........................................................9
3.3
CONNECTIONS TO RBICILITE
3.4
POWER SUPPLY TO THE BOARD....................................................................................................................9
3.5
RESET SWITCH .................................................................................................................................................9
TM
.........................................................................................................................9
RBICILITE™ TESTER SOFTWARE .............................................................................................................................. 10
4.1
OVERVIEW .......................................................................................................................................................10
4.2
“FIND COM” BUTTON ......................................................................................................................................10
4.3
“I2C COMM ADDR” FIELD................................................................................................................................11
4.4
BRIDGE AND TEMPERATURE DISPLAY........................................................................................................11
4.5
“LOG FILE” FIELD.............................................................................................................................................11
4.6
“START CM” BUTTON......................................................................................................................................11
4.7
“START NOM” BUTTON ...................................................................................................................................11
4.8
“NORMAL MODE” SECTION ............................................................................................................................12
“Run Continuous” Button ......................................................................................................................................12
“Sample Rate” Field..............................................................................................................................................12
“Average Samples” Field ......................................................................................................................................12
4.9
“EEPROM EDITOR” SECTION .........................................................................................................................12
“Read” Button .......................................................................................................................................................12
“Load File” Button .................................................................................................................................................12
“Save File” Button .................................................................................................................................................13
4.10 “COMMUNICATION AND OPERATION CONFIG” SECTION ..........................................................................13
“Comm Type” Menu ..............................................................................................................................................13
“Clock Freq” Menu ................................................................................................................................................13
“I2C Addr” Field ....................................................................................................................................................13
“Lock I2C Address” Checkbox ..............................................................................................................................13
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 2 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
“Sleep Mode” Checkbox .......................................................................................................................................13
“Update_Rate” Menu ............................................................................................................................................13
“Sensor Short Check” Checkbox ..........................................................................................................................13
“Sensor Connection Check” Checkbox .................................................................................................................13
4.11 MATH CONFIG SECTION ................................................................................................................................14
“SOT_Curve” Menu ..............................................................................................................................................14
“Negative Coeffs” Subsection ...............................................................................................................................14
4.12 “FRONT END CONFIG” SECTION ...................................................................................................................14
“A2D_Offset” Menu ...............................................................................................................................................14
“PreAmp_Gain” Menu ...........................................................................................................................................15
“Negative” Checkbox ............................................................................................................................................15
“LongInt” Checkbox ..............................................................................................................................................15
“BSink” Checkbox .................................................................................................................................................15
“Gain8X” Checkbox ..............................................................................................................................................15
4.13 “CALIBRATION” BUTTON ................................................................................................................................16
“Get ID” Button......................................................................................................................................................16
5
CALIBRATION ............................................................................................................................................................ 17
5.1
CALIBRATION SEQUENCE .............................................................................................................................17
Step 1 – Assigning a Unique Identification (ASIC ID Section) ..............................................................................18
Step 2 – Data Collection .......................................................................................................................................18
Step 3 – Calculating and Writing the Coefficients .................................................................................................19
5.2
DRY RUN CALIBRATION .................................................................................................................................20
Steps for a Dry Run Calibration using the Artificial Bridge on the Evaluation Board:............................................20
Steps for a Dry Run Calibration using the Sensor Replacement Board:...............................................................21
6
ZMD31014 SOFTWARE WITH THE ZMD SSC TERMINAL ....................................................................................... 23
6.1
PROTOCOL ......................................................................................................................................................23
6.2
ZMD SSC TERMINAL .......................................................................................................................................23
7
COMMAND/DATA PAIR ENCODING ......................................................................................................................... 25
8
EEPROM BITS ............................................................................................................................................................ 26
9
RELATED DOCUMENTS ............................................................................................................................................ 31
TM
APPENDIX A: SCHEMATIC RBICILITE
SSC EVALUATION BOARD ............................................................................. 32
APPENDIX B: LIST OF ERROR MESSAGES IN THE SOFTWARE ................................................................................. 33
APPENDIX C: FORMAT OF THE CALDATA.TXT FILE.................................................................................................... 34
APPENDIX D: DRIVER INSTALLATION ON WINDOWS 2000 OPERATING SYSTEMS................................................. 35
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 3 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
1
Preliminary
Kit Contents
a) SSC CD ROM including RBiciLite
TM
Tester/Calibration Software
b) SSC Communication Board (SSC CB), including USB Cable
c) SSC ZMD31014 Evaluation Board
d) SSC Sensor Replacement Board (SRB)
Potentiometer for
Artificial Bridge Stimulus
USB
Connector
SSC CB
SSC ZMD31014 Evaluation Board
SRB
Figure 1.1 – ZMD31014 SSC Evaluation Kit
TM
The RBiciLite SSC Evaluation Kit contains the software and hardware needed for communication and
TM
TM
calibration of an RBiciLite sensor signal conditioning IC. A PC can communicate with an RBiciLite socketed
on the SSC Evaluation Board via an SSC Communication Board through a USB connection. The software
should function on any Windows® 98/ME/XP/NT system after installation of a USB driver. Both the SSC
Evaluation Board and the Sensor Replacement Board (SRB) can provide a replacement for a sensor. Only
one of these can be used at a time for calibration as determined by the settings of jumpers K6 and K7 (see
Figure 3.1). On the SRB, the sensor replacement is controlled by a potentiometer (see Figure 1.1). The SRB
can be disconnected if the SSC Evaluation Board’s sensor replacement (artificial bridge stimulus) will be
used.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 4 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
2
2.1
Preliminary
USB Driver Installation
System Requirements
•
5x86-compatible PC
•
32 MB RAM
•
Hard drive with 20MB free space
•
USB port
•
Microsoft® W98/ME/2000/XP
TM
The USB version of the ZMD31014 RBiciLite SSC Evaluation Kit requires installation of two drivers. All the
required driver files are in the “USB_Driver” folder on the SSC Evaluation Kit CD-ROM.
These two drivers make the PC’s USB port appear as a virtual COM port (typically COM3 or COM4 on most
computers). The software provided with the SSC Evaluation Kit accesses the SSC Evaluation Board as if it
were a COM (RS232) port. These drivers will not affect the operation of any other USB peripherals.
Driver installation is very similar for Windows® XP or Windows 2000 installations; however, there are slight
differences in the appearance of the dialog boxes. Windows® XP installation procedures are given below.
Similar steps for Windows® 2000 installation are given in Appendix A in this document.
2.2
Installation for Windows® XP Pro or XP Home Operating Systems
Installing the Basic USB Driver
Important: System administrator rights are required to install the USB driver on your PC.
Use the USB cable to connect the SSC Evaluation Board to an available USB port on your PC. The “Found
New Hardware” wizard launches and brings up the following dialog box. Complete the following steps.
Step 1: Select “No, not this time,” and click
“Next.”
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Step 2: Select “Install from a list or specific
location (Advanced).” Click “Next.”
Page 5 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Step 3: Select “Search removable media
(floppy, CD-ROM),” and click “Next.”
Preliminary
Step 4: When the warning about failing logo
testing appears, click “Continue Anyway”
because this concern is not applicable.
Step 5: Finish the driver installation by
clicking “Finish.”
Installing the Virtual Com Port USB Driver
The second required USB driver causes the USB device to appear to the system as a virtual COM port.
Follow the same steps as outlined under Installing the Basic USB Driver above to complete this second driver
installation.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 6 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
Checking USB Port Operation
Verify that the new hardware is operating properly
before continuing. Access the control panel by clicking
Start Settings Control Panel. Double click the
“System” icon. The adjacent dialog box appears.
Click on the “Hardware” tab, and then on “Device
Manager.” This brings up the dialog box shown below.
If the USB is operating properly, “ZMD SSC Evaluation Kit (COMx)” appears under “Ports (COM & LPT).”
Typically, the “x” is 3 or 4. Remember this virtual COM
port number. It is the COM port to select when using
the software provided with the SSC Evaluation Kit.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 7 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
3
Preliminary
ZMD31014 SSC Evaluation Board
3.1
Overview
KL1 Connector to
External Bridge
K1 Connector to the
SSC CB
Pin 1 ZMD31014
Resistors for
Board Identification
VDD
VDD
VDD
VDD
VDD
INT
SDA
SCL
VDD
INT
SDA
SCL
GND
GND
GND
GND
K2 Connector > Sensor Replacement Board (Not applicable, if
using SSC Board artificial bridge)
Jumper K8
(Default = Shorted)
Shorted: Vref = VDD
Jumpers K6 and K7
Open: SRB Sensor
Replacement
Shorted: SSC Eval.
Board Artificial Bridge
GND
GND
GND
GND
VSS
Bsink
VBP
VBN
VSS
Bsink
VBP
VBN
VDD
VDD
VDD
VDD
K3 Jumper
Bridge GND to BSink
Bridge GND to VSS
Figure 3.1 – SSC Evaluation Board Overview
TM
The main purpose of the SSC Evaluation System is communication between the PC and the RBiciLite IC.
The PC sends commands and data via the USB / SSC CB (virtual COM port). The µController on the SSC CB
TM
2
interprets these commands and relays them to the RBiciLite in the I C bus standard format (K1 Pin 9/SCL
TM
Pin 11/SCK). The µController will also forward any data bytes from the RBiciLite chip back to the PC via the
USB connection. These bytes can be bridge and temperature readings to be displayed by the PC software;
raw ADC readings used during calibration; or EEPROM content bytes.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 8 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
3.2
Installing the Communication and Calibration Software
TM
To install the RBiciLite SSC Evaluation Kit CD-ROM on the PC hard drive, locate the setup.exe file in the root
directory of the CD-ROM, and double click on it. The software completes the installation.
3.3
Connections to RBiciLite
TM
TM
The SSC Evaluation Board has an SOP-8 socket for inserting the RBiciLite .
Using the VDD, GND, SDA/MISO, SCL/SCLK and INT/SS/ connections on connector K5 on the SSC
TM
Evaluation Board, the board can be used for in-circuit programming of the RBiciLite IC in the user’s
calibration fixture.
NOTE: Only one ASIC connection option can be used at a time.
3.4
Power Supply to the Board
The K1 connector to the SSC CB provides the power supply from the SSC CB’s USB port to the SSC
Evaluation Board. Using the power via the USB port, the maximum current that can be provided is 40mA. All
functions of the board are operative down to 2.7V. The board has a red LED labeled D1, which lights if the
board has power.
3.5
Reset Switch
Use the push button on the Communication Board to reset communications if needed.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 9 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
4
Preliminary
RBiciLite™ Tester Software
4.1
Overview
The ZMD software provided with this SSC Evaluation Kit is intended for demonstration purposes and
calibration of single units. ZMD can provide the user with algorithms and assistance in developing their full
production calibration software. Five types of text files support the software user:
•
When the software is activated, a CommLog.txt file is saved to the application folder (C:\\program
files\ZMD America\ZMD31014_iLite). This file is a log of the communication to the IC during the
software session and can be saved after closing the software by renaming the file. Otherwise, it
would be overwritten the next time the software will be opened.
•
In Command Mode (CM) the user can save/load the EEPROM contents from a text file to the
EEPROM and vise versa.
•
In Normal Operation Mode (NOM) the user can log bridge and temperature readings to the
DataLog.txt file.
•
The caldata.txt file is used by the software for calibration. Its structure is explained in Appendix C.
•
The calibration is documented in the CalibrationLog.txt file, which is more convenient for users than
the caldata.txt file.
4.2
“Find Com” Button
The RBiciLite™ Tester software automatically detects which type of ZMD evaluation board is connected. To set
up communication with the SSC CB, click on “Setup” and then “Find COM.” Click “Yes” in the resulting dialog
box if the COM port selected is acceptable. If not, click “No” until an acceptable COM port is found.
Click here to find the
COM port using the
resulting dialog box.
Click here to select the
ZMD31014 part revision
(marked on the package
Figure 4.1 – Setting Up Communications
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 10 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
4.3
“I2C Comm Addr” Field
Use the “I2C Comm Addr” field to enter the address that the SSC CB uses to communicate with the RBiciLite™
installed in the socket on the Evaluation Board. Valid settings are 0x00 to 0x7FH. The default is 0x28H. See
important notes in section 4.10 regarding settings when the communication address is locked.
4.4
Bridge and Temperature Display
The software displays two large readout windows for temperature and bridge values. The temperature
TM
o
reading is the RBiciLite temperature in C. The bridge reading is in %. Calibration determines the relationship
of the % reading to the value the bridge is measuring.
TM
The RBiciLite is designed to be a generic resistive bridge conditioner, but for the following calibration
example, assume it is connected to a pressure bridge. If the unit is calibrated to read pressure with 50kPa
reading as 100% and 10kPa reading as 0%, then the span of pressure readings would be 40kPa. Half of that
span (20kPa) plus the set zero point (10kPa) should be the 50% point. After calibration, if the chamber is set
TM
to 30kPa, the RBiciLite should give a 50% reading.
There is a continuous transmission of bridge readings and temperature readings.
If the RBiciLite
TM
has not been temperature calibrated, the displayed temperature is invalid.
The different colors of the display field indicate the IC mode:
Color
Green
Blue
Red
Yellow
IC Mode/State
Valid value (NOM)
Valid (CM)
Diagnostic
Invalid value (NOM)
1
4.5
“Log File” Field
Bridge and temperature readings can be logged to a PC file. Use the “Browse” button to select the filename
and directory where the file will be stored. Then click “Open.” The “Sample Rate” field sets how often the data
TM
is collected. If the sample rate is 0 sec, then an entry is written for each transmission from the RBiciLite .
The resulting text file is a space-delimited ASCII file and can be imported into Microsoft Excel.
4.6
“Start CM” Button
TM
To communicate to the RBiciLite , start the Command Mode (full command set, measurement cycle stopped)
by clicking “START CM” (Start Command Mode).
4.7
“Start NOM” Button
TM
To exit Command Mode and return the RBiciLite to Normal Operation Mode (reading, conditioning and
transmitting bridge data), click “START NOM” (Start Normal Operation Mode).
Note: For the ZMD31014, the NOM is recommended for the raw value collection during the calibration.
1
For more details refer to section 3 of the ZMD31014_iLite_Datasheet.pdf.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 11 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
4.8
Preliminary
“Normal Mode” Section
“Run Continuous” Button
To start a continuous readout of bridge and temperature data, click the “Run Continuous” button.
“Sample Rate” Field
This field sets the period (ms) for the sample rate of the continuous read out. Valid settings are 10ms or
longer.
“Average Samples” Field
This feature allows averaging the measured values by choosing the number of samples to average before
displaying the result.
4.9
“EEPROM Editor” Section
Figure 4.2 – EEPROM Editor
“Read” Button
To read EEPROM settings, enter the Command Mode and click the “Read” button. The “EEPROM” section
TM
displays all of the fields currently stored in the RBiciLite EEPROM (non-volatile memory). Double clicking on
the contents allows editing the EEPROM content. The EEPROM signature will be changed after the
Command Mode is exited (Start_NOM).
“Load File” Button
EEPROM contents that have been previously saved in a text file can be written to the current EEPROM by
clicking the “Load File” button. The default folder for the saved text file is C:\program files\ZMD
America\ZMD31014_iLite. The standard Windows™ dialog box for file saving results.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 12 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
“Save File” Button
The EEPROM contents can be saved in a text file in the C:\program files\ZMD America\ZMD31014_iLite
directory by clicking the “Save File” button. The standard Windows™ dialog box for file saving results.
4.10 “Communication and Operation Config” Section
This section is used to expedite programming configuration and communication settings in the EEPROM of
the ZMD31014 RBiciLite™ under test.
“Comm Type” Menu
Three communication options are available on the “Comm Type” drop-down menu:
•
I2C
•
SPI (pos edge): SPI / MISO changes on positive edge clock frequency
•
SPI (neg edge): SPI / MISO changes on negative edge clock frequency
“Clock Freq” Menu
Select 1MHz or 4MHz for the clock frequency for the ZMD31014 RBiciLite using the “Clock Freq” drop-down
menu. The lower clock frequency (1MHz) is the recommend selection for lower power and better noise
performance. If faster response time is required, the 4MHz clock frequency setting is needed.
“I2C Addr” Field
2
When the ZMD31014 RBiciLite is in I C communication mode, the default slave address is 0x28H. If a different
slave address is required, program the part for the new address by entering the hex value of the new address
in the “I2C Addr” field and then click “Write Addr.” The valid address range is 0x00 to 0x7FH.
Note: If the “Lock I2C Address” is on (see below), “I2C Addr” must match the “I2C Comm Addr” setting (see
section 4.3).
“Lock I2C Address” Checkbox
Lock the slave address selection by clicking “Lock I2C Address” checkbox. Without this lock, the IC will
respond to all I2C addresses.
“Sleep Mode” Checkbox
To select the Sleep Mode, click on the “Sleep Mode” checkbox; otherwise, the Update Rate Mode is selected
as the default mode. The Sleep Mode enables the most power saving mode of the ZMD31014 RBiciLite.
“Update_Rate” Menu
When operating in Update Mode, the update rate determines power consumption and response time. Select
the update rate by clicking on one of the four update rates on the “Update_Rate” drop-down menu.
“Sensor Short Check” Checkbox
To enable the sensor short diagnostic, click on the “Sensor Short Check” checkbox.
“Sensor Connection Check” Checkbox
To enable the sensor open diagnostic, click on the “Sensor Connection Check” checkbox.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 13 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
4.11 Math Config Section
“SOT_Curve” Menu
1
Some sensors perform better when compensated with a second order term (SOT) based on a zero-point
symmetrical output function (S-shaped) instead of the parabolic curve function used to compensate more
common sensors. The curve type is controlled by SOT_Curve (bit 9 in EEPROM word 0x01). Select the curve
type from the “SOT_Curve” drop-down menu. When the S-shaped curve is selected, the zero point is in the
nd
middle of the output and a negative and positive output signal can be compensated using only the 2 order
term.
“Negative Coeffs” Subsection
The Tco, Tcg, SOT_Bridge, SOT_Tco, SOT_Tcg and SOT_T checkboxes in the “Negative Coeffs” section
indicate the sign of the calculated calibration coefficients after calibration.
4.12 “Front End Config” Section
In the “Front End Config” section, select the configuration for the AFE (Analog Front End) as determined from
the bridge sensor performance before starting calibration. The configuration for the temperature depends on
the choice of an internal or external temperature sensor. For the internal sensor, a default calibration word is
configured. Additional selections are available in the “Calibration/Set ASIC Configuration” window (click
“Calibration” to initialize).
Note: The Excel™ file ZMD31014 AFE Configuration.xls can be used to determine the correct adjustment of
the analog PreAmp gain and the analog A2D offset modes based on the known sensor characteristics. The
Excel™sheet ZMD31014_iLite_ext_Temperaturemeasurement.xls can be used to determine the configuration
for external temperature sensors.
“A2D_Offset” Menu
To help compensate for bridges that have a large inherent offset, the ZMD31014 RBiciLite has seven
programmable analog offset modes for bridge and temperature measurements:
[-15/16,1/16]
[-7/8,1/8]
[-3/4,1/4]
[-1/2,1/2]
[-1/4,3/4]
[-1/8,7/8]
[-1/16,15/16]
Use the “A2D_Offset” drop-down menus for “Bridge” and “Temperature” to select the A2D offset mode
settings, which are stored in EEPROM.
The [-1/2, 1/2] mode is best for a balanced bridge [-50mV, 50mV] @ VDD=5V (Pre-Amp=24).The [-1/16,
15/16] mode is best for positive-skewed bridges [-10mV, 90mV] @VDD=5V (Pre-Amp=24).
Note for External Temperature Sensors: The A2D_Offset is always [-1/16, 15/16] for external temperature
sensors.
1
For the ZMD31014 RBiciLite revision A, only the parabolic curve is usable.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 14 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
Note: As a single ended input, the temperature input signal must fit in the voltage range 1V to (VDD/2-1.2V).
“PreAmp_Gain” Menu
The ZMD31014 RBiciLite PreAmp amplifies the bridge signal to produce the differential signal that will be
converted by the ADC. The PreAmp has eight possible analog gain settings: 1.5, 3, 6, 12, 24 (default), 48, 96,
1
and 192 . Use the “PreAmp_Gain” drop-down menus for “Bridge” and “Temperature” to select the PreAmp
gain settings, which are stored in EEPROM. (Note: This term is different from the digital gain terms Gain_B
and Gain_T, which are multiplied by the result of the ADC to compensate sensor span for bridge and
temperature measurements.)
Any bridge input signal greater than 40mV/V in differential mode will saturate the pre-amp if the gain is set to
24 (default). In this case, the pre-amp gain must be set to the lower value 12.
For very small differential input signals, the higher analog gain (e.g., 40) can improve the output resolution
(see section 1.4 in the datasheet), but the sensor offset must always be considered as well as sensor span.
Both the offset and span of the sensor are amplified by the pre-amp. With a high analog gain (48), the total
offset plus span cannot exceed 20mV/V differential. Otherwise the input to the ADC will be saturated.
Note for External Temperature Sensors: The PreAmp_Gain is usually set to 3 or 5, which always guarantees
the specified resolution.
Note: As a single ended input, the temperature input signal must fit in the voltage range 1V to (VDD/2-1.2V).
“Negative” Checkbox
To select negative bridge gain polarity, click on the “Negative” checkbox.
“LongInt” Checkbox
To select the longer conversion time for low noise, click on the “LongInt” checkbox. (For more details see the
ZMD31014 RBiciLite™Datasheet.)
“BSink” Checkbox
To enable the BSink power-saving option, click on the “BSink” checkbox.
“Gain8X” Checkbox
To multiply the Gain_B value (EEPROM word 0x04) by a factor of 8, click on the “Gain8X” checkbox.
1
For the previous silicon revision (A), the PreAmp gain settings were 1, 3, 5, 15, 24 (default), 40, 72, and 120.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 15 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
4.13 “Calibration” Button
To initiate a calibration run, click the “Calibration” button. This results in the calibration screen and dialog box
shown below. See section 5 for a full description of calibration and settings used on the “Calibration” window.
Figure 4.3 – Calibration Window
“Get ID” Button
The “Get ID” feature is not available yet for the RBiciLite™.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 16 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
5
Preliminary
Calibration
5.1
Calibration Sequence
TM
Although the RBiciLite can function with many different types of resistive bridges, assume it is connected to a
pressure bridge for the following calibration example. In this case, calibration essentially involves collecting
TM
raw bridge and temperature data from the RBiciLite for different known pressures and temperatures. This raw
data can then be processed by the calibration master (the PC), and the calculated coefficients can then be
TM
written to the EEPROM of the RBiciLite .
The software ZMD provides with the SSC Evaluation Kit is intended for demonstration purposes and
calibration of single units. ZMD can provide customers with algorithms and assistance in developing their full
production calibration software. For the following steps, refer to the calibration window shown in Figure 4.3.
There are three main steps to calibration:
TM
1. Assigning a unique identification to the RBiciLite . This identification is programmed in EEPROM
Cust_ID0 and Cust_ID1 registers and can be used as an index in the database stored on the
calibration PC. This database will contain all the raw values of bridge readings and temperature
readings for that part, as well as the known pressure and temperature to which the bridge was
exposed.
2. Collecting data. Data collection involves getting raw data from the bridge at different known pressures
and temperatures. This data is then stored on the calibration PC using the unique identification of the
TM
RBiciLite as the index into the database.
3. Calculating and writing coefficients to EEPROM. After enough data points have been collected to
calculate all the desired coefficients, the coefficients can be calculated by the calibrating PC and written
TM
to the EEPROM of the RBiciLite .
Figure 5.1 – Initialization Configuration Dialog Box
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 17 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
Step 1 – Assigning a Unique Identification (ASIC ID Section)
In the top middle of the calibration screen (see Figure 4.3), click on “Initialize.” In the resulting dialog box (see
Figure 5.1), verify or correct the configuration for the ZMD31014 RBiciLite under test and then click OK to
initialize the part. The part is assigned a unique ID, which is used as an index in the database. This unique ID
is also programmed into the EEPROM Cust_ID0 and Cust_ID1 registers. The software automatically loads
and writes unity values for Gain_B and Gain_T to the EEPROM and set the Offset_B to an ADC_Offset
related value. All other coefficients are set to zero. The raw data are collected with these settings in NOM.
Note: The default values shown in this dialog window are the previous settings and can differ from the actual
EEPROM contents, which will be overwritten by clicking the OK button.
Step 2 – Data Collection
“Common Calibration Type” Menu
Next, select the type of calibration required from the “Common Calibration Type” pull-down menu in the top
right of the calibration screen (see Figure 4.3). The number of unique points (for this example, pressure and
temperature points) at which calibration must be performed depends on the user’s requirements. The
minimum is a 2-point calibration, and the maximum is a 7-point calibration.
Depending on the number of calibration temperature points, a linear or second order temperature correction is
performed with 2 or 3 (respectively) temperature coefficients (Offset_T&Gain_T or
Offset_T&Gain_T&SOT_T).
In the left section of the calibration screen (see Figure 4.3), there is a graph (X-axis = Temperature, Y-axis =
Bridge). This graph outlines the recommended spread of points (pressure for this example and temperature)
to be used for calibration.
Based on statistical sensor measurements, a customer can decide to reduce the calibration costs by setting
user-selected default values for various calibration coefficients instead of using the calibration measurements.
In this case, enter the default values to be used for the selected calibration method in the coefficient entry
fields at the right of the calibration screen (see Figure 4.3). These fields will not be calculated by the chosen
calibration method. The calculation is disabled if there are entries for all defaults.
“Reset Defaults” Button
If needed, clicking the “Reset Defaults” button sets the default coefficients to 0x00 except Gain_B/Gain_T,
which are set to unity (0x2000) and Offset_B, which is set to a value related to the ADC offset (A2D_Offset
setting). See Table 5.1.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 18 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
Table 5.1 – Offset_B Default Values Determined by A2D_Offset Settings
A2D Input Range [VREF]
A2D_Offset
Offset_B(hex)
-15/16 to 1/16
15/16
0x1C00
-7/8 to 1/8
7/8
0x1800
-3/4 to 1/4
3/4
0x1000
-1/2 to 1/2
1/2
0x0000
-1/4 to 3/4
1/4
0xF000
-1/8 to 7/8
1/8
0xE800
-1/16 to 15/16
1/16
0xE400
“Bridge (%)” and “Temperature (°C)” Fields
TM
Place the bridge/RBiciLite pair to be calibrated in a controlled environment (for this example, a pressure and
temperature chamber), and stabilize the environment at the first desired calibration point.
→ Enter the target bridge readout in % (in this case, pressure) in the “Bridge (%)” field under
“Actual.” (See Figure 5.1.)
→ Enter the target temperature in °C in the “Temperature (°C)” field under “Actual.”
→ Click on “Add New Point.” The raw data (pressure and temperature) are obtained from the part, and the
point is displayed on the large graph. The point is graphed as the values entered in the previous two steps:
the X-axis is the target temperature reading and the Y-axis is the target % value.
→ Change the pressure/temperature of the bridge/ RBiciLite
many more points as needed.
TM
pair being calibrated and repeat. Take as
Hints:
For good calibration results, choose the temperature and bridge readout (%) values as close as possible to
the desired working range.
Step 3 – Calculating and Writing the Coefficients
“Calculate & Write Coefficients” Button
After enough data points have been collected to calculate the calibration coefficients, click the “Calculate &
Write Coefficients” button. The software calculates all the coefficients, writes them to EEPROM, and frees up
that index for future use. The bridge/IC pair is now calibrated. Before the software starts to calculate and write
the coefficients, all raw readings are stored in a text file (C:\Program Files\ZMD America\RBICiLite
Tester\caldata.txt).
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 19 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
5.2
Preliminary
Dry Run Calibration
Steps for a Dry Run Calibration using the Artificial Bridge on the Evaluation Board:
The following steps demonstrate a simple 2-point linear calibration using the artificial bridge on the Evaluation
Board.
Important: The jumpers must be connected on K6 (VBP) and K7 (VNP).
1.) Connect the SSC Communication (SSC CB) and the SSC ZMD31014 Evaluation Board. Insert the
TM
RBiciLite in the SOP-8 socket on the SSC Evaluation Board. The correct orientation for pin 1 is shown in
Figure 3.1.
2.) Connect a USB cable from the USB connector on the SSC CB to an available USB port on the PC. Verify
that the green PWR LED is lit on the SSC CB.
3.) Start the RBICiLite™ Tester software.
4.) Click “Find Port” to find the proper COM port.
5.) Click on “START CM.” If the setup is correct, the buttons in the lower part of the main window will be
activated.
6.) Click on “Calibration.” The calibration window appears (Figure 4.3).
7.) In the upper right section of the calibration window, under the “Common Calibration Types” drop-down
menu, choose “2-Pt Gain_B, Offset_B” calibration. The graph indicates the recommended pattern of two
bridge readings at the same temperature.
8.) Click on the “Initialize” button, and click “OK” to keep the default settings for the dialog box (Figure 5.2). A
TM
unique identifier is assigned to this RBiciLite and is written to its EEPROM
Figure 5.2 – Initialization Dialog Window with Default Values (Calibration with Artificial Bridge)
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 20 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
9.) The next step is to start data collection. Normally this would be done with a real bridge attached to the
TM
RBiciLite on a remote board in a controlled chamber. Instead, this dry run calibration uses the artificial
bridge inputs controlled by the on-board DAC. The DAC is controlled by the “Artificial Stimulus” slider bar
or its adjacent entry field at the top of the calibration window (see Figure 4.3).
a. Set the DAC control to 0x300 (hex).
b. Enter 10 in the “Bridge (%)” field under “Actual.”
c.
Click on “Add New Point.” The software obtains a raw reading from the part and graphs the new data
point.
d. Change the DAC setting to 0xD00.
e. Enter 90 in the “Bridge (%)” field under “Actual.”
f.
Click on “Add New Point” again. The software obtains a new raw reading from the part and graphs
the new data point.
10.) Because this is a 2-point calibration, the software has all the necessary data for calculating and writing
the coefficients. Click on “Calculate & Write Coefficients,” which should now be active.
11.) Close the calibration window. The temperature reading is not valid because not enough data points were
collected for temperature calibration.
12.) Start the Normal Operation Mode (NOM) by clicking on “START NOM” and read the measurement results
continuously (click Run Continuous).The DAC is now controlled by the “Artificial” slider below the data
read-outs and its adjacent entry field. Adjust the DAC, and check that the displayed values make sense.
For example, 0x800 should read 50% and 0xA80 should read 70%.
Steps for a Dry Run Calibration using the Sensor Replacement Board:
The following steps demonstrate a simple 2-point linear calibration using the artificial bridge on the Sensor
Replacement Board (SRB).
Important: The jumpers must be removed from connectors K6 (VBP) and K7 (VNP).
1.) Connect the SSC Communication (SSC CB), the SSC ZMD31014 Evaluation Board and SSC SRB. Insert
TM
the RBiciLite in the SOP-8 socket on the SSC Evaluation Board. The correct orientation for pin 1 is
shown in Figure 3.1.
2.) Connect a USB cable from the USB connector on the SSC CB to an available USB port on the PC. Verify
that the green PWR LED is lit on the SSC CB.
3.) Start the RBICiLite™ Tester software.
4.) Click “Find Port” to find the proper COM port.
5.) Click on “START CM.” If the setup is correct, the buttons in the lower part of the main window will be
activated.
6.) Click on “Calibration.” The calibration window appears (Figure 4.3).
7.) In the upper right section of the calibration window, under the “Common Calibration Types” drop-down
menu, choose “2-Pt Gain_B, Offset_B” calibration. The graph indicates the recommended pattern of two
bridge readings at the same temperature.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 21 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
8.) Click on the “Initialize” button, and change the default settings to the settings shown Figure 5-3 and click
TM
“OK”. A unique identifier is assigned to this RBiciLite and is written to its EEPROM.
Figure 5-3– Initialization Dialog Window with changed Values (Calibration with SRB)
9.) The next step is to start data collection. Normally this would be done with a real bridge attached to the
TM
RBiciLite on a remote board in a controlled chamber. Instead, this dry run calibration uses the Sensor
Replacement Board (SRB) as bridge inputs.
a. Turn the red potentiometer on the SRB all the way to the left.
b. Enter 10% in the “Bridge (%)” field under “Actual.”
c.
Click on “Add New Point.” The software obtains a raw reading from the part and graphs the new data
point.
d. Turn the red potentiometer on the SRB all the way to the right.
e. Enter 90% in the “Bridge (%)” field under “Actual.”
f.
Click on “Add New Point” again. The software obtains a new raw reading from the part and graphs
the new data point.
10.) Because this is a 2-point calibration, the software has all the necessary data for calculating and writing
the coefficients. Click on “Calculate & Write Coefficients,” which should now be active.
11.) Close the calibration window. The temperature reading is not valid because not enough data points were
collected for temperature calibration.
12.) Start the Normal Operation Mode (NOM) by clicking on “START NOM” and read the measurement results
continuously (click Run Continuous) to verify the output change according to the potentiometer position.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 22 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
6
Preliminary
ZMD31014 Software with the ZMD SSC Terminal
6.1
Protocol
The microcontroller (type ATmega32) on the SSC Communication Board (SSC CB) enables communication
TM
2
with the SSC Evaluation Board/ RBiciLite using the evaluation software running on the PC. The standard l C
protocol is implemented in the microcontroller’s software. The USB_UART IC on the SSC CB transfers the
signals from the microcontroller to the USB port of the PC.
For more details see the ZMD31xxxCommBoard_DS_Rev_*.pdf.
6.2
ZMD SSC Terminal
The ZMD SSC Terminal is the lowest level of communication for transferring commands from the PC to the
microcontroller on the SSC CB. A fully summary and detailed command description of the applicable
controller commands are given in ZMD31xxxKIT_CommandSyntax_Rev_*.xls.
Install the SSC Terminal V201.exe from the SSC CD-ROM, which will create a ZMD SSC Terminal icon on
the PC desktop. Click on this icon to active the terminal program. For the ZMD31014 communication mode,
2
use the setting explained for I C (bi-directional) or SPI (only reading).
For more details see the ZMD31014_RBic_iLite_Tech_Notes_Calib_DLL+Terminal_Comm.pdf.
Character Order
1
RBiciLite
3
4,5
6,7,8
<d…d>
R or W
T or _
Read or
Write
Trigger Power
Cycle or Not
Slave address )
(28h default)
Number of Bytes to
Read and Write
Blank for Read;
Data Bytes to Write
I
W
T
28
003
500000
I
R
_
28
002
I
Comments
Examples
2
rd
Hint: If “T” is sent for the 3 position (instead of “_”), the ZMD31014 is powered off and then on. “T” should be
used only if power cycling is necessary for operation.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 23 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
Figure 6.1 below shows a communication example. Write the command in the input line and press ENTER on
the keyboard or click on “Send.”
v
t11001
Readout of SSC CB’s firmware version.
Switch on both supplies with 10ms delay
between power on and first command.
Set timing for switch supply off to 20ms off
before trigger restart SSC.
Set communication speed to 100kHz.
Switch off all active channels, adjusted trigger
timing is preserved.
t_020:
io_1:
t00000:
iwt28003a00000
Start Command Mode with power on using
defined delay between power-on and start of
communication.
iw_2800340001b
Write to EEPROM adr.00 data 0x002b
(IC default slave adr. 0x28).
iw_280030000000000
I2C Send command 00 0000 to slave adr 28.
Read EEPROM adr 00.
ir_28003
Read 2(3) bytes (first byte is 5A as ACK) from
digital register.
Input Line – Enter
command here.
Figure 6.1 SSC Terminal Program Sample
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 24 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
7
Preliminary
Command/Data Pair Encoding
See the current version of the ZMD31014_iLite_Datasheet document for more details on commands.
2
In Command Mode, the master uses the I C protocol to send 4-byte commands to the RBiciite™. This 32-bit
2
2
I C packet command/data stream consists of a I C WRITE command byte, which is the 7-bit slave address
2
followed by the write bit 0 (e.g., 0x50 = I C WRITE command byte for the default slave address 0x28 and
write bit 0); then a command byte; and then16 data bits. See the ZMD31014_iLite_Datasheet document for a
detailed illustration of the WRITE command packet. Table 7.1 gives the format and valid range for the three
2
bytes that follow the initial I C WRITE command byte.
Note: Only the commands listed in Table 7.1 are valid for the RBiciLite™ in Command Mode. Other encodings
might cause unpredictable results. If data is not needed for the command, zeros must be supplied as data to
complete the 32-bit packet.
2
Table 7.1 – Encoding for the 3 Bytes after the Initial I C WRITE Command Byte
Command Byte
(Second Byte)
Third and
Fourth Bytes
8 Command Bits (Hex)
16 Data Bits(Hex)
Description
0x00 to 0x13
0x0000
EEPROM Read of addresses 0x00 to 0x13. After this command has
been sent and executed, a data fetch of three bytes must be
performed. The first byte will be a response byte, which should be a
0x5A, and then the next two bytes will be the EEPROM data.
0x40 to 0x53
0xYYYY
Write to EEPROM addresses 0x00 to 0x13.
(Y= data)
If the command is an EEPROM write, then the 16 bits of data sent will
be written to the address specified in the 6 LSBs of the command byte.
0x80
0x0000
Start_NOM => Ends Command Mode and transitions to Normal
Operation Mode. When a Start_NOM command is executed, a flag is
checked to see if EEPROM was programmed during Command Mode.
If so, the device will regenerate the checksum and update the
signature EEPROM word.
0xA0
0x0000
Start_CM => Start Command Mode; used to enter the command
interpreting mode. Start_CM is only valid during the power-on
command window.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 25 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
8
Preliminary
EEPROM Bits
See the current version of the ZMD31014_iLite_Datasheet document for more details on the EEPROM bits.
2
Table 8.1 – EEPROM Word/Bit Assignments Programmed via the I C Interface (RevB)
EEPROM
Word
Bit
Range
0x00
15:0
IC
Default
Description
Cust_ID0
ZMD_Config_1
Customer ID byte 0 (combines with EEPROM
Word 0x13 to form customer ID)
Bits in the ZMD_Config_1 EEPROM word control the following settings. Important: IC must be
power-cycled after changes to this word.
2:0
Reserved
Leave at factory settings
3
ClkSpeed
Digital Core Clock Frequency
0 = 4MHz
1 = 1MHz
4
Comm_Type
Serial Communication Type
2
0=I C
1 = SPI
5
Sleep_Mode
Normal Operation Mode
0 = Update Mode
1 = Sleep Mode
0x01
1MHz Clock
4MHz Clock
00 = 1.4ms
01 = 4.9ms
10 = 25.1ms
11 = 124.4ms
00 = 0.4ms
01 = 1.28ms
10 = 6.33ms
11 = 31.16ms
7:6
Update_Rate
8
Reserved
9
SOT_curve
11:10
TC_Sign
TC_Sign[0] = 1, Tco is a negative number.
TC_Sign[1] = 1, Tcg is a negative number.
SOT_Sign
SOT_Sign[0] =1, SOT_bridge is negative.
SOT_Sign[1] =1, SOT_tco is negative.
SOT_Sign[2] =1, SOT_tcg is negative.
SOT_Sign[3] =1, SOT_T is negative.
15:12
0x02
Note
ZMD_Config_2
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Leave at factory setting
Type of second-order curve correction on
bridge. If set to 0, the bridge SOT will correct
for a parabolic curve. If set to 1, the bridge SOT
will correct for an S-shaped curve.
Bits in the ZMD_Config_2 EEPROM word control the following settings. Important: IC must be
power-cycled after changes to this word.
Page 26 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
EEPROM
Word
Bit
Range
IC
Default
Preliminary
Description
Note
0
SPI_Polarity
Configure clock polarity of SPI interface
0 = MISO changes on SCLK negative edge.
1 = MISO changes on SCLK positive edge.
2:1
Diag_cfg
2-bit diagnostic configuration field.
Diag_cfg[0] enables sensor connection check.
Diag_cfg[1] enables sensor short checking.
Slave_Addr
I C slave address (default = 0x28). Valid range
is 0x00 to 0x7F.
Comm_lock
Communications address lock
011 => locked
All other => unlocked
2
When communication is locked, I C communication will only respond to its programmed
address. Otherwise if communication is
2
unlocked, I C will respond to any address.
15:13
EEP_Lock
EEPROM lock
011 = locked
All other = unlocked
When EEPROM is locked, the internal charge
pump is disabled and the EEPROM can never
be programmed again. NOTE: Next command
must be Start_NOM so that the signature is
calculated and written to EEPROM before
1
power down.
15:0
Offset_B
Signed 16-bit offset for bridge correction.
14:0
Gain_B
15-bit magnitude of bridge gain. Always
positive. Unity is 0x2000.
15
Gain8x_B
15:0
Tcg
2
9:3
12:10
0x03
0101000
011
0x04
0x05
Multiple Gain_B by 8
0 = Gain_B x 1
1 = Gain_B x 8
Coefficient for temperature correction of bridge
gain term. Tcg = 16-bit magnitude of Tcg term
with sign determined by TC_Sign[1].
1
If the part is power cycled instead, the lock will take effect, and the checksum will be permanently wrong. In this case,
the part will always output a diagnostic state.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 27 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
EEPROM
Word
Bit
Range
0x06
15:0
IC
Default
Preliminary
Description
Note
Tco
Coefficient for temperature correction of bridge
offset term. Tco = 16-bit magnitude of Tco term
with sign determined by TC_Sign[0].
SOT_tco
2 order term applied to Tco. This term is a 16bit magnitude with sign determined by
SOT_Sign[1].
SOT_tcg
2 order term applied to Tcg. This term is a 16bit magnitude with sign determined by
SOT_Sign[2].
2 order term applied to the bridge measurement. This term is a 16-bit magnitude with sign
determined by SOT_Sign[0]. SOT_curve
selects parabolic or S-shaped fit.
nd
0x07
15:0
nd
0x08
15:0
nd
0x09
15:0
SOT_bridge
0x0A
15:0
Offset_T
Temperature offset correction coefficient.
14:0
Gain_T
Temperature gain correction coefficient.
15
Gain8x_T
0x0B
Multiple Gain_T by 8
0 = Gain_T x 1
1 = Gain_T x 8
nd
2 order term applied to the temperature
reading. This term is a 16-bit magnitude with
sign determined by SOT_Sign[3]. Always a
parabolic fit.
0x0C
15:0
SOT_T
0x0D
15:0
TSETL
0x0E
15:0
Unused
Leave at factory settings
B_Config
Register
Front-end configuration word for measurement
of BP/BN (Bridge).
0x0F
Stores raw temperature reading at the temperature at which low calibration points were taken.
A2D_Offset [3:0]
3:0
A2D_Offset
[3:0]
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
1111
1110
1100
1000
0100
0010
0001
Page 28 of 39
A2D_Offset Point Shift
[-15/16,1/16]
[-7/8,1/8]
[-3/4,1/4]
[-1/2,1/2]
[-1/4,3/4]
[-1/8,7/8]
[-1/16,15/16]
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
EEPROM
Word
Bit
Range
IC
Default
Preliminary
Description
Note
PreAmp_Gain [2:0]
GAIN
000
100
001
101
010
110
011
111
1.5
3
6
12
24
48
96
192
6:4
PreAmp_Gain
[2:0]
7
Gain_Polarity
Gain polarity: 0=negative gain, 1=positive gain
8
LongInt
If 1, selects long integration period (11-coarse
+ 3 fine), which results in lower noise, slower
conversion; otherwise, the conversion is done
as (9 coarse + 5 fine).
9
Bsink
If 1, Bsink pull-down will be enabled during the
measurement.
11:10
PreAmp_Mux
[1:0]
12
Disable_Nulling
15:13
Reserved
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
PreAmp_Mux [1:0]
10
11
Measurement
Bridge
Single-ended input
Disable Nulling
0 = Nulling On
1 = Nulling Off (Use this setting if PreAmp gain ≤6.)
Leave at factory settings
Page 29 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
EEPROM
Word
Bit
Range
IC
Default
Preliminary
Description
T_Config
Register
Note
Front-end configuration word for temperature
measurement
A2D_Offset [3:0]
3:0
A2D_Offset
[3:0]
1111
1110
1100
1000
0100
0010
0001
[-15/16,1/16]
[-7/8,1/8]
[-3/4,1/4]
[-1/2,1/2]
[-1/4,3/4]
[-1/8,7/8]
[-1/16,15/16]
PreAmp_Gain [2:0]
6:4
PreAmp_
Gain[2:0]
0x10
7
Gain_Polarity
A2D_Offset Point Shift
GAIN
000
100
001
101
010
110
011
111
1.5
3
6
12
24
48
96
192
Gain polarity; 0 = negative, 1= positive gain.
8
LongInt
If 1, selects long integration period (11-coarse
+ 3 fine), for lower noise, slower conversion;
otherwise, the conversion is (9 coarse + 5 fine).
9
Bsink
If 1, Bsink pull-down will be enabled during the
measurement.
11:10
PreAmp_Mux
[1:0]
12
Disable_Nulling
15:13
Reserved
15:0
Reserved
Leave at factory settings
PreAmp_Mux [1:0]
00
01
Measurement
Ext. Temperature
Internal Temperature
Disable Nulling
0 = Nulling On
1 = Nulling Off (Use this setting if PreAmp gain ≤6.)
Leave at factory settings
0x12
15:0
Signature
Generated through a linear feedback shift
register (LFSR). Signature checked on powerup to ensure EEPROM contents integrity.
0x13
15:0
Cust_ID1
Customer ID byte 1 (combines with Word 0x00
to form customer ID).
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 30 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
9
Preliminary
Related Documents
ZMD31xxxKIT_CommBoard_DS.pdf
ZMD31xxxKIT_SensorReplacementBoard_DS.pdf
ZMD31xxxCommandSyntax.xls
ZMD31014 RBiciLite
TM
Datasheet
ZMD31014 RBiciLite
TM
SSC Kits Feature Sheet (includes ordering codes and price information)
ZMD31014 RBiciLite
TM
Die Dimensions and Pad Coordinates
For the current revisions of this document and of the related documents, please go to www.zmd.biz or contact
the ZMD sales team (see addresses on last page).
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 31 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
Appendix A: Schematic RBiciLiteTM SSC Evaluation Board
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 32 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
Appendix B: List of Error Messages in the Software
(TBD)
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 33 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
Appendix C: Format of the caldata.txt file
04/14/08 14:02:17 1208199737
3
2
3048 1176 0
72
35.7147 10 10.1563 25
64.3791 90 10.1563 25
Date
Time
Machine_TIME
ID
NUM_POINTS
B_CFG
T_CFG
OFFSET_B
CFG1
04/14/08
14:02:17
1208199737
3
2
3048
1176
0
128
RAW_B
BR
RAW_T
TEMP
35.7147
10
10.1563
25
64.3791
90
10.1563
25
The top line contains calibration specific information (1 part):
Date, time, and machine time of calibration
ID:Calibration ID number --this is what is programmed into the part for retrieval
SOT_TYPE: 0 Parabolic, 1 S-Shape
NUM_POINTS: Number of points currently in the calibration
B_CFG: Bridge configuration register EEPROM word 0x0F
T_CFG: Temperature configuration register EEPROM word 0x10
OFFSET_B ADC Shift related OFFSET_B (see Table 5.1)
CFG1: Configuration word Config1 (EEPROM word 0x01)
The next lines contain calibration point specific data:
RAW_B: Raw Bridge Readings
BR: Desired Bridge (“Actual”)
RAW_T: Raw temperature reading
TEMP: Desired Temperature (“Actual”)
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 34 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
Appendix D: Driver Installation on Windows 2000 Operating Systems
Follow these steps to install the basic USB driver on Windows 2000 operating systems:
1. Connect the SSC Evaluation Board to a USB port with a USB cable. The “Found New Hardware”
wizard automatically launches, and the following dialog box appears:
2. Click Next. The following dialog box appears. Select “Search for a suitable driver for my device
(recommended)”.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 35 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
3. Click on Next. The following dialog appears. Select “CD-ROM drives.”
4. Click on Next. The following display appears confirming that the driver was found on the CD-ROM
drive.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 36 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
5. Click on Next. The following display confirms the installation of the basic USB driver.
6. Click on Finish. The second USB driver installation automatically starts. This second required USB
driver causes the USB device to appear to the system as a virtual COM port. Follow the same steps
as outlined under Installing the Basic USB Driver above to complete this second driver installation.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 37 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
7. Verify that the new hardware is operating properly before continuing. Access the control panel by
clicking Start Settings Control Panel. Double click the “System” icon. The following dialog box
appears.
8. Click on the “Hardware” tab, and then on “Device Manager.” The following display appears.
If the USB is operating properly, “ZMD SSC Evaluation Kit (COMx)” appears under “Ports (COM &
LPT).” Typically, the “x” is 3 or 4. Remember this virtual COM port number. It is the COM port to
select when using the software provided with the SSC Evaluation Kit.
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
Page 38 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.
ZMD31014
RBiciLiteTM Low-Cost Sensor Signal Conditioner with I2C and SPI Output
SSC Evaluation Kit Documentation
Preliminary
Restrictions:
The ZMD AG RBicLite™ SSC Evaluation Kit hardware and software are designed for RBicLite™ evaluation,
laboratory setup and the SSC Evaluation module only.
The ZMD AG RBicLite ™ SSC Evaluation Kit hardware and software must not be used for module production
and production test setups. ZMD AG shall not be liable for any damages arising out of defects resulting from
(i) delivered hard and software (ii) non-observance of instructions contained in this manual, or (iii) misuse,
abuse, use under abnormal conditions or alteration by anyone other than ZMD AG. To the extent permitted by
law, ZMD AG hereby expressly disclaims and User expressly waives any and all warranties, whether express,
implied or statutory, including, without limitation, implied warranties of merchantability and of fitness for a
particular purpose, statutory warranty of non-infringement and any other warranty that may arise by reason of
usage of trade, custom or course of dealing.
This information applies to a product under development. Its characteristics and specifications are subject to change without notice. ZMD
assumes no obligation regarding future manufacture unless otherwise agreed to in writing. The information furnished hereby is believed
to be correct and accurate. However, ZMD shall not be liable to any customer, licensee or any other third party for any damages in
connection with or arising out of the furnishing, performance or use of this technical data. No obligation or liability to any customer,
licensee or any other third party shall result from ZMD’s rendering of technical or other services.
For further
information:
ZMD AG
Grenzstrasse 28
01109 Dresden, Germany
Phone +49 (0)351-8822-366
Fax +49 (0)351-8822-337
ZMD America, Inc.
201 Old Country Road, Suite 204
Melville, NY 11747, USA
Phone +01 (631) 549-2666
Fax +01 (631) 549-2882
[email protected]
www.zmd.biz
[email protected]
www.zmd.biz
Preliminary ZMD31014 SSC Evaluation Kit, Rev. 0.2, April 18, 2008
ZMD Far East
1F, No.14, Lane 268
Sec. 1 Guangfu Road
HsinChu City 300
Taiwan
Phone +886.3.563.1388
Fax +886.3.563.6385
[email protected]
www.zmd.biz
Page 39 of 39
© ZMD AG, 2008
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 preliminary and subject to changes without notice.