"and what must be min configuration for connecting PFC!
I connected scl and SDA pin!"
Did you put two resistors tied to VDD??
roberto
"and what must be min configuration for connecting PFC!
I connected scl and SDA pin!"
Did you put two resistors tied to VDD??
roberto
i connected resistors..
i couldn't read and write clock data from PFC?
ps: i read previous topics but i couldn't find solution ...
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
....
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)
thx!
i can read and setup time !
but , clock counts very slow !! I couldnt adjust with variable condansator !!
please help !!
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]
------------------------------------
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.
Bookmarks