MAS MAS6502

DA6502.008
29 November 2012
MAS6502
Piezoresistive Sensor
Signal Interface IC
• Optimized for Piezoresistive
Pressure Sensors
• Very Low Power Consumption
• Ratiometric 16 Bit ∆Σ ADC
• Linearity 14 Bits
• Internal Clock Oscillator
• Serial Data Interface (I2C Bus)
• 256 Bit EEPROM Memory
DESCRIPTION
MAS6502 is a 16 bit Analog-to-Digital Converter
(ADC), which employs a delta-sigma (∆Σ)
conversion technique. With the linear input signal
range of 260 mVPP the linearity is 14 bits.
MAS6502 is designed especially to meet
the requirement for low power consumption, thus
making it an ideal choice for battery powered
systems. The MAS6502 is equipped with a standby
function, i.e. the ADC is in power down between
each conversion. By utilizing this and overall low
power consumption, current consumption values of
2.5 µA (one pressure conversion in a second with
full 14-bit accuracy) or less can be achieved.
MAS6502 has an on-chip second order
decimator filter to process the output of the second
order ∆Σ -modulator. The ADC also has four
selectable input signal ranges with one optional
offset level. An internal trimmed clock oscillator
provides a system clock signal (DCLK) eliminating
the need for an external clock signal.
2
A bi-directional I C bus compatible 2-wire
serial bus is used for configuring conversion
parameters, starting conversion and reading out the
A/D conversion result.
MAS6502 has one input channel suitable
for a piezoresistive pressure sensor. In addition to
pressure measurement the device can be
configured also for temperature measurement.
The 256-bit EEPROM memory is available
for storing trimming and calibration data on chip.
FEATURES
APPLICATIONS
•
•
•
•
•
•
•
•
•
•
•
•
Low Standby Current Consumption 0.05 µA Typ
Very Low Supply Current: 0.4 µA…2.5 µA Typ
Supply Voltage: 2.0 V…3.6 V
Ratiometric ∆Σ Conversion
Selectable Input Signal Ranges (VDD=2.35V):
325 mVPP, 220 mVPP, 150 mVPP, 100 mVPP
Selectable Optional Offset (VDD=2.35V):
33 mV
Selectable Sensor Resistance Values
5 kΩ, 4.5 kΩ, 4 kΩ, 3.4 kΩ
Over Sampling Ratio: 512, 256, 128, 64
Internal System Clock Signal 100 kHz
Conversion Times 0.8 ms…10.6 ms Typ
2
2-Wire Serial Data Interface (I C Bus)
256 Bit EEPROM Memory
Good Noise Performance due to ∆Σ
Architecture
•
•
•
•
•
•
Calibrated Piezoresistive Pressure Modules
Temperature measurement
Battery Powered Systems
Low Frequency Measurement Applications
Current/Power Consumption Critical Systems
Industrial and Process Control Applications in
Noisy Environments
I2C is a registered trademark of NXP.
1 (20)
DA6502.008
29 November 2012
BLOCK DIAGRAM
TE3
VDD
OSC
EEPROM
VREFP
PI
P
SDA
T
NI
ADC
P
COMMON
R3
VDD
2
CONTROL
IC
SCL
T
XCLR
VREFN
R1
EOC
R4
P
T
R2
T
MAS6502
TEST
TE1
GND
TE2
Figure 1. MAS6502 block diagram
ABSOLUTE MAXIMUM RATINGS
All Voltages with Respect to Ground
Parameter
Symbol
Supply Voltage
Voltage Range for All Pins
Latchup Current Limit
VDD
Junction Temperature
Storage Temperature
TJmax
TS
ILUT
Conditions
For all pins, test according to
JESD78A.
Note 1
Min
Max
Unit
-0.3
-0.3
-100
5.0
VIN + 0.3
+100
V
V
mA
- 55
+ 150
+125
°C
°C
Note 1. See EEPROM memory data retention at hot temperature. Storage or bake at hot temperatures will reduce the wafer level trimming
and calibration data retention time.
Note: The absolute maximum rating values are stress ratings only. Functional operation of the device at conditions between maximum
operating conditions and absolute maximum ratings is not implied and EEPROM contents may be corrupted. Exposure to these conditions
for extended periods may affect device reliability (e.g. hot carrier degradation, oxide breakdown). Applying conditions above absolute
maximum ratings may be destructive to the devices.
Note: This is a CMOS device and therefore it should be handled carefully to avoid any damage by static voltages (ESD).
RECOMMENDED OPERATION CONDITIONS
Parameter
Supply Voltage
Supply Voltage at EEPROM
Programming
Operating Temperature
Symbol
VDD
VDD
TA
Conditions
Min
Typ
Max
Unit
T=+25°C. Note 1.
2.0
3.0
2.35
3.3
3.6
3.6
V
V
-40
+25
+85
°C
The device performance may deteriorate in the long run if the Recommended Operation Conditions limits are continuously exceeded.
Note 1. It is recommended to program the EEPROM at room temperature.
2 (20)
DA6502.008
29 November 2012
ELECTRICAL CHARACTERISTICS
TA = -40oC to +85oC, VDD = 2.0V to 3.6V, Typ TA = 27oC, Typ VDD = 2.35 V, Rsensor = 4.5kΩ unless otherwise noted
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Average ADC Current
during Conversion Time
Average ADC Current in
Pressure Measurement
during Conversion Period
(no sensor current
included)
Average ADC Current in
Temperature Measurement
during Conversion Period
(no sensor current
included)
Average Supply Current in
Pressure Measurement
during Conversion Period
(including sensor bridge
current)
Average Supply Current in
Temperature Measurement
(including sensor bridge
current)
ICONV
80
100
185
200
330
350
µA
0.4
0.2
0.1
0.06
1.0
0.5
0.3
0.15
1.7
0.9
0.5
0.26
µA
0.8
0.4
0.2
0.1
2.0
1.0
0.5
0.3
3.5
1.8
0.95
0.5
µA
1.8
0.95
0.5
0.3
2.4
1.2
0.7
0.4
3.1
1.6
0.9
0.5
µA
1.4
0.7
0.4
0.2
0.6
2.5
1.3
0.7
0.4
0.7
4.0
2.1
1.1
0.6
0.85
µA
ISC_P
Pressure mode
Temperature mode
1 conversion/s, Rsensor = 4.5 kΩ,
OSR=512
OSR=256
OSR=128
OSR=64
1 conversion/s, Rsensor = 4.5 kΩ,
OSR=512
OSR=256
OSR=128
OSR=64
1 conversion/s, Rsensor = 4.5 kΩ,
OSR=512
OSR=256
OSR=128
OSR=64
1 conversion/s, Rsensor = 4.5 kΩ,
OSR=512
OSR=256
OSR=128
OSR=64
VDD = 2.35 V, Rsensor = 4.5 kΩ
mA
ISC_T
VDD = 2.35 V, Rsensor = 4.5 kΩ
0.2
0.3
0.46
mA
ISS
VDD = 2.35 V
Note 1.
Pressure measurement
Temperature measurement
DCLK = 100 kHz,
OSR=512
OSR=256
OSR=128
OSR=64
DCLK = 50 kHz,
OSR=512
OSR=256
OSR=128
OSR=64
Note 2.
0.05
0.5
µA
85
42.5
100
50
113
56.5
kHz
4.6
2.4
1.2
0.7
5.3
2.7
1.5
0.8
6.2
3.2
1.7
0.95
9.3
4.8
2.5
1.4
10.6
5.5
2.9
1.6
12.4
6.4
3.4
1.9
400
Peak Supply Current
During Pressure
Measurement
Peak Supply Current
During Temperature
Measurement
Standby Current
Internal System Clock
Frequency
Pressure Conversion Time
Temperature Conversion
Time
VDD Rise Time for Proper
Power On Reset (POR)
IADC_P
IADC_T
ISAVG_P
ISAVG_T
DCLK
tCONV_P
tCONV_T
t VDD_RISE
ms
ms
ns
Note 1. Leakage current may increase if digital input voltages are not close to VDD (logic level high) or GND (logic level low)
Note 2. Device reset by using XCLR pin or reset register (30HEX) is necessary in case the VDD rise time is longer than specified here.
3 (20)
DA6502.008
29 November 2012
ELECTRICAL CHARACTERISTICS
TA = -40oC to +85oC, VDD = 2.0V to 3.6V, Typ TA = 27oC, Typ VDD = 2.35 V, Rsensor = 4.5kΩ unless otherwise noted
Parameter
Resolution
Noise (one sigma)
Symbol
NBIT
VLSB
VN
INL
VDD Sensitivity in
Pressure Mode
VDDSENSP
VDD Sensitivity in
Temperature Mode
VDDSENST
Linearity in Bits
Min
OSR=512
ISR = 325 mV
ISR = 100 mV
Note 1.
OSR=512, ISR = 325 mV
LIN
OSR = 512, TA = 27 C
ISRLIN = 260 mV
OSR=512, VDD = 2.35V,
o
TA = 27 C
ISRLIN = 260 mV
ISRLIN = 100 mV
Note 2.
Pressure mode, OSR=512,
o
ISR = 325mV, TA = 27 C
VDD step 3.6V ⇒ 2.0V
Temperature mode, OSR=512,
o
ISR = 325mV, TA = 27 C
VDD step 3.6V ⇒ 2.0V
o
ISRLIN = 260 mV, TA = 27 C
OSR=512
OSR=256
OSR=128
OSR=64
Note 3.
Input Signal Range
ISR
Linear Input Signal
Range
ISRLIN
10%...90% range (80%) of ISR
Input Signal Offset
OFFSET
+33mV selection
No offset selection
OSR=512
OSR=256
OSR=128
OSR=64
OSR=512
OSR=256
OSR=128
OSR=64
Output Code Values
Linear Range Output
Code Values
(10%...90% of Whole
Code Range)
Typ
Max
Unit
16
Bit
5
1.5
µV
3.4
µVRMS
0.68
LSB
±20
µV
o
Accuracy
Integral Nonlinearity
Conditions
CODE
±2.7
±6.2
±6
1)
±14
1)
LSB
±15
±40
LSB
±80
±150
LSB
14
13
12
10
Bit
325
220
150
100
260
176
120
80
33
0
mV
0
0
0
0
6515
3239
800
195
mV
mV
65152
32385
8001
1953
58637
29147
7201
1758
1) Guaranteed by design
Note 1. ISR (ISRLIN) and OSR refer to the ADC control register bits, see table 2 on page 8.
Note 2. Integral nonlinearity calculated from best fit line to linear input signal range containing 21pcs analysis points.
Note 3. Linearity in bits calculated from LIN=log(CODELIN/INL)/log(2)=log(80%*CODEMAX/INL)/log(2)
4 (20)
DA6502.008
29 November 2012
ELECTRICAL CHARACTERISTICS
TA = -40oC to +85oC, VDD = 2.0V to 3.6V, Typ TA = 27oC, Typ VDD = 2.35 V, Rsensor = 4.5kΩ unless otherwise noted
Parameter
Symbol
Temperature
Measurement Resistors
R1
R2
R4
R3
Temperature
Coefficient of
Temperature
Measurement Resistors
EEPROM size
Conditions
Rsensor = 5 kΩ
Rsensor = 4.5 kΩ
Rsensor = 4 kΩ
Rsensor = 3.4 kΩ
Min
Typ
Max
Unit
-19%
13900
30600
30600
8900
9400
9900
10500
-180
+19%
Ω
+19%
Ω
-19%
TCR
Note 1.
EEPROM data write
time
EEPROM data erase
time
EEPROM data retention
ppm / °C
256
bit
Note 2.
16
ms
Note 3.
8
ms
TA = +85 °C
TA = +125 °C
10
24
1
years
Note 1. 8 bits out of 256 bits are reserved for internal oscillator trimming. The remaining 248 bits can be freely used for storing
calibration coefficients and other data.
Note 2. There should be at least a 16ms delay after each EEPROM write since EEPROM programming can take up to 16ms.
Note 3. There should be at least a 8ms delay after each EEPROM erase since EEPROM erasing can take up to 8ms.
Digital inputs
TA = -40oC to +85oC, VDD = 2.0V to 3.6V, Typ TA = 27oC, Typ VDD = 2.35 V, RP = 4.7kΩ (I2C bus pull up) unless otherwise noted
Parameter
Symbol
Input High Voltage
VIH
Input Low Voltage
VIL
Serial Bus Clock
Frequency
XCLR Reset Pulse
Length
XCLR Pin Pull Up
Current
fSCL
Conditions
Min
Typ
80%
VDD
0%
VDD
tXCLR
XCLR low pulse
200
IPULL_UP
XCLR=0V
-1
Max
Unit
100%
VDD
20%
VDD
400
V
V
kHz
ns
-8
-80
µA
Digital outputs
TA = -40oC to +85oC, VDD = 2.0V to 3.6V, Typ TA = 27oC, Typ VDD = 2.35 V, RP = 4.7kΩ (I2C bus pull up) unless otherwise noted
PARAMETER
SYMBOL
CONDITIONS
Output high voltage
VOH
ISource=0.6mA
Output low voltage
VOL
ISink=0.6mA
Signal rise time
(from 10% to 90%)
Signal fall time
(from 90% to 10%)
tr
EOC pin, CL=50pF
SDA pin, CB=50pF
EOC pin, CL=50pF
SDA pin, CB=50pF
tf
MIN
TYP
80%
VDD
0%
VDD
14
550
11
11
MAX
UNIT
100%
VDD
20%
VDD
V
V
ns
ns
5 (20)
DA6502.008
29 November 2012
OPERATING MODES
MAS6502 has two operating modes, pressure and
temperature measurement mode. In the pressure
mode the pressure dependent sensor bridge
voltage is connected to the ADC input. In the
temperature measurement mode the resistive
sensor is connected into a Wheatstone resistor
bridge circuit together with four internal resistors
(see Temperature Measurement Configuration in
the Application Information chapter) and the
temperature dependent bridge output voltage is
connected to the ADC input.
Switching between pressure and temperature
measurement modes is done via the single ADC
control register. The measurement configuration
includes selection of over sampling ratio, input
signal range, offset and sensor resistance. By
writing an 8-bit configuration data to the ADC
control register a new A/D conversion is started.
See further details in the ADC Control Register
chapter.
MAS6502 includes a 256-bit EEPROM memory for
storing trimming and calibration data on chip. The
first 8-bits of EEPROM are reserved for internal
oscillator trimming but the remaining 248-bits are
free for calibration and other data.
The stored calibration data should comprise of
calibration
and
temperature
compensation
coefficients which can be used to calculate accurate
calibrated pressure and temperature measurement
results from the non-calibrated measurement
results. All calculations need to be done in the
external micro controller unit (MCU).
A calibrated MAS6502 sensor system is operated
as illustrated in figure 2. The calibration and
compensation coefficients need to be read to the
MCU memory only once. From each pair of
pressure and temperature measurements results
the accurate pressure and temperature values are
then calculated by using the external MCU.
All communication with MAS6502 is done using the
2
bi-directional I C bus compatible 2-wire serial bus.
Starting an A/D conversion, reading out the
conversion result and reading and writing data from
and to the EEPROM memory are all accomplished
via serial bus communication.
2
In addition to the I C bus the digital interface
includes also end-of-conversion (EOC) and master
reset (XCLR) pins. See A/D Conversion in the Serial
2
Data Interface (I C Bus) Control chapter.
START
READ EEPROM
CALIBRATION DATA
MEASURE PRESSURE
MEASURE TEMPERATURE
CALCULATE CALIBRATED
TEMPERATURE
CALCULATE TEMPERATURE
COMPENSATED PRESSURE
Figure 2. Flow chart for a calibrated MAS6502 sensor system
6 (20)
DA6502.008
29 November 2012
REGISTER AND EEPROM DATA ADDRESSES
MAS6502 includes a 32 bytes (256 bits) EEPROM
data memory. The first EEPROM byte at address
40HEX is reserved for internal clock oscillator
frequency trimming. The remaining 31 bytes (248
bits) in memory addresses 41HEX …5FHEX are free
Table 1. Register and EEPROM data addresses
A7
A6
A5
A4
A3
A2
A1
A0
for storing
MAS6502
Addressing
See table
addresses.
HEX
(X=0)
X
0
0
0
0
0
0
0
00
X
X
0
1
0
0
A4
0
A3
0
A2
0
A1
0
A0
0
01…1F
40
X
1
0
A4
A3
A2
A1
A0
41…5F
X
X
1
1
0
0
0
0
30
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
1
1
0
0
1
1
1
0
1
0
1
0
1
0
1
37
38
39
3A
3B
3C
3D
3E
3F
sensor calibration and other data.
also contains ten 8-bit registers.
the reset register triggers device reset.
1 for register and EEPROM data
Description
EEPROM; erase internal clock oscillator
trimming, reserved!
EEPROM; erase data at address [A4:A0]
EEPROM; read or write internal clock
oscillator trimming, reserved!
EEPROM; read or write data at address
[A4:A0]
Reset register; contains no data, write
any dummy data for a reset
Test and trim control register
Oscillator frequency control register
Data input register for EEPROM
Control register for EEPROM
Write and erase enable for EEPROM
Status register for EEPROM
MSB conversion result
LSB conversion result
ADC control register
Note
E
E
E
E
R
R
R
R
R
R
R
R
R
R
X = Don’t care, E = EEPROM, R= Register
EEPROM addresses 01HEX …1FHEX are used for
erasing the data at the addressed bytes whereas
EEPROM addresses 41HEX …5FHEX are for
read/write of addressed bytes. In case of writing the
data the EEPROM address or block when
necessary is erased automatically before writing
new data on it. There should be at least a 16ms
delay after each EEPROM write since EEPROM
programming can take up to 16ms. For EEPROM
erase this delay should be at least 8ms.
There is no need for internal oscillator trimming
since this is done during wafer level testing.
EEPROM data input register (39HEX) is automatically
used in all EEPROM data transfers. There is no
need to address this register manually except when
doing a “block write” when data must be written to
the input register before giving the block write
command. EEPROM control register (3AHEX) is for
special EEPROM functions like block erase, block
write and test modes.
Reset register (30HEX) does not contain any data.
Any dummy data written to this register forces a
reset.
A reset initializes all control registers
(addresses 37HEX…3FHEX) to a zero value.
The EEPROM write and erase enable register
(3BHEX) is used to protect the calibration memory
against accidental write/erase. After reset (power on
reset, XCLR) this register is set to %00000000
(00HEX) and the EEPROM memory erase/write is
disabled. The EEPROM erase/write is enabled only
when this register value is set to %01010101
(55HEX). EEPROM status register (3CHEX) is used for
EEPROM error correction status.
Test and trim control register (37HEX) is for testing
and trimming purposes.
The oscillator frequency control register (38HEX) is
used only during internal clock oscillator trimming.
During trimming this register value is iterated to find
desired oscillator frequency. When the correct value
is found it can be written to the EEPROM internal
clock oscillator trimming register (40HEX). In normal
operation the trimming value is automatically read
from the EEPROM memory during startup. Note:
The MSB and LSB conversion result registers
(3DHEX and 3EHEX) contain the last 16-bit A/D
conversion result. The ADC control register (3FHEX)
is used for configuring and starting A/D
conversions. See chapter ADC Control Register for
details.
7 (20)
DA6502.008
29 November 2012
ADC CONTROL REGISTER
Table 2. MAS6502 ADC control register bit description
Bit Number
Bit Name
Description
7-6
OSRS
Over Sampling Ratio
(OSR) selection
5
PTS
4-3
ISR
Pressure/Temperature
Selection
Input Signal Range
2
OSSELECT
Offset Selection
1-0
RSSELECT
Sensor Resistance
Selection for
Temperature
Measurement Mode
MAS6502 has an ADC control register for
configuring the measurement setup. A new
conversion is started simply by writing 8-bit
configuration data to the ADC control register. See
table 2 for ADC control register bit definitions. ADC
control register values are set via the 2-wire serial
data interface. Note: The device should not be
addressed via serial bus before the conversion has
been ended. Reading or writing to device during the
conversion may corrupt the conversion result.
The first two OSRS bits of the control register
defines four selectable over sampling ratios. The
higher the OSR is set the better is the ADC
resolution, but the conversion time gets longer.
Value
Function
11
01
10
00
1
0
11
10
01
00
1
0
OSR = 512
OSR = 256
OSR = 128
OSR = 64
Pressure Measurement
Temperature Measurement
325 mV (260 mV linear range)
220 mV (176 mV linear range)
150 mV (120 mV linear range)
100 mV (80 mV linear range)
11
10
01
00
+33 mV
No offset
Rsensor = 3.4 kΩ
Rsensor = 4.0 kΩ
Rsensor = 4.5 kΩ
Rsensor = 5.0 kΩ
The ISR bits selects between four A/D input signal
ranges.
The OSSELECT bit is used to enable or disable an
offset for the input signal.
The two RSSELECT bits selects between four
sensor resistance options. The selection sets the
internal R3 resistor value to balance the
Wheatstone bridge circuit formed by the sensor
resistance and four internal resistors R1, R2, R3
and R4. See Electrical Characteristics for resistor
values.
The PTS bit selects between pressure and
temperature measurement. For temperature
measurement the sensor is connected in the
Wheatstone bridge configuration together with four
integrated resistors. See figure 5 on page 15.
8 (20)
DA6502.008
29 November 2012
TEST AND TRIM CONTROL REGISTER
Pins TE1 (output), TE2 (input) and TE3
(input/output) are used for testing purposes. In
normal use these pins are left floating.
TE2=0: normal operation, (pull down resistor on
chip). TE1 is driven high.
programmed to the EEPROM (address 40HEX). The
nominal frequency, 200kHz, is designed to occur
when OSCF(5:0) = 28HEX. Note: There is no need
for internal oscillator trimming since this is
done during wafer level testing.
If TRIMALLREG=0 then data from EEPROM
address 40HEX will be used to adjust the oscillator.
TE2=1: the converter is in continuous integration
mode. The sigma - delta modulator latch output is
connected to the TE1 pin and TE1 is also
connected to the on-chip decimator input. This way
an external decimator can use the TE1 pin signal
and the results from the external and the on-chip
decimator can be compared.
When bit 1 (EXTCLK) in test register REG37HEX is
set to 1 the internal oscillator is turned off and an
external clock signal can be connected to the TE3
pin. This enables the use of an external conversion
clock.
Oscillator trimming: Test register REG37HEX bit 0
(MEASOSC) turns the oscillator on and connects
the oscillator output to the TE3 pin for frequency
measurement.
Test register REG37HEX bit 4 (ICLKDIV) enables
clock division, forcing the A/D conversion to run at
half the speed. Clock division is also used when an
external clock is used (EXTCLK bit is set).
REG37HEX bit 2 (TRIMALLREG) is used for
oscillator trimming. When set to 1, the six least
significant bits OSCF(5:0) in REG38HEX are used to
adjust the oscillator frequency (see table 4). When
the right frequency is obtained the trim value can be
Test register REG37HEX bit 3 (ISAMPL) enables
refreshing sensor sample only at every fourth clock
cycle for additional power saving but with increased
sampling noise level.
Table 3. MAS6502 test and trim control register (37HEX). Only bits (4:0) are used.
Bit Number
Bit Name
Description
Value
7…5
4
ICLKDIV
3
ISAMPL
2
TRIMALLREG
1
EXTCLK
Additional clock
division
Sample refresh
mode selection
Trim bits from
register
External clock mode
0
MEASOSC
Oscillator test mode
X
0
1
0
1
0
1
0
1
0
1
Function
100kHz/50kHz to SDM
50kHz/25kHz to SDM
Refresh at every clock cycle
Refresh at fourth clock cycle
Normal operation
OSC trim register in use
Normal operation
External clock from TE3
Normal operation
OSC output to TE3
X = Don’t care, SDM = Sigma delta modulator
Table 4. MAS6502 oscillator frequency control register (38HEX). Only bits (5:0) are used.
Bit Number
Bit Name
Description
Value
Function
7…6
5…0
OSCF
X
11111
…
00000
200kHz oscillator frequency
trimming value
X = Don’t care
Note: It is recommended to not change oscillator frequency trimming value since trimming is done during wafer level testing.
9 (20)
DA6502.008
29 November 2012
EEPROM SPECIAL FUNCTIONS
Register (3AHEX) controls the special EEPROM
functions that includes EEPROM block erase, write
and test functions. See table 5. The EEPROM
control register functions are not needed in normal
EEPROM use such as read and write operations.
The 256-bit EEPROM consists of two 128-bit
blocks, so block erase and block write applies only
to one half of the EEPROM, selectable by the A4
address bit (see table 1). To erase or write the
whole EEPROM, block erase or write needs to be
done twice: for A4=0 and for A4=1. It is
recommended to not use block erase or write
functions to avoid accidental internal oscillator
trimming data overwriting at A4=0 memory block.
Table 5. MAS6502 EEPROM control register (3AHEX)
Bit Number
Bit Name
Description
7
EBE
EEPROM Block Erase
6
EBW
EEPROM Block Write
5
EETEST
4-3
VEE[1:0]
EEPROM Test Mode
Enable
EEPROM test read
mode selection
2
CPTEST
1
0
DMA
PARITY
Charge pump test
input pin
Direct Memory Access
Parity Access
Setting the EEPROM control register bit 7 (EBE) to
1 will erase the EEPROM memory block (128 bits)
specified by the A4 bit. Erased memory block
consists of zeroes.
Setting bit 6 (EBW) to 1 will force the EEPROM
memory block specified by the A4 bit to be
programmed to the same 8-bit word found in the
EEPROM data input register (39HEX).
Note: after block operations the block erase (EBE)
or write (EBW) control bit need to be written back to
value 0 to return normal operation.
Value
Function
0
1
0
1
Erase 128-bit block of EEPROM
Write EEPROM data input
register (39HEX ) data into 128-bit
block of EEPROM
Test mode enabled
Internal high test read
Internal low test read
FORBIDDEN
FORBIDDEN
Programming allowed
Output protection of CP disabled
TBD
TBD
0
1
11
10
00
01
0
1
TBD
TBD
TBD = To be defined
The MAS6502 EEPROM status register (3CHEX), bits (7:6), reflect the EEPROM operation status. See table 6.
This register can be used to verify that the EEPROM operation has been accomplished without errors.
Table 6. MAS6502 EEPROM status register (3CHEX). Only bits (7:6) are used.
Bit Number
Bit Name
Description
Value
7
ERROR
6
DED
5-0
EEPROM error
detection
EEPROM double
error detection
0
1
0
1
X
Function
No errors
1 (or more) data error(s)
No errors
2 (or more) data errors
-
X = Don’t care
10 (20)
DA6502.008
29 November 2012
SERIAL DATA INTERFACE (I C BUS) CONTROL
2
Serial Interface
MAS6502 has an I C bus compatible two wire
serial data interface comprising of serial clock
(SCL) and bi-directional serial data (SDA) pins. Both
2
the SCL & SDA lines, in the I C bus, are of opendrain design, thus, external pull-up resistors are
needed.
2
The serial data interface is used to configure and
start the A/D conversion and read the measurement
result when the A/D conversion has been finished.
The digital interface includes also end of conversion
(EOC) and master reset (XCLR) pins. The EOC
goes high when the A/D conversion has finished.
communication bus and sets internal registers and
counters to value 00HEX. After connecting the supply
voltage to MAS6502, and before starting operating
the device via the serial bus, it is required to reset
the device with the XCLR reset pin or using reset
register (30HEX) if the supply voltage rise time has
been longer than 400 ns. If the supply voltage rise
time is shorter than this making an external reset is
not necessary since the device is automatically
reset by the power on reset (POR) circuitry. It is
however recommended to use the XCLR reset
feature to solve unexpected error state conditions.
The XCLR pin can be left unconnected when not
used. It has internal pull up to VDD. See Electrical
Characteristics for the XCLR Pin Pull Up Current.
The XCLR signal is active low and used to reset the
A/D converter. A reset initializes the serial
Device Address
The I C bus definition allows several I C bus
devices to be connected to the same bus. The
devices are distinguished from each other by unique
device address codes. MAS6502 device address is
2
2
Table 7. MAS6502 device address
A7 A6 A5 A4 A3 A2 A1
1
1
1
0
1
1
1
shown in table 7. The LSB bit of the device address
defines whether the bus is configured for Read (1)
or Write (0) operation.
W/R
0/1
I C Bus Protocol Definitions
2
Data transfer is initiated with a Start bit (S) when
SDA is pulled low while SCL stays high. Then, SDA
sets the transferred bit while SCL is low and the
data is sampled (received) when SCL rises. When
the transfer is complete, a Stop bit (P) is sent by
releasing the data line to allow it to be pulled up
while SCL is constantly high.
data bit. Data must be held stable at the SDA pin
when SCL is high. Data at the SDA pin can change
value only when SCL is low.
Each SDA line byte must contain 8-bits when the
most significant bit (MSB) is always first. Each byte
has to be followed by an acknowledge bit (see
further below). The number of bytes transmitted per
transfer is unrestricted.
Figure 3 shows the start (S) and stop (P) bits and a
S
SDA
SCL
1
0
P
Figure 3. I C bus protocol definitions
2
Bus communication includes Acknowledge (A) and
not Acknowledge (N) messages. To send an
acknowledge the receiver device pulls the SDA low
for one SCL clock cycle. For not acknowledge (N)
the receiver device leaves the SDA high for one
SCL clock cycle in which case the master can then
generate either a Stop (P) bit to abort the transfer,
or a repeated Start (Sr) bit to start a new transfer.
Abbreviations:
A= Acknowledge by Receiver
N = Not Acknowledge by Receiver
S = Start
Sr = Repeated Start
P = Stop
= from Master (MCU) to Slave (MAS6502)
= from Slave (MAS6502) to Master (MCU)
11 (20)
DA6502.008
29 November 2012
SERIAL DATA INTERFACE (I C BUS) CONTROL
2
Conversion Starting – Write Sequence
Conversion is started by writing configuration bits
into the ADC control register. The write sequence is
illustrated in Table 8.
Table 8. MAS6502 I C bus write sequence
S
AW
A
AC
A
DC
A
P
2
Abbreviations:
AW = Device Write Address (%1110 1110)
AR = Device Read Address (%1110 1111)
AC = ADC Control Register Address (%1111 1111)
Ax = MSB (x=M, %1111 1101) or LSB (x=L, %1111
1110) ADC Result Register Address
Each serial bus operation, like write, starts with the
start (S) bit (see figure 3). After start (S) the
MAS6502 device address with write bit (AW, see
table 7) is sent followed by an Acknowledge (A).
After this the ADC control register address (see
DC = ADC Control Register Data
Dx = MSB (x=M) or LSB (x=L) ADC Result Register
Data
table 1) is sent and followed by an Acknowledge
(A). Next the ADC control register data (DC, see
table 2) is written and followed by an Acknowledge
(A). Finally the serial bus operation is ended with a
stop (P) command (see figure 3).
A/D Conversion
After power-on-reset or external reset (XCLR) the
EOC output is high. After an A/D conversion is
started the EOC output is set low until the
conversion is finished and the EOC goes back high,
indicating that the conversion is done and data is
ready for reading. The EOC is set low only by
starting a new conversion. To save power the
internal oscillator runs only during conversion.
Conversion Result – Read Sequence
During the A/D conversion period the input signal is
sampled continuously leading to an output
conversion result that is a weighted average of the
samples taken. Note: The device should not be
addressed via serial bus before the conversion has
ended. Reading or writing to the device during the
conversion may corrupt the conversion result.
Table 9 shows a general control sequence for a
single register data read.
Table 9. MAS6502 I C bus single register (address Ax) read sequence
S
AW
A
Ax
A
Sr AR
A
Dx
N
P
2
Table 10 shows the control sequence for reading
the 16-bit A/D conversion result from both the MSB
and LSB data registers. The LSB register data (DL)
can be read right after the MSB register data (DM)
in case the read sequence is continued (not ended
by a Stop bit P) since the register address is
automatically incremented to point to the next
register address (in this case to point to the LSB
data register).
Table 10. MAS6502 I C bus MSB (first) and LSB (second) A/D conversion result read sequence
S AW
A AM A Sr
AR A DM A DL
N P
2
12 (20)
DA6502.008
29 November 2012
APPLICATION INFORMATION
CVDD
4.7µ
µ
VDD
VDD
VDD
GND
RP
4.7k
TE3
VDD
OSC
EEPROM
VREFP
SENSOR
PI
P
SDA
T
NI
P
COMMON
R3
VDD
ADC
I2C
CONTROL
SCL
P
T
I/O
XCLR
NOTE 1
I/O
VREFN
EOC
R4
I/O
T
R1
VDD
RP
4.7k
OPTIONAL
I/O
R2
MAS6502
T
TEST
TE1
GND
GND
TE2
NOTE 1. It is recommended to use the XCLR reset feature to solve
unexpected error state conditions. The XCLR pin can be left
unconnected if not used. It has internal pull up to VDD.
MCU
GND
GND
Figure 4. Typical application circuit
Together with a resistive pressure sensor,
MAS6502 can be used in pressure measurement
applications. An external micro-controller can
2
control the MAS6502 via an I C serial interface.
2 
Note that the I C serial interface requires suitable
pull up resistors connected to the SDA and SCL
pins (see figure 4). Note that if there is only a single
master device in the serial bus the master’s SCL
output can be push-pull output stage making the
SCL pull-up resistor unnecessary.
The sensor is connected between the power supply
voltage (VDD) and MAS6502 signal ground
(COMMON) which can be internally connected to
ground (GND). The sensor output is read as a
differential signal through PI (positive input) and NI
(negative input) to the ∆Σ converter in MAS6502.
In the pressure measurement mode, the switches
marked “P” are closed and the sensor output is fed
through to the ADC. In the temperature
measurement mode, the switches marked “T” are
closed and the voltage at the ADC input is
determined by the internal resistor array and the
temperature-dependent resistance of the sensor. In
this configuration the sensor bridge is connected as
part of a Wheatstone resistor bridge circuit where
the other four resistors (R1, R2, R3, R4) are inside
the IC.
To guarantee conversion accuracy a supply voltage
decoupling capacitor of 4.7 µF or more should be
placed between VDD and GND of MAS6502 (see
CVDD in figure 4).
Accuracy Improvement – Averaging
An averaging technique can be used to remove
conversion error caused by noise and thus improve
measurement accuracy. By doing several A/D
conversions and calculating the average result it’s
possible to average out noise. Theoretically random
noise is reduced by a factor N where N is the
number of averaged samples. A/D converter
nonlinearities cannot be removed by averaging.
13 (20)
DA6502.008
29 November 2012
APPLICATION INFORMATION
Input Signal Range Definitions
The input signal voltage polarity is from positive input PI to the negative input NI. MAS6502 has input signal
range (ISR) and offset (OFFSET) selection options that determines the input signal range of the A/D converter.
The minimum and maximum input signal values in the linear input signal range (ISRLIN) are calculated as
follows.
ISRLIN
2
ISRLIN
= OFFSET +
2
V IN _ MIN = OFFSET −
Equation 1.
V IN _ MAX
Equation 2.
Table 11 shows minimum and maximum input signal values in the linear input signal range at different input
signal range and offset selection combinations.
Table 11. Minimum and maximum input signal values in the linear input signal range
OFFSET
ISR
ISRLIN
VIN_MIN
VIN_MAX
[mV]
[mV]
[mV]
[mV]
[mV]
0
33
0
33
0
33
0
33
325
325
220
220
150
150
100
100
260
260
176
176
120
120
80
80
-130
-97
-88
-55
-60
-27
-40
-7
130
163
88
121
60
93
40
73
The digital A/D conversion result, CODE, depends on the input signal as follows.
V − OFFSET

