| Electronic Components Datasheet Search |
|
DSPIC33FJ32GP202-E/SP Datasheet(PDF) 169 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
DSPIC33FJ32GP202-E/SP Datasheet(HTML) 169 Page - Microchip Technology |
|
169 / 252 page ![]() © 2007 Microchip Technology Inc. Preliminary DS70290A-page 167 dsPIC33FJ32GP202/204 and dsPIC33FJ16GP304 17.0 10-BIT/12-BIT ANALOG-TO-DIGITAL CONVERTER (ADC) The dsPIC33FJ32GP202/204 and dsPIC33FJ16GP304 devices have up to 13 Analog-to-Digital Conversion (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. 17.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 13 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 • Four result alignment options (signed/unsigned, fractional/integer) • 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 up to 500 ksps are supported • There is only 1 sample-and-hold amplifier in the 12-bit configuration, so simultaneous sampling of multiple channels is not supported. Depending on the particular device pinout, the ADC can have up to 13 analog input pins, designated AN0 through AN12. 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. A block diagram of the ADC for the dsPIC33FJ16GP304 and dsPIC33FJ32GP204 devices is shown in Figure 17-1. A block diagram of the ADC for the dsPIC33FJ32GP202 device is shown in Figure 17-2. 17.2 ADC Initialization To configure the ADC module: 1. Select port pins as analog inputs (AD1PCFGH<15:0> or AD1PCFGL<15:0>). 2. Select voltage reference source to match expected range on analog inputs (AD1CON2<15:13>). 3. Select the analog conversion clock to match desired data rate with processor clock (AD1CON3<7:0>). 4. Determine how many sample-and-hold chan- nels will be used (AD1CON2<9:8> and AD1PCFGH<15:0> or AD1PCFGL<15:0>). 5. Select the appropriate sample/conversion sequence (AD1CON1<7:5> and AD1CON3<12:8>). 6. Select the way conversion results are presented in the buffer (AD1CON1<9:8>). d) Turn on the ADC module (AD1CON1<15>). 7. Configure ADC interrupt (if required): a) Clear the AD1IF bit. b) Select ADC interrupt priority. Note: This data sheet summarizes the features of the dsPIC33FJ32GP202/204 and dsPIC33FJ16GP304 devices. It is not intended to be a comprehensive reference source. To complement the information in this data sheet, refer to the “dsPIC33F Family Reference Manual”. Note: The ADC module must be disabled before the AD12B bit can be modified. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |