PIC24HJ12GP202-I/SP Microchip Technology, PIC24HJ12GP202-I/SP Datasheet - Page 151

IC PIC MCU FLASH 4KX24 28-DIP

PIC24HJ12GP202-I/SP

Manufacturer Part Number
PIC24HJ12GP202-I/SP
Description
IC PIC MCU FLASH 4KX24 28-DIP
Manufacturer
Microchip Technology
Series
PIC® 24Hr

Specifications of PIC24HJ12GP202-I/SP

Program Memory Type
FLASH
Program Memory Size
12KB (4K x 24)
Package / Case
28-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
16-Bit
Speed
40 MIPs
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
21
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
3 V ~ 3.6 V
Data Converters
A/D 10x10b/12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC24HJ
Core
PIC
Data Bus Width
16 bit
Data Ram Size
1 KB
Interface Type
I2C/SPI/UART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
21
Number Of Timers
3
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52713-733, 52714-737, 53276-922, EWDSPIC
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120
Minimum Operating Temperature
- 40 C
On-chip Adc
10-ch x 10-bit or 10-ch x 12-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164337 - MODULE SOCKET FOR PM3 40DIPDV164033 - KIT START EXPLORER 16 MPLAB ICD2
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC24HJ12GP202-I/SP
Manufacturer:
Microchip
Quantity:
447
18.0
The PIC24HJ12GP201/202 devices have up to 10
ADC module input channels.
The AD12B bit (AD1CON1<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.
18.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 10 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
• 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
© 2009 Microchip Technology Inc.
Note:
Note:
pins
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 PIC24HJ12GP201/202 family of
devices. However, it is not intended to be
a comprehensive reference source. To
complement the information in this data
sheet, refer to the “PIC24H Family Refer-
ence Manual”, Section 28. “Analog-to-
Digital Converter (ADC) without DMA”
(DS70249), which is available from the
Microchip web site (www.microchip.com).
The ADC module must be disabled before
the AD12B bit can be modified.
Preliminary
PIC24HJ12GP201/202
Depending on the particular device pinout, the ADC
can have up to 10 analog input pins, designated AN0
through AN9. 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. Refer to the device data sheet for
further details.
Block diagrams of the ADC module are shown in
Figure 18-1 and Figure 18-2.
18.2
To configure the ADC module:
1.
2.
3.
4.
5.
6.
7.
Select
(AD1PCFGH<15:0> or AD1PCFGL<15:0>).
Select voltage reference source to match
expected
(AD1CON2<15:13>).
Select the analog conversion clock to match
desired
(AD1CON3<7:0>).
Determine how many sample-and-hold chan-
nels will be
AD1PCFGH<15:0> or AD1PCFGL<15:0>).
Select
sequence
AD1CON3<12:8>).
Select the way conversion results are presented
in the buffer (AD1CON1<9:8>).
a)
Configure ADC interrupt (if required):
a)
b)
ADC Initialization
Turn on the ADC module (AD1CON1<15>).
Clear the AD1IF bit.
Select ADC interrupt priority.
the
port
data
range
appropriate
rate
used
pins
(AD1CON1<7:5>
with
on
(AD1CON2<9:8> and
as
sample/conversion
processor
analog
DS70282D-page 149
analog
inputs
inputs
clock
and

Related parts for PIC24HJ12GP202-I/SP