EasyManua.ls Logo

Microchip Technology dsPIC30F - Digital Filters for QEI Inputs; Digital Filter Clock Options and Stability; Noise Filtering Characteristics and Latency

Microchip Technology dsPIC30F
738 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2004 Microchip Technology Inc. DS70046C-page vii
PAGE
SECTION 16. QUADRATURE ENCODER INTERFACE (QEI) 16-1
Module Introduction ........................................................................................................................................ 16-2
Control and Status Registers ......................................................................................................................... 16-4
Programmable Digital Noise Filters ................................................................................................................ 16-9
Quadrature Decoder .................................................................................................................................... 16-10
16-bit Up/Down Position Counter ................................................................................................................. 16-12
Using QEI as an Alternate 16-bit Timer/Counter .......................................................................................... 16-16
Quadrature Encoder Interface Interrupts ..................................................................................................... 16-17
I/O Pin Control .............................................................................................................................................. 16-18
QEI Operation During Power Saving Modes ................................................................................................ 16-19
Effects of a Reset ......................................................................................................................................... 16-19
Design Tips .................................................................................................................................................. 16-21
Related Application Notes ............................................................................................................................ 16-22
Revision History ........................................................................................................................................... 16-23
SECTION 17. 10-BIT A/D CONVERTER 17-1
Introduction .................................................................................................................................................... 17-2
Control Registers ........................................................................................................................................... 17-4
A/D Result Buffer ........................................................................................................................................... 17-4
A/D Terminology and Conversion Sequence ............................................................................................... 17-11
A/D Module Configuration ............................................................................................................................ 17-13
Selecting the Voltage Reference Source ..................................................................................................... 17-13
Selecting the A/D Conversion Clock ............................................................................................................ 17-13
Selecting Analog Inputs for Sampling .......................................................................................................... 17-14
Enabling the Module .................................................................................................................................... 17-16
Specifying the Sample/Conversion Sequence ............................................................................................. 17-16
How to Start Sampling ................................................................................................................................. 17-17
How to Stop Sampling and Start Conversions ............................................................................................. 17-18
Controlling Sample/Conversion Operation ................................................................................................... 17-29
Specifying How Conversion Results are Written Into the Buffer .................................................................. 17-30
Conversion Sequence Examples ................................................................................................................. 17-31
A/D Sampling Requirements ........................................................................................................................ 17-45
Reading the A/D Result Buffer ..................................................................................................................... 17-46
Transfer Function ......................................................................................................................................... 17-47
A/D Accuracy/Error ...................................................................................................................................... 17-47
Connection Considerations .......................................................................................................................... 17-47
Initialization .................................................................................................................................................. 17-48
Operation During Sleep and Idle Modes ...................................................................................................... 17-49
Effects of a Reset ......................................................................................................................................... 17-49
Special Function Registers Associated with the 10-bit A/D Converter ......................................................... 17-50
Design Tips .................................................................................................................................................. 17-51
Related Application Notes ............................................................................................................................ 17-52
Revision History ........................................................................................................................................... 17-53
Table of Contents

Table of Contents

Other manuals for Microchip Technology dsPIC30F