工具与软件:
您好!
我想在 u-boot 提示符下使用 cmd GPIO 启用/禁用 J784S4评估板的 WKUP_GPIO0_11输出。
我的配置有问题吗?
k3-j784s4-evm-u-boot.dtsi:

我修改了 u-boot 源码、以将 WKUP_GPIO0_11配置为输出引脚。
以下是 u-boot 提示符:

我读取寄存器0x4301c0ec:

输出始终为0、正如 u-boot 所知。
此致、
Bruce
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.
工具与软件:
您好!
我想在 u-boot 提示符下使用 cmd GPIO 启用/禁用 J784S4评估板的 WKUP_GPIO0_11输出。
我的配置有问题吗?
k3-j784s4-evm-u-boot.dtsi:

我修改了 u-boot 源码、以将 WKUP_GPIO0_11配置为输出引脚。
以下是 u-boot 提示符:

我读取寄存器0x4301c0ec:

输出始终为0、正如 u-boot 所知。
此致、
Bruce
Bruce、您好!
[报价 userid="602907" url="~/support/processors-group/processors/f/processors-forum/1483390/j784s4xevm-cannot-enable-wkip-gpio-on-tda4-uboot/5701267 #5701267(1999)我是否需要进行更多的初始化来获取寄存器0x4301c0ec 中的值0x40007?
[报价]
现在我获取了上下文。 您未使用驱动程序、因此您可以在代码中添加如下内容:
写入(0x40007、 0x4301c0ec);
这应该与 U-Boot 提示符中的 mw 命令执行相同的操作。
-基尔西