EasyManuals Logo

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 #457 background imageLoading...
Page #457 background image
DocID024597 Rev 3 457/1693
RM0351 Analog-to-digital converters (ADC)
540
It is recommended to manage the queue overflows as described below:
After each P context write into JSQR register, flag JQOVF shows if the write has been
ignored or not (an interrupt can be generated).
Avoid Queue overflows by writing the third context (P3) only once the flag JEOS of the
previous context P2 has been set. This ensures that the previous context has been
consumed and that the queue is not full.
Queue of context: Behavior when the queue becomes empty
Figure 76 and Figure 77 show the behavior of the context Queue when the Queue becomes
empty in both cases JQM=0 or 1.
Figure 76. Example of JSQR queue of context with empty queue (case JQM=0)
1. Parameters:
P1: sequence of 1 conversion, hardware trigger 1
P2: sequence of 1 conversion, hardware trigger 1
P3: sequence of 1 conversion, hardware trigger 1
Note: When writing P3, the context changes immediately. However, because of internal
resynchronization, there is a latency and if a trigger occurs just after or before writing P3, it
can happen that the conversion is launched considering the context P2. To avoid this
situation, the user must ensure that there is no ADC trigger happening when writing a new
context that applies immediately.
Figure 77. Example of JSQR queue of context with empty queue (case JQM=1)
1. Parameters:
P1: sequence of 1 conversion, hardware trigger 1
P2: sequence of 1 conversion, hardware trigger 1
P3: sequence of 1 conversion, hardware trigger 1
069
3
7KHTXHXHLVQRWHPSW\
DQGPDLQWDLQV3EHFDXVH-40 
4XHXHQRWHPSW\
3PDLQWDLQHG
3 3
&RQYHUVLRQ &RQYHUVLRQ
5'< 5'<
5'<
5'<
&RQYHUVLRQ &RQYHUVLRQ &RQY
5'<
(037<
3
3 3
33
3 3
(037<
3
-645TXHXH
:ULWH-645
7ULJJHU
$'&VWDWH
$'&-FRQWH[W
UHWXUQHGE\
UHDGLQJ-465
)GNORED
1UEUEBECOMESEMPTY
ANDTRIGGERSAREIGNORED
BECAUSE*1-
-36
3 3
3
(037<
&RQYHUVLRQ &RQYHUVLRQ
3 33 33
3
3 3
(037<
5'< 5'<
5'<&RQYHUVLRQ
-645
TXHXH
:ULWH-645
7U L JJ H U
$'&VWDWH
$'&
-FRQWH[W
UHWXUQHGE\UHDGLQJ-465
5'<
(037<[
(037<
(037<
(037<
)GNORED

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