Test and Measurement Forum

Serial decoding

Forum for discussing PicoScope version 6 (non-automotive version)

Serial decoding

Postby jswanson » Thu Dec 06, 2012 12:46 pm

Hi,

If you select serial decoding (UART/232) before the scope has captured any data then it crashes.

Also are there any plans to support DALI and DSI (lighting protocols)? Is it possible to define your own protocol?

DALI protocol can be found here: http://litecontroller.com/dali/frame.asp

Jeremy.
Attachments
Report_2012_12_06.zip
(8.56 KiB) Downloaded 92 times
jswanson
Active User
Active User
 
Posts: 14
Joined: Wed Apr 05, 2006 8:07 pm

Re: Serial decoding

Postby bennog » Thu Dec 06, 2012 1:22 pm

Ok if we are talking lighting protocols you also should add DMX512 8)
bennog
Guru
Guru
 
Posts: 79
Joined: Mon Nov 26, 2012 9:16 am

Re: Serial decoding

Postby jswanson » Thu Dec 06, 2012 3:09 pm

You can decode DMX512 by triggering on the break (pulse width > 80us) and then using serial 232 decoding @ 250kbps. You have to count the channels though, but if you are only using the first few it's quite useful.
jswanson
Active User
Active User
 
Posts: 14
Joined: Wed Apr 05, 2006 8:07 pm

Re: Serial decoding

Postby jswanson » Tue Jan 14, 2014 9:34 am

Any thoughts on the DALI decoding? A more general solution would be to have a Mancester decoder similar to the Teledyne LeCroy’s configurable Manchester decoder.
jswanson
Active User
Active User
 
Posts: 14
Joined: Wed Apr 05, 2006 8:07 pm

Re: Serial decoding

Postby Martyn » Tue Jan 14, 2014 11:03 am

We are working on a release with Custom Serial Decoding and we have a test build for trial. If interested please contact support@picotech.com
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2339
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Serial decoding

Postby jswanson » Mon May 12, 2014 9:22 am

Hi Martyn,

Any news on the custom serial decoding. I tried the previous version, but couldn't get it to work with Manchester encoded signals. Even decoding to binary would be useful as it's difficult to read Manchester encoded data on the scope.
jswanson
Active User
Active User
 
Posts: 14
Joined: Wed Apr 05, 2006 8:07 pm

Re: Serial decoding

Postby Martyn » Mon May 12, 2014 10:37 am

We will be releasing a beta version including the custom serial decoding feature very soon, it is currently being tested in house.

It is based on the trial version, did you request a copy of that version when it was available, and is that the version that didn't work with Manchester encoding ?
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2339
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Serial decoding

Postby jswanson » Mon May 12, 2014 7:06 pm

Hi Martyn,

Yes, I do have a copy of the beta, but I couldn't make it work with Mancester coded data. I don't have Visual Studio, so was trying the XML method. Do you have an example decoding for decoding Manchester encoded data?

Regards,

Jeremy.
jswanson
Active User
Active User
 
Posts: 14
Joined: Wed Apr 05, 2006 8:07 pm

Re: Serial decoding

Postby Martyn » Tue May 13, 2014 7:14 am

We don't have any examples at present so can you post a psdata file (single screen capture to reduce size) with the signal you wish to decode and the expected decode values and we can take a look.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2339
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Serial decoding

Postby jswanson » Tue May 13, 2014 7:56 am

Hi Martyn,

Please find the data you requested. The waveform also shows some serial data. Ignore the first byte and the subsequent byte(s) correspond to the DALI data. I have also posted some information regarding the timings. TE= 416.67us.

Regards,

Jeremy.
Attachments
DALI Timings.pdf
(93.49 KiB) Downloaded 70 times
20140513-0001.psdata
DALI waveform
(23.21 KiB) Downloaded 59 times
jswanson
Active User
Active User
 
Posts: 14
Joined: Wed Apr 05, 2006 8:07 pm

Re: Serial decoding

Postby Martyn » Tue May 20, 2014 9:07 am

I have passed this to the development team to take a look and see what is possible.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2339
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Serial decoding

Postby jswanson » Tue May 20, 2014 10:35 am

Thanks Martyn,

Whilst on the subject of serial decoding, this time I2C, I would suggest the following improvements:

1. The Address and Data fields both start with repeated titles and are left justified, so you need to zoom in rather more than necessary in order to see the ACK. I would suggest removing the repeated word and centre justifying the text. (See attached image).

2. Decoding significantly slows down the capture. It would be nice if there was a way of quickly enabling and disabling the decoding. Currently you have to go through the menus and set the decode to none to disable and reselect the protocol to enable. A check box on the Serial Decoding panel would be great!

Regards,

Jeremy.
Attachments
Screenshot 2014-05-20 11.27.30.png
Screenshot
jswanson
Active User
Active User
 
Posts: 14
Joined: Wed Apr 05, 2006 8:07 pm

Re: Serial decoding

Postby Martyn » Tue May 20, 2014 10:42 am

The beta software we are currently testing in house now has a tick box to enable/disable serial decoding without changing the decoding settings.

I will pass on your comments regarding the repeated titles.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2339
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Serial decoding

Postby m.koeppchen » Wed Nov 30, 2016 11:37 am

Hello Martyn,

please let me know if there are some new features, witch make Manchester encoded serial protocols decodable.

Regards Mathias
m.koeppchen
Newbie
 
Posts: 0
Joined: Wed Nov 30, 2016 11:06 am

Re: Serial decoding

Postby Martyn » Thu Dec 01, 2016 12:22 pm

Manchester Encoded serial packet decoding is not available at the present time.

There is a feature request with the development team for this, so I will add your details to it.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2339
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots


Return to PicoScope 6 for Windows

Who is online

Users browsing this forum: No registered users and 0 guests