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.

DevBiker

Member Since 14 May 2015
Offline Last Active May 28 2015 11:11 AM
-----

Posts I've Made

In Topic: I2C InternalAddress (repeated start bit) support

28 May 2015 - 02:47 AM

Hi Frode,

   I can't speak to any other version except the Netduino 3 as it's all that I have. With the Netduino 3, this worked just fine with the MPL3115A2 that's on the SparkFun WeatherShield.

   That said, if you don't have repeated start bit support, doing a read will start reading from byte 0 of the registers. So you can get all of the registers and just grab the bytes you want out of the array. Icky, I know, but it should work from what I saw.


In Topic: How to recover non responding Netduino 3

27 May 2015 - 12:56 PM

OK ... ran through the process with the defaults and ... IT WORKED!!! Yay! Thanks! :D

One strange thing, though ... the Dfu File Manager only seemed to want to save to its installation folder (Program File (x86)), not to the folder that I specified for the files. This baffled me a bit as it reported success but there weren't any actual files until I ran it "As Administrator".


In Topic: How to recover non responding Netduino 3

27 May 2015 - 11:19 AM

One question ... when running the "DFU File Manager", there are some additional inputs. Under "Device", there's "Vendor ID", "Product ID" and "Version". Also, under "Injection" is "Target Id" and "Target Name". Should these be left as they are or do they need to have specific values?


In Topic: How to recover non responding Netduino 3

27 May 2015 - 06:05 AM

So ... what's the backup plan?

I'm currently in this pickle and the Netduino update app a) doesn't recognize the device as a Netduino (it says "STM Device in DFU Mode") and B) when I do select Netduino 3 Wi Fi from the options, the app either hangs (on 2 machines) or says something along the lines of "Could not save configuration. Error: Specified method is not supported" (on a 3rd machine).

I had already updated to 4.3.2.2 when suddenly, in the middle of a deployment, it just stopped behaving nicely. :-(


In Topic: I2C InternalAddress (repeated start bit) support

23 May 2015 - 01:40 AM

I got this working by sending the Write and Read in as an array within a single I2CTransaction.

Like this:

return Execute(new I2CDevice.I2CTransaction[]
{
    I2CDevice.CreateWriteTransaction(writeBuffer),
    I2CDevice.CreateReadTransaction(readBuffer)
},
transactionTimeout);

 

Works like a charm with the SparkFun Weather Shield's MPL3115A2. See details and source on my blog at http://blog.devbiker...to-the-Netduino.


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.