I am working on DSPC8681E (Advantech board) to measure the DSP performance for audio transcoding. the DSP card is plugged-in to the host machine via PCI slot. I am using Demo app (ipc) for audio transcoding which sends 80 samples of input data to DSP via PCI. The transcoding time for whole audio file, as we measure from host application, comes in milliseconds using clock() function(7 milliseconds to be precise) whereas it should come in microseconds.
So, we decided to calcute the transcoing time from DSP Interrupt service routine duration(on DSP side) but we don't know how to calculate ISR duration.
We also tried to enable prints in ISR, but after this the execution hangs.
Please help us in calculating frame time using any available register in DSP ISR or any other mechanism to calculate frame processing time. We have also tried to access UART and LAN ports on DSP for direct access to DSP but no luck. Please share with us any document to configure UART/LAN port on DSP.
Thanks,
Yogesh