On iMX6 WinCE, the CAN frame type is specified by
Can_SetConfigString(hCan, L"FrameFormat", L"standard", StoreVolatile);
Is it possible to receive both standard and extended frames simultaneously? WIth SJA1000, it can be set to receive both frames.
CanWriteDescriptor(device, 0x80000000, 0xffffffff); // Receive all messages
Is MCP2515 or iMX6 native CAN controller limited to receive only one type frame at one time?
I also did test on Apalis iMX6 with Linux using iMX6 native flexcan. It is okay to receive both frames.
root@apalis-imx6:~# candump can0
interface = can0, family = 29, type = 3, proto = 1
[ 66.752787] random: nonblocking pool is initialized
<0x001> [8] 01 02 03 04 05 06 07 08
<0x00000001> [8] 01 02 03 04 05 06 07 08
The current implementation of our CAN library can’t receive both frame types at the same time.
The current implementation of our CAN library can’t receive both frame types at the same time.