I2C not working on plus 2 (or regular 2) - Netduino Plus 2 (and Netduino Plus 1) - Netduino Forums
   
Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

I2C not working on plus 2 (or regular 2)


  • Please log in to reply
4 replies to this topic

#1 h3mp

h3mp

    Member

  • Members
  • PipPip
  • 21 posts

Posted 19 February 2015 - 02:53 PM

I have an app on the netduino1 which reads a LSM9DS0 sensor - all works fine.

 

Tried it on the netduino-plus2 (and netduino2) and neither get any i2c data back.

 

i've re-wired a5 to sc and a4 to sd, surely this is all i need to do for it to work!?



#2 herbsti72

herbsti72

    Member

  • Members
  • PipPip
  • 12 posts
  • LocationVienna, Austria

Posted 19 February 2015 - 03:32 PM

you need to take care that N2+ has his own pins for IC ("SC", "SD").

This pins are located near to network connector ...



#3 h3mp

h3mp

    Member

  • Members
  • PipPip
  • 21 posts

Posted 19 February 2015 - 03:36 PM

yes, thats the only change ive made when moving the electronics from the old to the new, SCLon SC rather than A5, SDA on SD rather than on A4



#4 Stacktrace

Stacktrace

    New Member

  • Members
  • Pip
  • 4 posts
  • LocationDüsseldorf, Germany

Posted 01 March 2015 - 09:07 PM

Have you tried a 4.7k pull-up resistor on both lines?



#5 h3mp

h3mp

    Member

  • Members
  • PipPip
  • 21 posts

Posted 01 March 2015 - 09:39 PM

I think the sensor has 10k pullups on it, I guess to move forwards i should look at it on a scope and logic analyser then post the results here.. was just hoping someone would magically know why it doesn't work on the new boards! :-)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.