I am looking for a way to change the HAL I2C lib clock speed during runtime to either 100k or 400k or 1M.I tried the following.....hi2c1.Init.ClockSpeed = 100000;However when compiling this the compiler do not recognize the parameter.
Yes changing the speed and then calling MX_I2C1_Init(); again make sense - howeverI cannot find the register for the STM32H7xx in the HAL I2C lib to set the new SCL clock rate.I tried hi2c1.Init.ClockSpeed = 100000; but the Atollic compiler did not ...