cancel
Showing results for 
Search instead for 
Did you mean: 

I2C on STM32WB09

LVanr.1
Associate III

I want to add I2C support to a BLE sample project, in particular BLE_Beacon or BLE_Peripheral_Lite.
In CubeMX on non-BLE projects I can select PB6-PB7 for SCL-SDA respectively.
In a BLE project there is a clash with TIMER and the I2C code is not generated into the project (the same happens when configuring any PB in the range 1-8 as output or input).

One can also configure PA0-PB14 for SCL-SDA but requires to set soldering bridges (SBs).
I did the following SBs:

On 1801:  4=off, 6=off, 12=off, 23=on
On 2032: 2=off
This does not work (I checked with oscilloscope)

What is wrong?

1 REPLY 1
STTwo-32
ST Employee

Hello @LVanr.1 

To be able to output both PA0 and PB15 on both ARD A5/ Pin33 CN4 and ARD D2/ Pin38 CN3, you have to set SB23, SB36 to ON and SB6, SB37 to OFF on the MB2032. After that, you can use them for I2C1.

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.