Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PROBLEM WITH RTC (PCF8583)

Status
Not open for further replies.

sri45

Junior Member level 2
Joined
Jun 12, 2006
Messages
22
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Location
Hyderabad
Activity points
1,401
Hi,

I am working on R8C/11 microcontroller for which i am writing an application for RTC PCF8583 using soft i2c.
Here when a data is written and read from the RAM locations it is done perfectly
But the settings for the clock to run is made then seconds, minutes and hours registers of RTC are read as FF and this is being continously done.

so how could i solve this problem.
any one please help me regarding this.

thank you
 

budhy

Advanced Member level 3
Joined
Oct 21, 2006
Messages
828
Helped
218
Reputation
436
Reaction score
31
Trophy points
1,308
Location
Indonesia
Activity points
5,265
I doubt there are a problem with your I2C driver, Renesas has a good Application Note for R8C/10 Group A Software control of I2C-BUS using General-purpose Ports, did you use it?
 

jayavardhan

Full Member level 2
Joined
Sep 1, 2006
Messages
126
Helped
3
Reputation
6
Reaction score
0
Trophy points
1,296
Location
India
Activity points
1,851
not sure this will be useful but may be your example

h**p://mcu-programming.blogspot.com/2006/09/real-time-clock-interfacing.html

It is a interfacing i2c RTC (ds1307) with 8051.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top