Decoding CAN-FD signal

Forum for discussing PicoScope version 6 (non-automotive version)
Post Reply
GuidoW
Newbie
Posts: 0
Joined: Sun Feb 21, 2021 6:23 am

Decoding CAN-FD signal

Post by GuidoW »

Hi all,

I'm struggeling with the decoding of CAN-FD ISO signals. The displayed "stuff bit counter" shows a wrong number which seems to be a binarily decoded signal.It should be using the GRAY code to show the correct number.
In the sample attached it should be a "7" (1-0-0) but shows a "4". I did some testing and found the following:

stuff bit count | displayed value
0 | 0
1 | 1
2 | 3
3 | 2
4 | 6
5 | 7
6 | 5
7 | 4

Any help to solve this is appreciated.

Thanks and regards, Guido
Attachments
can-fd_4-7.png

Martyn
Site Admin
Site Admin
Posts: 4499
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Decoding CAN-FD signal

Post by Martyn »

Thank you for the input, I will get someone in the team to take a look at this.
Martyn
Technical Support Manager

GuidoW
Newbie
Posts: 0
Joined: Sun Feb 21, 2021 6:23 am

Re: Decoding CAN-FD signal

Post by GuidoW »

Nothing yet?
Best Regards,
Guido

Gerry
PICO STAFF
PICO STAFF
Posts: 1145
Joined: Mon Aug 11, 2014 11:14 am

Re: Decoding CAN-FD signal

Post by Gerry »

Hi GuidoW,

The stuffed bit counter should be using Gray code. While we are looking into this, do you have an example data file that I can pass on to our development team.

Regards,

Gerry
Gerry
Technical Specialist

GuidoW
Newbie
Posts: 0
Joined: Sun Feb 21, 2021 6:23 am

Re: Decoding CAN-FD signal

Post by GuidoW »

Hi Gerry,
no problem, here are two files.
Regards, Guido
Attachments
20210309-0002.psdata
(668.42 KiB) Downloaded 215 times
20210309-0001.psdata
(584.29 KiB) Downloaded 213 times

Martyn
Site Admin
Site Admin
Posts: 4499
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Decoding CAN-FD signal

Post by Martyn »

Thank you for the files.

Our development teams work on a two week sprint cycle and they have added this to the current one which started on Monday. I will be able to update you later in the cycle.
Martyn
Technical Support Manager

Post Reply