PDA

View Full Version : Fast SPI object for Rayman's nokia lcd?



4Alex
11-03-2010, 01:57 AM
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

Bob Lawrence (VE1RLL)
11-03-2010, 03:35 AM
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/

4Alex
11-03-2010, 01:43 PM
@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