2019-01-16 07:56 PM
Hi, I want to run DSP lowpass filter and also run other applications like voice over ble and touch screen interrupts at the same time. running one after the other is not efficient.
Is there a way to run these applications in parallel on a stm32 processor?
2019-01-16 09:13 PM
running taks simultaneously is possible either by using interrupt buried code or using RTOS.
You'll have to check what is the required core frequency based on the max latency for each "task", its processing timeslice and latency (interrupt processing time and priority). Audio processing typically is possibly the one to well control the rate and latency on a kHz rate, while the user touch interrupt runs in the 10Hz rate and is less critical.
2019-01-16 10:19 PM
Not applications but threads/tasks and not absolutely in parallel, but with a preemptive scheduling. So yes, it can be done and that's exactly the reason why RTOSes do exist. FreeRTOS is one of them and is capable of doing it.
2019-01-16 11:06 PM
hi. thanks for your reply.
continuing the discussion. I'm using audioweaver to program dsp lowpass filter. From audioweaver you'll flash a .awb script to the board. I'm wondering how to add voice over ble or touch screen interrupt program on to the board?
2019-01-16 11:11 PM
hi thanks for the reply.
2019-01-17 02:20 AM
I think audio application should be achievable, if the implementation is well designed. You may have to process data by slices and visualise the data processing flow in time.
2019-01-20 11:44 AM