PIC18F2331-E/ML MICROCHIP [Microchip Technology], PIC18F2331-E/ML Datasheet - Page 151

no-image

PIC18F2331-E/ML

Manufacturer Part Number
PIC18F2331-E/ML
Description
28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High-Performance PWM and A/D
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
17.0
The Motion Feedback Module (MFM) is a special
purpose peripheral designed for motion feedback
applications. Together with the Power Control PWM
(PCPWM) module (see
PWM
solutions for a wide range of electric motors.
The module actually consists of two hardware
submodules:
• Input Capture (IC)
• Quadrature Encoder Interface (QEI)
Together with Timer5 (see
Module”), these modules provide a number of
options for motion and control applications.
TABLE 17-1:
 2010 Microchip Technology Inc.
Submodule
IC (3x)
QEI
Module”), it provides a variety of control
MOTION FEEDBACK MODULE
• Synchronous
• Input Capture
QEI
Velocity
Measurement
SUMMARY OF MOTION FEEDBACK MODULE FEATURES
Mode(s)
Section 18.0 “Power Control
Section 15.0 “Timer5
• Flexible Input Capture modes
• Available Prescaler
• Selectable Time Base Reset
• Special Event Trigger for ADC
• Wake-up from Sleep function
• Selectable Interrupt Frequency
• Optional Noise Filter
• Detect Position
• Detect Direction of Rotation
• Large Bandwidth (F
• Optional Noise Filter
• 2x and 4x Update modes
• Velocity Event Postscaler
• Counter Overflow Flag for Low
• Utilizes Input Capture 1 Logic
• High and Low Velocity Support
Sampling/Conversion or Optional
TMR5 Reset Feature (CAP1 only)
Rotation Speed
(IC1)
PIC18F2331/2431/4331/4431
Features
CY
/16)
Many of the features for the IC and QEI submodules
are fully programmable, creating a flexible peripheral
structure that can accommodate a wide range of
in-system uses. An overview of the available features
is presented in
of the entire Motion Feedback Module is shown in
Figure
Note:
17-1.
Position
Counter
TMR5
TMR5
Timer
16-Bit
Because the same input pins are common
to the IC and QEI submodules, only one of
these two submodules may be used at
any given time. If both modules are on, the
QEI submodule will take precedence.
Table
• 3x Input Capture (edge
• Special Event Triggers the
• Position Measurement
• Direction of Rotation Status
• Precise Velocity Measurement
• Direction of Rotation Status
capture, pulse width, period
measurement, capture on
change)
A/D Conversion on the CAP1
Input
17-1. A simplified block diagram
Function
DS39616D-page 151

Related parts for PIC18F2331-E/ML