Meas_Acceleration(); Description; Actions; Prototype - Infineon SP37 Function Manual

High integrated single-chip tpms sensor with a low power embedded microcontroller and wireless fsk/ask uhf transmitter
Table of Contents

Advertisement

2.4

Meas_Acceleration()

2.4.1

Description

This function performs an acceleration sensor measurement.
The result can be either:
Compensated for sensitivity, offset and temperature
Output as raw value without performing the compensation
The function can measure acceleration with up to 64 samples at a specified sample rate. The function will return
the average (arithmetic mean) acceleration value in order to compensate for noise. Optionally, this function can
return the maximum value of the samples. The function performs a new temperature measurement for
compensating the acceleration measurements, unless a previously measured raw temperature value is supplied.
The number of samples and the raw temperature source are both determined by SensorConfig. SampleRate
controls how frequently the measurement acquisitions occur and will not influence the measurement result under
stable acceleration conditions. The device is set to IDLE mode during the delay between measurement
acquisitions.
2.4.2

Actions

Measure acceleration sensor with channel and number of samples given by SensorConfig
Check wire bonds between the ASIC and the sensor die & sensor beam integrity
Average the measurement(s), or (optionally) use the maximum raw measurement, to obtain a raw acceleration
value
(optionally) Perform a raw temperature measurement
(optionally) Compensate the raw acceleration value
2.4.3

Prototype

unsigned char Meas_Acceleration (unsigned int SensorConfig, unsigned char SampRate, signed int idata *
AccelResult )
ROM Library Function Guide
Tire Pressure Monitoring Sensor
45
SP37
ROM Library Functions
Revision 1.0, 2011-12-15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents