PIC24F16KA101-I/P Microchip Technology, PIC24F16KA101-I/P Datasheet - Page 165

IC PIC MCU FLASH 16K 20-DIP

PIC24F16KA101-I/P

Manufacturer Part Number
PIC24F16KA101-I/P
Description
IC PIC MCU FLASH 16K 20-DIP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 24Fr

Specifications of PIC24F16KA101-I/P

Program Memory Type
FLASH
Program Memory Size
16KB (5.5K x 24)
Package / Case
20-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
16-Bit
Speed
32MHz
Connectivity
I²C, IrDA, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
18
Eeprom Size
512 x 8
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 9x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC24F
Core
PIC
Data Bus Width
16 bit
Data Ram Size
1.5 KB
Interface Type
I2C/IrDA/SPI/UART
Maximum Clock Frequency
32 MHz
Number Of Programmable I/os
18
Number Of Timers
3
Operating Supply Voltage
1.8 V to 3.6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52713-733, 52714-737, 53276-922, EWDSPIC
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, DM240001
Minimum Operating Temperature
- 40 C
On-chip Adc
9-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
MA240017 - MODULE PLUG-IN PIC24F16KA102 PIMAC164337 - MODULE SOCKET FOR PM3 40DIP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
20.0
The programmable Cyclic Redundancy Check (CRC)
module in PIC24F devices is a software-configurable
CRC checksum generator. The CRC algorithm treats a
message as a binary bit stream and divides it by a fixed
binary number.
The remainder from this division is considered the
checksum. As in division, the CRC calculation is also
an iterative process. The only difference is that these
operations are done on modulo arithmetic based on
mod2. For example, division is replaced with the XOR
operation (i.e., subtraction without carry). The CRC
algorithm uses the term, polynomial, to perform all of
its calculations.
The divisor, dividend and remainder that are
represented by numbers are termed as polynomials
with binary coefficients.
FIGURE 20-1:
© 2009 Microchip Technology Inc.
Note:
D
PLEN<3:0>
OUT
XOR
PROGRAMMABLE CYCLIC
REDUNDANCY CHECK (CRC)
GENERATOR
This data sheet summarizes the features of
this group of PIC24F devices. It is not
intended to be a comprehensive reference
source. For more information on Program-
mable Cyclic Redundancy Check, refer to
the “PIC24F Family Reference Manual”,
Section
Redundancy Check (CRC)” (DS39714).
IN
clk
Hold
BIT 0
OUT
0
30.
CRC SHIFTER DETAILS
“Programmable
X1
0
1
IN
clk
Hold
BIT 1
OUT
1
Cyclic
CRC Shift Register
Preliminary
PIC24F16KA102 FAMILY
X2
0
1
CRC Write Bus
The programmable CRC generator offers the following
features:
• User-programmable polynomial CRC equation
• Interrupt output
• Data FIFO
The module implements a software-configurable CRC
generator. The terms of the polynomial and its length
can be programmed using the CRCXOR (X<15:1>) bits
and the CRCCON (PLEN<3:0>) bits, respectively.
Consider the CRC equation:
To program this polynomial into the CRC generator, the
CRC register bits should be set as provided in
Table 20-1.
TABLE 20-1:
The value of X<15:1>, the 12
to ‘1’, as required by the equation. The 0 bit required by
the equation is always XORed. For a 16-bit polynomial,
the 16
therefore, the X<15:1> bits do not have the 0 bit or the
16
The topology of a standard CRC generator is displayed
in Figure 20-2.
PLEN<3:0>
X<15:1>
IN
clk
Hold
BIT 2
th
OUT
Bit Name
bit.
th
2
bit is also always assumed to be XORed;
CRC Read Bus
EXAMPLE CRC SETUP
X3
x
0
1
16
+ x
X15
12
000100000010000
0
1
+ x
th
bit and the 5
5
Bit Value
+ 1
IN
BIT 15
clk
1111
Hold
OUT
DS39927B-page 163
15
th
bit are set

Related parts for PIC24F16KA101-I/P