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.

Matteo Defanti

Member Since 01 Feb 2011
Offline Last Active Jul 22 2011 10:18 AM
-----

Posts I've Made

In Topic: I2c problems interfacing TPIC2810 Led Driver

21 July 2011 - 01:15 AM

Hi everybody and thanks everybody for your contribute...

i'm sorry for the image i upload yesterday. i didn't pay attention enought to notice that the switches where high...

Thank you Stuart giving me suggestion of the hint about what information to write in order of being more specific for you.... :)

And CW2... yes what you said about the device address is right but i posted the wrong picture... sorry, my fault

I've created a new image about the connection and the probing connection...
Posted Image
As you can see i put a pull up resistor even on clock, but unfortunately it doesn't work...

I cannot understand why i don't get any data passing even if i disconnect netduino from the device... as i espected... is that wrong to probe SDA and SCK?
Is I2C supported on Netduino standard with .net microframework 4.1?

Edit: What is the return value of Execute() method call?


I can't get what you mean... di you mean why i don't get return value?

OutputPort SDA = new OutputPort(Pins.GPIO_PIN_A4, false); // read in the forum to reset the 2 ports
            OutputPort SCK = new OutputPort(Pins.GPIO_PIN_A5, false);
            SDA.Dispose();
            SCK.Dispose();




it was an attempt to reset the port but it seems unuseful!


this is the while (true) new code
while (true)
            {
               
              int outp =  TPIC2810.Execute(transactions,  100);

              Gneg.Write(true);
              Thread.Sleep(100);
              Gneg.Write(false);
            }


Gneg is primarly used to see that the program is running and cycling!
cause for the moment I2C is not working

In Topic: Getting started issue with Netduino

20 July 2011 - 08:19 AM

I get this error, i can't resolve it... Error 1 Cannot deploy the base assembly 'mscorlib', or any of his satellite assemblies, to device - USB:Netduino twice. Assembly 'mscorlib' on the device has version 4.1.2821.0, while the program is trying to deploy version 4.2.0.0 Then i removed Netduino SDK and .NET microframework 4.1 and then i installed .NETMF 4.2 and Netduino new SDK I'm running on Windows 7 64bit.... Has anyone got the same problem?

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.