Other Parts Discussed in Thread: AM5728, SYSBIOS
Hi,
We are porting one process that we had originally running on the DSP present in DM816x to the AM5728. This process controls the SPI bus using the DSP and other computations. It uses DSPBIOS as OS in the DSP and Syslink to send messages from the ARM to the DSP.
Right now the DSPs on AM5728 seems to be intended to be used with openCL(audio some day maybe?). AM5728 has a C66x and DM816x a C674x but according to the TRM they are compatible: "The C66x DSP is object-code compatible with the C64x+/C674x DSPs".
In the filesystem included in processors SDK I can see several binaries that could be loaded into the DSP:
ti-processor-sdk-linux-am57xx-evm-02.00.00.00/filesystem/lib/firmware$ ls * | grep 66
dra7-dsp1-fw.xe66
dra7-dsp1-fw.xe66.dce
dra7-dsp1-fw.xe66.ocl
dra7-dsp1-fw.xe66.test
dra7-dsp2-fw.xe66
dra7-dsp2-fw.xe66.ocl
dra7-dsp2-fw.xe66.test
If you inspect those binaries with nm (nm dra7-dsp1-fw.xe66.test | grep less), you can see that they have sysbios. Questions that I have:
1) How can I rebuild these DSP binaries? In the past for DM8168 there was an EZSDK overlay that we got under NDA, can we request something similar for AM5728? Such a package would speed up my porting process
2) Which compiler should I use? Which code generation tools version? strings indicates that should be used, where can I download it of is it included in the "overlay package" for am5728?
strings dra7-dsp1-fw.xe66.test | grep cgt -i
/opt/ti/cgt6x-7.2.9/include/string.h
/opt/ti/cgt6x-7.2.9/include/_lock.h
/opt/ti/cgt6x-7.2.9/include/stddef.h
3) What should I use instead of syslink? plain rpmsg? Is there an example app that I could use?
strings dra7-dsp1-fw.xe66.test | grep rpmsg
ti.ipc.rpmsg.RPMessage
rpmsg-rpc
rpmsg-omx0
rpmsg-omx
rpmsg-omx1
rpmsg-omx2
rpmsg-omx4
ti.ipc.rpmsg.RPMessage=EXLFS
rpmsg-client-sample
IpcMgr_rpmsgStartup
IpcMgr_rpmsgStartup
4) The TRM seems to indicate that the DSP has access to SPI, is this correct?
DSP is connected to the L3 Interconnect which is connected to the L4 Interconnect which is connected to the McSPI.
Thanks in advance on any guidance that you could provide.
-David

