SWCU195A December 2024 – May 2025 CC2744R7-Q1 , CC2745P10-Q1 , CC2745R10-Q1 , CC2745R7-Q1 , CC2755P10 , CC2755R10
Table 20-1 lists the memory-mapped registers for the AES registers. All register offset addresses not listed in Table 20-1 should be considered as reserved locations and the register contents should not be modified.
| Offset | Acronym | Register Name | Section |
|---|---|---|---|
| 0h | DESC | Description Register. | Section 20.4.1 |
| 10h | TRG | Trigger | Section 20.4.2 |
| 14h | ABORT | Abort | Section 20.4.3 |
| 18h | CLR | Clear | Section 20.4.4 |
| 1Ch | STA | Status | Section 20.4.5 |
| 20h | DMA | Direct Memory Access | Section 20.4.6 |
| 24h | DMACHA | DMA Channel A data transfer | Section 20.4.7 |
| 28h | DMACHB | DMA Channel B data transfer | Section 20.4.8 |
| 2Ch | AUTOCFG | Automatic Configuration | Section 20.4.9 |
| 50h | KEY0 | Key Word 0 | Section 20.4.10 |
| 54h | KEY1 | Key Word 1 | Section 20.4.11 |
| 58h | KEY2 | Key Word 2 | Section 20.4.12 |
| 5Ch | KEY3 | Key Word 3 | Section 20.4.13 |
| 70h | TXT0 | Text Word 0 | Section 20.4.14 |
| 74h | TXT1 | Text Word 1 | Section 20.4.15 |
| 78h | TXT2 | Text Word 2 | Section 20.4.16 |
| 7Ch | TXT3 | Text Word 3 | Section 20.4.17 |
| 80h | TXTX0 | Text Word 0 XOR | Section 20.4.18 |
| 84h | TXTX1 | Text Word 1 XOR | Section 20.4.19 |
| 88h | TXTX2 | Text Word 2 XOR | Section 20.4.20 |
| 8Ch | TXTX3 | Text Word 3 XOR | Section 20.4.21 |
| 90h | BUF0 | Buffer Word 0 | Section 20.4.22 |
| 94h | BUF1 | Buffer Word 1 | Section 20.4.23 |
| 98h | BUF2 | Buffer Word 2 | Section 20.4.24 |
| 9Ch | BUF3 | Buffer Word 3 | Section 20.4.25 |
| A0h | TXTXBUF0 | Text Word 0 XOR Buffer Word 0 | Section 20.4.26 |
| A4h | TXTXBUF1 | Text Word 1 XOR Buffer Word 1 | Section 20.4.27 |
| A8h | TXTXBUF2 | Text Word 2 XOR Buffer Word 2 | Section 20.4.28 |
| ACh | TXTXBUF3 | Text Word 3 XOR Buffer Word3 | Section 20.4.29 |
| 104h | IMASK | Interrupt Mask register | Section 20.4.30 |
| 108h | RIS | Raw Interrupt Status register | Section 20.4.31 |
| 10Ch | MIS | Masked Interrupt Status register | Section 20.4.32 |
| 110h | ISET | Interrupt Set register | Section 20.4.33 |
| 114h | ICLR | Interrupt Clear register | Section 20.4.34 |
| 118h | IMSET | Interrupt Mask Set register | Section 20.4.35 |
| 11Ch | IMCLR | Interrupt Mask Clear register | Section 20.4.36 |
Complex bit access types are encoded to fit into small table cells. Table 20-2 shows the codes that are used for access types in this section.
| Access Type | Code | Description |
|---|---|---|
| Read Type | ||
| R | R | Read |
| RH | R H | Read Set or cleared by hardware |
| Write Type | ||
| W | W | Write |
| Reset or Default Value | ||
| -n | Value after reset or the default value | |
DESC is shown in Table 20-3.
Return to the Summary Table.
Description Register.
This register provides IP module ID, revision information, instance index and standard MMR registers offset.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-16 | MODID | R | 6B42h | Module Identifier This register is used to uniquely identify this IP. |
| 15-12 | STDIPOFF | R | 4h | Standard IP MMR block offset Standard IP MMRs are the set from aggregated IRQ registers till DTB. 0: Standard IP MMRs do not exist. 0x1-0xF: Standard IP MMRs begin at offset of 64*STDIPOFF from the base IP address. |
| 11-8 | INSTIDX | R | 0h | IP Instance ID number If multiple instances of IP exist in the device, this field can identify the instance number (0-15). |
| 7-4 | MAJREV | R | 1h | Major revision of IP (0-15) |
| 3-0 | MINREV | R | 0h | Minor Revision of IP(0-15) |
TRG is shown in Table 20-4.
Return to the Summary Table.
Trigger
This register is used to manually trigger operations.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-4 | RESERVED | R | 0h | Reserved |
| 3 | DMACHA | W | 0h | Manually trigger channel A request
|
| 2 | DMACHB | W | 0h | Manually trigger channel B request
|
| 1-0 | AESOP | W | 0h | AES Operation Write an enumerated value to this field when STA.STATE = IDLE to manually trigger an AES operation. If condition is not met, the trigger is ignored. Non-enumerated values are ignored. Enumerated value indicates source of AES operation
|
ABORT is shown in Table 20-5.
Return to the Summary Table.
Abort
This register is used to abort current AES operation.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-1 | RESERVED | R | 0h | Reserved |
| 0 | ABORTAES | W | 0h | Abort AES operation Abort an ongoing AES operation. An abort will clear TXT, BUF, DMA, AUTOCFG registers
|
CLR is shown in Table 20-6.
Return to the Summary Table.
Clear
This register is used to clear contents of TXT and BUF when STA.STATE = IDLE. If condition is not met, the contents remain unchanged.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-2 | RESERVED | R | 0h | Reserved |
| 1 | TXT | W | 0h | Clear TXT
|
| 0 | BUF | W | 0h | Clear BUF
|
STA is shown in Table 20-7.
Return to the Summary Table.
Status
This register provides information on AES accellerator state and BUF status.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-5 | RESERVED | R | 0h | Reserved |
| 4-3 | KEYINTID | R | 0h | KEY Initiator ID ID of the most recent AHB Initiator which has written into one of the KEY0 to KEY3 registers
|
| 2 | KEYSTATE | R | 0h | KEY State Indicates whether data in KEY0 to KEY3 is valid or not. AES operations are not allowed until KEY is valid
|
| 1 | BUFSTA | R | 0h | BUF Status Field gives the status of BUF, indicating EMPTY or FULL, when AUTOCFG.TRGAES = WRBUF3. If AUTOCFG.TRGAES != WRBUF3, then STA.BUFSTA will hold the value 0. Note : Useful for CBC-MAC
|
| 0 | STATE | R | 0h | State Field gives the state of the AES engine.
|
DMA is shown in Table 20-8.
Return to the Summary Table.
Direct Memory Access
This register controls the conditions that will generate burst requests on each DMA channel.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-20 | RESERVED | R | 0h | Reserved |
| 19-16 | DONEACT | R/W | 0h | Done Action This field determines the side effects of DMA done. It is allowed to configure this field with an OR-combination of supported enums, with the exception that GATE_TRGAES_ON_CHA and GATE_TRGAES_ON_CHA_DEL must be mutually exclusive
|
| 15-14 | RESERVED | R | 0h | Reserved |
| 13-12 | ADRCHB | R/W | 0h | Channel B Read Write Address The DMA accesses DMACHB to read or write contents of TXT and BUF as a response to a burst request. This field specifes the start address of the first DMA transfer that follows the burst request. The internal address gets incremented automatically for subsequent accesses. The DMA can transfer 8-bit, 16-bit, or 32-bit words, and must always complete a 16-byte transfer before re-arbitration.
|
| 11 | RESERVED | R | 0h | Reserved |
| 10-8 | TRGCHB | R/W | 0h | Channel B Trigger Select the condition that triggers DMA channel B request. Non-enumerated values are not supported and ignored.
|
| 7-6 | RESERVED | R | 0h | Reserved |
| 5-4 | ADRCHA | R/W | 0h | Channel A Read Write Address The DMA accesses DMACHA to read or write contents of TXT and BUF as a response to a burst request. This field specifes the start address of the first DMA transfer that follows the burst request. The internal address gets incremented automatically for subsequent accesses. The DMA can transfer 8-bit, 16-bit, or 32-bit words, and must always complete a 16-byte transfer before re-arbitration.
|
| 3 | RESERVED | R | 0h | Reserved |
| 2-0 | TRGCHA | R/W | 0h | Channel A Trigger Select the condition that triggers DMA channel A request. Non-enumerated values are not supported and ignored.
|
DMACHA is shown in Table 20-9.
Return to the Summary Table.
DMA Channel A data transfer
DMA accesses this register to read or write contents from sequential addresses specifed by DMA.ADRCHA.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | R/W | 0h | Value transferred through DMA Channel A |
DMACHB is shown in Table 20-10.
Return to the Summary Table.
DMA Channel B data transfer
DMA accesses this register to read or write contents from sequential addresses specifed by DMA.ADRCHB.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | R/W | 0h | Value transferred through DMA Channel B |
AUTOCFG is shown in Table 20-11.
Return to the Summary Table.
Automatic Configuration
This register configures automatic hardware updates to TXT and BUF. Configure this register to reduce software overhead during cipher modes.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-29 | RESERVED | R | 0h | Reserved |
| 28 | CHBDNCLR | R/W | 0h | This field enable auto-clear of RIS.CHBDONE interrupt on read/write of TXT3/BUF3/TXTX3/TXTXBUF3 .
|
| 27 | CHADNCLR | R/W | 0h | This field enables auto-clear of RIS.CHADONE interrupt on read/write of TXT3/BUF3/TXTX3/TXTXBUF3 .
|
| 26 | CLRAESST | R/W | 0h | Clear AES Start This field enables auto-clear of RIS.AESSTART interrupt on read/write of TXT3/BUF3/TXTX3/TXTXBUF3 .
|
| 25 | CLRAESDN | R/W | 0h | Clear AES Done This field enables auto-clear of RIS.AESDONE interrupt on read/write of TXT3/BUF3/TXTX3/TXTXBUF3 .
|
| 24 | BUSHALT | R/W | 0h | Bus Halt This field decides if bus halts on access to KEY, TXT, BUF, TXTX and TXTXBUF when STA.STATE = BUSY.
|
| 23-22 | RESERVED | R | 0h | Reserved |
| 21-19 | CTRSIZE | R/W | 0h | Counter Size Configures size of counter as either 8,16,32,64 or 128 Non-enumerated values are not supported and ignored
|
| 18 | CTRALIGN | R/W | 0h | Counter Alignment Specifies alignment of counter
|
| 17 | CTRENDN | R/W | 0h | Counter Endianness Specifies Endianness of counter
|
| 16-10 | RESERVED | R | 0h | Reserved |
| 9-8 | TRGTXT | R/W | 0h | Trigger for TXT This field determines if and when hardware automatically XORs BUF into TXT. Non-enumerated values are not supported and ignored. It is allowed to configure this field with an OR-combination of supported enums.
|
| 7-6 | RESERVED | R | 0h | Reserved |
| 5-4 | AESSRC | R/W | 0h | AES Source This field specifies the data source to hardware-triggered AES operations. Non-enumerated values are not supported and ignored.
|
| 3-0 | TRGAES | RH/W | 0h | Trigger Electronic Codebook This field specifies one or more actions that indirectly trigger AES operation. It is allowed to configure this field with an OR-combination of supported enums.
|
KEY0 is shown in Table 20-12.
Return to the Summary Table.
Key Word 0
Write KEY0 through KEY3 to populate the 128-bit key. The key is not consumed by the hardware. It is hence not required to reload the key for subsequent block encryptions/decryptions unless required by the application.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | W | 0h | Value of KEY[31:0] |
KEY1 is shown in Table 20-13.
Return to the Summary Table.
Key Word 1
Write KEY0 through KEY3 to populate the 128-bit key. The key is not consumed by the hardware. It is hence not required to reload the key for subsequent block encryptions/decryptions unless required by the application.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | W | 0h | Value of KEY[63:32] |
KEY2 is shown in Table 20-14.
Return to the Summary Table.
Key Word 2
Write KEY0 through KEY3 to populate the 128-bit key. The key is not consumed by the hardware. It is hence not required to reload the key for subsequent block encryptions/decryptions unless required by the application.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | W | 0h | Value of KEY[95:64] |
KEY3 is shown in Table 20-15.
Return to the Summary Table.
Key Word 3
Write KEY0 through KEY3 to populate the 128-bit key. The key is not consumed by the hardware. It is hence not required to reload the key for subsequent block encryptions/decryptions unless required by the application.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | W | 0h | Value of KEY[127:96] |
TXT0 is shown in Table 20-16.
Return to the Summary Table.
Text Word 0
TXT is the 128-bit buffer, the AES-128 algorithm performs its operations on. AES input can be written to TXT, and ciphertext can be read from TXT.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | RH/W | 0h | Value of TXT[31:0] |
TXT1 is shown in Table 20-17.
Return to the Summary Table.
Text Word 1
TXT is the 128-bit buffer, the AES-128 algorithm performs its operations on. AES input can be written to TXT, and ciphertext can be read from TXT.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | RH/W | 0h | Value of TXT[63:32] |
TXT2 is shown in Table 20-18.
Return to the Summary Table.
Text Word 2
TXT is the 128-bit buffer, the AES-128 algorithm performs its operations on. AES input can be written to TXT, and ciphertext can be read from TXT.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | RH/W | 0h | Value of TXT[95:64] |
TXT3 is shown in Table 20-19.
Return to the Summary Table.
Text Word 3
TXT is the 128-bit buffer, the AES-128 algorithm performs its operations on. AES input can be written to TXT, and ciphertext can be read from TXT.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | RH/W | 0h | Value of TXT[127:96] AUTOCFG.TRGAES decides if a write to or a read of this field triggers an AES operation. |
TXTX0 is shown in Table 20-20.
Return to the Summary Table.
Text Word 0 XOR
Write data to this register to XOR data with contents in TXT0.VAL.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | W | 0h | Value in TXT0 will be TXT0.VAL = VAL XOR TXT0.VAL |
TXTX1 is shown in Table 20-21.
Return to the Summary Table.
Text Word 1 XOR
Write data to this register to XOR data with contents in TXT1.VAL.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | W | 0h | Value in TXT1 will be TXT1.VAL = VAL XOR TXT1.VAL |
TXTX2 is shown in Table 20-22.
Return to the Summary Table.
Text Word 2 XOR
Write data to this register to XOR data with contents in TXT2.VAL.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | W | 0h | Value in TXT2 will be TXT2.VAL = VAL XOR TXT2.VAL |
TXTX3 is shown in Table 20-23.
Return to the Summary Table.
Text Word 3 XOR
Write data to this register to XOR data with contents in TXT3.VAL.
AUTOCFG.TRGAES decides if a write to or a read of this field triggers an AES operation.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | W | 0h | Value in TXT3 will be TXT3.VAL = VAL XOR TXT3.VAL |
BUF0 is shown in Table 20-24.
Return to the Summary Table.
Buffer Word 0
BUF is a 128-bit auxiliary register that functions as a buffer, counter, or storage of operations in cipher modes.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | RH/W | 0h | Value of BUF[31:0] |
BUF1 is shown in Table 20-25.
Return to the Summary Table.
Buffer Word 1
BUF is a 128-bit auxiliary register that functions as a buffer, counter, or storage of operations in cipher modes.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | RH/W | 0h | Value of BUF[63:32] |
BUF2 is shown in Table 20-26.
Return to the Summary Table.
Buffer Word 2
BUF is a 128-bit auxiliary register that functions as a buffer, counter, or storage of operations in cipher modes.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | RH/W | 0h | Value of BUF[95:64] |
BUF3 is shown in Table 20-27.
Return to the Summary Table.
Buffer Word 3
BUF is a 128-bit auxiliary register that functions as a buffer, counter, or storage of operations in cipher modes.
AUTOCFG.TRGAES decides if a write to this field triggers an AES operation.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | RH/W | 0h | Value of BUF[127:96] |
TXTXBUF0 is shown in Table 20-28.
Return to the Summary Table.
Text Word 0 XOR Buffer Word 0
Read this register to obtain plaintext during CFB decryption.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | R | 0h | Value read will be TXT0.VAL XOR BUF0.VAL |
TXTXBUF1 is shown in Table 20-29.
Return to the Summary Table.
Text Word 1 XOR Buffer Word 1
Read this register to obtain plaintext during CFB decryption.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | R | 0h | Value read will be TXT1.VAL XOR BUF1.VAL |
TXTXBUF2 is shown in Table 20-30.
Return to the Summary Table.
Text Word 2 XOR Buffer Word 2
Read this register to obtain plaintext during CFB decryption.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | R | 0h | Value read will be TXT2.VAL XOR BUF2.VAL |
TXTXBUF3 is shown in Table 20-31.
Return to the Summary Table.
Text Word 3 XOR Buffer Word3
Read this register to obtain plaintext during CFB decryption.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | VAL | R | 0h | Value read will be TXT3.VAL XOR BUF3.VAL |
IMASK is shown in Table 20-32.
Return to the Summary Table.
Interrupt Mask register
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-4 | RESERVED | R | 0h | Reserved |
| 3 | CHBDONE | R/W | 0h | DMA Channel B Done interrupt mask
|
| 2 | CHADONE | R/W | 0h | DMA Channel A Done interrupt mask
|
| 1 | AESSTART | R/W | 0h | AES Start interrupt mask
|
| 0 | AESDONE | R/W | 0h | AES Done interrupt mask
|
RIS is shown in Table 20-33.
Return to the Summary Table.
Raw Interrupt Status register
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-4 | RESERVED | R | 0h | Reserved |
| 3 | CHBDONE | R | 0h | Raw Interrupt Status for DMA Channel B Done
|
| 2 | CHADONE | R | 0h | Raw Interrupt Status for DMA Channel A Done
|
| 1 | AESSTART | R | 0h | Raw Interrupt Status for AES Start
|
| 0 | AESDONE | R | 0h | Raw Interrupt Status for AES Done
|
MIS is shown in Table 20-34.
Return to the Summary Table.
Masked Interrupt Status register
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-4 | RESERVED | R | 0h | Reserved |
| 3 | CHBDONE | R | 0h | Masked Interrupt Status for DMA Channel B Done
|
| 2 | CHADONE | R | 0h | Masked Interrupt Status for DMA Channel A Done
|
| 1 | AESSTART | R | 0h | Masked Interrupt Status for AES Start
|
| 0 | AESDONE | R | 0h | Masked Interrupt Status for AES Done
|
ISET is shown in Table 20-35.
Return to the Summary Table.
Interrupt Set register
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-4 | RESERVED | R | 0h | Reserved |
| 3 | CHBDONE | W | 0h | Set DMA Channel B Done interrupt
|
| 2 | CHADONE | W | 0h | Set DMA Channel A Done interrupt
|
| 1 | AESSTART | W | 0h | Set AES Start interrupt
|
| 0 | AESDONE | W | 0h | Set AES Done interrupt
|
ICLR is shown in Table 20-36.
Return to the Summary Table.
Interrupt Clear register
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-4 | RESERVED | R | 0h | Reserved |
| 3 | CHBDONE | W | 0h | Clear DMA Channel B Done interrupt
|
| 2 | CHADONE | W | 0h | Clear DMA Channel A Done interrupt
|
| 1 | AESSTART | W | 0h | Clear AES Start interrupt
|
| 0 | AESDONE | W | 0h | Clear AES Done interrupt
|
IMSET is shown in Table 20-37.
Return to the Summary Table.
Interrupt Mask Set register
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-4 | RESERVED | R | 0h | Reserved |
| 3 | CHBDONE | W | 0h | Set DMA Channel B Done interrupt mask
|
| 2 | CHADONE | W | 0h | Set DMA Channel A Done interrupt mask
|
| 1 | AESSTART | W | 0h | Set AES Start interrupt mask
|
| 0 | AESDONE | W | 0h | Set AES Done interrupt mask
|
IMCLR is shown in Table 20-38.
Return to the Summary Table.
Interrupt Mask Clear register
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-4 | RESERVED | R | 0h | Reserved |
| 3 | CHBDONE | W | 0h | Clear DMA Channel B Done interrupt mask
|
| 2 | CHADONE | W | 0h | Clear DMA Channel A Done interrupt mask
|
| 1 | AESSTART | W | 0h | Clear AES Start interrupt mask
|
| 0 | AESDONE | W | 0h | Clear AES Done interrupt mask
|