EasyManuals Logo
Home>ST>Microcontrollers>STM32L4x6

ST STM32L4x6 User Manual

ST STM32L4x6
1693 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #735 background imageLoading...
Page #735 background image
DocID024597 Rev 3 735/1693
RM0351 Advanced encryption standard hardware accelerator (AES)
751
Note: 1 For mode 2 (key derivation), access to the AES_KEYRx registers can be done by software
using the CPU. No DMA channel is provided for this purpose. Consequently, the DMAINEN
bit and DMAOUTEN bits in the AES_CR register have no effect during this mode.
2 The CCF flag is not relevant when DMAOUTEN = 1 and software does not need to read it in
this case. This bit may stay high and has to be cleared by software if the application needs
to disable the AES to cancel the DMA management and use CPU access for the data input
or data output phase.
Figure 186. DMA requests and data transfers during Input phase (AES_IN)
Figure 187. DMA requests during Output phase (AES_OUT)
25.11 Error flags
The AES read error flag (RDERR) in the AES_SR register is set when an unexpected read
operation is detected during the computation phase or during the input phase.
The AES write error flag (WRERR) in the AES_SR register is set when an unexpected write
operation is detected during the output phase or during the computation phase.
The flags may be cleared setting the respective bit in the AES_CR register (CCFC bit to
clear the CCF flag, ERRC bit to clear the WERR and RDERR flags).
An interrupt can be generated when one of the error flags (WERR or RDERR) is set if the
error interrupt enable (ERRIE) bit in the AES_CR register has been previously set.
If an error is detected, AES is not disabled by hardware and continues processing as
normal.
-36
$-!2%1
$-!2%1
.
.§
-/$%%NCRYPTION-ODEOR$ECRYPTION
$-!2%15%343
724
724 724 724
-3"
$-!2%1
.§
$-!2%1
.§
!%3?$).2
!%3?$).2
!%3?$).2
!%3?$).2
-36
$-!2%15%343
$0,!).OR#)0(%24%84DEPENDINGONMODEOFOPERATION
7/2$3$$
-/$%%NCRYPTION-ODEOR$ECRYPTION
$-!2%1
$-!2%1
.§
.§
2$$
2$$ 2$$ 2$$
-3"
$-!2%1
.§
$-!2%1
.§
!%3?$/542
!%3?$/542
!%3?$/542
!%3?$/542

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32L4x6 and is the answer not in the manual?

ST STM32L4x6 Specifications

General IconGeneral
BrandST
ModelSTM32L4x6
CategoryMicrocontrollers
LanguageEnglish

Related product manuals