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.

TCAN4551-Q1: error messages after starting up the CAN controller

Part Number: TCAN4551-Q1

I get error messages after starting up the CAN controller: Any clues on what might be happening?

ip link set can3 type can bitrate 500000
ip link set can3 up
cangen can3

ip link set can0 type can bitrate 500000
ip link set can0 up
candump can2

[ 307.947759] IPv6: ADDRCONF(NETDEV_CHANGE): can3: link becomes ready
[ 308.419163] tcan4x5x spi0.0 can3: Message RAM access failure occurred
[ 309.085420] tcan4x5x spi0.0 can3: Message RAM access failure occurred
[ 309.265092] tcan4x5x spi0.0 can3: Error Logging Overflow
[ 309.270414] tcan4x5x spi0.0 can3: Bit Error Uncorrected
[ 309.275657] tcan4x5x spi0.0 can3: Bit Error Corrected
[ 309.280731] tcan4x5x spi0.0 can3: Message RAM access failure occurred
[ 309.344873] tcan4x5x spi0.0 can3: Message RAM access failure occurred
[ 309.358748] tcan4x5x spi0.0 can3: Message RAM access failure occurred
[ 309.844814] tcan4x5x spi0.0 can3: Message RAM access failure occurred
[ 310.038526] tcan4x5x spi0.0 can3: msg lost in rxf0
[ 310.838366] tcan4x5x spi0.0 can3: Message RAM access failure occurred
[ 310.984804] tcan4x5x spi0.0 can3: msg lost in rxf0
[ 311.118384] tcan4x5x spi0.0 can3: Message RAM access failure occurred
[ 311.624780] tcan4x5x spi0.0 can3: Message RAM access failure occurred
[ 311.805410] irq 88: nobody cared (try booting with the "irqpoll" option)
[ 311.812120] CPU: 0 PID: 974 Comm: irq/88-can3 Tainted: G C 5.10.52+gd36c69d12462 #1
[ 311.821075] Hardware name: HM Variscite DART-MX8M-PLUS on DT8MCustomBoard 2.x and above (DT)
[ 311.829510] Call trace:
[ 311.831962] dump_backtrace+0x0/0x1a0

  • Hi Mattias,

    I'd first like to point you to our software user guide for the TCAN45xx. This will give you a good background on how to configure this device and what is necessary for it to communicate properly.

    I can try to help you with this Linux driver but keep in mind that we do not directly support this software. If you send me an email at c-ayoub@ti.com I can provide you a PowerPoint that was written by one of our engineers that talks about how to configure the TCAN455x using linux. It goes over which specfic linux driver we have used, how to set up your device tree, how to write a DTO file for the TCAN455x, and how to check for kernel module loading. If you are still having issues after following this PowerPoint I can try to assist you.

    Best,

    Chris