Other Parts Discussed in Thread: CC2642R
Hi,
I am using SPI protocol to communication between CC3220S(Master) and CC2642R(Slave) chipset on custom board.
While communicating sometimes I get bit shifted data on the SPI, sometimes shifted by 1 bit and sometimes shifted by 2 bits.(Both of these shifting are not concurrent i.e. if 1-bit shifting is there it will be present till we reset the board, similar in case of 2-bit shift). I am not able to locate the source of this issue. Is there some issue with the compatibility of these two MCU SPI? I am trying to Understand what all can be possible reasons for this type of behavior, and it will certainly be helpful if it is already known and resolved by someone.
Following is my settings ---
WiFi SPI settings----------------------------
spiParams.mode = SPI_MASTER;
spiParams.frameFormat = SPI_POL1_PHA1;
spiParams.transferMode = SPI_MODE_BLOCKING;
spiParams.bitRate = 4000000;
spiParams.dataSize = 8;
spiParams.transferTimeout = 1000000;
spiParams.transferCallbackFxn = NULL;
BLE SPI settings----------------------------
spiParams.mode = SPI_SLAVE;
spiParams.frameFormat = SPI_POL1_PHA1;
spiParams.transferMode = SPI_MODE_BLOCKING;
spiParams.transferTimeout = 5000000;
spiParams.transferCallbackFxn = NULL;