SPRUJD3A July 2025 – October 2025 F28E120SB , F28E120SC
FILE: eqep_ex4_freq_cal_interrupt.c
This example will calculate the frequency of an input signal using the eQEP module. MCPWM1A is configured to generate this input signal with a frequency of 5kHz. EQEP unit timeout is set which generates an interrupt every UNIT_PERIOD microseconds and frequency calculation occurs continuously.
The configuration for this example is as follows:
External Connections for Control Card