Part Number: TMS320F28379D
Hello,
I have to communicate a spi slave on Tx side and a spi master on Rx side of the McBsp. I have three lines to Rx and Tx each. (Data, Clk, CS) So it is half duplex coming to slave. ( Master->Rx(slave) and Tx(Master)->slave) . I should be able to communicate on both channels parallel. I am assuming clock stop mode is not the way here as clocks and CS are internally connected. Because (correct me if I am wrong) if Tx(Master) tries to send data to slave, the Rx(Slave)'s clock and CS will be driven internally forcing the Rx(Slave) to read 0 values.I will connect the SPI Master lines to MCLKR, FSR, MDR. And Tx(Master) would drive MCLKX, FSX , MDX.
That brings me to my McBsp receive. These are my configurations please let me know if I am correct.
- RxFrameSyncSource- External (at FSR)
- RxFrameSyncPolarity- Low ( CS active low)
- InterruptSource - ISR_Source serial word
- EnableSRGSyncFSR- detects the FSR pin low and syncs the SRG: Does that mean Rx frame sync source will be internal then?
- RxClockSource: external at MCLKR
- SRG clock source LSPCLK
- SRG data clock divider:100. Is there a possibility for Clock to cause problems?
Below is the SPI Master to Rx(slave) Signal, I am just sending 32 bit data.
To the transmit Tx now, I have not cross checked this yet
- I am assuming FSX would be a pulse and not a standard CS low signal. Does this mean I cannot use McBSP standard and should jump to Clock stop mode or can I actually make it CS low?
Thank you
Varun

