Other Parts Discussed in Thread: ADS131M04
Tool/software:
Hi Experts,
Customer is able to read from the chip, via SPI. They can validate the data coming out and it all looks good. But they are having trouble writing to registers. Specifically, they are trying to change the data rate from the default 4kSPS to a higher number, say 8kSPS.
My first question is if I am correct in my understanding that the OSR bit needs to be updated to change the data rate, and that it is the only thing controlling the data rate.
Assuming so, could you help me with a sample communication frame of what that may look like?
I am sending it 4 words, first the WREG (01100001 10000000 00000000), second data word (00000011 00001010 00000000) followed by 2 empty words. I have verified that it gets transmitted accurately w/ a logic analyzer.
For clarity, I am looking at the ADS131M02, which does not have the config 1 register.
Could you share with me exactly what the communication frame (including the exact words in binary), I need to use the WREG command, and update the OSR bit, to sample at 16KSPS for 8.192MHz clock - table 8-2 from datasheet).
The goal is to compare the bit-math and frame and see why I cant update the register. My hunch is that data word (second word) is incorrect.
Thanks for your help,