Datasheet
www.ti.com
32-1. Capture and APWM Modes of Operation ............................................................................ 1646
32-2. Capture Function Diagram ............................................................................................. 1647
32-3. Event Prescale Control ................................................................................................. 1648
32-4. Prescale Function Waveforms......................................................................................... 1648
32-5. Continuous/One-shot Block............................................................................................ 1649
32-6. Counter and Synchronization Block .................................................................................. 1650
32-7. Interrupts in eCAP Module ............................................................................................. 1651
32-8. PWM Waveform Details of APWM Mode Operation................................................................ 1652
32-9. Capture Sequence for Absolute Time-stamp and Rising Edge Detect........................................... 1654
32-10. Capture Sequence for Absolute Time-stamp With Rising and Falling Edge Detect............................ 1656
32-11. Capture Sequence for Delta Mode Time-stamp and Rising Edge Detect ....................................... 1658
32-12. Capture Sequence for Delta Mode Time-stamp With Rising and Falling Edge Detect ........................ 1660
32-13. PWM Waveform Details of APWM Mode Operation................................................................ 1662
32-14. Time-Stamp Counter Register (TSCTR) [offset = 00h]............................................................. 1663
32-15. Counter Phase Control Register (CTRPHS) [offset = 04h] ........................................................ 1663
32-16. Capture-1 Register (CAP1) [offset = 08h]............................................................................ 1664
32-17. Capture-2 Register (CAP2) [offset = 0Ch] ........................................................................... 1664
32-18. Capture-3 Register (CAP3) [offset = 10h]............................................................................ 1665
32-19. Capture-4 Register (CAP4) [offset = 14h]............................................................................ 1665
32-20. ECAP Control Register 2 (ECCTL2) [offset = 2Ah] ................................................................. 1666
32-21. ECAP Control Register 1 (ECCTL1) [offset = 28h] ................................................................. 1668
32-22. ECAP Interrupt Flag Register (ECFLG) [offset = 2Eh] ............................................................. 1670
32-23. ECAP Interrupt Enable Register (ECEINT) [offset = 2Ch] ......................................................... 1671
32-24. ECAP Interrupt Forcing Register (ECFRC) [offset = 32h] ......................................................... 1672
32-25. ECAP Interrupt Clear Register (ECCLR) [offset = 30h] ............................................................ 1673
33-1. Optical Encoder Disk ................................................................................................... 1675
33-2. QEP Encoder Output Signal for Forward/Reverse Movement .................................................... 1675
33-3. Index Pulse Example ................................................................................................... 1676
33-4. Functional Block Diagram of the eQEP Peripheral ................................................................. 1678
33-5. Functional Block Diagram of Decoder Unit .......................................................................... 1680
33-6. Quadrature Decoder State Machine .................................................................................. 1681
33-7. Quadrature-clock and Direction Decoding ........................................................................... 1682
33-8. Position Counter Reset by Index Pulse for 1000 Line Encoder (QPOSMAX = 3999 or F9Fh) ............... 1684
33-9. Position Counter Underflow/Overflow (QPOSMAX = 4) ........................................................... 1685
33-10. Software Index Marker for 1000-line Encoder (QEPCTL[IEL] = 1) ............................................... 1687
33-11. Strobe Event Latch (QEPCTL[SEL] = 1) ............................................................................. 1687
33-12. eQEP Position-compare Unit .......................................................................................... 1688
33-13. eQEP Position-compare Event Generation Points.................................................................. 1689
33-14. eQEP Position-compare Sync Output Pulse Stretcher............................................................. 1689
33-15. eQEP Edge Capture Unit .............................................................................................. 1691
33-16. Unit Position Event for Low Speed Measurement (QCAPCTL[UPPS] = 0010)................................. 1691
33-17. eQEP Edge Capture Unit - Timing Details........................................................................... 1692
33-18. eQEP Watchdog Timer................................................................................................. 1693
33-19. eQEP Unit Time Base .................................................................................................. 1693
33-20. EQEP Interrupt Generation ............................................................................................ 1694
33-21. eQEP Position Counter Register (QPOSCNT) ...................................................................... 1696
33-22. eQEP Position Counter Initialization Register (QPOSINIT)........................................................ 1696
33-23. eQEP Maximum Position Count Register (QPOSMAX)............................................................ 1696
33-24. eQEP Position-Compare Register (QPOSCMP) .................................................................... 1697
61
SPNU562–May 2014 List of Figures
Submit Documentation Feedback
Copyright © 2014, Texas Instruments Incorporated