Im looking at a dual core chip and it seems like we first have to route the audio though M33 then through IPC to the HiFI DSP and back to M33 for output. What is the latency added to go through the M33 and IPC to reach the HiFi DSP, or is all interrupt driven and none latency is really added?
11:02am
Let’s assume an audio frame size of 48 samples and a sample rate of 48 KHz.
Each of the following is a 1 ms time step:
48 samples from HW
48 samples processed by Audio Weaver on M33
48 samples received on Hifi4 from M33
48 samples processed by Audio Weaver on Hifi4
48 samples received on M33 from Hifi4
48 samples processed by Audio Weaver on M33
48 samples to HW
Total = 7 ms of latency
11:25am
Actually, since Audio Weaver is double buffered we need to add 6 more ticks for a total latency of 13 ms.