程序验证正确,pl455 UART通讯正常,能够根据指令返回正确长度的响应,但采集电压返回数据均为0;
推测原因:
有一条指令错误写入了寄存器1
nSent=WriteReg(0,0x01,0x000300E0,4,FAMWRT_ALL_NR)
寄存器1存放的是版本号,没有说明写寄存器1是什么效果
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.
程序验证正确,pl455 UART通讯正常,能够根据指令返回正确长度的响应,但采集电压返回数据均为0;
推测原因:
有一条指令错误写入了寄存器1
nSent=WriteReg(0,0x01,0x000300E0,4,FAMWRT_ALL_NR)
寄存器1存放的是版本号,没有说明写寄存器1是什么效果