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.

[参考译文] 如何使用 AM5728 CPU 将 GPIO 设置为低电平/高电平

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/801784/how-to-set-a-gpio-to-low-high-with-am5728-cpu

您好!

我需要一个简单的示例、说明如何在 Code Composer Studio 9.0.1中将 GPIO 设置为低电平/高电平。 我没有找到任何命名 CPU 的示例。

此致、
Matthias

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

    我进行了搜索、但无法在 CCS 中找到适用于 AM572x 电路板的 GPIO 示例代码。 我找到的是 DRA75x 电路板的 GPIO 示例代码、您可以将其称为 AM572x 和 DRA75x GPIO 模块非常相似。

    ccsv8/ccs_base/emulation/gel/DRA75x_DRA74x/DRA7xx_DDR_config.gel

    DRA7xx_set_GPIO_for_VTT ()-设置 GPIO7_11以启用 VTT

    您还可以检查 AM437x 电路板的 GPIO 示例代码:

    ccsv8/ccs_base/emulation/boards/sk_AM437X/GEL/AM437x_Status.gel

    ENABLE_QSPI ()-> GPIO1_16设置为高电平
    DISABLE_QSPI ()-> GPIO1_16设置为低电平

    此致、
    帕维尔