Hi champion,
My customer want to use GPADC to read external voltage value, we found a post
They tried to follow it, but found the vaule read back is not correct. Could you help to give a specifc example showcasing how to use GPADC?
Thanks,
Adam
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 champion,
My customer want to use GPADC to read external voltage value, we found a post
They tried to follow it, but found the vaule read back is not correct. Could you help to give a specifc example showcasing how to use GPADC?
Thanks,
Adam
Cesar,
Customer updated to latest 1.2 mmwave sdk and referred to below code, they can get the right GPADC value. Below code is based on latest 1.2 sdk mmw demo.
You can set break point at below yellow line in CCS and check the value of rcvGpAdcData to get the GPADC data.
case RL_RF_AE_GPADC_MEAS_DATA_SB:
{
isGetGpAdcMeasData = 1U;
memcpy(&rcvGpAdcData, payload, sizeof(rlRecvdGpAdcData_t));
break;
}