TI中文支持网
TI专业的中文技术问题搜集分享网站

am335x dcan 管脚配置

_AM33XX_MUXENTRY(MII1_TXD3, 0,
"mii1_txd3", "d_can0_tx", "rgmii1_td3", NULL,
"mcasp1_fsx", "mmc2_dat1", "mcasp0_fsr", "gpio0_16"),
_AM33XX_MUXENTRY(MII1_TXD2, 0,
"mii1_txd2", "d_can0_rx", "rgmii1_td2", NULL,
"mcasp1_axr0", "mmc2_dat2", "mcasp0_ahclkx", "gpio0_17"),

_AM33XX_MUXENTRY(UART1_RXD, 0,
"uart1_rxd", "mmc1_sdwp", "d_can1_tx", "i2c1_sda",
NULL, "pr1_uart0_rxd_mux1", NULL, "gpio0_14"),
_AM33XX_MUXENTRY(UART1_TXD, 0,
"uart1_txd", "mmc2_sdwp", "d_can1_rx", "i2c1_scl",
NULL, "pr1_uart0_txd_mux1", NULL, "gpio0_15"),

我已经增加了2个CAN相应的管脚(红色字体),

现象是:can1的可以通,can0却弹出如下信息:

[ 10.541342] _omap_mux_get_by_name: Could not find signal mill1_txd3.d_can0_tx
[ 10.548948] _omap_mux_get_by_name: Could not find signal mill1_txd2.d_can0_rx

这是什么原因呢

Jian Zhou:

我看DCAN有这个定义:

_AM33XX_MUXENTRY(UART0_RXD, 0, "uart0_rxd", "spi1_cs0", "d_can0_tx", "i2c2_sda", NULL, NULL, NULL, "gpio1_10"), _AM33XX_MUXENTRY(UART0_TXD, 0, "uart0_txd", "spi1_cs1", "d_can0_rx", "i2c2_scl", NULL, NULL, NULL, "gpio1_11"),

这个会报错么?

Jian Zhou:

那把这部分的dcan定义去掉,看看还会不会报错。

我这几天虚拟机崩溃了,等我重新安装好编译下试试。

赞(0)
未经允许不得转载:TI中文支持网 » am335x dcan 管脚配置
分享到: 更多 (0)