www.ti.com
67
SPNU563A–March 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
List of Figures
33-9. Capture Sequence for Absolute Time-stamp and Rising Edge Detect........................................... 1937
33-10. Capture Sequence for Absolute Time-stamp With Rising and Falling Edge Detect............................ 1939
33-11. Capture Sequence for Delta Mode Time-stamp and Rising Edge Detect ....................................... 1941
33-12. Capture Sequence for Delta Mode Time-stamp With Rising and Falling Edge Detect ........................ 1943
33-13. PWM Waveform Details of APWM Mode Operation................................................................ 1945
33-14. Time-Stamp Counter Register (TSCTR) [offset = 00h]............................................................. 1946
33-15. Counter Phase Control Register (CTRPHS) [offset = 04h] ........................................................ 1946
33-16. Capture-1 Register (CAP1) [offset = 08h]............................................................................ 1947
33-17. Capture-2 Register (CAP2) [offset = 0Ch] ........................................................................... 1947
33-18. Capture-3 Register (CAP3) [offset = 10h]............................................................................ 1948
33-19. Capture-4 Register (CAP4) [offset = 14h]............................................................................ 1948
33-20. ECAP Control Register 2 (ECCTL2) [offset = 28h] ................................................................. 1949
33-21. ECAP Control Register 1 (ECCTL1) [offset = 2Ah]................................................................. 1951
33-22. ECAP Interrupt Flag Register (ECFLG) [offset = 2Ch]............................................................. 1953
33-23. ECAP Interrupt Enable Register (ECEINT) [offset = 2Eh] ......................................................... 1954
33-24. ECAP Interrupt Forcing Register (ECFRC) [offset = 30h] ......................................................... 1955
33-25. ECAP Interrupt Clear Register (ECCLR) [offset = 32h] ............................................................ 1956
34-1. Optical Encoder Disk ................................................................................................... 1958
34-2. QEP Encoder Output Signal for Forward/Reverse Movement .................................................... 1958
34-3. Index Pulse Example ................................................................................................... 1959
34-4. Functional Block Diagram of the eQEP Peripheral ................................................................. 1961
34-5. Functional Block Diagram of Decoder Unit .......................................................................... 1963
34-6. Quadrature Decoder State Machine .................................................................................. 1964
34-7. Quadrature-clock and Direction Decoding ........................................................................... 1965
34-8. Position Counter Reset by Index Pulse for 1000 Line Encoder (QPOSMAX = 3999 or F9Fh) ............... 1967
34-9. Position Counter Underflow/Overflow (QPOSMAX = 4) ........................................................... 1968
34-10. Software Index Marker for 1000-line Encoder (QEPCTL[IEL] = 1) ............................................... 1970
34-11. Strobe Event Latch (QEPCTL[SEL] = 1) ............................................................................. 1970
34-12. eQEP Position-compare Unit .......................................................................................... 1971
34-13. eQEP Position-compare Event Generation Points.................................................................. 1972
34-14. eQEP Position-compare Sync Output Pulse Stretcher............................................................. 1972
34-15. eQEP Edge Capture Unit .............................................................................................. 1974
34-16. Unit Position Event for Low Speed Measurement (QCAPCTL[UPPS] = 0010)................................. 1974
34-17. eQEP Edge Capture Unit - Timing Details........................................................................... 1975
34-18. eQEP Watchdog Timer................................................................................................. 1976
34-19. eQEP Unit Time Base .................................................................................................. 1976
34-20. EQEP Interrupt Generation ............................................................................................ 1977
34-21. eQEP Position Counter Register (QPOSCNT) [offset = 00h] ..................................................... 1979
34-22. eQEP Position Counter Initialization Register (QPOSINIT) [offset = 04h]....................................... 1979
34-23. eQEP Maximum Position Count Register (QPOSMAX) [offset = 08h] ........................................... 1979
34-24. eQEP Position-Compare Register (QPOSCMP) [offset = 0Ch]................................................... 1980
34-25. eQEP Index Position Latch Register (QPOSILAT) [offset = 10h]................................................. 1980
34-26. eQEP Strobe Position Latch Register (QPOSSLAT) [offset = 14h] .............................................. 1980
34-27. eQEP Position Counter Latch Register (QPOSLAT) [offset = 18h]............................................... 1981
34-28. eQEP Unit Timer Register (QUTMR) [offset = 1Ch]................................................................ 1981
34-29. eQEP Unit Period Register (QUPRD) [offset = 20h]................................................................ 1981
34-30. eQEP Watchdog Period Register (QWDPRD) [offset = 24h]...................................................... 1982
34-31. eQEP Watchdog Timer Register (QWDTMR) [offset = 26h] ...................................................... 1982
34-32. eQEP Control Register (QEPCTL) [offset = 28h] ................................................................... 1983