[comp.sys.next] Looking for Help with DSP/Host Communications

jal@ee.rochester.edu (John Lefor) (10/04/89)

I am trying to send values back and forth between the DSP and the
68030 (using C).  In version 0.9 I had things working just fine
using DSPPutTX and DSPGetRX,  now in version 1.0 things seem to have
changed.  I looked at dsp_example_2 as an example of simple communication
between the DSP and the 68030.  In this I find a DSP routine called 
PutSamp which uses the DSP's host interface to send a value to the 68030.
There is a corresponding C routine called get_result which is called when
msg_receive returns with an appropriate message type.  All this is fine.

I made some simple modifications to the two routines to try to 
communicate more than one value between the DSP and the 68030.  Simply in the
DSP routine I coded two calls to the PutSamp routine (each call sending
a different value). I then modified get_result so that the global
variable "done" is never changed.  This keeps the loop which calls 
msg_receive running forever.

After these modifications I continue to get the first value from the
DSP,  but the 68030 never seems to get a second value.  Is there anyone
who can help me with this?  I'll be glad to speak on the phone, send
code samples or anything that might help clarify my problems.

Thanks.



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

I program ... therefore I am.

John Lefor    	University of Rochester		Dept of E. Engineering
716-275-8265	jal@ee.rochester.edu		uunet!ur-valhalla!jal