2025-09-18 12:23 AM
Hi, all
I'm developing a BLE device using the STM32WB05 that supports I2C and BLE connections.
I successfully established an I2C connection using I2C_SCL(PB6) and I2C_SDA(PB7).
However, PB7 is used for RADIO_RF_ACTIVITY on BLE, causing a conflict between BLE and I2C.
Therefore, I tried changing to I2C_SCL(PA0) and I2C_SDA(PB14) to connect to the I2C master, but the connection failed.
I'm wondering if the I2C pins on the STM32WB0 are limited to only PB6 and PB7.
thanks.
2025-09-18 5:03 AM - edited 2025-09-18 5:03 AM
Hello @nama
According to the table 6, table 7 and table 8 of the DS14591, I2C1_SDA and I2C_SCL are available on PA0, PB6 for I2C1_SDA and PA1, PB7 for I2C_SCL. The PB14 is used for I2C1_SMBA signal.
Best Regards.
STTwo-32
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.
2025-09-18 5:16 AM
@nama wrote:I successfully established an I2C connection using I2C_SCL(PB6) and I2C_SDA(PB7).
So you're using I2C1, then:
@nama wrote:I tried changing to I2C_SCL(PA0) and I2C_SDA(PB14) .
As @STTwo-32 said, There is no I2C_SDA on PB14:
You need PA0 and PA1: