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.

TIDA-01604: 在控制代码中GPIO_I_SENSE_GAIN_ADJUST引脚配置是有什么作用

Part Number: TIDA-01604

在控制代码中的pfc1ph3ilttpl_user_settings.h文件有

#define GPIO_I_SENSE_GAIN_ADJUST 15
#define GPIO_I_SENSE_GAIN_ADJUST_PIN_CONFIG GPIO_15_GPIO15,
在pfc1ph3ilttpl_board.c中配置为
void setupGainChangeGPIO(void)
{
    GPIO_setDirectionMode(GPIO_I_SENSE_GAIN_ADJUST,GPIO_DIR_MODE_OUT);
    GPIO_setQualificationMode(GPIO_I_SENSE_GAIN_ADJUST,GPIO_QUAL_SYNC);
    GPIO_setPinConfig(GPIO_I_SENSE_GAIN_ADJUST_PIN_CONFIG);
}
在pfc1ph3ilttpl_board.h中配置为
//TODO gainHighSetforLowCurrent
inline void gainHighSetforLowCurrent(void)
{
    GPIO_writePin(GPIO_I_SENSE_GAIN_ADJUST,1);
}

//TODO gainLowSetforHighCurrent
inline void gainLowSetforHighCurrent(void)
{
    GPIO_writePin(GPIO_I_SENSE_GAIN_ADJUST,0);
}
在主程序中配置为
    //configure gain change GPIO
    setupGainChangeGPIO();
    gainLowSetforHighCurrent();
根据代码以及原理图分析,我并不知道这个引脚具体是做什么用途,在控制板原理图中,该引脚直接接到外接引脚63号,但在pfc底板上面,63号引脚并没有接线,为空状态