您好,
主芯片: AM3354BZCZ100
SDK:RT 3.3
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.
Andre、
u-boot SPI 驱动程序位于:
U-boot-2017.01/drivers/SPI/OMAP3_SPI.c
您还可以参阅以下 DTS 文件:
u-boot-2017.01/arch/arm/dts/am33xx.dtsi
u-boot-2017.01/arch/arm/dts/AM335x-rut.dts
u-boot-2017.01/board/ti/AM335x/mux.c
此致、
帕维尔
您好、Pavel、
感谢您的建议、我现在使用 SSPI 命令来控制 SPI 外设。
主芯片:AM3354BZCZ100
SDK:RT 3.3
SPI1引脚配置如下:
硬件连接:
从原理图中可以看出,总线为1芯片选择为0。
在 uboot 阶段执行 SSPI 1:0.3 32 A 命令、电路板错误重启、如下所示:
uBoot 编译为:
将 arch=arm cross_compile=arm-linux-gnueabihf- am335x_bonebblack_defconfig 全部设置为
使 arch=arm cross_compile=arm-linux-gnueabihf-
未使用设备树。 我们使用 MLO 和 u-boot.img 启动 am3354板。
测试 SPI0总线命令、如下所示:
我需要控制 SPI1总线上的外设。
如何解决 SPI1错误板重新启动问题?
希望能得到您的帮助、谢谢。
BR