Shop OBEX P1 Docs P2 Docs Learn Events
execution time of READ command in BS2? — Parallax Forums

execution time of READ command in BS2?

ArchiverArchiver Posts: 46,084
edited 2000-07-28 20:33 in General Discussion
in BS2 ,we know " write to EEROM" may need tens milisecond, but how many
mili-sec needed in " READ
command" ?

regards

Baker

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-07-28 16:04
    Hi Baker,

    The READ command takes close to 200 microseconds.

    -- Tracy
  • ArchiverArchiver Posts: 46,084
    edited 2000-07-28 20:33
    >Hi Baker,
    >The READ command takes close to 200 microseconds.
    > -- Tracy

    I measured it again, because it didn't look quite right. I'm updating the
    timing FAQ.
    Here are the results:
    READ command execution time:
    BS2: 550 microseconds
    BS2e: 630 microseconds
    BS2SX: 240 microseconds

    WRITE execution time varies depending on the individual eeprom and on
    temperature. At room temperature on a small sample, the shortest I have
    measured was 4.5 milliseconds, and the longest was 7.5 milliseconds. The
    manual states the worst case value, 10 milliseconds.


    On the BS2SX and BS2e, the times for PUT and GET are shorter, as you
    would expect, because it is CPU RAM:
    GET execution time:
    BS2e: 200 microseconds
    BS2sx: 80 microseconds

    PUT execution time:
    BS2e: 225 microseconds
    BS2sx: 90 microseconds

    As usual, the exact time depends +/- a few microseconds on whether the
    arguments are constants or variables, and on the variable size.

    and for the record,
    RUN execution time
    BS2e: 750 microseconds
    BS2sx: 300 microseconds

    -- Tracy Allen
    Electronically Monitored Ecosystems
    http://www.emesystems.com
Sign In or Register to comment.