XMC1403 can-bus gateway - how to make it?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User13925
Level 1
Level 1
Hello !

I want to write application that pass all can-bus messages from node X to node Y and vice versa.
But also I want to add some extra functionality for example:
- let say ID 0x123 - I want to send this message to other can node but also read some byte value and store it in some global variable
- let say ID 0x567 - I want to send this message to other can node but also negate all data bytes
- there can be more messages with some specific ID when I need to do some data processing of can data

How can I do this?
- receive incoming data to node X and send it to node Y and check in the middle time if msg ID was 0x123 or 0x567?
- or I can do it in some automatic way?

Best regards
Jakub
0 Likes
0 Replies