I was having a similar issue. Trying to read ADC temperature on a STM32L011k4 using the __LL_ADC_CALC_TEMPERATURE_TYP_PARAMS function and getting some strange values. To fix it, I had to do 2 things:Make sure you are sampling the ADC for a minimum o...
I was having the same issue as SMali.4 where it seemed like aRxBuffer was not receiving any data. I was trying to debug print the data in HAL_I2C_AddrCallback(). But I found that it does work correctly if I print the contents of aRxBuffer in HAL_I2C_...