Part Number:CC2540
CC2540 ADC设置12bit采集, AVDD5=3.3V, 测试电压1.5V, 采集的ADC只有920左右.
为什么在12bit下ADC的范围只有2048? 不是4096?
Nick Sun:
您好,
您可以参考如下帖子:https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/375877/cc2540-41-adc-output-conversion-unable-to-interpret-the-voltage-out-of-adc-values
You should not get more than 2047 as the result will always be in 2's complement where the MSb will be used to determine the sign (-/+). For single ended 12-bit you should expect results between 0 and 2047 (b0-b0000 0111 1111 1111).
,
WK C:
使用内部参考电压, 如何计算测试电压?
,
Nick Sun:
您好,
如图所示,内部参考电压为1.24V.
假设测量电压为3V,您可以输入选择vdd/3,12bit的adc通道,量程范围为0~2047,那么3v对应采集到的adc应该是3/3/1.24*2047=1650