cancel
Showing results for 
Search instead for 
Did you mean: 

Number of I2c in STM32F051R4T6TR

Amal Babu
Associate III

What is the total number of I2C's in STM32F051R4T6TR controller IC.

7 REPLIES 7
AvaTar
Lead

Datasheet ?

MCU selector page ?

Khouloud GARSI
Lead II

Hi @Community member​ ,

As indicated in the datasheet, the STM32F051R4T6TR device has one I2C interface: I2C1.

0690X000006C8xlQAC.png

Khouloud.

Amal Babu
Associate III

Thanks for the reply,

i actually i found there are two i2cs in STM32F051R4T6TR.I found that I2C1_SCL and I2C1_SDA are in (PB6&PB8) and (PB7&PB9) respectively and I2C2_SCL and I2C2_SDA in (PB10&PF6) and (PB11&PF7) respectively.But the problem is that i could the alternative function table for PORT A and PORT B in datasheet and i have attached the image below.But i couldn't find similar table with the alternative functions of PORT C and PORT F.Without that it would be difficult for us to configure the

GPIOx_AFR register to choose the alternative function corresponding of the pin.Please help me with regards to this issue.

Amal Babu
Associate III

yaa i got it that there is only one I2c in this controller ic.But what does the "1(3)" respresent?

Khouloud GARSI
Lead II

Hi @Community member​ ,

Please have a look on the explanation below the table:

3. I2C2 is not present

Khouloud.

Amal Babu
Associate III

Thanks for your reply.it was so much help full for me.

Khouloud GARSI
Lead II

You're welcome 😊

Khouloud.