Hello,
I was wondering if someone could tell me
How long does it take to read 9 non-consecutive EEPROM addresses and pass this information into variables.
How long does it take to pass data from 9 variables and write 9 non-consecutive EEPROM addresses.
Base PIC controller would be either
16F886 4Mhz or 20MHz
Is thier other factors I have not considered?
Thanks
Ron
Reading EEPROM from a beginner
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
The easiest way to achieve this is to do the following.
Start the hardware timer TMR1 running.
Perform the read or write operations.
Collect the value in the timer register.
One thing to look out for is to make sure that the timer is not rolling over. ie going from its max value back to 0. This could be done by setting an interrupt to occur if the timer rolls over which prints a warning on the LCD etc.
Start the hardware timer TMR1 running.
Perform the read or write operations.
Collect the value in the timer register.
One thing to look out for is to make sure that the timer is not rolling over. ie going from its max value back to 0. This could be done by setting an interrupt to occur if the timer rolls over which prints a warning on the LCD etc.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel