Configuration of the Main Type in Free-large Mode
Step |
Action |
---|---|
1 |
Double-click Embedded Functions > HSC. |
2 |
Select the HSC• tab. |
3 |
Set the value of the HSC > HSC0• > Type parameter to Main. |
4 |
Set the value of the HSC > HSC0• > Parameters > Mode parameter to Free-large. |
5 |
Enter the value of the HSC > HSC0• > Parameters > Preset/Modulo parameter. |
6 |
Select the value of the HSC > HSC0• > Clock Inputs > Input mode parameter. |
7 |
Select the value of the HSC > HSC0• > Clock Inputs > A Filter parameter. If necessary, select the value of the HSC > HSC0• > Clock Inputs > B Filter parameter. |
8 |
Optionally, select the value of the SYNC, and CAP auxiliary inputs from the drop down menu, to enable the Synchronization function, and Capture function with a physical input. |
9 |
Optionally, enable the thresholds from the drop down menu, to authorize the Compare function and to configure the Reflex Outputs. |
NOTE: The IO Summary window displays the DM72F• I/O mapping. You can see the I/O used by expert function.
The filtering value on the Main type input determines the counter maximum frequency as shown in this table:
Input |
Filter Value |
Maximum Counter Frequency |
---|---|---|
A, B |
0.004 ms (default value) |
100 kHz |
0.4 ms |
1 kHz |
|
1.2 ms |
350 Hz |
|
4 ms |
100 Hz |