rtc interfacing
Fri Jun 22 2007, 11:58 am
hai friends,
please send me the schematic and c code to inteface the 12c887 rtc with at89c51ed2 mcu, waiting in anticipation
Tags interfacing 12C887 RTCinterfacing 12C887 RTC with 8051RTC interfacing
please send me the schematic and c code to inteface the 12c887 rtc with at89c51ed2 mcu, waiting in anticipation
Fri Jun 22 2007, 01:40 pm
I think one thread is already open for this discussion. Please do not make duplicate posts..
and make a schematic yourself i have also given you the pin configuration, if there is any error in the schematic i will help you correcting it.
and as it is memory mapped so you can simply read and write as you write in a memory location. first you finish your schematic then i will help you.
Note: Please do not create duplicate posts. If you have already opened a discussion with similar topic, its better to continue in the same thread Try not to mess up the forum.
Thanks!
Rickey's World
and make a schematic yourself i have also given you the pin configuration, if there is any error in the schematic i will help you correcting it.
and as it is memory mapped so you can simply read and write as you write in a memory location. first you finish your schematic then i will help you.
Note: Please do not create duplicate posts. If you have already opened a discussion with similar topic, its better to continue in the same thread Try not to mess up the forum.
Thanks!
Rickey's World
Fri Jun 22 2007, 08:05 pm
i said.. write the code if you get error i will help you removing it why you all want ready made things
Mon Jun 25 2007, 01:55 pm
sir, Thank you for your replies,
I have already tried the circuit for dispalying the time on hyperterminal. I am getting the time which is not updating, for the first time i run the project i am getting whatever the time i have set without updating. if i switch off and on the controller i get another time which is still not updating. Even after i remove the rtc (i.e., po) iam still getting the un-updated time, in this case there is no connection between the rtc registers and the microcontroller. what could be wrong?
I have already tried the circuit for dispalying the time on hyperterminal. I am getting the time which is not updating, for the first time i run the project i am getting whatever the time i have set without updating. if i switch off and on the controller i get another time which is still not updating. Even after i remove the rtc (i.e., po) iam still getting the un-updated time, in this case there is no connection between the rtc registers and the microcontroller. what could be wrong?
Mon Jun 25 2007, 02:40 pm
no.. it could be cause.. you did not activate the oscillator. so clock is kind of halted.
see page 11 for more information on turning the oscillator on. :-)
see page 11 for more information on turning the oscillator on. :-)
Sat Jul 14 2007, 02:39 pm
please refer "The 8051 microcontroller and Embedded System" By Mazidi." it has a very good tutorial for interface with 12c887 RTC
i have make a project using this with asm and working fine
note: before using the RTC u must enable the internal osc by proper configuration
i have make a project using this with asm and working fine
note: before using the RTC u must enable the internal osc by proper configuration
Sat Jul 14 2007, 03:14 pm
I told him to read page 11 and after that i am sure he will get the output.. coz he already made everything just for got to enable oscillator
Tue Jul 17 2007, 04:12 pm
sir, I have enabled the oscillator, and used the attached code to read the initialized data and the updated clock. I am not getting the updated time. plz help me to debug.
Powered by e107 Forum System