DSPIC33FJ128MC804-I/PT Microchip Technology, DSPIC33FJ128MC804-I/PT Datasheet - Page 253

IC DSPIC MCU/DSP 128K 44TQFP

DSPIC33FJ128MC804-I/PT

Manufacturer Part Number
DSPIC33FJ128MC804-I/PT
Description
IC DSPIC MCU/DSP 128K 44TQFP
Manufacturer
Microchip Technology
Series
dsPIC™ 33Fr

Specifications of DSPIC33FJ128MC804-I/PT

Program Memory Type
FLASH
Program Memory Size
128KB (128K x 8)
Package / Case
44-TQFP, 44-VQFP
Core Processor
dsPIC
Core Size
16-Bit
Speed
40 MIPs
Connectivity
CAN, I²C, IrDA, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, DMA, Motor Control PWM, QEI, POR, PWM, WDT
Number Of I /o
35
Ram Size
16K x 8
Voltage - Supply (vcc/vdd)
3 V ~ 3.6 V
Data Converters
A/D 9x10b/12b, D/A 6x16b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Product
DSCs
Data Bus Width
16 bit
Processor Series
DSPIC33F
Core
dsPIC
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
35
Data Ram Size
16 KB
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52713-733, 52714-737, 53276-922, EWDSPIC
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, DM240001, DV164033
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DV164033 - KIT START EXPLORER 16 MPLAB ICD2DM240001 - BOARD DEMO PIC24/DSPIC33/PIC32
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSPIC33FJ128MC804-I/PT
Manufacturer:
MICROCHIP
Quantity:
1 200
Part Number:
DSPIC33FJ128MC804-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC33FJ128MC804-I/PT
0
21.0
The dsPIC33FJ32GP302/304, dsPIC33FJ64GPX02/
X04, and dsPIC33FJ128GPX02/X04 devices have up
to 13 ADC input channels.
The AD12B bit (AD1CON1<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.
21.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 13 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
The 12-bit ADC configuration supports all the above
features, except:
• In the 12-bit configuration, conversion speeds of
• There is only one sample/hold amplifier in the
© 2011 Microchip Technology Inc.
dsPIC33FJ32GP302/304, dsPIC33FJ64GPX02/X04, AND dsPIC33FJ128GPX02/X04
Note:
pins
fractional/integer)
up to 500 ksps are supported
12-bit configuration, so simultaneous sampling of
multiple channels is not supported
Note 1: This data sheet summarizes the features
2: Some registers and associated bits
10-BIT/12-BIT ANALOG-TO-
DIGITAL CONVERTER (ADC)
Key Features
The ADC module needs to be disabled
before modifying the AD12B bit.
of
dsPIC33FJ64GPX02/X04,
dsPIC33FJ128GPX02/X04 families of
devices. It is not intended to be a compre-
hensive reference source. To comple-
ment the information in this data sheet,
refer to “Section 16. Analog-to-Digital
Converter (ADC)” (DS70183) of the
“dsPIC33F/PIC24H Family Reference
Manual”, which is available from the
Microchip website (www.microchip.com).
described in this section may not be avail-
able on all devices. Refer to
“Memory Organization”
sheet for device-specific register and bit
information.
the
dsPIC33FJ32GP302/304,
in this data
Section 4.0
and
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 ana-
log input pins. The actual number of analog input pins
and external voltage reference input configuration
depends on the specific device.
Block diagrams of the ADC module are shown in
Figure 21-1
21.2
The following configuration steps should be performed.
1.
2.
21.3
If more than one conversion result needs to be buffered
before triggering an interrupt, DMA data transfers can
be used. ADC1 can trigger a DMA data transfer. If
ADC1 is selected as the DMA IRQ source, a DMA
transfer occurs when the AD1IF bit gets set as a result
of an ADC1 sample conversion sequence.
The SMPI<3:0> bits (AD1CON2<5:2>) are used to
select how often the DMA RAM buffer pointer is
incremented.
The ADDMABM bit (AD1CON1<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
provides 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
provides a scatter/gather address to the DMA channel,
based on the index of the analog input and the size of
the DMA buffer.
Configure the ADC module:
a)
b)
c)
d)
e)
f)
g)
Configure ADC interrupt (if required):
a)
b)
ADC Initialization
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 data rate with processor
clock (AD1CON3<7:0>)
Determine how many S/H channels are
used
AD1PCFGH<15:0> or AD1PCFGL<15:0>)
Select the appropriate sample/conversion
sequence
AD1CON3<12:8>)
Select
presented in the buffer (AD1CON1<9:8>)
Turn on ADC module (AD1CON1<15>)
Clear the AD1IF bit
Select ADC interrupt priority
ADC and DMA
and
Figure
port
how
range
(AD1CON2<9:8>
21-2.
pins
(AD1CON1<7:5>
conversion
on
as
DS70292E-page 253
analog
analog
results
inputs
inputs
and
and
are

Related parts for DSPIC33FJ128MC804-I/PT