The EQEP driver provides API to configure the EQEP module. Below are the high level features supported by the EQEP driver.
Features Supported
- 6 EQEP instances.
- We can monitor 3 Signals(EQEPA, EQEPB and Index).
- Can be used to determine direction of motor rotation, angular position and velocity of rotor.
- Support for Input signal polarity, position counter source, resolution, index pulse gating configurations.
- Supports QCAP module for low speed measurements.
- Unit Timer(UTIME) Base module for issuing period interrupts to the CPU for velocity calculations.
- Watchdog Timer to detect potential stalls and issue fault flags.
- QMA module for changing QEPA and QEPB signals to clock and direction signals. Also used for error detection.
SysConfig Features
- Note
- It is strongly recommend to use SysConfig where it is available instead of using direct SW API calls. This will help simplify the SW application and also catch common mistakes early in the development cycle.
- Support of Quadrature Decoder Unit(QDU) for input polarity, position counter source and resolution.
- Support of position counter mode, maximum position and value.
- Support of QMA, QCAP and UTIME modules for accurate velocity and position calculations.
- Configure Watchdog Timer by specifying its period and value.
- Input cross bar configuration for EQEP module.
- Seperate DMA trigger.
Features NOT Supported
NA
Important Usage Guidelines
NA
Example Usage
Include the below file to access the APIs #include <eqep.h>
API
eQEP