Test and Measurement Forum

Serial decoding misses start bit after a few characters

Post any questions you may have about our current range of oscilloscopes

Serial decoding misses start bit after a few characters

Postby BramPeeters » Tue Dec 19, 2017 1:53 pm

Hi,

I was trying too use serial decoding but the decoding is not really working well.
It seems to miss the start bit of the next character and then completely gets misaligned (see attachment where i measure length of the first missed start bit)
PicoScopeSerialDecoding.jpg
.
Looking at the timings, the bits are a 'bit' to short but not much (unfortunately it is a peripheral generating the stream so i cannot 'fix' that). But i get the impression from the visual representation that because the characters come right after each other, that the timing errors keep adding up till he looses track.
Ironically, it works better if my resolution decreases, eg 100ms/div works fine but 1ms/div and the decoding gets corrupted.

Version 6.12.9.2917.

Regards
Bram
BramPeeters
Newbie
 
Posts: 0
Joined: Fri Oct 14, 2016 11:37 am

Re: Serial decoding misses start bit after a few characters

Postby Martyn » Fri Dec 22, 2017 1:07 pm

There looks like plenty of dead time in the capture. If you change the timebase to 500usec/div or faster, and increase the sampling rate, does this improve the decoding ?
Martyn
Technical Support Manager
Martyn
Site Admin
Site Admin
 
Posts: 3091
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots


Return to USB PC Oscilloscopes

Who is online

Users browsing this forum: No registered users and 1 guest