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

ChrisLub
Tue Apr 23 2024, 05:21 pm
Davidbab
Tue Apr 23 2024, 10:41 am
Richardrit
Tue Apr 23 2024, 09:54 am
HenryLaf
Mon Apr 22 2024, 03:50 pm
bleradrar
Mon Apr 22 2024, 06:38 am
ppu-pro_ka
Sun Apr 21 2024, 07:39 pm
Infewow
Sun Apr 21 2024, 06:30 pm
HumanTak
Sun Apr 21 2024, 12:26 pm