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.

ADS124S08:

Part Number: ADS124S08

Dears:

Customer use MSP430 to controle ADS124S08 by SPI and MSP430 can write registers about ADS124S08.

However, reading the registers of ADS124S08 are all ‘0’.

Pls give some advice about it, the code as below.

Desktop.rar

  • Hi Lian,

    In the read register function I don't see the command to read from the register. So the 'address' sent should be 'or'ed to the command which is 0x20. It would be helpful to see CS, MISO, MOSI and SCLK signals at the same time to verify the commands are properly transmitted.

    Also, in the register write function I do not see that the command (0x40) is being added to the 'address', although it is being transmitted so it is not clear how this is being added to the function.

    Best regards,
    Bob B