Hi everyone,
I'm using Mistral EVM Board to development a application using ARM and DSP simultaneous. And I have a problem in a periodic function.
I'm using a periodic function (General-Purpose Timers) in DSP side, with threads in DSP and ARM side, and I'm using a ARM - DSP communication using SIO (Issue / Reclaim messages) and MSGQ (notify messages). I'm using also the EDMA and writing and reading using McBSP and McSPI ports. To create threads and semaphores in DSP side I'm using DSPBios Library, and to configure ports writing/reading and EDMA I'm doing it manually. I'm using the periodic function interruption to call the write and read ports configurations and free the semaphore (SEM_post) enabling threads to run.
My problem is that I need a precisicious periodic function because the periodic function is the trigger to write and read in the McBSP and McSPI ports. But when measuring the periodic function using a GPIO signal I'm see a jitter in order of 10 microsecondsin relation to the start of the periodic function. But my periodic function occurs every 57,6 microseconds (approximately). Neither the periodic function and the others system threads are bursting the process time. I used the the semaphore in each thread to trigger and see the time of execution.
Anyone can tell where can I find this problem solution or any problem related to any sub-system I'm using that can degrade the DSP performance.
Any help is welcome.
Thanks.