Microchip Technology dsPIC33F Family Manual de usuario Pagina 25

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 90
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 24
© 2005 Microchip Technology Inc. Preliminary DS70155C-page 23
dsPIC33F
8.0 dsPIC33F PERIPHERALS
The Digital Signal Controller (DSC) family of 16-bit
DSC devices provides the integrated functionality of
many peripherals. Specific peripheral functions
include:
Analog-to-Digital Converters
- 10-bit High-Speed A/D Converter
- 12-bit High-Resolution A/D Converter
General Purpose 16-Bit Timers
Motor Control PWM module
Quadrature Encoder Interface module
Input Capture module
Output Compare/PWM module
Data Converter Interface
Serial Peripheral Interface (SPI™) module
•UART module
•I
2
C™ module
Controller Area Network (CAN) module
I/O pins
8.1 Analog-to-Digital Converters
The Analog-to-Digital (A/D) Converters provide up to
32 analog inputs with both single-ended and differential
inputs. These modules offer on-board sample and hold
circuitry.
To minimize control loop errors due to finite update
times (conversion plus computations), a high-speed
low-latency ADC is required.
In addition, several hardware features have been
included in the peripheral interface to improve real-time
performance in a typical DSP-based application.
Result alignment options
Automated sampling
Automated channel scanning
Dual port data buffer
External conversion start control
The A/D Converter is available in either of the following
configurations:
10-bit, 1.1 Msps A/D module:
- 2.2 Msps A/D conversion using 2 channels
12-bit, 500 ksps A/D module:
- 1 Msps A/D conversion using 2 channels
Key features of the A/D module include:
10-bit or 12-bit resolution
Unipolar differential sample/hold amplifiers
Up to 32 input channels
Selectable voltage reference sources
-External V
REF+ and VREF- pins available
±1 LSB max Differential Nonlinearity (DNL)
(3.3V ±10%)
±1 LSB max Integral Nonlinearity (INL)
(3.3V ±10%)
Up to 4 on-chip sample and hold amplifiers in
each A/D
- Enables simultaneous sampling of 2, 4 or
8 analog inputs
Automated channel scanning
Single-supply operation: 3.0-3.6V
2.2 Msps or 1 Msps sampling rate at 3.0V
Ability to convert during CPU Sleep and Idle
modes
Conversion start can be manual or synchronized
with 1 of 4 trigger sources (automatic, Timer3,
external interrupt, PWM period match)
A/D can use DMA for buffer storage
Lower and upper half of buffer can be filled on
alternate conversions
8.2 General Purpose Timer Modules
The General Purpose (GP) timer modules provide the
time base elements for input capture and output
compare/PWM. They can be configured for Real-Time
Clock operation as well as various timer/counter
modes. The timer modes count pulses of the internal
time base, whereas counter modes count external
pulses that appear on the timer clock pin.
The dsPIC33F device supports up to nine 16-bit timers
(Timer1 through Timer9). Eight of the 16-bit timers can
be configured as four 32-bit timers (Timer2/3, Timer4/5,
Timer6/7 and Timer8/9). Each timer has several
selectable operating modes.
8.2.1 TIMER1
The Timer1 module (Figure 8-1) is a 16-bit timer that can
serve as the time counter for an asynchronous Real-
Time Clock, or operate as a free-running interval timer/
counter. The 16-bit timer has the following modes:
•16-Bit Timer
16-Bit Synchronous Counter
16-Bit Asynchronous Counter
Further, the following operational characteristics are
supported:
Timer gated by external pulse
Selectable prescaler settings
Timer operation during CPU Idle and Sleep modes
Interrupt on 16-Bit Period register match or falling
edge of external gate signal
Timer1, when operating in Real-Time Clock (RTC)
mode, provides time of day and event time-stamping
capabilities. Key operational features of the RTC are:
Operation from 32 kHz LP oscillator
8-bit prescaler
•Low power
Real-Time Clock interrupts
Vista de pagina 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 89 90

Comentarios a estos manuales

Sin comentarios