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.

Problem with write to CFR in ADS8331

Other Parts Discussed in Thread: ADS8331

Hi.

Firstly, i wolud like tell that i read all topics about problems with ADS8331 and nothing...

I have good comunication with my ADS8331 but I can't write settings to CFR.

ADS8331 send me good values but all inputs. When i send different bits to CFR there's nothing happend.

I need read values only one input but i can't change the settings of ADS8331.

Please help ( apologise for my English)

  • Hi Marcin,

    Welcome to the data converters forum. We were just informed of your post.

    Most likely, you are using either SPI-mode-0 (CPOL=0/CPHA=0) or SPI-mode-3(CPOL=1/CPHA=1) to read data.

    To write to this converter, you need to use SPI-mode-1 (CPOL=0/CPHA=1) or SPI-mode-2 (CPOL=1/CPHA=0). In these modes, data can also be read, but the host needs to clock in data from the converter in hold time, which is easily done by an SPI peripheral automatically, but it becomes difficult with GPIO pins programmed to mimic SPI.

    Regards,
    Rafael