ATmega1284PR231 Atmel Corporation, ATmega1284PR231 Datasheet - Page 21

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
Figure 6-8.
Figure 6-9.
8111C–MCU Wireless–09/09
MOSI
MISO
/SEL
SCLK
MOSI
MISO
0
byte 1 (command byte)
1
PHY_STATUS
1
Packet Structure - Frame Write Access
Example SPI Sequence - Frame Buffer Read of a Frame with 4-byte PSDU
PHY_STATUS
reserved[4:0]
COMMAND
Note, the Frame Buffer read access can be terminated at any time without any consequences by
setting /SEL = H, e.g. after reading the PHR byte only.
On Frame Buffer write access the second byte transferred on MOSI contains the frame length
(PHR field) followed by the payload data (PSDU) as shown by
The number of bytes n for one frame access is calculated as follows:
The maximum value of frame_length is 127 bytes. That means that n ≤ 130 for Frame Buffer
read and n ≤ 129 for Frame Buffer write accesses.
Each read or write of a data byte increments automatically the address counter of the Frame
Buffer until the access is terminated by setting /SEL = H. A Frame Buffer read access may be
terminated (/SEL = H) at any time without affecting the Frame Buffer content. Another Frame
Buffer read operation starts again at the PHR field.
The content of the Frame Buffer is only overwritten by a new received frame or a Frame Buffer
write access.
Figure 6-9 on page 21
Frame Buffer access to read and write a frame with 4-byte PSDU respectively.
• Read Access:
• Write Access:
PHR
byte 2 (data byte)
XX
PHR[7:0]
XX
PSDU 1
n = 3 + frame_length
[PHY_STATUS, PHR byte, PSDU data, and LQI byte]
n = 2 + frame_length
[command byte, PHR byte, and PSDU data]
XX
and
Figure 6-10 on page 22
byte 3 (data byte)
PSDU[7:0]
XX
PSDU 2
XX
PSDU 3
XX
illustrate an example SPI sequence of a
byte n-1 (data byte)
PSDU[7:0]
XX
Figure 6-8 on page
PSDU 4
XX
AT86RF231
byte n (data byte)
PSDU[7:0]
LQI
XX
21.
XX
21

Related parts for ATmega1284PR231