Netduino = !Master
#1
Posted 11 May 2011 - 10:57 PM
#2
Posted 11 May 2011 - 11:58 PM
#3
Posted 12 May 2011 - 12:06 AM
Hi Code,
.NET MF only supports SPI master and I2C master. [The Atmel micro supports SPI slave, but not I2C slave.]
The main reason for this is that the .NET MF is not real-time. You wouldn't be able to respond to incoming SPI data fast enough to send data in a time-sensitive fashion that would be understandable to the SPI master.
That said, we are using SPI slave on the Netduino via native code on some internal projects. For specialized applications. If you wanted to create a SPI slave native code driver for a specific accessory, we made sure to expose the SPI_SLAVE_SELECT pin as D4
Chris
Thanks for the reply Chris. I was hoping .Net MF set up an ISR and a buffer, oh well. I'll look into compiling native code, wasn't wanting to dive that deep into the netduino this soon .
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users