cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103RB i2c with Arduino IDE

Peter Paulsen
Associate
Posted on July 06, 2018 at 16:23

Hi, guys!

Trying to connect the MCP4725 DAC to my STM32F103RB by following this tutorial:

https://learn.adafruit.com/mcp4725-12-bit-dac-tutorial/

 

Sadly I'm getting no response. I've tried with a regular Arduino UNO, where everything works as it should. 

Also tried running a i2c scanner code, which gave no results. With the Arduino the correct address is 0x60.

So do anybody know what I can do differently to get this working? Should the wiring be any different? What upload settings should I use?

Best regards,

Peter

#i2c #f103 #arduino
1 ACCEPTED SOLUTION

Accepted Solutions
Peter Paulsen
Associate
Posted on July 09, 2018 at 09:42

Fixed it! Just had to add some pull up resistors! Works fine now 🙂

View solution in original post

1 REPLY 1
Peter Paulsen
Associate
Posted on July 09, 2018 at 09:42

Fixed it! Just had to add some pull up resistors! Works fine now 🙂