Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I've been given a part in a project that consists of reading in voltage samples and performing a FFT to obtain harmonics. My goal is to sample the input and manipulate it at 10kHz, with the output being put in to a FFT function (treat as black box) that should be called every 20ms(50Hz). Ideally then these would be using interrupts (perhaps using Ticker) however the ADC sampling function must continue to interrupt the FFT function. Is there any way possible that I can have a higher and a lower priority ticker? Or is this achievable by some other means (RTOS)?
I'm very new to the world of microcontrollers so be kind!