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.

TMS320F2800157: GPIO配置为CANTX功能模块后,CAN初始化模组重复执行时该GPIO引脚电平被下拉

Part Number: TMS320F2800157

Dear All,

贵安TI团队,我在调试过程中发现将GPIO引脚功能配置为CANTX功能模块后,多次运行官方系统函数CAN_initModule(CANA_BASE),除第一次执行外,后续执行该函数均会出现CANTX被下拉7~24us的现象(3.3V下拉到2.5V),通过代码分析发现是执行了下述软件复位的寄存器操作后

//
// Force module to reset state
//

HWREGH(base + CAN_O_CTL) |= CAN_CTL_SWR;

请问这种下拉是正常现象还是配置问题?是否有方案规避?

以下附上部分源代码:
GPIO_setPadConfig(12,GPIO_PIN_TYPE_PULLUP);
GPIO_setPadConfig(20, GPIO_PIN_TYPE_STD);
GPIO_setQualificationMode(12,GPIO_QUAL_SYNC);
GPIO_setQualificationMode(20,GPIO_QUAL_SYNC);
GPIO_setPinConfig(GPIO_12_CANA_RX);
GPIO_setPinConfig(GPIO_20_CANA_TX);
CAN_initModule(CANA_BASE);
上述代码在我的软件用会被执行两次,第二次执行 CAN_initModule(CANA_BASE);s时出现GPIO20的3.3V被下拉的现象;