Skip to main content
Visitor II
July 11, 2014
Question

use STM8S's I2C to read DS1302 questions

  • July 11, 2014
  • 1 reply
  • 758 views
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
    This topic has been closed for replies.

    1 reply

    Super User
    August 12, 2014
    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