execution time of READ command in BS2?
Archiver
Posts: 46,084
in BS2 ,we know " write to EEROM" may need tens milisecond, but how many
mili-sec needed in " READ
command" ?
regards
Baker
mili-sec needed in " READ
command" ?
regards
Baker
Comments
The READ command takes close to 200 microseconds.
-- Tracy
>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