Discussion in "Project Help" started by    venkat    Jun 22, 2007.
Fri Jun 22 2007, 11:58 am
#1
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
Fri Jun 22 2007, 01:40 pm
#2
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
Fri Jun 22 2007, 02:27 pm
#3
Do you have assembly code for that?
Fri Jun 22 2007, 08:05 pm
#4
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
#5
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?
Mon Jun 25 2007, 02:40 pm
#6
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. :-)
Sat Jul 14 2007, 02:39 pm
#7
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
Sat Jul 14 2007, 03:14 pm
#8
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
#9
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.
Tue Jul 17 2007, 06:19 pm
#10
then post your work so that we can help u to find out the problem

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

MnoioCoove
Tue May 21 2024, 02:06 am
PedroDug
Sun May 19 2024, 05:39 pm
JewelAmuck
Sun May 19 2024, 03:06 pm
Minniemus
Sun May 19 2024, 07:39 am
Andyhet
Sat May 18 2024, 07:28 am
BrettTibre
Fri May 17 2024, 06:14 pm
Gordonfax
Fri May 17 2024, 10:28 am
Davidspils
Fri May 17 2024, 10:19 am