PIC24FJ128GB MICROCHIP [Microchip Technology], PIC24FJ128GB Datasheet - Page 248
![no-image](/images/no-image-200.jpg)
PIC24FJ128GB
Manufacturer Part Number
PIC24FJ128GB
Description
64/80/100-Pin, 16-Bit Flash Microcontrollers with USB On-The-Go (OTG)
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
1.PIC24FJ128GB.pdf
(328 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC24FJ128GB106-I/MR
Manufacturer:
MICROCHIP
Quantity:
54 574
Company:
Part Number:
PIC24FJ128GB106-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC24FJ128GB106T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC24FJ128GB108-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC24FJ128GB108T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC24FJ128GB110-I/PF
Manufacturer:
Microchip Technology
Quantity:
10 000
- Current page: 248 of 328
- Download datasheet (6Mb)
PIC24FJ256GB110 FAMILY
FIGURE 20-2:
20.1
20.1.1
To start serial shifting, a ‘1’ must be written to the
CRCGO bit.
The module incorporates a FIFO that is 8 deep when
the value of the PLEN bits (CRCCON<3:0>) > 7, and
16 deep, otherwise. The data for which the CRC is to
be calculated must first be written into the FIFO. The
smallest data element that can be written into the FIFO
is one byte. For example, if PLEN = 5, then the size of
the data is PLEN + 1 = 6. The data must be written as
follows:
Once data is written into the CRCWDAT MSb (as
defined by PLEN), the value of the VWORD bits
(CRCCON<12:8>) increments by one. The serial
shifter starts shifting data into the CRC engine when
CRCGO = 1 and VWORD > 0. When the MSb is
shifted out, VWORD decrements by one. The serial
shifter continues shifting until the VWORD reaches 0.
Therefore, for a given value of PLEN, it will take
(PLEN + 1) * VWORD number of clock cycles to
complete the CRC calculations.
When VWORD reaches 8 (or 16), the CRCFUL bit will
be set. When VWORD reaches 0, the CRCMPT bit will
be set.
To continually feed data into the CRC engine, the rec-
ommended mode of operation is to initially “prime” the
FIFO with a sufficient number of words so no interrupt
is generated before the next word can be written. Once
that is done, start the CRC by setting the CRCGO bit to
‘1’. From that point onward, the VWORD bits should be
polled. If they read less than 8 or 16, another word can
be written into the FIFO.
DS39897B-page 246
SDOx
XOR
User Interface
DATA INTERFACE
D
data[5:0] = crc_input[5:0]
BIT 0
p_clk
Q
data[7:6] = ‘bxx
CRC GENERATOR RECONFIGURED FOR x
D
p_clk
BIT 4
Q
Preliminary
D
BIT 5
p_clk
Q
To empty words already written into a FIFO, the
CRCGO bit must be set to ‘1’ and the CRC shifter
allowed to run until the CRCMPT bit is set.
Also, to get the correct CRC reading, it will be
necessary to wait for the CRCMPT bit to go high before
reading the CRCWDAT register.
If a word is written when the CRCFUL bit is set, the
VWORD Pointer will roll over to 0. The hardware will
then behave as if the FIFO is empty. However, the con-
dition to generate an interrupt will not be met; therefore,
no interrupt will be generated (See Section 20.1.2
“Interrupt Operation”).
At least one instruction cycle must pass after a write to
CRCWDAT before a read of the VWORD bits is done.
20.1.2
When the VWORD4:VWORD0 bits make a transition
from a value of ‘1’ to ‘0’, an interrupt will be generated.
20.2
20.2.1
If Sleep mode is entered while the module is operating,
the module will be suspended in its current state until
clock execution resumes.
20.2.2
To continue full module operation in Idle mode, the
CSIDL bit must be cleared prior to entry into the mode.
If CSIDL = 1, the module will behave the same way as
it does in Sleep mode; pending interrupt events will be
passed on, even though the module clocks are not
available.
Operation in Power Save Modes
16
INTERRUPT OPERATION
SLEEP MODE
IDLE MODE
+ x
12
CRC Read Bus
D
BIT 12
p_clk
+ x
Q
5
© 2008 Microchip Technology Inc.
+ 1
CRC Write Bus
BIT 15
D
p_clk
Q
Related parts for PIC24FJ128GB
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC24FJ16MC102-I/SO](/photos/16/13/161315/soic28_tmb.jpg)
Part Number:
Description:
16-bit Motor Control Family, 16 MIPS, 16KB Flash, 1KB RAM 28 SOIC .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ16MC101-I/P](/photos/40/66/406676/20-dip_tmb.jpg)
Part Number:
Description:
16-bit Motor Control Family, 16 MIPS, 16KB Flash, 1KB RAM 20 PDIP .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ16MC102-I/SP](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
16-bit Motor Control Family, 16 MIPS, 16KB Flash, 1KB RAM 28 SPDIP .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ16MC102-I/SS](/photos/16/12/161251/ssop28_tmb.jpg)
Part Number:
Description:
16-bit Motor Control Family, 16 MIPS, 16KB Flash, 1KB RAM 28 SSOP .209in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ16GA004-I/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, TQFP-44
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ256GA106-I/MR](/photos/12/13/121325/c04-149_mr_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, QFN-64
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ64GB004-I/ML](/photos/6/81/68122/150-44-qfn_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, QFN-44
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ64GB106-I/MR](/photos/12/13/121325/c04-149_mr_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, QFN-64
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ64GB002-I/SS](/photos/16/12/161251/ssop28_tmb.jpg)
Part Number:
Description:
16-bit, 16 MIPS, 64KB Flash, 8KB RAM, Nanowatt XLP, USB OTG 28 SSOP .209in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ128DA110-I/BG](/photos/39/70/397092/lpmicrochippic24fj256da210_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, BGA-121
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ128DA210-I/BG](/photos/39/70/397092/lpmicrochippic24fj256da210_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, BGA-121
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ128GB210-I/BG](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, BGA-121
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ256GB210-I/BG](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, BGA-121
Manufacturer:
Microchip Technology
Datasheet:
![PIC24HJ256GP206A-I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24H, 40MIPS, TQFP-64
Manufacturer:
Microchip Technology
Datasheet:
![PIC24HJ256GP210A-I/PF](/photos/12/13/121330/c04-100-tqfp_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24H, 40MIPS, TQFP-100
Manufacturer:
Microchip Technology
Datasheet: