First time using this part.
I'm using datasheet version SBAS780B – DECEMBER 2016 – REVISED MARCH 2021
There are a couple of things in the Data Sheet that don't seem to match-up (and I can't find an errata sheet).
Firstly, on page 41 (Input Command Word and Register Write Operation) for every command it says this:
That suggest, if I want to read (or write) register address 0x04 - I left shift the register address by 1 (going from 0b0000 0100 to 0b0000 1000) the ADC will ignore the Least significant bit and read it as 0b0000 0100 (i.e. 0x04).
However in note 1 it says the following:
That suggest the Most Significant Byte is ignored and not the Least Signifciant by (so we don't need to left shift the address).
Which part is correct?
Secondly, on the same page/table, there are three WRITE Commands:
Each register is 32-bits (1 word for this ADC).
All these commands are half-word commands i.e. write 16-bits.
But none of these commands seem to offer a way to select wether you are wirtting to the upper (MS) half-word or the lower (LS) half word.
- 11010_00_<9-bit address>_<16-bit data>
- Half-word write command (two bytes of input data are written into the specified address).
- Does this write to the upper (MS) half-word or the lower (LS) half word?
- Half-word write command (two bytes of input data are written into the specified address).
- 11010_01_<9-bit address>_<16-bit data>
- With this command, only the MS byte of the 16-bit data word is written at the specified register address. The LS byte is ignored.
- This suggests the ADC only cares about the lower (LS) 8-bits in <16-bit data>
- Does this write to the upper (MS) half-word or the lower (LS) half word?
- With this command, only the MS byte of the 16-bit data word is written at the specified register address. The LS byte is ignored.
- 11010_10_<9-bit address>_<16-bit data>
- With this command, only the LS byte of the 16-bit data word is written at the specified register address. The MS byte is ignored.
- This suggests the ADC only cares about the upper (MS) 8-bits in <16-bit data>
- Does this write to the upper (MS) half-word or the lower (LS) half word?
- With this command, only the LS byte of the 16-bit data word is written at the specified register address. The MS byte is ignored.
Am I missing something - how do I chose wether I write to the upper (MS) 16-bits or the lower (LS) 16-bits of an ADC Register?