Shop OBEX P1 Docs P2 Docs Learn Events
Fast SPI object for Rayman's nokia lcd? — Parallax Forums

Fast SPI object for Rayman's nokia lcd?

4Alex4Alex Posts: 119
edited 2010-11-03 06:43 in Propeller 1
Hi fellow PPLers,

I am looking for a fast SPI object. I've browsed through the obex but couldn't find anything appropriate. I would like to significantly accelerate the throughput of Rayman's nokia lcd (nokia 12bit asm) currently using Beau's spiEngine v 1.1. I had to give up on ScanLime's object (sorry ScanLime - your app is truly awesome) as I couldn't use the inverted mode. Does anyone knows about a suitable object?

With thanks.

Cheers,

Alex

Comments

  • Bob Lawrence (VE1RLL)Bob Lawrence (VE1RLL) Posts: 1,720
    edited 2010-11-02 20:35
    re: currently using Beau's spiEngine v 1.1

    Here is Version: 1.2
    ===============================================================================
    SPI Assembly - Serial Peripheral Interface



    This SPI-Assembly demonstration uses the DS1620 temperature sensor via a serial connection to your PC to demonstrate how to use the SHIFTIN and SHIFTOUT functions of the SPI object.

    The SPI-Assembly version requires an additional cog when called from the SHIFTIN or SHIFTOUT function.
    Version:
    1.2

    http://obex.parallax.com/objects/431/
  • 4Alex4Alex Posts: 119
    edited 2010-11-03 06:43
    @Bob:
    Thank you for your reply. I did try the v 1.2 but it does not provide any speed increase over v 1.1. There's only a bug correction on shiftin and the addition of a delay function. I reverted to v 1.1 to save a cog and also because I don't need shiftin.

    Perhaps there's an spi object used in a complete project that I could reuse. I wonder if ScanLime would have it's fast spi asm routine implemented as a separate object. That would be quite a contribution. ScanLime? (please pretty please)

    Cheers,

    Alex
Sign In or Register to comment.