the current Version detects 20.41 kbaud instead of 19.2 kbaud on a LIN Signal.
When measurig the baudrate manually in the burst, I got 19.2 kbaud.
Even when correcting the baudrate manually to 19.2 kbaud it is not possible to decode the signal correctly. For example an end of frame was detected on a 0xFF sometimes.
An example is attached.
I can remember that older versions were more reliable in decoding.
Can anyone help me?
I'm facing the same problem. Go into advanced settings and disable the Invert Packet Bits. This will cause to decode the data right. Unfortunatelly the GUI is somehow awkward and its hard to read the received bytes, because there are like:
ABCDEFGH instead of AB CD EF GH.
Vojtech
PS: disabling the Invert Packet Bits causes to decode the Sync wrong. :-/ So it seems to be a bug.
disabling Invert Packet Bits works a little bit but as you wrote, sync detection does not work correctly. So it is not possible to check the checksum of all frames via pressing Statistics button in the Serial Decoding window.
I think, we should start with the question why the Auto Detect of the baudrate does not work. It should be simple to calculate the baudrate out of the Sync. My Sync has 572.3 us and 11 pulses and this is 11 / 572.3 = 19.22 kBd which is exactly the expected value. Dont know why Lin Decoding calculates 20.41 kBd, which is 6 % higher.
It seems also that the Lin Decoding here ignores the Break which is an active low signal for 13 clocks (= 677 us at 19.2 kBd). Here, a Lin frame can start also without having this Break signal.
There was a review of the Serial Decoding feature a few months ago with some rework identified. The reworked Serial Decoding should be available via a Beta release of the software but we do not have any timescales at present.
Have you tried setting both Threshold 1 and Threshold 2 in the Serial Decoding dialog?
I can then pass this on to our Development Team for further investigation if required.
Changes have been made to the LIN decoder which should appear in a future Beta release of the software (no timescales as to when this will be available).
I want to check an older version (PicoScope6_r6_7_13.exe) for LIN decoding. I can remember that in former times, when LIN decoding was implemented 'Beta', it worked OK.
My problem is that this version refuses to open the .psdata file because it was too new. Is there a possibility to convert?