I have a X-NUCLEO-IKS01A2 board connected to a stm32 nucleo and I'm trying to read the temperature from the HTS221. However, I get really wrong values. Does something need to be set in the control registers before reading? Thanks.
I am using the code provided in the TN1218 sheet, and I've attached a screenshot of my variables.