Write to EEPROM timing, 12F683


Closed Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2006
    Location
    Omaha, Nebraska USA
    Posts
    263

    Default Write to EEPROM timing, 12F683

    Okay, gang:

    My 12F683 data sheet (p. 122) gives EEPROM erase/write cycle time as 5 ms (typical) to 6 ms (maximum).

    My old PBP manual (p. 160) says, "Each WRITE is self-timed and takes about 10 milliseconds to execute . . . " (italics mine)

    My new PBP manual (p. 162) says, "Each WRITE is self-timed and takes up to 10 milliseconds to execute . . . " (italics mine)

    Whom should I believe/trust on this, and why?
    Russ
    N0EVC, xWB6ONT, xWN6ONT

    "Easy to use" is easy to say.

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by RussMartin View Post
    Whom should I believe/trust on this, and why?
    I believe the first one (datasheet).

    The second one is a little ify.
    Depends on your tolerance of "about 10ms".
    An 18F4550 only takes 4ms.

    The third one is definately wrong, because the 16F84 can take up to 20ms, although it's usually 10.

    I think the best information will always be the datasheet for the particular device being used.
    <br>
    DT

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Wink technology progresses ...

    Hi, Russ

    Have a Happy new Year ... and plenty of readers.

    a little trip through the datasheets I have shows for parameter "D 133"

    12 F 683 : 2 - 2.5 ms ( last edition ...)

    16 C 84a : typ 10 ms
    16 F 84a : 4 - 8 ms
    16 F 877 : 4 - 8 ms
    16 F 88 : 2 - 4 ms
    16 F 88x : 2 - 2.5 ms

    18 F 1320 : typ 2ms
    18 F 8723 : typ 2.5 ms
    18 F 4523 : typ 4 ms

    so ... it seems a factor of process method ... or chip generation.

    That also stick to what you've read in the different manuals ... for the date they have been written ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    a little trip through the datasheets I have shows for parameter "D 133"
    Hey Alain, try parameter D122
    <br>
    DT

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Talking

    Quote Originally Posted by Darrel Taylor View Post
    Hey Alain, try parameter D122
    <br>
    LOL ... seems EEPROM just need ~ twice the program memory time ...



    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  6. #6
    Join Date
    Aug 2006
    Location
    Omaha, Nebraska USA
    Posts
    263


    Did you find this post helpful? Yes | No

    Default

    Thanks, guys.

    I suspected that the data sheet provided the information to actually rely upon, but . . .

    When compiling from a high-level language, one doesn't necessarily know how the compiler's designers accomplish a given command and whether or not their implementation of the command has somehow added drastically to the overhead.
    Russ
    N0EVC, xWB6ONT, xWN6ONT

    "Easy to use" is easy to say.

  7. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    You could still measure it yourself to know the truth. Use internal Timer, MPLAB StopWatch or toggle a I/O and measure it with a Scope or with PICKIT 2 logic analyzer.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Can't read sequential addresses in external EEPROM
    By tjkelly in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th February 2010, 14:46
  2. Problem with I2C EEPROM addressing
    By Atom058 in forum General
    Replies: 14
    Last Post: - 3rd November 2009, 03:17
  3. PIC16F684 + LCD to use the 256bytes of EEPROM - HELP
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 7th March 2008, 14:19
  4. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  5. word variable to 25lc640
    By TONIGALEA in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th July 2004, 19:59

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts