external eeprom


Closed Thread
Results 1 to 8 of 8

Thread: external eeprom

  1. #1

    Default external eeprom

    Hi guys,

    For pics without I2C function like the 12F675 is it possible to read and write data into an external eeprom ?

    .

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


    Did you find this post helpful? Yes | No

    Thumbs down

    Mhhhhhh,

    12F675 has a 14 bits core ... ( I Think ) ...

    and limitations are for 12 BITS cores ...

    from the " README" PbP 2.50a file :

    <<

    12C508(A), 12C509(A), 12CE518, 12CE519, 12F508, 12F509, 12F510, 12F519,
    12F609, 12F615, 12HV609, 12HV615: Limited
    support.

    12C671, 12C672, 12CE673, 12CE674, 12F629, 12F635, 12F675, 12F683:
    Supported.

    >>
    Alain
    Last edited by Acetronics2; - 31st December 2007 at 12:32.
    ************************************************** ***********************
    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 " !!!
    *****************************************

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Thanks Alain,

    i guess that this maybe a stupid question, but here it goes anyway...

    If the 12F675 does not support I2C ( meaning i cannot use the I2Cread and I2Cwrite commands in pbp ) how can i comunicate with the eeprom ?

    And the fisical connections are the same ?

    .

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


    Did you find this post helpful? Yes | No

    Default

    Like Alain was saying ...

    You CAN use I2CWRITE/READ statements with a 12F675.
    <br>
    DT

  5. #5


    Did you find this post helpful? Yes | No

    Default

    Thanks Alain and Darrel Taylor,



    my previous question is due to the fact that in the 12F675 datasheet it doesnt says that it's compatible like other pics do.

    Maybe pbp gets arround that !?

    This means i can use the same pbp expressions and the hardware connections the same also, right ?

    Thanks

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


    Did you find this post helpful? Yes | No

    Default

    The I2CWRITE/READ statements don't use any Hardware I2C modules.
    So you can use any pins you want.

    The only limitation is on devices with 12-bit cores.
    Just because there is a 12 in the part number (12F675), Does Not mean it's a 12-bit core.
    <br>
    DT

  7. #7
    Join Date
    Sep 2007
    Location
    USA, CA
    Posts
    271


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by ruijc View Post
    Thanks Alain and Darrel Taylor,



    my previous question is due to the fact that in the 12F675 datasheet it doesnt says that it's compatible like other pics do.

    Maybe pbp gets arround that !?

    This means i can use the same pbp expressions and the hardware connections the same also, right ?

    Thanks
    You are confusing hardware features with compiler capability.

    Some PIC's have an MSSP or SSP built in to them. The MSSP allows them to be a master i2c through hardware. Doing it through hardware allows the PIC to "multitask" by giving you processor time while the hardware does the work. The SSP only allows slave i2c, which I learned the hard way, and it's basically useless for communicating with eeprom.

    The compiler has a command that performs i2c tasks in software. By doing it in software, that gives you the flexibility to do functions with PIC's that don't have the hardware to do it. However, the trade-off is that during the sending time, it consumes 100% of the processing time. (This is what I ended up doing with my PIC that had the SSP.)

  8. #8


    Did you find this post helpful? Yes | No

    Default

    Hi tenaja,

    That's exactly what i was looking for

    now i fully undestand

    Thanks all and happy new year !!!!

    .

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. Replies: 1
    Last Post: - 28th January 2010, 22:15
  3. Replies: 5
    Last Post: - 24th June 2009, 03:01
  4. How to write/read strings EEPROM/LCD
    By g-hoot in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 11th February 2007, 06:26
  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 : 2

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