Skip to main content
HMura.6
Associate II
February 16, 2021
Solved

STM32L0 ADC register

  • February 16, 2021
  • 3 replies
  • 1119 views

I am using STM32L073.

When using this ADC, the EOC of the flag ADC_ISR for which AD conversion has been completed does not change unless the EOCIE of ADC_IER is set.

is it right.

This topic has been closed for replies.
Best answer by Bowman32

Hi @HMura.6​ 

The EOC of the flag ADC_ISR is set by hardware at the end of each conversion of a channel.

If the EOCIE (End of conversion interrupt enable) of ADC_IER is enabled then, an interrupt is generated when EOC bit is set.

Bouraoui

3 replies

Bowman32
Bowman32Best answer
ST Employee
February 23, 2021

Hi @HMura.6​ 

The EOC of the flag ADC_ISR is set by hardware at the end of each conversion of a channel.

If the EOCIE (End of conversion interrupt enable) of ADC_IER is enabled then, an interrupt is generated when EOC bit is set.

Bouraoui

Andrew Neil
Super User
February 23, 2021

"the EOC of the flag ADC_ISR for which AD conversion has been completed does not change unless the EOCIE of ADC_IER is set"

How, exactly, do you observe that?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
HMura.6
HMura.6Author
Associate II
February 24, 2021

I was thinking of monitoring ADC_ISR with software.

However, I understood the condition.

Thank you very much.