Joined: Mon Jan 10, 2005 11:40 pm Posts: 12
|
|
Both the master and the slave must be set to send/receive the same number of bits during the transmission. This needs to be done prior to the transmission and is presumably be done during your spi setup routines for both the master and the slave.
You could perhaps set up a negotiation between master/slave in which a default setup (say 8bits) is used to tell each chip what the new settings would be, then each would change their settings and hopefully talk again successfully. But that is something that would need to be written in software by you.
Hope this helped.
Chris Lathan
|
|