Which value for I2C clock speed in STSW-IMG023 Ultra Lite Driver (ULD) Example for F401RE?
Studying the example application in the STSW-IMG 023 software I noticed that in the main.c file in the static void MX_I2C1_Init (void) function a clock speed equal to 1000000 (10 ^ 6) is configured, but if I go to the CubeMX file from where the project was generated I read 100000 kbit / s instead (10^5). Is it correct?
If in the main.c file I wrote 10^5 instead of 10^6, the application does not work correctly. Only 10^6 work correctly. Can you help me understand why? Moreover, in the comment on the field init.ClockSpeed I read "This parameter must be set to a value lower than 400kHz"
I was using version 1.3.0, but this fact is also present in 1.3.1
