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.

Fabien Royer

Member Since 08 Nov 2010
Offline Last Active Private
-----

Posts I've Made

In Topic: Trouble writing to SD card on Nwazet DAQ

05 March 2013 - 10:33 PM

Hi Seattle Food Geek,

 

I just notice that the order of the calls is incorrect:

 

 


    [*][color=rgb(0,0,0);]daq[/color][color=rgb(102,102,0);].[/color][color=rgb(102,0,102);]FatFs[/color][color=rgb(102,102,0);].[/color][color=rgb(102,0,102);]CloseFile[/color][color=rgb(102,102,0);]([/color][color=rgb(0,0,0);]fileId[/color][color=rgb(102,102,0);]);[/color]
    [*][color=rgb(102,0,102);]Debug[/color][color=rgb(102,102,0);].[/color][color=rgb(102,0,102);]Print[/color][color=rgb(102,102,0);]([/color][color=rgb(0,136,0);]"file closed"[/color][color=rgb(102,102,0);]);[/color]
    [*][color=rgb(0,0,0);]daq[/color][color=rgb(102,102,0);].[/color][color=rgb(102,0,102);]FatFs[/color][color=rgb(102,102,0);].[/color][color=rgb(102,0,102);]SyncFile[/color][color=rgb(102,102,0);]([/color][color=rgb(0,0,0);]fileId[/color][color=rgb(102,102,0);]);[/color]
    [/list]

    Closing the file invalidates the fileId, and it should not be used afterward.

    [color=rgb(102,102,0);font-size:14px;]Just call SyncFile() before closing the file and things should be OK :)[/color]

     

    I hope this helps.

     

    -Fabien.


In Topic: GetSocketsByUniqueId - not working?

05 March 2013 - 10:25 PM

[font="arial, sans-serif;font-size:12.800000190734863px;"]Hi Asbjorn,[/font]

 
I have a DAQ demo (https://bitbucket.or...Demo?at=default) in the repository that works just fine with the following modules:
  • DAQ w/ SD card
  • Touch Display
  • SL Potentiometer
  • Komodex 7-segment display
  • 3x I2C sensors
  • 1x XBee radio
It's using .Net MF 4.2.2 or something like that, which still requires dropping the speed on the SPI bus. It's been extremely stable and has been running for months now. I don't use any module discovery features.
 
In my experience, sticking with the basics of .Net MF is the only reliable way to go with Netduino Go.
 
Cheers,
-Fabien.

In Topic: How to upgrade to the .NET Micro Framework v4.3 SDK

25 February 2013 - 06:26 PM

Chris,

 

"[color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;font-size:14px;]I'm guessing that 10.5 mbps was too fast for the module. That's a lot of data for a 48MHz microcontroller to handle that's also updating a display...so 5.25 mbps seems totally reasonable"[/color]

 

[color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;font-size:14px;]You guessed wrong.[/color]

 

  • [color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;font-size:14px;]The Touch Display module runs on a [/color]STM32F205RET6 [color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;font-size:14px;]at 120 Mhz.[/color]
  • [color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;font-size:14px;]The DAQ module runs on a [/color]STM32F051R8T6 at 48 MHz.

In both cases, the processing work that they perform is independent of the SPI communication throughput because it's buffered and asynchronous. A simple examination of our SPI over DMA source code would have avoid a misleading statement.

 

For the record, throughput has never been an issue with our modules until GoBus introduced SPI handling changes. 


In Topic: All Nwazet modules for Netduino Go on sale

29 January 2013 - 09:03 PM

Thanks Asbjorn :)

 

Interesting about the cart / navigation issue you bumped into...

Can you email me @ fabien <at> nwazet <dot> com and let me know how we can improve things? I'd love your feedback.

 

Cheers,

-Fabien.


In Topic: Cyber Monday @ Nwazet: 15% OFF everything

26 November 2012 - 07:02 PM

Yup, this is Pacific time :) Cheers, -Fabien

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.