This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ADS1258 SPI

Other Parts Discussed in Thread: CC2530, ADS1258

Hi ,

get one channel data should read register by SPI interface. I think the SPI should be 32 bit by reading the datasheet.My question isthat if I read the data by SPI of CC2530 which has 8 bit SPI, can CC2530 read the AD1258 4 times to get one data?

  • Hi Yan,

    The simple answer is yes, your assumptions are correct. Depending on the channel data read setup (using ADS1258 datasheet, Figures 57 and 58 as references), you may use the CC2530 in a 3-wire configuration (Be sure to control the /CS input through a GPIO line, so as to ensure it remains active low through process). Once the information is received by the CC2530, from the ADS1258, care must then be taken to place the bytes in the right order. Shifting the MSByte by 16 bits, middle byte by 8 bits, and keeping LSByte same, then ORing them together to ensure information is valid.

     

  • hi Michael W,

       thank you  for your answer.