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.

[参考译文] AM67A:CAN 'OLDI 引脚是否可配置为 GPIO?

Guru**** 2540720 points
Other Parts Discussed in Thread: AM67A, SYSCONFIG

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1561112/am67a-can-t-the-oldi-pins-be-configured-as-gpio

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

工具/软件:

我们希望将一些 OLDI 引脚用作定制电路板 AM67A 上的 GPIO。

连接到引脚 AG24 和 AF23 的两个用户 LED 工作正常。 我们可以通过以下设备树来控制 LED:

led_pins: led-pins {
	pinctrl-single,pins = <
		J722S_IOPAD(0x0260, PIN_OUTPUT, 7) /* (AF23) OLDI0_A0N.GPIO1_53 */
		J722S_IOPAD(0x025C, PIN_OUTPUT, 7) /* (AG24) OLDI0_A0P.GPIO1_52 */
	>;
};

led-2 {
    label = "LED1";
    gpios = <&main_gpio1 52 GPIO_ACTIVE_HIGH>;
    linux,default-trigger = "none";
};

led-3 {
    label = "LED2";
    gpios = <&main_gpio1 53 GPIO_ACTIVE_HIGH>;
    linux,default-trigger = "none";
};

此外、我们还尝试 将 AG23 设置为 PIN_INPUT。 但是、它显示为引脚悬空、无法正常工作。   

usr_button_pins_default: usr-button-default-pins {
        pinctrl-single,pins = <
            J722S_IOPAD(0x0264, PIN_INPUT, 7)
    >;
};

无法在 AM67A 上将 OLDI 引脚配置为 GPIO? 通过观察结果、我们可以了解到、这些只能 以某种方式作为输出、无法进行配置、对吧?

数据表和 SysConfig 提供了不一致的信息。

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

    您好:

    您能否分享 padconfig 寄存器中的值?

    谢谢、

    Anshu