DSPIC33FJ12MC202-I/ML Microchip Technology, DSPIC33FJ12MC202-I/ML Datasheet - Page 185

IC DSPIC MCU/DSP 12K 28QFN

DSPIC33FJ12MC202-I/ML

Manufacturer Part Number
DSPIC33FJ12MC202-I/ML
Description
IC DSPIC MCU/DSP 12K 28QFN
Manufacturer
Microchip Technology
Series
dsPIC™ 33Fr

Specifications of DSPIC33FJ12MC202-I/ML

Core Processor
dsPIC
Core Size
16-Bit
Speed
40 MIPs
Connectivity
I²C, IrDA, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, Motor Control PWM, QEI, POR, PWM, WDT
Number Of I /o
21
Program Memory Size
12KB (12K x 8)
Program Memory Type
FLASH
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
3 V ~ 3.6 V
Data Converters
A/D 6x10b/12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
Core Frequency
40MHz
Core Supply Voltage
2.75V
Embedded Interface Type
I2C, JTAG, SPI, UART
No. Of I/o's
21
Flash Memory Size
12KB
Supply Voltage Range
3V To 3.6V
Package
28QFN EP
Device Core
dsPIC
Family Name
dSPIC33
Maximum Speed
40 MHz
Operating Supply Voltage
3.3 V
Data Bus Width
16 Bit
Number Of Programmable I/os
21
Interface Type
I2C/SPI/UART
On-chip Adc
6-chx10-bit|6-chx12-bit
Number Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164336 - MODULE SOCKET FOR PM3 28/44QFNDM240001 - BOARD DEMO PIC24/DSPIC33/PIC32
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
19.0
The dsPIC33FJ12MC201/202 devices have up to six
ADC module input channels.
The AD12B bit (ADxCON1<10>) allows each of the
ADC modules to be configured as either a 10-bit, 4-
sample-and-hold ADC (default configuration), or a
12-bit, 1 sample-and-hold ADC.
19.1
The 10-bit ADC configuration has the following key
features:
• Successive Approximation (SAR) conversion
• Conversion speeds of up to 1.1 Msps
• Up to six analog input pins
• External voltage reference input pins
• Simultaneous sampling of up to four analog input
• Automatic Channel Scan mode
• Selectable conversion trigger source
• Selectable Buffer Fill modes
• Four result alignment options (signed/unsigned,
• Operation during CPU Sleep and Idle modes
• 16-word conversion result buffer
The 12-bit ADC configuration supports all the above
features, except:
• In the 12-bit configuration, conversion speeds of
• There is only one sample-and-hold amplifier in the
© 2008 Microchip Technology Inc.
Note:
Note:
pins
fractional/integer)
up to 500 ksps are supported
12-bit configuration, so simultaneous sampling of
multiple channels is not supported.
10-BIT/12-BIT ANALOG-TO-
DIGITAL CONVERTER (ADC)
Key Features
This data sheet summarizes the features
of the dsPIC33FJ12MC201/202 family of
devices. It is not intended to be a compre-
hensive reference source. To complement
the information in this data sheet, refer to
the dsPIC33F Family Reference Manual,
“Section 28. Analog-to-Digital Con-
verter (ADC) without DMA” (DS70210),
which is available on the Microchip web-
site (www.microchip.com).
The ADC module must be disabled before
the AD12B bit can be modified.
Preliminary
dsPIC33FJ12MC201/202
Depending on the particular device pinout, the ADC
can have up to six analog input pins, designated AN0
through AN5. In addition, there are two analog input
pins for external voltage reference connections. These
voltage reference inputs can be shared with other
analog input pins.
The actual number of analog input pins and external
voltage reference input configuration will depend on the
specific device.
Block diagrams of the ADC module are shown in
Figure 19-1 and Figure 19-2.
19.2
To configure the ADC module:
1.
2.
3.
4.
5.
6.
7.
8.
Select
(ADxPCFGH<15:0> or ADxPCFGL<15:0>).
Select voltage reference source to match
expected
(ADxCON2<15:13>).
Select the analog conversion clock to match the
desired data rate with the processor clock
(ADxCON3<7:0>).
Determine how many sample-and-hold chan-
nels
ADxPCFGH<15:0> or ADxPCFGL<15:0>).
Select
sequence
ADxCON3<12:8>).
Select the way conversion results are presented
in the buffer (ADxCON1<9:8>).
Turn on the ADC module (ADxCON1<15>).
Configure ADC interrupt (if required):
a)
b)
ADC Initialization
Clear the ADxIF bit.
Select the ADC interrupt priority.
will
the
port
be
range
appropriate
used
pins
(ADxCON1<7:5>
on
(ADxCON2<9:8>
as
sample/conversion
analog
DS70265C-page 183
analog
inputs
inputs
and
and

Related parts for DSPIC33FJ12MC202-I/ML