Tool/software:
Hello TI,
We are currently working in TMP100NA/3K temperature sensor. If you have any driver code for this sensor to initialize the I2c communication?.. and also provide the data calibration code for reference.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hello TI,
We are currently working in TMP100NA/3K temperature sensor. If you have any driver code for this sensor to initialize the I2c communication?.. and also provide the data calibration code for reference.
Hello Sridhar,
Below is the link to the page for the drivers. Please note that this driver was created by the linux community. TI does not contribute to, or have any control over, the linux kernel driver.
Drivers: https://www.ti.com/tool/LM75SW-LINUX
As for calibration, these devices are calibrated from factory and do not need additional calibration beyond that.
Regards,
Harry Gill
Hello Sridhar,
Please see the attached link for documentation and an example (it is also applicable to the TMP100):
https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/hwmon/lm75.yaml
As a friendly reminder, this was created by the linux community. TI does not contribute to, or have any control over this content..
Additionally if you require additional support for the AM62, I would highly encourage you to reach out to that team for assistance on hardware implementation.
Hope this helps,
Harry Gill
Hi Harry,
Here i declared the i2c2 device tree definition for TMP100 in linux kernal,
&main_i2c2 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_i2c2_pins_default>; clock-frequency = <400000>; temperature-sensor@4A { compatible = "ti,tmp100"; reg = <0x4A>; vs-supply = <&vcc_3v3_sys>; }; };