Resolved! Why HAL_I2C_Mem_Read returns only 0?
Hi,I am using stm32f1 and HUT21D sensor (Temperature and humidity sensor). The sensor use i2c for communication. I am using IAR and cubeMX.For cube: I used default setting for i2c.For IAR: I shared the main.c below.Can anyone help on why only get 0.#...