CODE = CODE MAX ⋅ 0.5 + IN
ISR


⋅

Equation 3.
CODE = digital A/D-conversion output code
CODE MAX = A/D-converter maximum code (minimum code is zero)
See page 4 Electrical Characteristics for CODE MAX values at different over sampling ratio (OSR) selections.
Pressure Measurement Configuration
Piezoresistive absolute pressure sensor can be modeled roughly with following signal voltage characteristic
when including only first order pressure and temperature characteristics..
VIN ( p, T ) =

VDD  FS ⋅ (1 + TC FS ⋅ (T − TREF ))
⋅
⋅ p + OS ⋅ (1 + TC OS ⋅ (T − TREF ))
VDDREF 
p FS

Equation 4.
VDD = supply voltage
VDDREF = reference supply voltage at which the sensor parameters (FS, OS) have been specified (often 5V)
p = pressure [bar]
pFS = full-scale pressure range [bar]
FS = full-scale span [V]
OS = zero pressure offset [V]
TCFS = full-scale span temperature coefficient [ppm/°C]
TCOS = offset temperature coefficient [ppm/°C]
TREF = reference temperature for resistor values [°C]
T = actual temperature to be measured [°C]
The above linear approximation includes sensor full-scale span and offset signal temperature dependencies.
14 (20)
DA6502.008
29 November 2012
APPLICATION INFORMATION
Temperature Measurement Configuration
In the temperature measurement configuration the piezoresistive sensor RS is connected into a Wheatstone
resistor bridge configuration together with four internal resistors R1, R2, R3 and R4. See figure 5.
VDD
RS
R3
R1
NI
R4
PI
VIN
R2
GND
Figure 5. Temperature Measurement Configuration
In the temperature measurement configuration the A/D converter input signal has the following characteristics.


 1

