2026-01-12 12:47 AM - last edited on 2026-01-12 12:58 AM by mƎALLEm
I am implementing a CAN communication structure with one master and two slaves. Both slave devices perform exactly the same function, meaning their hardware and firmware are essentially identical. The master’s intention is to send commands only to a specific slave at a given time and receive data only from that targeted device. However, the issue I am facing is that any CAN frame transmitted by the master is being accepted by both slaves. Because both devices share the same ID filtering configuration, each slave interprets the incoming message as if it were intended for itself. As a result, the system behaves like a broadcast communication instead of the desired unicast structure, which leads to unintended and incorrect operation. Is there a solution
2026-01-12 12:58 AM - edited 2026-01-12 12:59 AM
Hello,
So why are you using the same ID for all slaves?
+ What MCU part numbers are you using?
How to write your question to maximize your chances to find a solution
2026-01-12 1:01 AM
The slaves have different IDs but the same functions. ( STM32F4 DISC)