DocID025202 Rev 7
320/1080
RM0365
Analog-to-digital converters (ADC)
392
15.3.23 End of conversion, end of sampling phase (EOC, JEOC, EOSMP)
The ADC notifies the application for each end of regular conversion (EOC) event and each
injected conversion (JEOC) event.
The ADC sets the EOC flag as soon as a new regular conversion data is available in the
ADCx_DR register. An interrupt can be generated if bit EOCIE is set. EOC flag is cleared by
the software either by writing 1 to it or by reading ADCx_DR.
The ADC sets the JEOC flag as soon as a new injected conversion data is available in one
of the ADCx_JDRy register. An interrupt can be generated if bit JEOCIE is set. JEOC flag is
cleared by the software either by writing 1 to it or by reading the corresponding ADCx_JDRy
register.
The ADC also notifies the end of Sampling phase by setting the status bit EOSMP (for
regular conversions only). EOSMP flag is cleared by software by writing 1 to it. An interrupt
can be generated if bit EOSMPIE is set.
15.3.24 End
of
conversion sequence (EOS, JEOS)
The ADC notifies the application for each end of regular sequence (EOS) and for each end
of injected sequence (JEOS) event.
The ADC sets the EOS flag as soon as the last data of the regular conversion sequence is
available in the ADCx_DR register. An interrupt can be generated if bit EOSIE is set. EOS
flag is cleared by the software either by writing 1 to it.
The ADC sets the JEOS flag as soon as the last data of the injected conversion sequence is
complete. An interrupt can be generated if bit JEOSIE is set. JEOS flag is cleared by the
software either by writing 1 to it.
Table 89. T
SAR
timings depending on resolution
RES
(bits)
T
SAR
(ADC clock cycles)
T
SAR
(ns) at
F
ADC
=72 MHz
T
ADC
(ADC clock cycles)
(with Sampling Time=
1.5 ADC clock cycles)
T
ADC
(ns) at
F
ADC
=72 MHz
12
12.5 ADC clock cycles 173.6 ns
14 ADC clock cycles
194.4 ns
10
10.5 ADC clock cycles 145.8 ns
12 ADC clock cycles
166.7 ns
8
8.5 ADC clock cycles
118.0 ns
10 ADC clock cycles
138.9 ns
6
6.5 ADC clock cycles
90.3 ns
8 ADC clock cycles
111.1 ns