I would like to connect the McBSP of the TMS320C5517 on the Evalboard to an external PCM32 port with it's external Clocks.
The FSX/FSR is an symmetric Clock of 8kHz an the Bitclock CLKR is 4096kHz Doubleclock. There are 32 Timeslots of 8bit with
2MHz Datarate available for RX and TX in one frame.
The problem is:
The McBSP das not setup at the first timeslot and does not start transmitting with the rising edge of the FSX/FSR.
Aside from that it starts not at the same position of the frame after restarting the program. It is not synchronizing to the FSX/FSR of the frame.
The start of transmitting seems to be coincidentally.
I am using the "CSL_McBSP_32cCompand_Example" with CodeComposerStudio and this works fine with the Evalboard.
Loading, starting, compiling, debugging and so on. I have modified the program for connecting the McBSP to external
signals via changing the example and one switch at the Evalboard. FPER = 255 ; FWID = 127 ; CLKGDV = 1 ;
If i'm sending a sample via DMA to one Timeslot, it is present on the PCM and it's data ist correct.
But it's position in the frame is false.
In the SPRU592E document for McBSP, i saw a description for the GSYNC bit at the SRGR2 register.
If i'm setting this bit to high, the McBSP does not send anymore.
Is this bit available in C5517 and does it work as described?
For example in C5501 and C5502 it is not.
I have also tried all that with an 2MHz single clock and "CLKGDV=0". The result was exactly the same.
How can i go on to get the MCBSP working with my PCM32?