Hi,
I am trying to communicate with CC1310 and FXTH87xx11 sensor card via SPI, but it does not work. FXTH87xx11 module "MASTER" CC1310 module works as "SLAVE".
I can see the signals coming out of the CLK, MOSI, SS pins on the FXTH87xx11 side very well when I look through the oscilloscope.
The SPI settings I made for CC1310 are as follows.
SPI_Params_init(&spiParams);
spiParams.frameFormat = SPI_POL0_PHA0;
spiParams.mode = SPI_SLAVE;
spiParams.transferMode = SPI_MODE_CALLBACK;
spiParams.transferCallbackFxn = transferCallback;
spiParams.dataSize = 8; //8bit
//spiParams.bitRate = 1000000; //1Mhz
// Configure the transaction
transaction.count = 8;
transaction.txBuf = Buf;
transaction.rxBuf = Buf;
I cannot make any settings on the FXTH87xx11 side, the module does not allow me to do this, I use the "TPMS_MSG_INT, TPMS_MSG_READ, TPMS_MSG_WRITE" definitions given to me there.
Where am I doing wrong or what am I missing? Can you help me with this?