Philips PCF 8591


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Charles Linquis View Post
    OK, a bit more explanation.

    I DO have the DEFINE I2C_SLOW 1 in my header,
    Ah...and I thought for sure I had it.
    But another idea hit me looking thru the code...
    You've got the R/W set to 0, should be a 1 for a read and 0 for a write.
    Maybe, maybe not. Seems like that's the way it is for the other eeprom's I use.

    I'm a bit late on the refresh button I'm thinking! You guys already got it...
    Last edited by skimask; - 28th March 2007 at 02:32. Reason: Day late dollar short!

  2. #2
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    Check the PBP mqnual. PBP *AUTOMATICALLY* sets the LSbit to the
    correct value. That is, the I2CREAD instruction FORCES the bit to "1"
    and I2CWRITE FORCES it to "0". Try it in your code, and you will find
    that it works.
    Charles Linquist

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Charles Linquis View Post
    Check the PBP mqnual. PBP *AUTOMATICALLY* sets the LSbit to the
    correct value. That is, the I2CREAD instruction FORCES the bit to "1"
    and I2CWRITE FORCES it to "0". Try it in your code, and you will find
    that it works.
    I know. I was jumping back and forth while typing in my last post, checking the datasheet for the PCF, the manual, I2C spec's, etc. I should've hit refresh before submit!

  4. #4
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default Have you tried the hold option

    Hi,

    Have you tried the DEFINE I2C_HOLD 1 in your prog ? Any difference using or not using it ?
    Regards

    Sougata

  5. #5
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by sougata View Post
    Hi,

    Have you tried the DEFINE I2C_HOLD 1 in your prog ? Any difference using or not using it ?


    Yes, I tried that. No difference.
    Charles Linquist

  6. #6
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default Any luck Charles ?

    Hi,

    There has been no update. Please do let us know if you succeed and how.
    Regards

    Sougata

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


    Did you find this post helpful? Yes | No

    Default

    Hi, Charles

    Found a demo here ... :

    Listing 2
    ' Nuts & Volts "Stamp Applications" -- November, 2001

    ... may be it will help

    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 " !!!
    *****************************************

Similar Threads

  1. Philips FR951 Schema needed
    By fredje in forum Schematics
    Replies: 4
    Last Post: - 19th May 2010, 19:47
  2. Problem to read a PCF 8574
    By Darklakebridge7 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th February 2007, 21:56
  3. Pcf 8583
    By srspinho in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th February 2006, 19:41
  4. I2C compass - Philips KMZ51
    By barkerben in forum General
    Replies: 0
    Last Post: - 25th December 2005, 20:10

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