1

VIN (T ) = VDD ⋅ 
−
 R1 + 1 RS ⋅ [1 + TC S ⋅ (T − TREF )] + R3 + 1
R

R4 ⋅ [1 + TC R ⋅ (T − TREF )] R4

 2
Equation 5.
VDD = supply voltage
RS = sensor bridge resistance [Ω]
R1, 2, 3, 4 = internal resistors [Ω]
TCS = sensor resistance temperature coefficient [ppm/°C]
TCR = internal resistor temperature coefficient [ppm/°C]
TREF = reference temperature for resistor values [°C]
T = actual temperature to be measured [°C]
From equation 5 we get that the temperature signal has a rising temperature dependency vs. temperature when
the sensor resistance has a positive temperature coefficient TCS>0. With negative sensor resistance
temperature coefficient TCS<0 the signal has a falling temperature dependency vs. temperature. See the signal
illustration in figure 6.
Figure 5. Temperature signal dependency of sensor resistance temperature coefficient
15 (20)
DA6502.008
29 November 2012
9 NI
10 TE2
8 TE1
5 SCL
SDA 4
XCLR 3
VDD 1
EOC 16
MAS6502
BA1
YYWW
XXXXX
TE3 2
GND 13
11 PI
12 COMMON
MAS6502BA1 IN QFN-16 4x4x0.75 PACKAGE
Top Marking Information:
MAS6502 = Product Number,
BA1 = Version Number
YYWW = Year Week
XXXXX = Lot Number
QFN-16 4x4x0.75 PIN DESCRIPTION
Pin Name
Pin
Type
VDD
TE3
XCLR
SDA
SCL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
P
DI/O
DI
DI/O
DI
NC
NC
DI/O
AI
DI
AI
AI
G
NC
NC
DO
TE1
NI
TE2
PI
COMMON
GND
EOC
Function
Power Supply Voltage
Test Pin 3 for internal clock oscillator
Reset I2C, Stop Conversion
Serial Bus Data Input/Output
Serial Bus Clock
Test Pin 1
ADC Negative Input
Test Pin 2
ADC Positive Input
Sensor Ground
Power Supply Ground
Notes
1
2
1
1
End of Conversion
NC = Not Connected, P = Power, G = Ground, DO = Digital Output, DI = Digital Input, AO = Analog Output
Note 1: Test pins TE1, TE2 and TE3 must be left floating.
Note 2: XCLR pin can be left unconnected when not used. It has internal pull up to VDD.
16 (20)
DA6502.008
29 November 2012
PACKAGE (QFN-16 4X4x0.75) OUTLINE
D
D/2
E/2
TOP VIEW
A3
A
PIN 1 MARK AREA
SIDE VIEW
DETAIL A
A1
SEATING
PLANE
Package Center Line X or Y
D2
b
D2/2
L
e
BOTTOM VIEW
EXPOSED PAD
DETAIL A
Symbol
Terminal Tip
e/2
E2
E2/2
SHAPE OF PIN #1
IDENTIFICATION
IS OPTIONAL
Min
Nom
Max
PACKAGE DIMENSIONS
A
0.700
0.750
0.800
A1
0.000
0.020
0.050
A3
0.203 REF
b
0.250
--0.350
D
3.950
4.000
4.050
D2 (Exposed.pad)
2.700
--2.900
E
3.950
4.000
4.050
E2 (Exposed.pad)
2.700
--2.900
e
0.650 BSC
L
0.350
--0.450
Dimensions do not include mold or interlead flash, protrusions or gate burrs.
Unit
mm
mm
mm
mm
mm
mm
mm
mm
mm
mm
17 (20)
DA6502.008
29 November 2012
SOLDERING INFORMATION
◆ For Lead-Free / Green QFN 4mm x 4mm
Resistance to Soldering Heat
Maximum Temperature
Maximum Number of Reflow Cycles
Reflow profile
According to RSH test IEC 68-2-58/20
260°C
3
Thermal profile parameters stated in IPC/JEDEC J-STD-020
should not be exceeded. http://www.jedec.org
Solder plate 7.62 - 25.4 µm, material Matte Tin
Lead Finish
EMBOSSED TAPE SPECIFICATIONS
P2
PO
P1
D0
T
X
E
F
W
B0
R 0.25 typ
K0
X
A0
User Direction of Feed
Orientation on tape
Dimension
Ao
Bo
Do
E
F
Ko
Po
P1
P2
T
W
Min/Max
4.30 ±0.10
4.30 ±0.10
1.50 +0.1/-0.0
1.75
5.50 ±0.05
1.10 ±0.10
4.0
8.0
±0.10
2.0
±0.05
0.3
±0.05
12.00 ±0.3
All dimensions in millimeters
Unit
mm
mm
mm
mm
mm
mm
mm
mm
mm
mm
mm
18 (20)
DA6502.008
29 November 2012
REEL SPECIFICATIONS
W2
A
D
C
Tape Slot for Tape Start
N
B
W1
Carrier Tape
Cover Tape
End
Start
Trailer
Dimension
A
B
C
D
N
W 1 (measured at hub)
W 2 (measured at hub)
Trailer
Leader
Components
Min
Leader
Max
330
1.5
12.80
20.2
100
12.4
13.50
14.4
18.4
160
390,
of which minimum 160 mm of
empty carrier tape sealed with
cover tape
Unit
mm
mm
mm
mm
mm
mm
mm
mm
mm
Reel Material: Conductive, Plastic Antistatic or Static Dissipative
Carrier Tape Material: Conductive
Cover Tape Material: Static Dissipative
19 (20)
DA6502.008
29 November 2012
ORDERING INFORMATION
Product Code
Product
Description
MAS6502BA1WA100
Piezoresistive Sensor
Signal Interface IC
Piezoresistive Sensor
Signal Interface IC
Piezoresistive Sensor
Signal Interface IC
EWS-tested wafer, thickness 480 µm.
MAS6502BA1WA105
MAS6502BA1Q1706
Dies on waffle pack, thickness 480 µm
QFN-16 4x4x0.75, Pb-free, RoHS compliant, Tape &
Reel, 1000/3000 pcs components on reel
Contact Micro Analog Systems Oy for other wafer thickness options.
LOCAL DISTRIBUTOR
MICRO ANALOG SYSTEMS OY CONTACTS
Micro Analog Systems Oy
Kutomotie 16
FI-00380 Helsinki, FINLAND
Tel. +358 10 835 1100
Fax +358 10 835 1109
http://www.mas-oy.com
NOTICE
Micro Analog Systems Oy (MAS) reserves the right to make changes to the products contained in this data sheet in order to improve the
design or performance and to supply the best possible products. MAS assumes no responsibility for the use of any circuits shown in this
data sheet, conveys no license under any patent or other rights unless otherwise specified in this data sheet, and makes no claim that the
circuits are free from patent infringement. Applications for any devices shown in this data sheet are for illustration only and MAS makes no
claim or warranty that such applications will be suitable for the use specified without further testing or modification.
MAS products are not authorized for use in safety-critical applications (such as life support) where a failure of the MAS product would
reasonably be expected to cause severe personal injury or death. Buyers represent that they have all necessary expertise in the safety and
regulatory ramifications of their applications, and acknowledge and agree that they are solely responsible for all legal, regulatory and safetyrelated requirements concerning their products and any use of MAS products in such safety-critical applications, notwithstanding any
applications-related information or support that may be provided by MAS. Further, Buyers must fully indemnify MAS and its representatives
against any damages arising out of the use of MAS products in such safety-critical applications.
MAS products are neither designed nor intended for use in military/aerospace applications or environments. Buyers acknowledge and
agree that any such use of MAS products which MAS has not designated as military-grade is solely at the Buyer's risk, and that they are
solely responsible for compliance with all legal and regulatory requirements in connection with such use.
MAS products are neither designed nor intended for use in automotive applications or environments. Buyers acknowledge and agree that,
if they use any non-designated products in automotive applications, MAS will not be responsible for any failure to meet such requirements.
20 (20)