Shop OBEX P1 Docs P2 Docs Learn Events
Javelin Stamp true speed — Parallax Forums

Javelin Stamp true speed

AnkurAnkur Posts: 7
edited 2005-07-14 20:29 in General Discussion
I know that Javelin promises a speed of 8000 instructions/second for execution speed (not including background processes which run independently of foreground tasks). What exactly are bacground processes and how are they invoked. For past one month i have been programming Javelin to listen to 2 instruments then after doing some calculation output the results.
My concern is that the execution speed is super slow if compared to other stamps like Basic Express BX24.
I really want Javelin to perform at the same rate.
Please let me know.
Thanks,
Ankur

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-07-14 15:51
    Ankur,

    ·· Actually there's no promised speed implied.· The ratings are always approximate, just like the number of instructions that can be stored.· This can vary greatly depending on the instructions used.· As for the BASIC Express, I don't know what their claims are for running JAVA programs at what speed, but you would have to determine what's the best microcontroller for you.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • AnkurAnkur Posts: 7
    edited 2005-07-14 16:23
    Thank you for your reply. But i have 2 questions.

    Please let me know what exactly are background processes and how are they invoked?
    What exaclty Virtual peripheral means? & can i write my own Virtual peripheral class or not?

    Thanks,
    Ankur
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-07-14 16:50
    The background processes are the virtual peripherals; things like UARTS, the PWM object, timers, etc. Of course, there is a bit of overhead that manages the VPs so this will also have an effect on execution speed.

    No, VPs are specialized chunks of assembly code that run a precise intervals, so there is no way for the end-user to implement them.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • Ryan ClarkeRyan Clarke Posts: 738
    edited 2005-07-14 20:29
    Ankur, could you post some of your code?

    Ryan
Sign In or Register to comment.