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.
7 years, 9 months ago.
i2c fast mode plus pins in nucleo f446 re
Hi guys, i'm new to mbed but i have a lot of experience with avrs and pics. I decided to switch to a stm for the first time and i bought a nucleo-f446re board. On the datasheet I saw that PC_7 and PC_6 are (respectively) FMPI2C1_SDA ,FMPI2C1_SCL. Fast mode plus i2c caught my attention after i've been stuck with low frequency i2c signals for years, but i really can't get it to work. I tried to declare:
#include "mbed.h" I2C i2c(PC_7, PC_6);
This way i wanted to actually try the normal frequency i2c and then go up till i reach fast mode plus, but after the upload the led on the board blinks yellow and the serial says "pinmap not found for peripheral". Did mbed developers forget about pc7 and pc6?