DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC18LF4331T-I/SO View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC18LF4331T-I/SO Datasheet PDF : 392 Pages
First Prev 161 162 163 164 165 166 167 168 169 170 Next Last
PIC18F2331/2431/4331/4431
FIGURE 17-11:
QEA
QEB
QEI MODULE RESET TIMING WITH THE INDEX INPUT
Forward
Reverse
Note 2
Note 2
Count (+/-)
POSCNT(1)
+1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1
-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
MAXCNT
INDX
MAXCNT = 1527
IC2QEIF
UP/DOWN
Position
Counter Load
Note 6
Q4(3)
Q1(4)
Q4(3)
Q1(5)
Note 1:
2:
3:
4:
5:
6:
POSCNT register is shown in QEI x4 Update mode (POSCNT increments on every rising and every falling edge of
QEA and QEB input signals).
When an INDX Reset pulse is detected, POSCNT is reset to ‘0’ on the next QEA or QEB edge. POSCNT is set to
MAXCNT when POSCNT = 0 (when decrementing), which occurs on the next QEA or QEB edge. a similar Reset
sequence occurs for the reverse direction, except that the INDX signal is recognized on its falling edge. The Reset
is generated on the next QEA or QEB edge.
IC2QEIF is enabled for one TCY clock cycle.
The position counter is loaded with 0000h (i.e., Reset) on the next QEA or QEB edge when the INDX is high.
The position counter is loaded with a MAXCNT value (e.g., 1527h) on the next QEA or QEB edge following the
INDX falling edge input signal detect).
IC2QEIF must be cleared in software.
DS39616D-page 166
2010 Microchip Technology Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]