Router not responding to messages with BRS bit set to 1

Programmable 6-channel router and data logger for CAN and CAN FD with I/O and optional Ethernet interface
Post Reply
rotundron
Posts: 3
Joined: Thu 3. Mar 2022, 22:38

Router not responding to messages with BRS bit set to 1

Post by rotundron » Thu 3. Mar 2022, 22:52

Hi,

The FD router is responding correctly to messages with BRS flag set to 0 (I believe this uses data rate = baud rate) and fails when BRS is set to 1. The reported error seen in CANoe which is sending the message is: Not acknowledge error, dominant error flag, BitPosition = 561. The data rate is set to 2mbps while the baud rate is 500kbits.

My current guess is that the router is attempting to receive the data portion of the message at the wrong speed and causing this error. If this explanation makes sense how do I update the data rate on the router?

Thanks,
Cameron

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Router not responding to messages with BRS bit set to 1

Post by PEAK-Support » Fri 4. Mar 2022, 11:22

When the BRS is set to 1 - you need to be sure that the Data Bitrate Setting fit to 100% to the rest of your CAN Nodes.
Check on your CANoe how exact the 2MBit settings are and use the timing (tseq1/2 , SP etc.) in your own code on the Router FD. (see can_user.h )
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

rotundron
Posts: 3
Joined: Thu 3. Mar 2022, 22:38

Re: Router not responding to messages with BRS bit set to 1

Post by rotundron » Fri 4. Mar 2022, 16:49

Thanks for the quick reply.

My CANoe settings are as so in the:
Capture.PNG
Capture.PNG (45.33 KiB) Viewed 5183 times
As for the second point, I'm now looking into the can_user.h code but my knowledge base isn't enough that I understand the timing structure or what was meant by SP.
Is there a document or example project available that I can use to learn this from?

User avatar
O.Hartkopp
Posts: 40
Joined: Fri 22. Nov 2013, 19:47

Re: Router not responding to messages with BRS bit set to 1

Post by O.Hartkopp » Fri 4. Mar 2022, 17:04

Hi!

As Mr. Wilhelm stated "Check on your CANoe how exact the 2MBit settings are and use the timing (tseq1/2 , SP etc.)"

You need to open the dialog with the "+" buttons to see the detailed bitrate settings that have to match in all CAN nodes.

rotundron
Posts: 3
Joined: Thu 3. Mar 2022, 22:38

Re: Router not responding to messages with BRS bit set to 1

Post by rotundron » Fri 4. Mar 2022, 17:37

Ah, I had misunderstood what was meant.

This makes much more sense.

Thank you.

Post Reply