Other Parts Discussed in Thread: SYSCONFIG
We develop the PCB on CC1352R.
Set reference value is VDDS(=3.0) in CC1352R.
Input 3.0V the port, ADC value is 0xF2C not 0xFFF.
The ADC max value is not reference value?
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.
Hi,
By default, as seen in section 19.5.2.2.1 of the CC1352 technical reference manual, the ADC input is scaled down by a certain factor.
You can make it so 0xFFF equals 3 V by disabling "Input Scaling" in SysConfig (adcsinglechannel example):
More information on that here: https://dev.ti.com/tirex/explore/content/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/docs/drivers/doxygen/html/_a_d_c_c_c26_x_x_8h.html#a5ed293d16be70036c4008865dbe33b98
Keep in mind you can directly get the microvolt readings by using the ADC_convertToMicroVolts() method: https://dev.ti.com/tirex/explore/content/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/docs/drivers/doxygen/html/_a_d_c_8h.html#aa1cd6feaa85ea5409dbe1769586bff20
Regards,
Arthur