I have a question regarding to adress CAN.
For example I have defined the following lines like:
NCAN_Outgoing.Data = 0x02; // this is for the destination ID
NCAN_Outgoing.Data = 0x09;
NCAN_Outgoing.Data = 0x06:Assuming that I have two ECUs (e.g. 0x02 & 0x03) how is it possible to give STM32 the possibility to look up which adress should be used?
Maybe an idea: Creating a loop when the code check's if the destination ID matches up?
Thanks for helping!