You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ADC does not work in continuous mode if there is a small delay after starting (transfer.start)
A delay of 1 ms is sufficient (line delay.delay_ms(1);).
I tested this on two boards - STM32F401CE, STM32F411CE (Black pill)
And the issue occurs on both.
Also, the ADC can suddenly stop working if there is a blocking operation in the task for a few milliseconds during the process.
There are no errors in this case.
Also, in single mode, if we start the ADC in the interrupt handler,
the ADC can also suddenly stop working.
This manifests at a start frequency of 100 kHz, Pclk2_div_2, and a small number of cycles (Cycles_112 or less).
The ADC does not work in continuous mode if there is a small delay after starting (transfer.start)
A delay of 1 ms is sufficient (line delay.delay_ms(1);).
I tested this on two boards - STM32F401CE, STM32F411CE (Black pill)
And the issue occurs on both.
Also, the ADC can suddenly stop working if there is a blocking operation in the task for a few milliseconds during the process.
There are no errors in this case.
Also, in single mode, if we start the ADC in the interrupt handler,
the ADC can also suddenly stop working.
This manifests at a start frequency of 100 kHz, Pclk2_div_2, and a small number of cycles (Cycles_112 or less).
Added a project with an example in the attachment.
adc_bug.zip
The text was updated successfully, but these errors were encountered: