hcs08 and ds1307

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

hcs08 and ds1307

755 Views
alexismercier
Contributor III

hi everybody,

 

Does anyone here know how to initialize the ds1307 rtc on the hcs08?

I want to do a program to manipulate hour and date and i don't really know where to start.

thanks for your aswer

Alexis.

Labels (1)
Tags (3)
0 Kudos
Reply
1 Reply

367 Views
Joel69003
Contributor IV

Hi Alexis,

The DS1307 device is connected using the I2C bus. First start looking how it is working and how to use it on your MCU (for example looking at this: http://cache.freescale.com/files/microcontrollers/doc/app_note/AN3291.pdf?fsrch=1&sr=8) ! Then, the datasheet of the DS1307 will be useful to know how you can read/write the date.

Regards,

Joel Guittet

0 Kudos
Reply