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

How hard would it be to add 9-bit SPI


  • Please log in to reply
4 replies to this topic

#1 Terry Fogg

Terry Fogg

    New Member

  • Members
  • Pip
  • 4 posts

Posted 13 September 2010 - 09:23 PM

I bought an SPI Lcd shield from Sparkfun to find the device requires 9-bit SPI. How hard would it be to add 9-bit support, or at least a limited 9-bit support. Any help for the best place/module to change in the porting kit would be appreciated

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 13 September 2010 - 09:36 PM

I bought an SPI Lcd shield from Sparkfun to find the device requires 9-bit SPI.
How hard would it be to add 9-bit support, or at least a limited 9-bit support.
Any help for the best place/module to change in the porting kit would be appreciated


Hi Terry,

Welcome to the community!

Here's the main folder which contains the native SPI code for the Netduino's MCU; you'd also need to edit the larger framework object model (or create extension methods):
\MicroFrameworkPK_v4_1\DeviceCode\Targets\Native\AT91\DeviceCode\AT91_SPI

We're also looking at adding variable-bit SPI to the Netduino firmware in a future release...

Chris

#3 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1592 posts
  • LocationCzech Republic

Posted 14 September 2010 - 05:49 AM

I bought an SPI Lcd shield from Sparkfun to find the device requires 9-bit SPI.

sweetlilmre has already contributed BitBanger driver for the exact same purpose.

#4 Terry Fogg

Terry Fogg

    New Member

  • Members
  • Pip
  • 4 posts

Posted 14 September 2010 - 12:16 PM

Thanks for the information. Terry

#5 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 25 November 2010 - 04:14 AM

9-bit SPI (variable-bit, any # of bits from 8 to 16) has been added to the latest pre-release Netduino firmware. http://forums.netdui...e-v411-alpha-3/ Chris




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.