我們的板子使用UART0_CTSn.DCAN1_TX,UART0_RTSn.DCAN1_RX 來做CAN Bus應用
經實際測試,使用can0 可以正確與另一個SJA1000板子通訊,若改為can1 就會說明無法找到裝置
請問這是為什麼??
ip link set can0 type can bitrate 1000000 triple-sampling on
ifconfig can0 up
./cansend can0 -i 0x8087 0xab 0x80 0x01 0x01 0x00 0xd3 0x24 0xdc -e
./cansend can0 -i 0x8087 0xab 0x80 0x01 0x01 0x00 0xd3 0x25 0xdb -e
======================================
P/S:
board-am335xevm.c
static void d_can_init(int evm_id, int profile)
{
...
setup_pin_mux(d_can_gp_pin_mux);
am33xx_d_can_init(1);
...
}