2021-04-06 07:56 AM
Hello,
Could you share any examples of I2C communication implementation between STM32L011 MCU and temperature sensor using Low-Layer (LL) API? I am trying to read temperature values from temperature & humidity sensor HDC2080. I found a library for this sensor which includes operations with registers and Tx/Rx buffers but I2C communication has to be coded according to specific MCU.
Thank you.
2021-04-07 06:26 AM
Hi @Indois ,
please consider first that the HDC2080 sensor is from Texas Instrument, so I would suggest you to ask for support (also) in their community.
I can tell you that there are some example of an ST I2C humidity and temperature sensor (HTS221) connected with STM32L4 MCU, that you can find -for example- in the FP-SNS-ALLMEMS1 firmware function pack, BSP drivers folder (Drivers\BSP\Components\hts221).
You can also check the STM32CubeL0, i.e. STM32Cube MCU Package for STM32L0 series, where the Low-Layer APIs for the I2C communication should be available.
Let me know if these suggestions can be helpful for your purpose.
-Eleon