Texas Instruments Development Kit for TM4C129x,Tiva™ ARM® Cortex™ -M4 Microcontroller DK-TM4C129X DK-TM4C129X 数据表

产品代码
DK-TM4C129X
下载
页码 2182
13.4.1.3
Operational Modes Configuration
AES Polling Mode
Main Sequence: AES Polling Mode
Figure 13-12 on page 1005 shows AES polling mode. The registers used in AES polling mode are:
■ AES Data RW Plaintext/Ciphertext 0 (AES_DATA_IN_0) registers, offset 0x060 to 0x06C
■ AES Control (AES_CTRL) register, offset 0x050
■ AES Hash Tag Out 0 (AES_TAG_OUT_0), offset 0x070
Figure 13-12. AES Polling Mode
START
Write the 128-bit data to be encrypted/
decrypted AES_DATA _IN_n= xxxx
Is input buffer empty?
AES_CTRL[1] INPUT_READY
= 0x1
Write the 128-bit data to be encrypted/
decrypted AES_DATA _IN_n= xxxx
Is result available?
AES _CTRL[0] OUTPUT_READY
= 0x1
Read the encrypted/decrypted data
authentication_result = AES_TAG_OUT_n
data_result = AES_DATA _IN_n
END
no
yes
no
yes
AES Interrupt Mode
The application can use software interrupts to control the flow of Context In, Context Out, Data In,
and Data Out requests. To enable these interrupts:
1005
December 13, 2013
Texas Instruments-Advance Information
Tiva
TM4C129XNCZAD Microcontroller