external eeprom


Closed Thread
Results 1 to 8 of 8

Thread: external eeprom

Hybrid View

  1. #1
    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

  2. #2


    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

  3. #3
    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

  4. #4
    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.)

  5. #5


    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, 15:46
  2. Replies: 1
    Last Post: - 28th January 2010, 23:15
  3. Replies: 5
    Last Post: - 24th June 2009, 04: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, 07:26
  5. word variable to 25lc640
    By TONIGALEA in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th July 2004, 20: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