Part Number: SK-AM62P-LP
Other Parts Discussed in Thread: AM62P
Hi Team,
I am working on the TI AM62P EVK using the TI Android 16 SDK.
After enabling main_mcan1 in the device tree (DTS), the interface appears successfully as can0. I can change its bitrate and bring the interface UP using standard ip link commands without errors.
However, I am completely unable to send or receive data. When running the built-in Android Automotive CAN HAL utilities (canhalsend / canhaldump), it fails with the following error:
Bus can0 is not available
Could you please provide the exact steps, configurations, or patch required to resolve this issue in the Android 16 SDK environment so that the Automotive CAN HAL can recognize and communicate over can0?
Thank you!
console:/ # ip link set can0 down
console:/ # ip link set can0 type can bitrate 100000
console:/ # ip link set can0 up
console:/ # console:/ # ifconfig can0
can0 Link encap:UNSPEC Driver m_can_platform
UP RUNNING NOARP MTU:16 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:0 TX bytes:0
Interrupt:179
console:/ #
console:/ # canhaldump can0
Bus can0 is not available
console:/ #
console:/ # canhalsend can0 123#DEADBEEF
Bus can0 is not available