Hello,
I am trying to interface ADS1293 EVM to SmartRF06+CC2650EM which is running BLE stack on it.
I have written ADS1293 SPI driver as mentioned in BLE software developers guide. below is my code.
SPI_Params_init(&SbpSpiParams);
SbpSpiParams.bitRate = 10000;
SbpSpiParams.frameFormat = SPI_POL0_PHA0;
SbpSpiParams.dataSize = 8;
SbpSpiHandle = SPI_open(CC2650_SPI1, &SbpSpiParams);
I am facing an issue while SPI read transaction. I observed read operation works alright for initial few commands. later sometime it stops working.
In my code I need to read from the device very frequently. I tried different SPI bus frequencies from 20MHZ to 10 KHz without success.
I am clueless on what is happening.
I put a read instruction in a while loop/ periodical event to reproduce the issue and attached.
Please help on this.
Regards
Lakshmikanth.