Simple Type Overview

Overview

The Simple type is a single input counter.

Any operation on the counter (enable, sync) and any action triggered (when count value is reached) is executed in the context of a task.

With the Simple type and the TM3XFHSC202 module, you can trigger a stop event.

Simple Type Modes

The Simple type supports 2 configurable counting modes on single-phase pulses:

One-shot. In this mode, the counter value register decrements (from a user-defined value) for each pulse applied to A input, until the counter reaches 0.

Modulo-loop. In this mode, the counter repeatedly counts from 0 to a user-defined modulo value then returns to 0 and restarts counting.

Performance

The maximum frequency admissible on a fast input is 100 kHz if the bounce filter value is 0.005 ms. If the bounce filter value is 0.002 ms (default value for configuration), the maximum frequency is 200 kHz.

For more information about the bounce filter, refer to Dedicated Features.