Hi!
I'm a bit puzzled right now.
I got myself an STM32 (specifically a Nucleo F303K8)) and connected two MCP2515s to it. So far, sending and receiving are working perfectly.
What I actually want to achieve is to connect a head unit to one MCP2515 and the corresponding display to the other. What one receives, the other transmits, and vice versa.
I want to be able to see, for one thing, which device each message originates from, and also be able to filter out individual IDs. That's the theory. It works fine in principle, BUT: As soon as a large amount of data arrives in quick succession (for example, when opening a large menu), messages are dropped, and of course, the menu fails to open.
It seems like he might not be able to retrieve the RX buffer fast enough. No matter how I try to optimize it (creating a custom TX buffer, giving higher priority to receiving, disabling serial output, etc.), nothing seems to help. It's running so unreliably

.
Before I continue trying to optimize every little detail to get this working: Is my plan even feasible? What I'm doing right now would only be a "nice-to-have" for me, and I don't necessarily need it to be 100% functional, but I thought that if I could filter out specific data for the target device, it might simplify future actions. Ideas?
Regards,
Sven.