2018-10-08 01:06 AM
What is the total number of I2C's in STM32F051R4T6TR controller IC.
2018-10-08 01:58 AM
Datasheet ?
MCU selector page ?
2018-10-08 02:43 AM
Hi @Community member ,
As indicated in the datasheet, the STM32F051R4T6TR device has one I2C interface: I2C1.
Khouloud.
2018-10-08 02:55 AM
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.
2018-10-08 03:03 AM
yaa i got it that there is only one I2c in this controller ic.But what does the "1(3)" respresent?
2018-10-08 03:39 AM
Hi @Community member ,
Please have a look on the explanation below the table:
3. I2C2 is not present
Khouloud.
2018-10-10 01:52 AM
Thanks for your reply.it was so much help full for me.
2018-10-10 02:06 AM
You're welcome :smiling_face_with_smiling_eyes:
Khouloud.