参数资料
型号: PIC24HJ64GP510T-I/PF
厂商: Microchip Technology
文件页数: 117/292页
文件大小: 0K
描述: IC PIC MCU FLASH 64KB 100TQFP
产品培训模块: Graphics LCD System and PIC24 Interface
Asynchronous Stimulus
标准包装: 1,000
系列: PIC® 24H
核心处理器: PIC
芯体尺寸: 16-位
速度: 40 MIP
连通性: CAN,I²C,IrDA,LIN,SPI,UART/USART
外围设备: 欠压检测/复位,DMA,POR,PWM,WDT
输入/输出数: 85
程序存储器容量: 64KB(22K x 24)
程序存储器类型: 闪存
RAM 容量: 8K x 8
电压 - 电源 (Vcc/Vdd): 3 V ~ 3.6 V
数据转换器: A/D 32x10b/12b
振荡器型: 内部
工作温度: -40°C ~ 85°C
封装/外壳: 100-TQFP
包装: 带卷 (TR)
配用: DM300024-ND - KIT DEMO DSPICDEM 1.1
MA240012-ND - MODULE PLUG-IN PIC24H 100QFP
DV164033-ND - KIT START EXPLORER 16 MPLAB ICD2
DM240001-ND - BOARD DEMO PIC24/DSPIC33/PIC32
AC164323-ND - MODULE SKT FOR 100TQFP
第1页第2页第3页第4页第5页第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页第25页第26页第27页第28页第29页第30页第31页第32页第33页第34页第35页第36页第37页第38页第39页第40页第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页当前第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页第208页第209页第210页第211页第212页第213页第214页第215页第216页第217页第218页第219页第220页第221页第222页第223页第224页第225页第226页第227页第228页第229页第230页第231页第232页第233页第234页第235页第236页第237页第238页第239页第240页第241页第242页第243页第244页第245页第246页第247页第248页第249页第250页第251页第252页第253页第254页第255页第256页第257页第258页第259页第260页第261页第262页第263页第264页第265页第266页第267页第268页第269页第270页第271页第272页第273页第274页第275页第276页第277页第278页第279页第280页第281页第282页第283页第284页第285页第286页第287页第288页第289页第290页第291页第292页
2009 Microchip Technology Inc.
DS70175H-page 201
PIC24HJXXXGPX06/X08/X10
20.0 10-BIT/12-BIT
ANALOG-TO-DIGITAL
CONVERTER (ADC)
The PIC24HJXXXGPX06/X08/X10 devices have up to
32 Analog-to-Digital input channels. These devices
also have up to 2 Analog-to-Digital converter modules
(ADCx, where ‘x’ = 1 or 2), each with its own set of
Special Function Registers.
The AD12B bit (ADxCON1<10>) allows each of the
ADC modules to be configured by the user as either a
10-bit, 4-sample/hold ADC (default configuration) or a
12-bit, 1-sample/hold ADC.
20.1
Key Features
The 10-bit ADC configuration has the following key
features:
Successive Approximation (SAR) conversion
Conversion speeds of up to 1.1 Msps
Up to 32 analog input pins
External voltage reference input pins
Simultaneous sampling of up to four analog input
pins
Automatic Channel Scan mode
Selectable conversion trigger source
Selectable Buffer Fill modes
Two result alignment options (signed/unsigned)
Operation during CPU Sleep and Idle modes
The 12-bit ADC configuration supports all the above
features, except:
In the 12-bit configuration, conversion speeds of
up to 500 ksps are supported
There is only 1 sample/hold amplifier in the 12-bit
configuration, so simultaneous sampling of
multiple channels is not supported.
Depending on the particular device pinout, the Ana-
log-to-Digital Converter can have up to 32 analog input
pins, designated AN0 through AN31. In addition, there
are two analog input pins for external voltage reference
connections. These voltage reference inputs may 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.
A block diagram of the Analog-to-Digital Converter is
shown in Figure 20-1.
20.2
Analog-to-Digital Initialization
The following configuration steps should be performed.
1.
Configure the ADC module:
a) Select
port
pins
as
analog
inputs
(ADxPCFGH<15:0> or ADxPCFGL<15:0>)
b) Select voltage reference source to match
expected
range
on
analog
inputs
(ADxCON2<15:13>)
c)
Select the analog conversion clock to
match desired data rate with processor
clock (ADxCON3<7:0>)
d) Determine how many S/H channels will
be
used
(ADxCON2<9:8>
and
ADxPCFGH<15:0> or ADxPCFGL<15:0>)
e) Select the appropriate sample/conversion
sequence
(ADxCON1<7:5>
and
ADxCON3<12:8>)
f)
Select
how
conversion
results
are
presented in the buffer (ADxCON1<9:8>)
g) Turn on the ADC module (ADxCON1<15>)
2.
Configure ADC interrupt (if required):
a) Clear the ADxIF bit
b) Select ADC interrupt priority
20.3
ADC and DMA
If more than one conversion result needs to be buffered
before triggering an interrupt, DMA data transfers can
be used. Both ADC1 and ADC2 can trigger a DMA data
transfer. If ADC1 or ADC2 is selected as the DMA IRQ
source, a DMA transfer occurs when the AD1IF or
AD2IF bit gets set as a result of an ADC1 or ADC2
sample conversion sequence.
The SMPI<3:0> bits (ADxCON2<5:2>) are used to
select how often the DMA RAM buffer pointer is
incremented.
The ADDMABM bit (ADxCON1<12>) determines how
the conversion results are filled in the DMA RAM buffer
area being used for ADC. If this bit is set, DMA buffers
are written in the order of conversion. The module will
provide an address to the DMA channel that is the
same as the address used for the non-DMA
stand-alone buffer. If the ADDMABM bit is cleared, then
DMA buffers are written in Scatter/Gather mode. The
module will provide a scatter/gather address to the
DMA channel, based on the index of the analog input
and the size of the DMA buffer.
Note:
This data sheet summarizes the features
of the PIC24HJXXXGPX06/X08/X10 fam-
ily 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
16.
“Ana-
log-to-Digital
Converter
(ADC)”
(DS70225), which is available from the
Note:
The ADC module needs to be disabled
before modifying the AD12B bit.
相关PDF资料
PDF描述
PIC16F627-20/SO IC MCU FLASH 1KX14 COMP 18SOIC
PIC24HJ64GP506-E/PT IC PIC MCU FLASH 64KB 64TQFP
PIC18LF25K22-I/ML MCU 8BIT 32KB FLASH 3.6V 28QFN
PIC24HJ64GP210T-I/PT IC PIC MCU FLASH 64KB 100TQFP
PIC24HJ64GP210T-I/PF IC PIC MCU FLASH 64KB 100TQFP
相关代理商/技术参数
参数描述
PIC24HJ64GP606AE/MR 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:High-Performance, 16-Bit Microcontrollers
PIC24HJ64GP606AE/MR-ES 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:High-Performance, 16-Bit Microcontrollers
PIC24HJ64GP606AE/PF 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:High-Performance, 16-Bit Microcontrollers
PIC24HJ64GP606AE/PF-ES 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:High-Performance, 16-Bit Microcontrollers
PIC24HJ64GP606AE/PT 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:High-Performance, 16-Bit Microcontrollers