2024-10-14 11:25 PM
Hello,
Now I mean to measure temperature on STM32L0538-Discovery using STLM75DS2F via I2C.
I saw the Demonstrations sample project but I couldn't see the proper codes for temperature IC using I2C.
Are there any information, answers or sample project?
Thanks
2024-10-15 02:59 AM - edited 2024-10-15 02:59 AM
The STML75's I2C interface is described in its datasheet.
The datasheet, along with application notes & example code, is available on the Product Page:
https://www.st.com/en/mems-and-sensors/stlm75.html
See UM1749, Description of STM32L0 HAL and low-layer drivers, for descriptions of the HAL I2C functions:
https://www.st.com/en/embedded-software/stm32cubel0.html#documentation
There should also be example code available via STM32CubeIDE