How hard would it be to add 9-bit SPI
Started by Terry Fogg, Sep 13 2010 09:23 PM
4 replies to this topic
#1
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
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
Posted 14 September 2010 - 05:49 AM
sweetlilmre has already contributed BitBanger driver for the exact same purpose.I bought an SPI Lcd shield from Sparkfun to find the device requires 9-bit SPI.
#4
Posted 14 September 2010 - 12:16 PM
Thanks for the information.
Terry
#5
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