Orin nano SPE gpio 无法输出


我在调试nano的SPE驱动,在测试GPIO驱动的时候发现输入输出都没有执行动作;我安装指导手册描述配置了相关的pinmux文件,并在spe代码中添加了如下测试计数代码用于记录翻转计数及触发计数:

最后通过sudo ./flash.sh --no-systemimg -c bootloader/t186ref/cfg/flash_t234_qspi.xml jetson-orin-nano-devkit mmcblk0p命令更新了pinmux及spe固件。
查看计数信息发现仅有翻转计数在增加,触发计数没有动作:
image
之后尝试用示波器测试量PDD.01管脚,没有波形输出;之后尝试向PDD.02输入脉冲,触发计数依然没有增加。
根据测试情况推测是GPIO驱动没有正常执行,我上述的操作步骤有问题吗?我需要从那个方面排除问题故障?

Hello,
Have you ever updated the ${L4T}/bootloader/t186ref/BCT/tegra234-mb1-bct-pinmux-p3767-dp-a03.dtsi?
If both IN and OUT GPIOs fail, most probable reason is wrong pinmux setting.

br
Chenjian


截图有一部分没截上,tegra234-mb1-bct-pinmux-p3767-dp-a03.dtsi也是修改过了。
我是按照指导手册的步骤执行的。没有遗落步骤。

有相关的排查建议吗

that’s weird. those changes are verified.

Can you check the GPIO first. Can you control the GPIO in Linux side?

br
ChenJian

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.