TI E2E Community
Digital Signal Processors (DSP)
C6000 Single Core DSP
C67x Single Core DSP Forum
[C6713] Creating Stream on a DHL-Object Fails
My application should be able to run in two modes. In the "codec mode", I use the following DSP/BIOS objects:
Whereas in the "host channel mode" I want to replace the mini-driver and the DIO adapter by two HST objects (configured in the tcf-file) and two DHL drivers (configured in the tcf-file), so that I can send and receive data with the computer (instead of using real data from the codec). I want to be able to switch between these two modes at runtime with a dip-switch. To switch I do the following steps:
It works quite well. I can switch from codec mode to host channel mode and back to codec mode. But if I want to switch back to host channel mode, SIO_create fails (SYS_error called: error id = 0x4), which means the the device driver is busy, according to the DSP/BIOS reference guide.
So my question is: How do I have to reinitialize the underlying HST and/or DHL object in order to create the stream successfully?
Thanks for your help!
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.