View previous topic :: View next topic |
Author |
Message |
acsg
Joined: 25 Apr 2021 Posts: 8 Location: Rio de Janeiro - Brazil
|
Rtc pic18j97j60 /18f67j60 |
Posted: Fri Jun 16, 2023 7:18 am |
|
|
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: 19732
|
|
Posted: Fri Jun 16, 2023 8:14 am |
|
|
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
|
|
Posted: Fri Jun 16, 2023 12:58 pm |
|
|
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 |
|
 |
|