Part Number: TMS320F28386D
Other Parts Discussed in Thread: C2000WARE
Hi,
I try to set the CM CLK as 125MHz and baudrate as 20MHz for the SPI Communication.
SSI_setConfig(base, ssiClk, protocol, mode, bitRate, dataWidth)
- base = SSI0_BASE
- ssiClk = 125000000
- ProtocolMode = 3 ( Using comm. Mode3, means sample at positive edge and shifting bit at negative edge )
- bitrate = 20000000
- dataWidth = 8 bit
I notice that the SSI station can not get the value.
Here is how I test:
- Set the CM CLK as 120MHz, DSP sends a read command to a slave. SSI_readDataNonBlocking decodes and receive five RxData. It’s right.
- Set the CM CLK as 125MHz, DSP sends a read command to a slave. SSI_readDataNonBlocking decodes and receive only four RxData which is wrong, it should be received five RxData.
I try to check the real signal.

Note that
- Ch1: CLK, Ch2: CS, Ch3: MOSI, Ch4: MISO
From the signal, We should get five RxData, but SSI_readDataNonBlocking just decodes four. We observed the SSISR Register, it response 0x19 ( SSI Busy bit ).
Is there any setting may cause this problem?

