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.

ADS1211,AINN与AINP短接,输出为什么会是0x800001而不是0?,cmdreg 配置为TWO complement模式,读取cmdreg 也符合TWO complement模式

16:50:55.909 write INSR register 0x64

write ads1121 cmd reg value = 0x2238013

16:50:56.534 read cmd register value = 0x2038013, now should resume normal mode

read ocr reg value = 0x7d0000

read fscr reg value = 0xffffff

stAdcRingBuffer[0], writable_len = 32, readable_len = 0, write_idx = 0, read_idx = 0

stAdcRingBuffer[1], writable_len = 32, readable_len = 0, write_idx = 0, read_idx = 0

stAdcRingBuffer[2], writable_len = 32, readable_len = 0, write_idx = 0, read_idx = 0

stAdcRingBuffer[3], writable_len = 32, readable_len = 0, write_idx = 0, read_idx = 0

16:51:00.495 set extern vref on

get adc data:

0x800001 0x800001 0x800001 0x800001

0x800001 0x800001 0x800001 0x800001

16:51:00.900 get adc data:

0x803127 0x804188 0x800000 0x800000

0x800001 0x803127 0x800001 0x800830

16:51:01.307 get adc data:

0x800000 0x800000 0x800000 0x800001

0x801063 0x800001 0x800000 0x800000

16:51:01.716 get adc data:

0x800000 0x800000 0x801063 0x801063

0x800000 0x800000 0x800000 0x800001

16:51:02.119 get adc data:

0x800000 0x800001 0x800001 0x800000

0x801063 0x800000 0x801894 0x800000

16:51:02.492 get adc data:

0x800001 0x800000 0x801063 0x8028f7

0x801894 0x801063 0x800000 0x800001

get adc data:

0x801063 0x800001 0x801063 0x800000

0x800001 0x800000 0x800001 0x800000