Shop OBEX P1 Docs P2 Docs Learn Events
Fast SPI object — Parallax Forums

Fast SPI object

4Alex4Alex Posts: 119
edited 2009-01-05 18:40 in Propeller 1
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

Comments

  • LeonLeon Posts: 7,620
    edited 2009-01-05 16:40
    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 GreenMike Green Posts: 23,101
    edited 2009-01-05 16:45
    The SPI engine is described in the "Assembly Code Examples for the Beginner" thread here:

    http://forums.parallax.com/showthread.php?p=601870
  • 4Alex4Alex Posts: 119
    edited 2009-01-05 18:40
    @Mike:

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

    Cheers,

    Alex
Sign In or Register to comment.