ATxmega32A4U Atmel Corporation, ATxmega32A4U Datasheet - Page 318

no-image

ATxmega32A4U

Manufacturer Part Number
ATxmega32A4U
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATxmega32A4U

Flash (kbytes)
32 Kbytes
Pin Count
44
Max. Operating Frequency
32 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
34
Ext Interrupts
34
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
7
Twi (i2c)
2
Uart
5
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
12
Adc Resolution (bits)
12
Adc Speed (ksps)
2000
Analog Comparators
2
Resistive Touch Screen
No
Dac Channels
2
Dac Resolution (bits)
12
Temp. Sensor
Yes
Crypto Engine
AES/DES
Sram (kbytes)
4
Eeprom (bytes)
1024
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.6 to 3.6
Operating Voltage (vcc)
1.6 to 3.6
Fpu
No
Mpu / Mmu
no / no
Timers
5
Output Compare Channels
16
Input Capture Channels
16
Pwm Channels
16
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATxmega32A4U-AU
Manufacturer:
ON
Quantity:
1 140
Part Number:
ATxmega32A4U-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega32A4U-AUR
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATxmega32A4U-CU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega32A4U-CU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
25.4.1
8331A–AVR–07/11
Key and State Memory
The following setup and use procedure is recommended:
If more than one block is to be encrypted or decrypted, repeat the procedure from step 3.
When the encryption/decryption procedure is complete, the AES interrupt flag is set and an
optional interrupt is generated.
The AES key and state memory are both 16 x 8-bit memories that are accessible through the
KEY and STATE registers, respectively.
Each memory has two 4-bit address pointers used to address the memory for read and write,
respectively. The initial value of the pointers is zero. After a read or write operation to the STATE
or KEY register, the appropriate pointer is automatically incremented. Accessing (read or write)
the control register (CTRL) will reset all pointers to zero. A pointer overflow (a sequential read or
write done more than 16 times) will also set the affected pointer to zero. The pointers are not
accessible from software. Read and write memory pointers are both incremented during write
operations in XOR mode.
Access to the KEY and STATE registers is possible only when encryption/decryption is not in
progress.
Figure 25-2. The state memory with pointers and register.
The state memory contains the AES state throughout the encryption/decryption process. The ini-
tial value of the state is the initial data (i.e., plaintext in the encryption mode, and ciphertext in the
decryption mode). The last value of the state is the encrypted/decrypted data.
1. Enable the AES interrupt (optional).
2. Select the AES direction to encryption or decryption.
3. Load the key data block into the AES key memory.
4. Load the data block into the AES state memory.
5. Start the encryption/decryption operation.
4-bit state write
address pointer
reset or access
to AES Control
Reset pointer
I/O Data Bus
XOR
STATE
14
15
0
1
-
xor
Atmel AVR XMEGA AU
STATE[read pointer]
address pointer
4-bit state read
reset or access
to AES Control
Reset pointer
318

Related parts for ATxmega32A4U