Hi Experts,
Recently, WCT-15WTXAuto EVM was released on the last October and we can find its schematic and SDK(v3.1).
In adc.h of the SDK, we can see following code. BTW, for example, its schematic(rev B2) uses AN_A5 forVRAIL and AN_B7 for TEMP4.
I checked the whole source code but I think the code using ADC is wrong.
is the SDK just a beta version? otherwise is my thinking not correct??
typedef enum
{
ADC_MISC_CHANNEL_VRAIL_INDEX = 0,
ADC_MISC_CHANNEL_INPUTCURRENT_INDEX,
ADC_MISC_CHANNEL_VRAILA_INDEX,
ADC_MISC_CHANNEL_VBAT_INDEX,
ADC_MISC_CHANNEL_IPEAK_INDEX,
ADC_MISC_CHANNEL_TEMP1_INDEX,
ADC_MISC_CHANNEL_TEMP2_INDEX,
ADC_MISC_CHANNEL_TEMP3_INDEX,
ADC_MISC_CHANNEL_TEMP4_INDEX,
ADC_MISC_CHANNEL_NUM
}ADC_MISC_CHANNEL_E;
.
BR,
Devin
Hi,
I found that the enumeration is related with adc_clist1/2/3/4 & sdis. So now I think the code is correct.
BR,
Devin