The Saleae software includes a feature to suppress short digital pulses in the recorded data. It is designed to help remove noise picked up in the digital recording. This can be especially useful when using protocol analyzers, since present noise may prevent proper decoding of digital data.
There are several sources of noise in digital captures. You can learn more about them below.
You can find the glitch filter settings via the 'Capture Settings' panel. You will need to click the green slider to enable it.
When editing the glitch filter value, you may select a unit of time, such as ns (nanosecond), us (microsecond), and ms (millisecond). You may also use non-integer values.
The glitch filter is purely a software filter on top of the recorded data. Using the glitch filter does not actually change the data that is recorded. Instead, it sits between the recorded data set and all software components that access it.
Please note that the Logic Pro devices have narrow hysteresis thresholds, which can cause noise around transitions in some cases. When using lower voltage thresholds with larger swing signals, noise on the signal when it is in the low state can easily be picked up by the Saleae devices, even when the normal receiver of the signal rejects it. More information on our devices' voltage thresholds can be found in the support article below.
The glitch filter can be set for any individual digital channel. We recommend only adding the filter to channels where noise is a problem. The glitch filter rejects all pulses narrower than a specific width. That width can be specified either by a specific maximum time.
If the glitch filter is enabled before the capture is taken, the trigger will also use the filtered signal, which is especially useful to reject false trigger conditions. Even in this case, the original noisy data are recorded in the back end and can be viewed by removing the glitch filter.
We recommend using the glitch filter in sample width mode, with the sample width specified as a small number (2–10). This is particularly useful because most noise around signal edges is only 1 or 2 samples wide.
We recommend using the glitch filter with time-specified instead of samples only when the noise in question is significantly larger than 1 sample wide. That is because single sample wide noise is usually actually much smaller than 1 sample, so specifying a time width is not useful since the sample rate changes. However, when dealing with macro-sized noise (several samples or larger), the device is recording a real phenomenon that won't change in duration when the sample rate changes.
Step 1: Identify channel with noise, and measure noise.
Step 2: Open the channel settings menu for that channel and select "Enable Glitch Filter."
Step 3: Select units for glitch filter width (in this case, samples).
Step 4: Enter the duration for the largest glitch to suppress. In this case, 3 samples.
Step 5: Click outside of the popover to close the popover. The glitch filter is now active. Note that the glitch originally pictured is gone and the channel label now shows "(filtered)" to indicate that the filter is active.
The filter can be removed at any time by opening the channel settings menu again and selecting "Disable glitch filter." All noise originally in the capture will reappear.
The glitch filter modifies the digital channel displays, the behavior of the trigger, the protocol decoders, the measurements, and the raw data export—basically, everything the software does that accesses the data.
When you save a capture to disk, the original unfiltered data is saved along with the glitch filter settings. So when the file is re-opened, the data is in the same state, but the glitch filter can still be removed.
The Glitch Filter Can Help Address the Following Common Issues
The logic analyzer seems to miss samples or samples on the wrong clock edge.
If the analyzer exhibits the behavior above, then there may be glitches in the clock edges. In this case, some of your clock edges won't have the arrow symbol, or the sampling may look like it is occurring at the wrong clock edge. If you zoom in very closely, you will see the glitch, and the Logic software will treat this as multiple clock edges. In this situation, enabling the glitch filter can help with proper decoding of the signal.