Dear All
I am trying to use the McBSP-as-SPI of the DM6437 however I have run into a few problems. Before I begin, I will detail my setup:
I am using the
- DM6437 EVM (Spectrum Digital
- DSP/BIOS 5.31.08
- DVSDK 1.11.0.0
- PSP 1.10.0
Looking around at various documents, I have understood that there is no PSP Driver for this ability, meaning that I would have to write it myself. I found that this could be done in a similar manner to a PSP driver or at a lower level using the CSL. It is the later was that I have chosen.
I have written the code using information in SPRU943C Multichannel Buffered Serial Port Interface User's Guide.
I am additionally using a logic analyser to see if I am generating what I think I am generating. This is good in theory however I am not getting anything on logic analyser. Just information purposes, I am triggering the logic analyser on the falling edge of the FSX0 signal.
Secondly, how is the transfer actually triggered on the device. The method I am using is wrong, based on what I have read after writing the code.
I was setting the FRST bit of the SPCR, however, because I have set FSGM of SRGR to 1, the DXR-to-XSR triggers the transmit frame sync. However is the DXR to XSR invoked?
Any help or advice would be appreciated.
What the best way to post the code - I cannot upload a '.c'?
Thank you
Regards
Chithambaram