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!
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 ?!
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.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.