Thank you @Community member .Works great, But But the frequency is around 33hz. I guess I can't go beyond this value due to the i2c speed? it's set to 400khz.
I am using i2c1 and the communication is okay. The code below works fine. if(HAL_I2C_IsDeviceReady(&hi2c1,TMP102_ADDR ,1,10)==HAL_OK){ HAL_GPIO_TogglePin(GPIOB, GPIO_PIN_7); }But I couldn't make @Tesla DeLorean 's function work. I think i am quite...