您尚未登录。

楼主 # 昨天 21:30:28

陈杰
会员
注册时间: 2024-09-30
已发帖子: 1
积分: 1

D121-HMI board 测试RTP外设,结果不正确

您好,我现在在使用D121-HMI board调试RTP外设,屏幕使用的是7寸RGB接口的电阻触摸屏,程序使用Lubanlite。
使用指令test_rtp_adc分别测试通道1的接地,悬空,接3.3V,测试结果应该是不正常的,请问怎么解决?
测试结果如下:
①通道0接3.3V:
aic /> test_rtp_adc -r 1 -n 5 -t 3.3
[0] ch1: 4055
voltage:2.4755 v
[1] ch1: 4055
voltage:2.4755 v
[2] ch1: 4055
voltage:2.4755 v
[3] ch1: 4055
voltage:2.4755 v
[4] ch1: 4055
voltage:2.4755 v
[5] ch1: 4055
②通道0接地:
aic /> test_rtp_adc -r 1 -n 5 -t 3.3 
[E] hal_adcim_adc2voltage()192 Out of the input voltage range - -33
[0] ch1: 0
voltage:0.0000 v
[E] hal_adcim_adc2voltage()192 Out of the input voltage range - -32
[1] ch1: 0
voltage:0.0000 v
[E] hal_adcim_adc2voltage()192 Out of the input voltage range - -28
[2] ch1: 0
voltage:0.0000 v
[E] hal_adcim_adc2voltage()192 Out of the input voltage range - -28
[3] ch1: 0
voltage:0.0000 v
[E] hal_adcim_adc2voltage()192 Out of the input voltage range - -31
[4] ch1: 0
voltage:0.0000 v

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn


太原小智科技有限责任公司 - 东莞哇酷科技有限公司联合开发