MA180023 Microchip Technology, MA180023 Datasheet - Page 236

MODULE PLUG-IN PIC18F46J11 PIM

MA180023

Manufacturer Part Number
MA180023
Description
MODULE PLUG-IN PIC18F46J11 PIM
Manufacturer
Microchip Technology
Series
PIC®r
Datasheet

Specifications of MA180023

Accessory Type
Plug-In Module (PIM) - PIC18F46J11
Tool / Board Applications
General Purpose MCU, MPU, DSP, DSC
Mcu Supported Families
PIC18
Supported Devices
Stand-alone Or W/ HPC(DM183022) Or PIC18(DM183032)
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC18
Silicon Core Number
PIC18F
Silicon Family Name
PIC18FxxJxx
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
HPC Explorer Board (DM183022) or PIC18 Explorer Board (DM183032)
For Use With
DM183032 - BOARD EXPLORER PICDEM PIC18DM183022 - BOARD DEMO PIC18FXX22 64/80TQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MA180023
Manufacturer:
Microchip Technology
Quantity:
135
PIC18F46J11 FAMILY
TABLE 16-3:
The Alarm Value register window (ALRMVALH and
ALRMVALL) uses the ALRMPTR bits (ALRMCFG<1:0>)
to select the desired Alarm register pair.
By reading or writing to the ALRMVALH register, the
Alarm Pointer value, ALRMPTR<1:0>, decrements
by 1 until it reaches ‘00’. Once it reaches ‘00’, the
ALRMMIN and ALRMSEC value will be accessible
through ALRMVALH and ALRMVALL until the pointer
value is manually changed.
TABLE 16-4:
16.2.9
The real-time crystal input can be calibrated using the
periodic auto-adjust feature. When properly calibrated,
the RTCC can provide an error of less than three
seconds per month.
To perform this calibration, find the number of error
clock pulses and store the value in the lower half of the
RTCCAL register. The 8-bit, signed value – loaded into
RTCCAL – is multiplied by ‘4’ and will either be added
or subtracted from the RTCC timer, once every minute.
DS39932C-page 236
RTCPTR<1:0>
ALRMPTR<1:0>
00
01
10
11
00
01
10
11
CALIBRATION
RTCVALH<15:8> RTCVALL<7:0>
RTCVALH AND RTCVALL
REGISTER MAPPING
ALRMVAL REGISTER
MAPPING
ALRMVALH<15:8> ALRMVALL<7:0>
RTCC Value Register Window
WEEKDAY
MINUTES
ALRMMNTH
MONTH
Alarm Value Register Window
ALRMMIN
ALRMWD
SECONDS
HOURS
ALRMSEC
ALRMDAY
ALRMHR
YEAR
DAY
To calibrate the RTCC module:
1.
2.
EQUATION 16-1:
3.
Writes to the RTCCAL register should occur only when
the timer is turned off, or immediately after the rising
edge of the seconds pulse.
Note:
(Ideal Frequency (32,758) – Measured Frequency) *
60 = Error Clocks per Minute
Use another timer resource on the device to find
the error of the 32.768 kHz crystal.
Convert the number of error clock pulses per
minute (see Equation 16-1).
• If the oscillator is faster than ideal (negative
• If the oscillator is slower than ideal (positive
Load the RTCCAL register with the correct
value.
result from step 2), the RTCCALL register value
needs to be negative. This causes the specified
number of clock pulses to be subtracted from
the timer counter once every minute.
result from step 2), the RTCCALL register value
needs to be positive. This causes the specified
number of clock pulses to be added to the timer
counter once every minute.
In determining the crystal’s error value, it
is the user’s responsibility to include the
crystal’s initial error from drift due to
temperature or crystal aging.
CONVERTING ERROR
CLOCK PULSES
© 2009 Microchip Technology Inc.

Related parts for MA180023