PDA

View Full Version : Fast SPI object



4Alex
01-05-2009, 11:36 PM
Hi all,

I am currently using the SPI Object (Synchronous Serial) adapted from the BS2 object (written in spin). The clock rate is stated to be ~16Kbps. I am interfacing a device that can be accessed at up to 2Mbps. Does anyone knows if there is a faster SPI object available?

Many thanks for your assistance.

Cheers,

Alex

Leon
01-05-2009, 11:40 PM
There's an SPI engine coded in assembler in the Obex. I think that is where I found it, at any rate.

Leon

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle

Mike Green
01-05-2009, 11:45 PM
The SPI engine is described in the "Assembly Code Examples for the Beginner" thread here:

http://forums.parallax.com/showthread.php?p=601870

4Alex
01-06-2009, 01:40 AM
@Mike:

Thank you for the reply. I've downloaded the SPI code written in asm by Beau.

Cheers,

Alex