PCIe-6509 Digital Filtering
- Updated2024-04-09
- 2 minute(s) read
PCIe-6509 Digital Filtering
Enable the digital filter on the PCIe-6509 input lines to eliminate glitches on input data. You can use the digital filtering with change detection to reduce the number of changes to examine and process.
By default, digital filtering on the PCIe-6509 is disabled. Enable digital filtering on as many input lines as needed.
You can configure the digital input channels to pass through a digital filter and control the timing interval the filter uses. The filter blocks pulses that are shorter than half of the specified timing interval and passes pulses that are longer than the specified interval. Intermediate-length pulses—pulses longer than half of the interval but less than the interval—may or may not pass the filter.
| Filter Setting | Pulse Width Guaranteed to Pass Filter | Pulse Width Guaranteed to Block Filter |
|---|---|---|
| None | Any | None |
| Short | 160 ns | 80 ns |
| Medium | 10.24 µs | 5.12 µs |
| High | 5.12 ms | 2.56 ms |
Internally, the digital filter uses a sample clock and a filter clock.
Digital Filtering Example
The following figure shows that the filtering applies to a rising (0 to 1) transition and a falling (1 to 0) transition. Depending on when the transition occurs, the filter may require up to two filter clocks, including one full filter interval, to pass a transition.
- Periods A and B: The filter blocks glitches because the external signal does not remain steadily high from one rising edge of the filter clock to the next.
- Period C: The filter passes the transition, because the external signal remains steadily high.
Related Information
- PCIe-6509 Change Detection
You can enable the PCIe-6509 DIO change detection circuitry to detect rising edges (0 to 1), falling edges (1 to 0), or both edges on selected input lines or on all input lines.