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.

ADS1118: ADS1118 NOP funtion

Part Number: ADS1118

Hi Team,

I found in ADS1118`s config regisistor has a NOP funciton, which can make the write data invalid, I really confused by this function: If I do not want to write data to ADS1118, then I will do not do the write operation. And if I do the write operation, I am of course need it to be valid data.

So would you help to comments why ADS1118 add this function to it?

Thanks very much.



  • Hello Zhe,

    From my perspective, this is a crude attempt to prevent accidental changes or interference errors within a SPI frame. In other words, I'd consider this similar to the purpose of a Cyclic Redundancy Check (CRC) that's imbedded into the SPI frame. Really, it'll only help against catastrophic error where statistically the whole frame might get corrupted but it is something at least. It kind of makes sense because the user configures and triggers a conversion in the same, singular SPI transaction. So, this "protection" occurs every SPI transaction and every conversion. 



  • Hi Cole,

    Got it, thanks.

    I have read the datasheet for several more time, and got some more infomation, as we need to do write operation everytime when we ready the data(if we do not want to change the configure regisistor, keep DIN high or low), if we do not have NOP funciton, the configure regisistor will change to 0x0000 or 0xffff. I am not sure if this is the root course to implement NOP or not.

    anyway, really thanks for your feedback.

    Regards, Zhe