Hi,
I have a problem with DSPLink CHNL use. My ARM code creates 2 channels, one for ARM->DSP and other for DSP->ARM direction.
ARM->DSP is working fine but the other one receives only empty buffers. How can I debug this? I found couple of interesting APIs namely "CHNL_debug" and "CHNL_instrument".
What is the purpose of these APIs and how to use them?
Any help appreciated!
Alija Kajan
Can you post some small snippets of your code on the ARM and DSP side so we can try and figure out what's going on ?
I haven't been able to find any documentation for the APIs you have mentioned. Based on the source code (found here:- <dsplink_install>\dsplink/gpp/src/api/chnl.c), CHNL_debug simply prints out the status of the channel whenever you call it.
Maybe you can try calling it from different points on your code, and see if the TRC prints give you any relevant information ?!
-Gunjan
If my reply answers your question please mark the thread as answered
Thank you Gunjan
I managed to solve my problem, there was nothing wrong with my APIs, as soon as I put my receive channel code into separate thread (to receive all the time) I was getting all data.
Regards,
Alija