2024-09-29 02:19 AM
Is it possible to use pb8 (boot0) as I2C1 SCL pin, it seems STM32CubeIDE let's me configure it that way. But how can I prevent issues with the boot function after reset? Since I2C is pull-up level, right?
Solved! Go to Solution.
2024-09-29 06:21 AM
> Is it possible to use pb8 (boot0) as I2C1 SCL pin
Yes, you can use PB8 as I2C1_SCL.
> But how can I prevent issues with the boot function after reset? Since I2C is pull-up level, right?
Change the option bytes to ignore the pin level on BOOT0 and boot into the user flash regardless of the level on the BOOT0 pin. I2C should have an external pullup resistor of about 2.2 kOhm.
2024-09-29 06:21 AM
> Is it possible to use pb8 (boot0) as I2C1 SCL pin
Yes, you can use PB8 as I2C1_SCL.
> But how can I prevent issues with the boot function after reset? Since I2C is pull-up level, right?
Change the option bytes to ignore the pin level on BOOT0 and boot into the user flash regardless of the level on the BOOT0 pin. I2C should have an external pullup resistor of about 2.2 kOhm.