Quote:
|
Originally Posted by Gdeaver
...This means the SPI would have to be done with software or what is called bit banging. Maybe someone on the forum could reference some examples of Software SPI code...
|
I wrote an example asynchronous serial transmitter a while back. It shows how to implement a serial transmitter using a timer and a state machine. It might get the creative juices flowing (hint: you'll need to tie the SPI clock line to an interrupt line and clock the SPI state machine in the ISR). The code can be found here:
http://kevin.org/frc.
-Kevin