Other Parts Discussed in Thread: ASC-STUDIO, TMP117, SYSCONFIG, TMP112
Hi ,
I am looking for driver for temperature sensor module for i.MX8 M Mini , L5.4.70.
Thanks in advance
Regards,
Deeksha
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.
Hello Deeksha,
We do not have drivers for that specific module. I suggest using ASC-Studio to generate the microcontroller agnostic .c and .h files based on your configuration requirements. You would still need to utilize the I2C drivers for your specific controller.
https://www.ti.com/tool/ASC-STUDIO
You can also find an overview of ASC Studio below where the example is generated for TMP117.
https://e2e.ti.com/blogs_/b/process/posts/interface-to-sensors-in-seconds-with-asc-studio
Here is a direct link to the TMP117 code in ASCStudio/Sysconfig that Eddie mentioned:
https://dev.ti.com/sysconfig/index.html?product=ascstudio&module=/ti/sensors/tempsensor/TMP117
thanks,
ren
Deeksha,
No, the LM75 and TMP112 are not code compatible. For example, the LM75 temperature data register represents the data in 9 bit 2's complement format. TMP112 uses a 12 bit format. You can generate the code for TMP112 below.
https://dev.ti.com/sysconfig/index.html?product=ascstudio&module=/ti/sensors/tempsensor/TMP112