Other Parts Discussed in Thread: CC2652R
您好:
参考dacoutputbuffer例程内ADC to measure the voltage set by the DAC
/* Use 12-bit ADC to measure the voltage set by the DAC. */
resConvert = ADC_convert(adcHandle, &adcValue);
if (resConvert == ADC_STATUS_SUCCESS) {
adcValueMicroVolt = ADC_convertRawToMicroVolts(adcHandle, adcValue);
Display_printf(display, 0, 0, "The measured voltage with the ADC is: %d [uV]\n", adcValueMicroVolt);
}
else {
Display_printf(display, 0, 0, "The ADC conversion failed.\n");
}
设定DIO23为量度PIN, 当DIO23连接板上的输出3.3V Pin位数值约为3308736uV, 当DIO23连接板上的输出5.0v Pin位时数值约为3798064uV(万用表量出实际是约4.22V)
想查询有没有方法/设定可以处理高于3.3V的电压值, 较为准确的uV值?
Thanks!
Wing