cancel
Showing results for 
Search instead for 
Did you mean: 

use STM8S's I2C to read DS1302 questions

timerc
Associate
Posted on July 11, 2014 at 03:13

I use STM8S105C6 to read DS1302;

I have try the ways in the datasheet to read the DS1302's data, but it  was fail;

STM8S105C6  need  ACK signal ,but DS1302 can't output ACK signal ;

How can I do it;

Thanks for your reply

#ds1302 #stm8s-i2c-ds1302
1 REPLY 1
Andrew Neil
Evangelist
Posted on August 12, 2014 at 21:30

The DS1302 does not have an I2C interface - so it's not going to work!

http://www.maximintegrated.com/en/products/digital/real-time-clocks/DS1302.html/tb_tab2

Perhaps you could adapt this:

http://www.maximintegrated.com/en/app-notes/index.mvp/id/3449