Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 2 months ago.
I2C2 on ST Nucleo F103RB.
Hi,
I would like to use the 2nd I2C in ST Nucleo F103RB. So making the I2C instance as follows ... :
I2C i2c(PB_11, PB_10);
... does not seem to work.
Has anyone already used I2C2 on this board ? Is there any pre or post initialization to do ?
With best regards,
Pablo.
-
3 Answers
9 years, 5 months ago.
Hi, Have you finally managed to make it work ? I have the same problem, it seems that PB10 & PB11 are not connected to I2C2... (Error: pinmap not found for peripheral). Unfortunately I can't use I2C1 for HW reasons.
Regards
10 years ago.
I think that you got one of the pins wrong. It seems that it should be PB_3 and PB_10, like so:
I2C i2c(PB_3, PB_10);
Did that work for you, Pablo?
-Paul
Hi, Have you finally managed to make it work ? I have the same problem, it seems that PB10 & PB11 are not connected to I2C2... (Error: pinmap not found for peripheral). Unfortunately I can't use I2C1 for HW reasons.
Regards
posted by Julien Kern 05 Jun 2015