I'm a total beginner. Only got my device yesterday but I have a lot of experience with Arduino.
I'm using STM32duino since I'm already familiar with Arduino IDE.
I keep trying to read an I2C flow sensor on the STM32 but the board just won't recognize it.
Ran the default I2C scanner and it says that no I2C device was found. The same code works perfectly fine on Arduino.
I've inserted SCL into Pin D15 and SDA into Pin D14 as per pin mapping.
Can someone please guide me?
Can't read I2C on NucleoF103
-
- Posts: 3
- Joined: Sun Dec 19, 2021 5:43 pm
Can't read I2C on NucleoF103
Add a pullup resistors (4,7k) on each i2c line.
Go to full postRe: Can't read I2C on NucleoF103
Add a pullup resistors (4,7k) on each i2c line.
-
- Posts: 3
- Joined: Sun Dec 19, 2021 5:43 pm
Re: Can't read I2C on NucleoF103
this worked.