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.

[参考译文] LP-AM243:如何在 SBL 中读取 GPIO 输入数据?

Guru**** 2614265 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1461485/lp-am243-how-can-i-read-gpio-input-data-in-the-sbl

器件型号:LP-AM243

工具与软件:

嗨、团队:

我想在打开引导加载程序之前、在"mcu_plus_sdk\examples\drivers\boot\sbl_ospi\am243x-lp\r5fss0-0_nortos\main.c"中读取 GPIO。

我尝试了两种方法来读取 GPIO。

第一种方法、

包括  和地址 0x601020的 memcpy。

第二种方法、

包括  并  在 GPIO_init ()之后使用 GPIO_pinRead ()。

但是、我无法同时读取任何 GPIO 状态。

它能够在 SBL 中读取 GPIO?

此致、

小山

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

    请更正以下句子:

    我想在"mcu_plus_sdk\examples\drivers\boot\sbl_ospi\am243x-lp\r5fss0-0_nortos\main.c"中读取 GPIO、 不久之后  引导加载程序打开。

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

    您好!

    印度今天有假期,请期待域名专家的回复延迟。

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

    您好!

    我可以在 bootloader_open API 调用后读取 GPIO 引脚值。

    有关详细信息、请参阅下图。

    代码

    输出

    此致、

    Tushar