CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Rtc pic18j97j60 /18f67j60

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
acsg



Joined: 25 Apr 2021
Posts: 8
Location: Rio de Janeiro - Brazil

View user's profile Send private message

Rtc pic18j97j60 /18f67j60
PostPosted: Fri Jun 16, 2023 7:18 am     Reply with quote

Hi Guys,

I am using PIC 18F97j60 , which has a real-time calendar clock pin C3/C4.

I am using 32.768 kHz Xtal EXT:

My version 5.059 ccs. Does anybody has a example? RTC module and functions?

I can't find one in the forum.

Thanks in advance
_________________
"For by wise counsel you will wage your own war."
Pv24:6
Ttelmah



Joined: 11 Mar 2010
Posts: 19495

View user's profile Send private message

PostPosted: Fri Jun 16, 2023 8:14 am     Reply with quote

Your chip does not have an RTCC module. It supports a 32K oscillator on
Timer1, which can be used as a basic RTC. This is on C0/C1, not C3/C4.
Where are you seeing mention of C3/C4 as an real time calendar/clock
in the data sheet for this chip?...

A basic timer1 RTC is posted here:
[url]
http://www.ccsinfo.com/forum/viewtopic.php?t=26177
[/url]

You would have to tweak the clock setups for your chip.
acsg



Joined: 25 Apr 2021
Posts: 8
Location: Rio de Janeiro - Brazil

View user's profile Send private message

PostPosted: Fri Jun 16, 2023 12:58 pm     Reply with quote

Sorry. I was remembering the circuit image in my memory[C3/C4].

Now, i took a look at the datasheet [C0/C1].

I'll implement and come back here.

Thanks Ttelmah!
_________________
"For by wise counsel you will wage your own war."
Pv24:6
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group