This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

st,stm32-temp-cal

Vendor: STMicroelectronics

Description

STM32 family TEMP node for production calibrated sensors like L5/U5
with two calibration temperatures.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

ts-cal2-addr

int

address of parameter TS_CAL2

This property is required.

ts-cal2-temp

int

temperature at which temperature sensor has been
calibrated in production for data into ts-cal2-addr

This property is required.

ts-cal1-addr

int

address of parameter TS_CAL1

This property is required.

ts-cal1-temp

int

temperature at which temperature sensor has been
calibrated in production for data into ts-cal1-addr

This property is required.

ts-cal-vrefanalog

int

Analog voltage reference (Vref+) voltage with which
temperature sensor has been calibrated in production

This property is required.

ts-cal-resolution

int

Temperature calibration resolution with which the ts-cal1-temp and
ts-cal2-temp are measured.
For most stm32 series a native 12-bit ADC is embedded in the device,
except for H7 on 16-bit and U5 on 14-bit

Default value: 12

Legal values: 12, 14, 16

friendly-name

string

Human readable string describing the sensor. It can be used to
distinguish multiple instances of the same model (e.g., lid accelerometer
vs. base accelerometer in a laptop) to a host operating system.

This property is defined in the Generic Sensor Property Usages of the HID
Usage Tables specification
(https://usb.org/sites/default/files/hut1_3_0.pdf, section 22.5).