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.

ADS1198: ADS1198 读取ID 总是返回随机数

Part Number: ADS1198

这是我的程序

spi.send_recv(spi.SPI_1,string.fromHex(_WAKEUP))
sys.wait(100)
spi.send_recv(spi.SPI_1,string.fromHex(_RESET))
sys.wait(100)
spi.send_recv(spi.SPI_1,string.fromHex(_SDATAC))
while true do
    spi.send_recv(spi.SPI_1,string.fromHex("20"))
    spi.send_recv(spi.SPI_1,string.fromHex("00"))
    spi.send_recv(spi.SPI_1,string.fromHex("00"))
    sys.wait(100)
end

逻辑分析仪测得 发送的都是正确的数据

这是我接收到的数据

左侧是发送的数据 右侧是返回的数据

[0x02] C0
[0x06] C0
[0x11] C0
[0x20] 00
[0x00] 00
[0x00] 80
[0x20] 00
[0x00] 80
[0x00] 00
[0x20] 00
[0x00] 80
[0x00] 00
[0x20] EC
[0x00] 22
[0x00] DB
[0x20] 0B
[0x00] 80
[0x00] 00
[0x20] 80
[0x00] 00
[0x00] 80
[0x20] 00
[0x00] 80
[0x00] 00
[0x20] 00
[0x00] 00
[0x00] 00
[0x20] 00
[0x20] 00
[0x00] 00
[0x00] 00
[0x20] 00
[0x00] 00
[0x00] 00
[0x20] 00
[0x00] 00
[0x00] 00
[0x20] 00
[0x00] 00
[0x00] 00

我的 CLKSEL, PWDN,RESET 引脚 都是硬件上拉

我测的电压

AVDD 3.1V
AVSS 0V
DVDD 3.1V
GND 0V
VCAP1 1.2V
VCAP2 1.6V
VCAP3 4.9V
VCAP4 235mV

VREFP,VREFN 都是0V

请帮我看下是什么问题