ATXMEGA128B3-AU ATMEL [ATMEL Corporation], ATXMEGA128B3-AU Datasheet - Page 49

no-image

ATXMEGA128B3-AU

Manufacturer Part Number
ATXMEGA128B3-AU
Description
8/16-bit Atmel XMEGA B3 Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATXMEGA128B3-AU
Manufacturer:
Atmel
Quantity:
10 000
27. CRC – Cyclic Redundancy Check Generator
27.1
27.2
8074B–AVR–02/12
Features
Overview
A cyclic redundancy check (CRC) is an error detection technique test algorithm used to find
accidental errors in data, and it is commonly used to determine the correctness of a data trans-
mission, and data present in the data and program memories. A CRC takes a data stream or a
block of data as input and generates a 16- or 32-bit output that can be appended to the data and
used as a checksum. When the same data are later received or read, the device or application
repeats the calculation. If the new CRC result does not match the one calculated earlier, the
block contains a data error. The application will then detect this and may take a corrective
action, such as requesting the data to be sent again or simply not using the incorrect data.
Typically, an n-bit CRC applied to a data block of arbitrary length will detect any single error
burst not longer than n bits (any single alteration that spans no more than n bits of the data), and
will detect the fraction 1-2
ports two commonly used CRC polynomials; CRC-16 (CRC-CCITT) and CRC-32 (IEEE 802.3).
• CRC-16:
• CRC-32:
Cyclic redundancy check (CRC) generation and checking for
Integrated with flash memory, DMA controller and CPU
CRC polynomial software selectable to
Zero remainder detection
– Communication data
– Program or data in flash memory
– Data in SRAM and I/O memory space
– Continuous CRC on data going through a DMA channel
– Automatic CRC of the complete or a selectable range of the flash memory
– CPU can load data to the CRC generator through the I/O interface
– CRC-16 (CRC-CCITT)
– CRC-32 (IEEE 802.3)
Polynomial:
Hex value:
Polynomial:
Hex value:
x
0x1021
x
0x04C11DB7
16
32
-n
+x
+x
of all longer error bursts. The CRC module in XMEGA devices sup-
12
26
+x
+x
5
23
+1
+x
22
+x
16
+x
12
+x
11
+x
10
+
x
8
+x
7
+x
5
+x
4
+x
2
+x+1
XMEGA B3
49

Related parts for ATXMEGA128B3-AU