AnsweredAssumed Answered

ADC Function WCT-15WTXAuto

Question asked by Devin Park on Nov 26, 2017
Latest reply on Nov 27, 2017 by Devin Park

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

Outcomes