CANhack.de CAN-Interface RKS+CAN
CAN Hardware, CAN Software, CAN Protocols - CAN Bus Forum for Your CAN Bus Project.

Help with setting filters/masks in CANHacker v2

 
New Topic Reply 🔗 🖨 CANhack.de - Index » CAN Software Tools and Software
Author Message
Mackhack



Joined: 10/10/2012
Posts: 17
Karma: +0 / -0   Thank you, like it!
Location: Offline

CAN Support

Post13-08-2023, 5:13    Subject: Help with setting filters/masks in can tool v2 Quote

Hello,

I'm using the old can tool v2. I need some help setting up the filter. If the CAN ID is 0x0016. How do I configure the filter and mask to display only the data for this specific ID, or to record it using the tracer?

Thank you.
Mackhack


Translated on 03-07-2026, 15:19.
Back to top Profile PM
CAN-Diagnose
Administrator
Administrator
Avatar-CAN-Diagnose

Joined: 06/07/2011
Posts: 573
Karma: +29 / -0   Thank you, like it!
Location: Ländle



Post13-08-2023, 11:04    Subject: Help with setting filters/masks in can tool v2 Quote

Hi,

Since the filter function replicates that of the hardware, it is identical.

https://www.canhack.de/en/viewtopic.php?t=2296&highlight=filter

Sure, I'd be happy to help with that. Please provide the German text you would like me to translate into English.
https://www.obd.wiki/can-filtern

Best regards, Rainer.
Dipl.-Ing. (FH) Rainer Kaufmann - Embedded Software Freelancer
System RKS+CAN: CANHack.de CAN-Bus Interface


Translated on 03-07-2026, 15:19.
Back to top Profile PM WWW
Mackhack



Joined: 10/10/2012
Posts: 17
Karma: +0 / -0   Thank you, like it!
Location: Offline

CAN Support

Post13-08-2023, 17:24    Subject: Help with setting filters/masks in can tool v2 Quote

Thank you for the link. I already saw this topic, but it's for the newer KCAN. I'm only using the old can tool. However, in the filter box, it shows FFFFFFFF instead of 00000000. Do I only need to use FFFF0016 as a filter there?
Mackhack


Translated on 03-07-2026, 15:19.
Back to top Profile PM
CAN-Diagnose
Administrator
Administrator
Avatar-CAN-Diagnose

Joined: 06/07/2011
Posts: 573
Karma: +29 / -0   Thank you, like it!
Location: Ländle



Post16-08-2023, 7:08    Subject: Help with setting filters/masks in can tool v2 Quote

Quote:
The RKS+CAN module implements the functionality of the SJA1000 (or PCA82C200) component, as well as its Acceptance Code Register (ACR) and Acceptance Mask Register (AMR), in software. The two registers determine which CAN IDs are discarded and which are sent to the PC laptop.

Set bits in the Acceptance Code Register (ACR) determine which bits of the CAN identifier must match the ACR bitmask. The set bits in the Acceptance Mask Register (AMR) determine whether only messages with a bit pattern that exactly matches the bit specified at this position in the Acceptance Code Register (ACR) are allowed (0), or whether the corresponding bit in the CAN ID is irrelevant (1).

A relevant binary '1' in the acceptance code register means "the corresponding bit in the identifier must be 1."

A relevant binary 0 in the acceptance code register means "the corresponding bit in the identifier must be 0."

A binary 1 in the acceptance mask register means "the corresponding bit in the code is relevant."

A binary 0 in the acceptance mask register means "the corresponding bit in the code is not relevant."

For details, please refer to the datasheets for the SJA1000 or the PCA82C200.
icon_idea.gif
Dipl.-Ing. (FH) Rainer Kaufmann - Embedded Software Freelancer
System RKS+CAN: CANHack.de CAN-Bus Interface


Translated on 03-07-2026, 15:19.
Back to top Profile PM WWW
New Topic Reply 🔗 🖨 CANhack.de - Index » CAN Software Tools and Software
Similar articles and topics
Topic Forum
No new posts Filter Help: Troubleshooting & Solutions CAN Software Tools and Software
No new posts Setting CAN Bus signals to specific High/Low levels, alon... Microcontrollers and Electronics, Programming
No new posts CAN Bus filter problem Microcontrollers and Electronics, Programming
No new posts CAN Bus Hacking: Protocols & Security CAN Software Tools and Software
Jump to:  
You cannot post new topics in this forum.