cancel
Showing results for 
Search instead for 
Did you mean: 

How to use temperature IC STLM75DS2F via I2C on STM32L0538-Discovery

curiae
Associate III

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

1 REPLY 1

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