Jump to content
  • 0

Advanced Trigger for Logic Analyzer


Manny

Question

Im trying to capture 60ms worth of data from a very noisy device.
On those 60ms there are 57 interesting bits that I need, but they come only immediately after a specific sequence.

The sequence preceding my interesting bits is as follow:

------------------------
One low pulse between 2.0 and 2.3 ms
Four high and low pulses in a row, each of them 0.61 ms high or low.
------------------------

the problem is that the signal is very noisy, and there are many low pulses around of 2 to 2.3 ms, so my trigger fires in the wrong places.

Is there a way to configure Logic for a complex trigger? (for example, one that only fires after the specific sequence).

see a sample data below, with a zoom-in on the interesting part I want to capture.

image.thumb.png.889388f2c9013f4d9b3fdacd31393f7a.png

 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

Hi @Manny

Press Alt+F11 in WaveForms main window before opening the Logic Analyzer.
With the Advanced button configure the following trigger. 
image.thumb.png.5ba10f0c59a2b8d16fc7afca8cfa3a36.png

This will wait for the line to be at least 2ms stable (no edge on DIO-0), then after the following rising edge (pulse 610us/2) it will start sampling the line (deserialize) at 610us intervals and trigger if it reads AA (10101010) pattern.
image.png.63fa87ef4f51e38ff463680d665eb2aa.png

To have a more restrictive match for the pulse length set the bit to 152.5us (610/4) and look for 32 (4*8) positions with 0xF0F0F0F0, "11110000111100001111000011110000" pattern.
image.png.644ab1a98dd26785a565b7f559c42635.png


 

Link to comment
Share on other sites

11 hours ago, attila said:

Hi @Manny

Press Alt+F11 in WaveForms main window before opening the Logic Analyzer.
With the Advanced button configure the following trigger. 
image.thumb.png.5ba10f0c59a2b8d16fc7afca8cfa3a36.png

This will wait for the line to be at least 2ms stable (no edge on DIO-0), then after the following rising edge (pulse 610us/2) it will start sampling the line (deserialize) at 610us intervals and trigger if it reads AA (10101010) pattern.
image.png.63fa87ef4f51e38ff463680d665eb2aa.png

To have a more restrictive match for the pulse length set the bit to 152.5us (610/4) and look for 32 (4*8) positions with 0xF0F0F0F0, "11110000111100001111000011110000" pattern.
image.png.644ab1a98dd26785a565b7f559c42635.png


 

I have to be doing something wrong.

I try and try to select the second box and cannot. I keep modifying the first one.
How do you move to the second box? I restarted the software many times>
Looks like I did it once, but not I cannot repeat it.

image.png.a86c286053b70ab2da64b49056f076b4.png

Link to comment
Share on other sites

2 hours ago, Manny said:

I have to be doing something wrong.

I try and try to select the second box and cannot. I keep modifying the first one.
How do you move to the second box? I restarted the software many times>
Looks like I did it once, but not I cannot repeat it.

image.png.a86c286053b70ab2da64b49056f076b4.png

My bad,, you need to press "RESET" to set up the second condition.
For whatever reason it sounded counterintuitive in my head, but I get it now.

I will test this tonight and report back.

Link to comment
Share on other sites

On 4/16/2018 at 5:55 AM, attila said:

Hi @Manny

Press Alt+F11 in WaveForms main window before opening the Logic Analyzer.
With the Advanced button configure the following trigger. 
image.thumb.png.5ba10f0c59a2b8d16fc7afca8cfa3a36.png

This will wait for the line to be at least 2ms stable (no edge on DIO-0), then after the following rising edge (pulse 610us/2) it will start sampling the line (deserialize) at 610us intervals and trigger if it reads AA (10101010) pattern.
image.png.63fa87ef4f51e38ff463680d665eb2aa.png

To have a more restrictive match for the pulse length set the bit to 152.5us (610/4) and look for 32 (4*8) positions with 0xF0F0F0F0, "11110000111100001111000011110000" pattern.
image.png.644ab1a98dd26785a565b7f559c42635.png


 

Works perfect.

Ill use the same technique with other patterns.

 

Thanks a lot!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...