PIC18F85K22-I/PT Microchip Technology, PIC18F85K22-I/PT Datasheet - Page 238

no-image

PIC18F85K22-I/PT

Manufacturer Part Number
PIC18F85K22-I/PT
Description
IC, 8BIT MCU, PIC18F, 64MHZ, TQFP-80
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheet

Specifications of PIC18F85K22-I/PT

Controller Family/series
PIC18
No. Of I/o's
69
Eeprom Memory Size
1KB
Ram Memory Size
2KB
Cpu Speed
64MHz
No. Of Timers
8
Core Size
8 Bit
Program Memory Size
32KB
Core Processor
PIC
Speed
64MHz
Connectivity
EBI/EMI, I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
69
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 24x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
80-TQFP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F85K22-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F85K22-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F85K22-I/PTRSL
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC18F87K22 FAMILY
18.2.2
As previously mentioned, the RTCC module is
intended to be clocked by an external Real-Time Clock
(RTC) crystal, oscillating at 32.768 kHz, but an internal
oscillator can be used. The RTCC clock selection is
decided by the RTCOSC bit (CONFIG3L<0>).
FIGURE 18-4:
18.2.2.1
The RTCC module can be clocked by an external,
32.768 kHz crystal (SOSC oscillator) or the LF-INTOSC
oscillator, which can be selected in CONFIG3L<0>.
If the external clock is used, the SOSC oscillator should
be enabled. If LF-INTOSC is providing the clock, the
INTOSC clock can be brought out to the RTCC pin by
the RTSECSEL<1:0> bits (PADCFG<2:1>).
18.2.3
This section explains which timer values are affected
when there is a rollover:
• Time of Day: From 23:59:59 to 00:00:00 with a
• Month: From 12/31 to 01/01 with a carry to the
• Day of Week: From 6 to 0 with no carry (see
• Year Carry: From 99 to 00; this also surpasses the
For the day-to-month rollover schedule, see
Because the following values are in BCD format, the
carry to the upper BCD digit occurs at the count of 10,
not 16 (SECONDS, MINUTES, HOURS, WEEKDAY,
DAYS and MONTHS).
DS39960D-page 238
carry to the Day field
Year field
Table
use of the RTCC
Note 1:
32.768 kHz XTAL
from SOSC
Internal RC
RTCCFG
18-1)
CLOCK SOURCE
DIGIT CARRY RULES
Real-Time Clock Enable
Writing to the lower half of the MINSEC register resets all counters, allowing fraction of a second synchronization;
clock prescaler is held in Reset when RTCEN = 0.
CLOCK SOURCE MULTIPLEXING
Second
Clock Prescaler
Hour:Minute
Table
1:16384
18-2.
(1)
module to yield an error of 3 seconds or less per month.
Day of Week
Calibration of the crystal can be done through this
(For further details, see
TABLE 18-1:
TABLE 18-2:
Half-Second
Note 1:
Clock
Day
09 (September)
11 (November)
12 (December)
02 (February)
01 (January)
10 (October)
08 (August)
03 (March)
06 (June)
04 (April)
05 (May)
07 (July)
Wednesday
Month
Thursday
Saturday
Tuesday
Monday
See
Sunday
Friday
Half Second
Section 18.2.4 “Leap
DAY OF WEEK SCHEDULE
DAY TO MONTH ROLLOVER
SCHEDULE
 2009-2011 Microchip Technology Inc.
Day of Week
Month
Section 18.2.9
(1)
Maximum Day Field
One Second Clock
28 or 29
“Calibration”.)
Year”.
31
31
30
31
30
31
31
30
31
30
31
Year
0
1
2
3
4
5
6
(1)

Related parts for PIC18F85K22-I/PT