Shop OBEX P1 Docs P2 Docs Learn Events
ICCPROP Async Serial I/O C Code — Parallax Forums

ICCPROP Async Serial I/O C Code

jazzedjazzed Posts: 11,803
edited 2008-04-03 03:40 in Propeller 1
Attached·are async serial I/O·"C" packages for ImageCraft's ICCPROP.
See html/index.html files tab for documentation.

April14 ASIO_BETA notes:
This is a slightly different version of code appearing in beta1 release. Uses waitcnt timing (and some dependency on code execution time). Tested with 5MHz and 10MHz crystal. Works with local buffers (April17 package does not).

ASIO_April17'08 notes:
This package is an attempt to use cognew and scheduled waitcnt·for bit times. There should be no dependencies on code execution times with this. Tested with 5MHz and 10MHz crystal. Unfortunately, there·is a·"wart" with this not seen in April14 ASIO_BETA: Using a function "local scope" char array for asio_rxString/asio_txString fails. Same array with global scope works fine; no idea why, but I've seen something similar before.


▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
jazzed·... about·living in·http://en.wikipedia.org/wiki/Silicon_Valley

Traffic is slow at times, but Parallax orders·always get here fast 8)

Post Edited (jazzed) : 4/18/2008 12:32:55 PM GMT

Comments

  • Bob Lawrence (VE1RLL)Bob Lawrence (VE1RLL) Posts: 1,720
    edited 2008-04-02 17:18
    Great work! I'll try it out in a few days once my propeller board arrives. yeah.gif In the meantime I'll have a look.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Aka: CosmicBob
  • jazzedjazzed Posts: 11,803
    edited 2008-04-02 18:00
    Irrelevant alpha only post deleted.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    jazzed·... about·living in·http://en.wikipedia.org/wiki/Silicon_Valley

    Traffic is slow at times, but Parallax orders·always get here fast 8)

    Post Edited (jazzed) : 4/18/2008 2:49:43 AM GMT
  • ImageCraftImageCraft Posts: 348
    edited 2008-04-03 03:40
    There's a bug with the register allocator "not knowing" a variable being referenced in an asm() statement so if a variable is only referenced in asm()s, strange things may happen. This is of course now fixed.

    I am compiling the (standard C subset) library functions for the beta release. Life is a humongous PITA when we don't have the instruction set only simulator yet to do fast / bulk testing....
Sign In or Register to comment.