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.

kennethone

Member Since 14 Sep 2011
Offline Last Active Oct 16 2013 11:36 PM
-----

#48043 Netduino Plus I2C just stops working ?!

Posted by kennethone on 04 April 2013 - 08:15 PM

Good Afternoon,

 

I've been testing I2C on two netduino plus devices and I found that on both, after a certain time, the I2C port stops outputting any data and the SDA line stays high ~ 5 V for me and the SCK line stay at around 400mV (using digital scope). I can still breakpoint and step through all of the managed I2C code without any errors, but the status of the lines does not change. 

If I leave the device plugged in, and re-deploy the application, the lines stay in the non-functional state. It is only after I unplug and power cycle the device, the lines begin working again.

 

My SDA and SCL lines are pulled up using 4.7K resistors. Device under test is PF575 and functions without problems.

 

This problem also repeats itself when I use the netduino by itself and hook up the SDA and SCL lines to 5V using 2 15K resistors. When I do this, the SDA line does not get ACK response, but the activity is still visible on the oscilloscope. For some time, after which is stops working and requires a power cycle.

 

 

 

 

Is this an issue which may have been recently fixed by a firmware update? Should I update my firmware? Thanks,

 

 

 

 

 

DeviceInfo:
  HAL build info: 4.1.2821.0, Netduino Plus by Secret Labs LLC
  OEM Product codes (vendor, model, SKU): 34, 177, 4097
  Serial Numbers (module, system):
    00000000000000000000000000000000
    0000000000000000
  Solution Build Info: 4.1.0.6, Netduino Plus by Secret Labs LLC
  AppDomains:
    default, id=1
  Assemblies:
    mscorlib,4.1.2821.0
    Microsoft.SPOT.Native,4.1.2821.0
    Microsoft.SPOT.Hardware,4.1.2821.0
    Microsoft.SPOT.Net,4.1.2821.0
    System,4.1.2821.0
    Microsoft.SPOT.IO,4.1.2821.0
    System.IO,4.1.2821.0
    Microsoft.SPOT.Hardware.SerialPort,4.1.2821.0
    Microsoft.SPOT.Hardware.Usb,4.1.2821.0
    SecretLabs.NETMF.Hardware,4.1.0.0
    SecretLabs.NETMF.Diagnostics,4.1.0.0
    I2C test,1.0.0.0
    SecretLabs.NETMF.Hardware.NetduinoPlus,4.1.0.0



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.