Hello,
I am using an ADC in circular mode, and I set an AWD interrupt in order to detect when the signal has fallen below a given value. My error callback is called correctly.
What I want to do now, in the error callback, is to retrieve the index of the buffer when the interrupt occurred, i.e. to ...
Search found 3 matches
- Sun Aug 06, 2023 5:40 pm
- Forum: ChibiOS/RT
- Topic: How to retrive buffer index in ADC error callback?
- Replies: 1
- Views: 25907
- Tue Mar 08, 2022 10:35 am
- Forum: STM32 Support
- Topic: Retrieve position in buffer in ADC error callback function
- Replies: 1
- Views: 2191
Retrieve position in buffer in ADC error callback function
Hello,
I am running an ADC in circular mode, and I am using the analog watchdog interrupt. Is it possible to retrieve the position of the last filled sample in the buffer from within the adcerrorcallback function (interrupt routine), when the voltage has fallen outside of the specified range? If ...
I am running an ADC in circular mode, and I am using the analog watchdog interrupt. Is it possible to retrieve the position of the last filled sample in the buffer from within the adcerrorcallback function (interrupt routine), when the voltage has fallen outside of the specified range? If ...
- Sun Mar 06, 2022 1:49 pm
- Forum: STM32 Support
- Topic: Exit Analog Watchdog Interrupt
- Replies: 1
- Views: 3138
Exit Analog Watchdog Interrupt
Hello,
My question is a newbie question, but I don't know where to look for an answer anymore.
I want to use the analog watchdog of the ADC on my NucleoF411RE board. I set the desired values in HTR and LTR, and enabled the watchdog to generate interupts for regular channels by setting CR1 to ADC ...
My question is a newbie question, but I don't know where to look for an answer anymore.
I want to use the analog watchdog of the ADC on my NucleoF411RE board. I set the desired values in HTR and LTR, and enabled the watchdog to generate interupts for regular channels by setting CR1 to ADC ...