PFC8583 Connection and I2Cwrite I2cread!


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Apr 2005
    Posts
    23


    Did you find this post helpful? Yes | No

    Default

    "and what must be min configuration for connecting PFC!
    I connected scl and SDA pin!"


    Did you put two resistors tied to VDD??

    roberto

  2. #2
    Join Date
    Apr 2005
    Posts
    32


    Did you find this post helpful? Yes | No

    Default

    i connected resistors..
    i couldn't read and write clock data from PFC?

    ps: i read previous topics but i couldn't find solution ...

  3. #3
    Join Date
    Apr 2005
    Posts
    32


    Did you find this post helpful? Yes | No

    Default

    i started to read PFC

    these codes works properly !!

    i2cread sda,scl,$A2,2,[S] 'sec
    i2cread sda,scl,$A2,3,[M] 'minute
    i2cread sda,scl,$A2,4,[H] 'hour

    but i couldn't set time ?

    i want to set "18:59" time to PFC but this code didn't work ?

    ......
    M = 45
    H = 18


    .....
    i2cwrite sda,scl,$A2,2,[S] 'sec
    i2cwrite sda,scl,$A2,3,[M] 'minute
    i2cwrite sda,scl,$A2,4,[H] 'hour

    ....

  4. #4
    Join Date
    Aug 2005
    Location
    South Africa
    Posts
    10


    Did you find this post helpful? Yes | No

    Default

    You should use $A1 or $A0 as far as I know...

    Is you control register set to the right value??
    I2CWrite DPIN,CPIN, $A1,$00,[ $09 ] ( See datasheets for the value you need)

  5. #5
    Join Date
    Apr 2005
    Posts
    32


    Did you find this post helpful? Yes | No

    Default

    thx!

    i can read and setup time !
    but , clock counts very slow !! I couldnt adjust with variable condansator !!

    please help !!

  6. #6
    Join Date
    Dec 2005
    Location
    Corum,Turkiye
    Posts
    15


    Did you find this post helpful? Yes | No

    Default hi Uludere

    i dont understand why it "slow" .. ..
    you write me..

    Hocam merhaba...
    Pcf de sorun yaşamaman lazım.. Ben ikisinide kullandım. ds1307 veya pcf8583 problemsiz entegreler bunlar. bana sıkıntını tam yazarsan yardımcı olabilirim.



    ------------------------------------
    Elektroline
    www.labarna.com
    [email protected]
    ------------------------------------

  7. #7
    Join Date
    Apr 2005
    Posts
    32


    Did you find this post helpful? Yes | No

    Default

    thx elektroline!!
    i am going to send my problem on monday !!

  8. #8
    Join Date
    Apr 2005
    Posts
    32


    Did you find this post helpful? Yes | No

    Default ds1302 AND pfc8583

    pfc 8583 is counting 1 minute in 2 minute ?
    and second is counting to 99?
    Last edited by uludere72; - 24th February 2006 at 20:02.

Similar Threads

  1. PIC 18F4550 and MCP23017
    By DaveC3 in forum Code Examples
    Replies: 12
    Last Post: - 4th December 2010, 14:01

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