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.

[参考译文] MSPM0G1107:GPIO 配置

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1245487/mspm0g1107-gpio-configuration

器件型号:MSPM0G1107
主题中讨论的其他器件:SysConfig

您好!

我要设置:

PA0作为输出开漏。

2.PA1作为输出、使用内部上拉40k Ω。

3.在固件启动后,SWDIO 和 SWCLK 作为输入。

对于这些配置是否合适?  

谢谢。  

此致、

贾斯廷

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

    大家好、Justin、

    1. 看起来不错
    2. PA1是一个开漏引脚、因此它需要一个外部上拉电阻。 您可以选择不同的引脚并使用内部上拉。
    3. SWDIO 和 SWCLK 可重新配置为 GPIO 引脚。 需要注意的一点是、您需要执行 POR + BSL 以恢复这些引脚上的编程功能、因此您可以对器件进行重新编程。 SysConfig 将在您重新配置这些时提供更多详细信息。

    此致、

    卢克