Why PIC's Internal RTCC is not giving correct date and time ?

Status
Not open for further replies.

pic.programmer

Advanced Member level 3
Joined
Aug 19, 2015
Messages
773
Helped
141
Reputation
284
Reaction score
140
Trophy points
43
Activity points
7,531
Why PIC's Internal RTCC is not giving correct date and time ?

I am using PIC18F27J53 and its Internal RTCC module. I have written this code and it seems the register configurations and usage are correct but I am not getting correct date and time. Project files + Proteus 8.2 SP2 format Simulation file attached.
 

Attachments

  • PIC18F27J53 RTCC.rar
    73.3 KB · Views: 72

Hi,

but I am not getting correct date and time
Could you please be more descriptive.
What do you expect? And what do you get instead?

Klaus
 

Could you please be more descriptive.
What do you expect? And what do you get instead?

Proteus File is attached. It can be simulated and results seen. I need Date, Time and Weeday data from RTCC. Also it is giving some warnings in Proteus.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…