Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receive message drop with CAN1 MCP2515 #53

Open
jeroenveer opened this issue Aug 23, 2023 · 1 comment
Open

Receive message drop with CAN1 MCP2515 #53

jeroenveer opened this issue Aug 23, 2023 · 1 comment

Comments

@jeroenveer
Copy link

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
Copy link
Author

jeroenveer commented Aug 23, 2023

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

Are interrupts disabled when CAN0 transmits?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant