[comp.sys.next] Programming the DSP 56001

paj@gatech.edu (P. Allen Jensen) (05/23/89)

I have been trying to program the DSP and have encountered several problems.
I started with the examples in "Chapter 13: Programming the DSP" and
discovered several problems.

   1) DSPGetTXArray is really DSPGetRXArray
   2) DSPPutTXArray does not seem to work
   3) DSPGetRegs returns 0x00000000

In reguards to DSPPutTXArray,  I wrote a 56K routine that gets 8 ints,
stores them in x:0 to x:8 then sorts them (using the Motorola example
sort routine I got at icassp) and then returns them (get/return via RX/TX
registers).  Using DSPPutTX in a loop, the program works fine.  When I
try DSPPutTXArray, nothing gets stored.  The code that gets the values
sent to the DSP is just a loop that contains:

      get_val jclr #0,x:$FFE9,get_val

The code that sends the data back from the DSP is another loop with

      put_val jclr #1,x:$FFE9,put_val

Any ideas as to what is going on anyone ?

.....
In reguards to the DSPGetRegs - The example on page  13-8 in
"Chapter 13: Programming the DSP" retuns 0x00000000 from DSPGetRegs
Any ideas here ???

.....

The DSPBootFile seems to work fine as do the DSPPutTX and DSPGetRX
routines.  The memory mapped mode seems to have problems.  I would
be very interested in conversing with anyone writing code for the DSP56001.


P. Allen Jensen
DSP Laboratory, Electrical Engineering
Georgia Tech, Atlanta GA 30332-0250

jensen@eedsp.gatech.edu
-- 
P. Allen Jensen
DSP Laboratory, Electrical Engineering
Georgia Tech, Atlanta GA 30332-0250