DS1207 Problem with Memory

100317

New Member
Hi,

In my present project I use a Picaxe28x, a ds1307 and a 24LC512.

All works OK. But I have trouble to store data on the DS1307 ($08 - $3f).

On the 24lc512 I would like to store data, the pointer, nevertheless in the memory of the Ds1307 at location 08,09.

Example:

'i2cslave %11010000, i2cslow, i2cbyte
i2cslave %11010000, i2cslow, i2cword
writei2c 08,(W6) ' W6 has the value 114
'writei2c 08,(b13,b12)

If I write the pointer to the address 08 and then read them back, I get instead of 114 the value 16.

Ideas?
 

100317

New Member
DS1307 work

It works!

During my test to write to the two devices I maybe made some mistakes. Late in the night I was very confused.

Now, I run the program again and now it works.

A power down is some time very useful.

Regards,
Hans
 
Top