Discussion in "Project Help" started by    venkat    Jun 20, 2007.
Wed Jun 20 2007, 09:32 am
#1
hai friends,
This is venkat, i am trying to interface the rtc 12887 with p89c51ed2 as per the circuit and the code given in the mazidi book. After initializing and setting the rtc to update the time, I am getting some defualt junk vlaues, even if i remove the rtc iam getting the junk value in hyperterminal. help me please , Thanking you,
Tags DS12C887 interfacing with 8051RTC DS12C887 interfacing
Wed Jun 20 2007, 12:48 pm
#2
Hi venkat, its easy to interface DS12887, simple map it to port 0 as memory mapped I/O. here is the pin connections...
Controller      DS12887
P0                AD[7:0]
ALE               AS
RD                DS
WR               R/W

You can connect CS to permanent ground if you are not using any other memory IC, if you are using then use a decoding logic. Hope this helps..
Please click on thanks button if you are satisfied
Wed Jun 20 2007, 05:45 pm
#3
if u are using hyper terminal then u should use CR command to first clear the screen before the next time display in your code
Wed Jun 20 2007, 06:31 pm
#4
he is talking about the garbage he is receiving on the display.. that might be cause of wrong interfacing.. so use the connections as i suggested and test.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am