Trigger on UART pattern?

Post any questions you may have about our current range of oscilloscopes
Post Reply
wxbeaz
Newbie
Posts: 0
Joined: Wed Mar 23, 2016 2:09 pm

Trigger on UART pattern?

Post by wxbeaz »

Since I haven't had any luck in the windows sub-forum I thought I would try here.

Is there any way to setup a 2204 or 2208 to trigger solely on a UART hex data series string? i.e. look for 55 0D 08 then start capture.

If not the 2000 series, are any of the other picoscope series' capable of triggering on a data series?

This really sounds more like a software feature to me, or is it already capable and I can't figure it out?

Thanks

bennog
Advanced User
Advanced User
Posts: 206
Joined: Mon Nov 26, 2012 9:16 am
Location: Netherlands

Re: Trigger on UART pattern?

Post by bennog »

You have to write your own software to do this.

The serial decoding (any decoding) is done after the data is captured.
So it is impossible to trigger on a decoded pattern.

However it is possible to do int with the SDK and a lot of effort :)
I have done it before with CAN decoding in real-time (this was a 500kbps CAN data stream)
So a 9600 bps or 115.2 kbps can be done in software with the SDK in real time.

The main problem is the SDK wont support save the data in .psdata files so it is impossible to see the data in picoscope.

You can also use a audrino or a raspberry pi to listen to the serial data and toggle a GPIO pin when the data is seen on the serial port, you have a trigger signal to trigger the scope (the trigger will always be after the data is occurred).

Regards,
Benno

wxbeaz
Newbie
Posts: 0
Joined: Wed Mar 23, 2016 2:09 pm

Re: Trigger on UART pattern?

Post by wxbeaz »

Thanks for the response bennog!

I think I already knew the answer, thanks for the confirmation.

Your idea of an arduino to listen then trigger is a great idea!

alan
Site Admin
Site Admin
Posts: 195
Joined: Thu May 25, 2006 8:02 am

Re: Trigger on UART pattern?

Post by alan »

If you use one of the deep memory oscilloscope then you can collect / decode huge amounts of serial data. The filter command can then be used to search / find any specific data string you are after.

For the 2000 series with smaller internal memories this is still possible for slower serial protocols - they can capture 100,000,000 samples of data in USB streaming mode. Max sampling rate in PicoScope for this mode is 1MS/s.

Post Reply