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.

[参考译文] CCS/RM57L843:无法将 HET2[1]引脚配置为 GPIO 输入。

Guru**** 2526050 points
Other Parts Discussed in Thread: HALCOGEN

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/955390/ccs-rm57l843-not-able-to-configure-het2-1-pin-as-gpio-input

器件型号:RM57L843
主题中讨论的其他器件:HALCOGEN

工具/软件:Code Composer Studio

您好!

我想将 HET2[1]端口引脚配置为输入。 为此、我将使用" gioSetDirection (hetPORT2、0U);"API。 我在同一引脚上从外部提供3.2V 电压。  

我将引脚状态读取为"uiStatus = gioGetBit (hetPORT2、1U);"、但我仅获得0值。 是否缺少任何设置。

halcogen 设置:

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    请将引脚 D8配置为 N2HET2[1]输入。 默认设置为 D4。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    感谢您的回答,它现在正在工作。