Hi,
Sorry for the delay in response.
From your explanation I understand that you are trying to figure out the processing time you have before receiving another set of data from the SPORT.
In the talkthrough example code, as you can see it uses two buffers in ping pong fashion, such that when one buffer is receiving the data, the other buffer data can be used for processing. So everything happens in a pipeline there.
For example, for a sampling rate of 48Khz, the time per frame will be (1/48KHz)= 20.83 micro seconds. So for a block N of data the total time taken will be 20.83*N micro seconds.
So the user will have a processing time of 20.83*N microseconds before you receive another set of data in the same buffer.
So the user will have to take care that the processing time is not more than this, because the current data received would not have finished the processing, and the new set of data will be received to be processed.
Hope this helps.
Please let me know in case you have any further queries/doubts.
Thanks,
Harshit