esp32_can icon indicating copy to clipboard operation
esp32_can copied to clipboard

Receive message drop with CAN1 MCP2515

Open jeroenveer opened this issue 1 year ago • 1 comments

Have noticed that the CAN1 with MCP2515 is not receiving all messages send on the bus. Tested with just 4 different messages all running al 10ms.

afbeelding

Switched the interrupt to core1 and now it seems stable xTaskCreatePinnedToCore(&task_MCPInt15, "CAN_INT_M15", 4096, this, 10, &intDelegateTask, 1);

afbeelding

Also have Wifi enabled which also runs on core0

jeroenveer avatar Aug 23 '23 10:08 jeroenveer

As soon as CAN0 starts to transmit can frames CAN1 starts to missing received messages.

Are interrupts disabled when CAN0 transmits?

jeroenveer avatar Aug 23 '23 13:08 jeroenveer