ADC Function WCT-15WTXAuto

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

ADC Function WCT-15WTXAuto

724 次查看
devinpark
Contributor II

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

标签 (1)
0 项奖励
1 回复

617 次查看
devinpark
Contributor II

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

0 项奖励