Bernard, LAD can be used to connect to & start the DSP, but apart from that, you can use DSPLINK standard APIs by making calls directly to DSPLINK protocols.
MSGQ and other protocols can be used for inter-processor communication via CE. Please look at the samples shipped with the Link release at $DSPLINK/gpp/src/samples for the GPP code and $DSPLINK/dsp/src/samples for the DSP code for the samples for the various protocols. The message sample gives a simple usage scenario for MSGQ. Gary will be able to elaborate further on LAD. Hope this helps. Please let me know if you have any further queries. Regards, Deepali -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bernard Blackham Sent: Thursday, October 18, 2007 2:11 PM To: [email protected] Subject: Codec Engine 1.20 and LAD Hi, One of the attractive features of CE 1.20 to me was the Link Application Daemon, described on the download page as: * Link Application Daemon (LAD) that enables sharing of DSP/BIOS Link between Codec Engine and additional ARM-DSP applications I've looked at the speech_copy_LAD example, and ladclient, and can't figure out how to actually use it to send messages. The LAD API has functions to connect to LAD, start the DSP, and get the DSP status, but I can't see how to use dsplink through it. Have I missed something? What I'd like to do is have a thread on the ARM that communicates via dsplink's MSGQs (and other mechanisms such as NOTIFY/CHNL/RINGIO) to a task on the DSP, but use codec engine in parallel. Is there any example code around to do something like this? Is LAD what I actually want? Or is there an easier method I've missed? Thanks in advance, Bernard. _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
