CYW20706 读取的AD值与电压值的关系

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
PeYu_4639956
Level 3
Level 3
10 replies posted 10 questions asked 10 sign-ins

请问,使用wiced_hal_adc_read_raw_sample(ADC_INPUT_CHANNEL_SEL channel)读取的AD值,怎么换算成电压值?

0 点赞
1 解答
Charles_Lai
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 sign-ins

Hi,

ADC读出的电压数值是相对于参考电压(满程电压)的比例,要换算成电压值还需要知道您提供的参考电压。

请参见:

https://www.cnblogs.com/zhugeanran/p/9449911.html

https://cypresssemiconductorco.github.io/btsdk-docs/BT-SDK/20706-A2_Bluetooth/API/group___adc_driver...

Best regards

在原帖中查看解决方案

0 点赞
2 回复数
Charles_Lai
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 sign-ins

Hi,

ADC读出的电压数值是相对于参考电压(满程电压)的比例,要换算成电压值还需要知道您提供的参考电压。

请参见:

https://www.cnblogs.com/zhugeanran/p/9449911.html

https://cypresssemiconductorco.github.io/btsdk-docs/BT-SDK/20706-A2_Bluetooth/API/group___adc_driver...

Best regards

0 点赞
PeYu_4639956
Level 3
Level 3
10 replies posted 10 questions asked 10 sign-ins

非常感谢!

0 点赞