Search found 2 matches

by pseidel
Mon Jan 20, 2025 3:07 pm
Forum: Bug Reports
Topic: STM32F4 ADC race condition between adcConverts
Replies: 5
Views: 22699

Re: STM32F4 ADC race condition between adcConverts

Giovanni,

Thanks for taking a look. It does look like ADCv2 hardware lacks a proper way to stop any in progress conversions compared to the others. I've tried a few other things related to the DDS bit and such, but no luck other than the 2 fixes I provided.

The hope was that clearing and setting ...
by pseidel
Fri Jan 17, 2025 9:29 pm
Forum: Bug Reports
Topic: STM32F4 ADC race condition between adcConverts
Replies: 5
Views: 22699

STM32F4 ADC race condition between adcConverts

We discovered what appears to be a very timing specific race condition that can occur between adcConverts with different groups (might occur for same groups as well). Effectively, the second adcConvert with group B can return samples where the first sample is a resample of the group A's first ...