dsPIC33FJ32MC202/204 and
dsPIC33FJ16MC304
16-bit Digital Signal Controllers (up to 32 KB Flash and
2 KB SRAM) with Motor Control and Advanced Analog
Operating Conditions
• 3.0V to 3.6V, -40ºC to +150ºC, DC to 20 MIPS
• 3.0V to 3.6V, -40ºC to +125ºC, DC to 40 MIPS
• Six analog inputs on 28-pin devices and up to
nine analog inputs on 44-pin devices
• Flexible and independent ADC trigger sources
Core: 16-bit dsPIC33F CPU
•
•
•
•
Code-efficient (C and Assembly) architecture
Two 40-bit wide accumulators
Single-cycle (MAC/MPY) with dual data fetch
Single-cycle mixed-sign MUL plus hardware divide
Timers/Output Compare/Input Capture
• Three 16-bit timers/counters. Can pair up two to
make one 32-bit.
• Two Output Capture modules configurable as
timers/counters
• Four Input Capture modules
• Peripheral Pin Select (PPS) to allow function
remap
Clock Management
•
•
•
•
•
2% internal oscillator
Programmable PLLs and oscillator clock sources
Fail-Safe Clock Monitor (FSCM)
Independent Watchdog Timer (WDT)
Fast wake-up and start-up
Communication Interfaces
One UART module (10 Mbps)
With support for LIN 2.0 protocols and IrDA
®
One 4-wire SPI module (15 Mbps)
One I
2
C™ module (up to 1 Mbaud) with SMBus
support
• PPS to allow function remap
•
•
•
•
Power Management
•
•
•
•
Low-power management modes (Sleep, Idle, Doze)
Integrated Power-on Reset and Brown-out Reset
1.35 mA/MHz dynamic current (typical)
55
μA
IPD current (typical)
Input/Output
• Sink/Source up to 10 mA (pin specific) for stan-
dard VOH/VOL, up to 16 mA (pin specific) for
non-standard VOH1
• 5V-tolerant pins
• Selectable open drain, pull-ups, and pull-downs
• Up to 5 mA overvoltage clamp current
• External interrupts on all I/O pins
High-Speed PWM
•
•
•
•
Up to four PWM pairs with independent timing
Dead time for rising and falling edges
12.5 ns PWM resolution
PWM support for:
- DC/DC, AC/DC, Inverters, PFC, Lighting
- BLDC, PMSM, ACIM, SRM
• Programmable Fault inputs
• Flexible trigger configurations for ADC conversions
Qualification and Class B Support
• AEC-Q100 REVG (Grade 0 -40ºC to +150ºC)
• Class B Safety Library, IEC 60730
Advanced Analog Features
• ADC module:
- Configurable as 10-bit, 1.1 Msps with four
S&H or 12-bit, 500 ksps with one S&H
Debugger Development Support
•
•
•
•
In-circuit and in-application programming
Two program and two complex data breakpoints
IEEE 1149.2-compatible (JTAG) boundary scan
Trace and run-time watch
Packages
Type
SPDIP
SOIC
SSOP
28
0.65
21
10.2x5.3x1.75
QFN-S
28
0.65
21
6x6x0.9
QFN
44
0.65
35
8x8x0.9
TQFP
44
0.80
35
10x10x1
Pin Count
28
28
Contact Lead/Pitch
.100''
1.27
I/O Pins
21
21
Dimensions
1.365x.285x.135''
17.9xx7.50x2.05
Note:
All dimensions are in millimeters (mm) unless specified.
©
2007-2012 Microchip Technology Inc.
DS70283K-page 1
dsPIC33FJ32MC202/204 and dsPIC33FJ16MC304
ds
PIC33FJ32MC202/204 and
dsPIC33FJ16MC304
Product Families
The device names, pin counts, memory sizes and
peripheral availability of each device are listed below.
The following pages show their pinout diagrams.
TABLE 1:
dsPIC33FJ32MC202/204 and dsPIC33FJ16MC304 CONTROLLER FAMILIES
Program Flash Memory (Kbyte)
Remappable Peripherals
Quadrature Encoder
Interface
External Interrupts
(3)
10-Bit/12-Bit ADC
Motor Control PWM
Remappable Pins
RAM (Kbyte)
Output Compare
Standard PWM
Input Capture
16-bit Timer
UART
dsPIC33FJ32MC202
28
32
2
16
3
(1)
4
2
6ch
(2)
2ch
(2)
6ch
(2)
2ch
(2)
6ch
(2)
2ch
(2)
SPI
Device
Pins
1
1
3
1
1ADC,
6 ch
1ADC,
9 ch
1ADC,
9 ch
1
21 SPDIP
SOIC
SSOP
QFN-S
35
35
QFN
TQFP
QFN
TQFP
dsPIC33FJ32MC204
dsPIC33FJ16MC304
Note 1:
2:
3:
44
44
32
16
2
2
26
26
3
(1)
3
(1)
4
4
2
2
1
1
1
1
3
3
1
1
1
1
Only two out of three timers are remappable.
Only PWM fault inputs are remappable.
Only two out of three interrupts are remappable.
DS70283K-page 2
©
2007-2012 Microchip Technology Inc.
Packages
I/O Pins
I
2
C™
dsPIC33FJ32MC202/204 and dsPIC33FJ16MC304
Pin Diagrams
28-PIN SPDIP, SOIC, SSOP
= Pins are up to 5V tolerant
MCLR
AN0/V
REF
+/CN2/RA0
AN1/V
REF
-/CN3/RA1
PGED1/AN2/C2IN-/RP0
(1)
/CN4/RB0
PGEC1/AN3/C2IN+/RP1
(1)
/CN5/RB1
AN4/RP2
(1)
/CN6/RB2
AN5/RP3
(1)
/CN7/RB3
V
SS
OSC1/CLKI/CN30/RA2
OSC2/CLKO/CN29/RA3
SOSCI/RP4
(1)
/CN1/RB4
SOSCO/T1CK/CN0/RA4
V
DD
PGED3/ASDA1/RP5
(1)
/CN27/RB5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
AV
DD
AV
SS
PWM1L1/RP15
(1)
/CN11/RB15
PWM1H1/RP14
(1)
/CN12/RB14
PWM1L2/RP13
(1)
/CN13/RB13
PWM1H2/RP12
(1)
/CN14/RB12
PGEC2/TMS/PWM1L3/RP11
(1)
/CN15/RB11
PGED2/TDI/PWM1H3/RP10
(1)
/CN16/RB10
V
CAP
V
SS
TDO/PWM2L1/SDA1/RP9
(1)
/CN21/RB9
TCK/PWM2H1/SCL1/RP8
(1)
/CN22/RB8
INT0/RP7/CN23/RB7
PGEC3/ASCL1/RP6
(1)
/CN24/RB6
dsPIC33FJ32MC202
28-Pin QFN-S
(2)
AV
SS
PWM1L1/RP15
(1)
/CN11/RB15
PWM1H1/RP14
(1)
/CN12/RB14
= Pins are up to 5V tolerant
AN1/V
REF
-/CN3/RA1
AN0/V
REF
+/CN2/RA0
MCLR
PGED1/EMUD1/AN2/C2IN-/RP0
(1)
/CN4/RB0
PGEC1/EMUC1/AN3/C2IN+/RP1
(1)
/CN5/RB1
AN4/RP2
(1)
/CN6/RB2
AN5/RP3
(1)
/CN7/RB3
V
SS
28 27 26 25 24 23 22
1
2
3
4
5
21
20
19
PWM1L2/RP13
(1)
/CN13/RB13
PWM1H2/RP12
(1)
/CN14/RB12
PGEC2/EMUC2/TMS/PWM1L3/RP11
(1)
/CN15/RB11
PGED2/EMUD2/TDI/PWM1H3/RP10
(1)
/CN16/RB10
V
CAP
V
SS
TDO/PWM2L1/SDA1/RP9
(1)
/CN21/RB9
dsPIC33FJ32MC202
18
17
16
15
8
SOSCI/RP4/CN1/RB4
9 10 11 12 13 14
SOSCO/T1CK/CN0/RA4
V
DD
PGED3/EMUD3/ASDA1/RP5
(1)
/CN27/RB5
PGEC3/EMUC3/ASCL1/RP6
(1)
/CN24/RB6
INT0/RP7
(1)
/CN23/RB7
TCK/PWM2H1/SCL1/RP8
(1)
/CN22/RB8
OSC1/CLKI/CN30/RA2 6
OSC2/CLKO/CN29/RA3 7
Note 1:
The RPn pins can be used by any remappable peripheral. See
Table 1
for the list of available
peripherals.
2:
The metal plane at the bottom of the device is not connected to any pins and is recommended to
be connected to V
SS
externally.
©
2007-2012 Microchip Technology Inc.
AV
DD
DS70283K-page 3
dsPIC33FJ32MC202/204 and dsPIC33FJ16MC304
Pin Diagrams (Continued)
44-Pin QFN
(2)
= Pins are up to 5V tolerant
PGEC1/EMUC1/AN3/C2IN+/RP1
(1)
/CN5/RB1
PGED1/EMUD1/AN2/C2IN-/RP0
(1)
/CN4/RB0
PWM1H1/RP14
(1)
/CN12/RB14
PWM1L1/RP15
(1)
/CN11/RB15
AN1/V
REF
-/CN3/RA1
AN0/V
REF
+/CN2/RA0
22 21 20 19 18 17 16 15 14 13 12
AN4/RP2
(1)
/CN6/RB2
AN5/RP3
(1)
/CN7/RB3
AN6/RP16
(1)
/CN8/RC0
AN7/RP17
(1)
/CN9/RC1
AN8/RP18
(1)
/CN10/RC2
V
DD
V
SS
OSC1/CLKI/CN30/RA2
OSC2/CLKO/CN29/RA3
TDO/RA8
SOSCI/RP4 /CN1/RB4
(1)
TCK/RA7
TMS/RA10
MCLR
AV
DD
AV
SS
23
24
25
26
27
28
29
30
31
32
33
34 35 36 37 38 39 40 41 42 43 44
RP19
(1)
/CN28/RC3
RP20 /CN25/RC4
RP21
(1)
/CN26/RC5
TDI/RA9
V
DD
V
SS
PGED3/EMUD3/ASDA1/RP5 /CN27/RB5
PGEC3/EMUC3/ASCL1/RP6 /CN24/RB6
SOSCO/T1CK/CN0/RA4
SCL1/RP8
(1)
/CN22/RB8
INT0/RP7/CN23/RB7
11
10
9
8
PWM1L2/RP13
(1)
/CN13/RB13
PWM1H2/RP12
(1)
/CN14/RB12
PGEC2/EMUC2/PWM1L3/RP11
(1)
/CN15/RB11
PGED2/EMUD2/PWM1H3/RP10
(1)
/CN16/RB10
V
CAP
V
SS
RP25/CN19/RC9
RP24/CN20/RC8
PWM2L1/RP23
(1)
/CN17/RC7
PWM2H1/RP22
(1)
/CN18/RC6
SDA1/RP9
(1)
/CN21/RB9
dsPIC33FJ32MC204
dsPIC33FJ16MC304
7
6
5
4
3
2
1
(1)
Note 1:
The RPn pins can be used by any remappable peripheral. See
Table 1
for the list of available
peripherals.
2:
The metal plane at the bottom of the device is not connected to any pins and is recommended to
be connected to V
SS
externally.
(1)
(1)
DS70283K-page 4
©
2007-2012 Microchip Technology Inc.