2023-02-23 07:11 AM
2023-02-24 01:32 AM
Hello @Marrkinho ,
To set the peripheral clock frequency for I2C as APB1 frequency (for 42 MHz ) , you need to program the bits 0-5 (FREQ[5:0]) of the I2C control register 2 (I2C_CR2) as 0x2A. (following the RM)
Hope I helped you!
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-02-24 01:32 AM
Hello @Marrkinho ,
To set the peripheral clock frequency for I2C as APB1 frequency (for 42 MHz ) , you need to program the bits 0-5 (FREQ[5:0]) of the I2C control register 2 (I2C_CR2) as 0x2A. (following the RM)
Hope I helped you!
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.