Hello! I’m new to this community and I’m currently working on the IMX8 QuadMax device. I have encountered a problem while reading CAN on the MCIMX8-8x-BB board. I installed QNX 7.1 on the device and launched the dev-can-mx7x-mx8x driver with this argument: -b250K can0. Then, I called canctl -u0,rx0 -m0 -f0 to receive all messages and typed cat /dev/can0/rx0. However, even though I’m sending CAN messages to the CAN0 port, cat outputs nothing. I would greatly appreciate it if someone could help me out. Thank you for reading.
This is debug output for the driver...
#canctl -u0,rx0 -i
Message queue size: 100
Wait queue size: 16
Mode: IO
Bitrate: 0 Baud
Bitrate prescaler: 20
Sync jump width: 1
Time segment 1: 8
Time segment 2: 2
TX mailboxes: 32
RX mailboxes: 32
Loopback: NONE
Autobus: OFF
Silent mode: OFF
# canctl -u0,rx0 -s
Transmitted frames: 0
Received frames: 0
Missing ACK: 0
Total frame errors: 0
Stuff errors: 0
Form errors: 0
Dominant bit recessiv: 0
Recessiv bit dominant: 0
Parity errors: 0
CRC errors: 0
RX FIFO overflow: 0
RX queue overflow: 0
Error warning state #: 0
Error passive state #: 0
Bus off state #: 0
Bus idle state #: 0
Power down #: 0
Wake up #: 0
RX interrupts #: 0
TX interrupts #: 0