ATmega1284PR231 Atmel Corporation, ATmega1284PR231 Datasheet - Page 85

no-image

ATmega1284PR231

Manufacturer Part Number
ATmega1284PR231
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega1284PR231

Flash (kbytes)
128 Kbytes
Max. Operating Frequency
20 MHz
Max I/o Pins
32
Spi
3
Twi (i2c)
1
Uart
2
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Crypto Engine
AES
Sram (kbytes)
16
Eeprom (bytes)
4096
Operating Voltage (vcc)
1.8 to 3.6
Timers
3
Frequency Band
2.4 GHz
Max Data Rate (mb/s)
2
Antenna Diversity
Yes
External Pa Control
Yes
Power Output (dbm)
3
Receiver Sensitivity (dbm)
-101
Receive Current Consumption (ma)
13.2
Transmit Current Consumption (ma)
14.4
Link Budget (dbm)
104
8.2
8.2.1
8.2.2
8111C–MCU Wireless–09/09
Frame Check Sequence (FCS)
Overview
CRC Calculation
The Frame Check Sequence (FCS) is characterized by:
The FCS is intended for use at the MAC layer to detect corrupted frames at a first level of filter-
ing. It is computed by applying an ITU CRC polynomial to all transferred bytes following the
length field (MHR and MSDU fields). The frame check sequence has a length of 16 bit and is
located in the last two bytes of a frame (MAC footer, see
The AT86RF231 applies an FCS check on each received frame. The FCS check result is stored
in register bit RX_CRC_VALID in register 0x06 (PHY_RSSI).
On transmit the radio transceiver generates and appends the FCS bytes during the frame trans-
mission. This behavior can be disabled by setting register bit TX_AUTO_CRC_ON = 0 (register
0x04, TRX_CTRL_1).
The CRC polynomial used in IEEE 802.15.4 networks is defined by:
The FCS shall be calculated for transmission using the following algorithm:
Let
be the polynomial representing the sequence of bits for which the checksum is to be computed.
Multiply M(x) by x
Divide N(x) modulo 2 by the generator polynomial, G
The FCS field is given by the coefficients of the remainder polynomial, R(x).
Example:
Considering a 5 octet ACK frame. The MHR field consists of
0100 0000 0000 0000 0101 0110.
The leftmost bit (b
0010 0111 1001 1110.
The leftmost bit (r
M x ( )
N x ( )
G
• Indicate bit errors, based on a cyclic redundancy check (CRC) of length 16 bit
• Uses International Telecommunication Union (ITU) CRC polynomial
• Automatically evaluated during reception
• Can be automatically generated during transmission
R x ( )
16
x ( )
=
=
=
b
M x ( ) x
=
r
0
0
x
x
x
k 1
16
15
+
+
+
16
16
0
x
r
0
) is transmitted first in time.
1
12
b
) is transmitted first in time. The FCS is in this case
, giving the polynomial
x
1
14
+
x
k 2
x
+
5
+
+
1
+
b
2
r
14
x
k 3
x
+
+
r
15
+
b
k 2
x
+
b
16
k 1
(x), to obtain the remainder polynomial,
Figure 8-2 on page
AT86RF231
80).
85

Related parts for ATmega1284PR231