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.

[参考译文] AM620-Q1:如何通过 R5 SPL 控制 GPIO (tiboot3.bin)

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1517462/am620-q1-how-to-control-gpio-w-r5-spl-tiboot3-bin

器件型号:AM620-Q1

工具/软件:

尊敬的专家

电路板启动时、我们需要"尽早"控制一些 GPIO。

我认为是在 A53 SPL 开始之前在 R5 SPL (tiboot3.bin)中编写此控制函数的理想方法。

我认为我的问题非常类似。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1512497/am62a7-controlling-the-gpio-from-tiboot3-bootloader?tisearch=e2e-quicksearch&keymatch=tiboot3

以下是我的问题:

(1)在 uboot 源中、"R5 SPL"的相关源代码在哪里? 因为我尝试在源代码中找到将 GPIO 初始化的理想位置。

(2)您能给我们一个"简单指令"、如何 将值直接写入源代码中的 MMR 寄存器(例如:PADCONFIG)?

非常感谢

Gibbs