cancel
Showing results for 
Search instead for 
Did you mean: 

I2C1 for STM32F100RBT6B

artemis1992
Associate II
Posted on March 17, 2014 at 13:06

Hi, I am using STM32F100RBT6B discovery board and I need to use I2C1 bus. I saw on datasheet that gpio PB6 and PB7 should be used for clock and data. I think to use PB8 and PB9 for the alimentation. Is it correct?

Now I see that I have to use also PB4 and PB5, but which is their function for I2C1?

Thanks

#i2c1
2 REPLIES 2
Posted on March 17, 2014 at 14:33

PB4 plays no role with I2C

PB5 would play a role if you were implementing an SMB bus.

Other than that you could REMAP PB6/7 to PB8/9
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
artemis1992
Associate II
Posted on March 19, 2014 at 15:03

Thanks a lot