PIC32MX170F256D
<span id="page-0-0"></span>32-bit Microcontrollers (up to 256 KB Flash and 64 KB SRAM) with Audio and Graphics Interfaces, USB, and Advanced Analog
32-bit MicrocontrollerThe PIC32MX170F256D is a 32-bit microcontroller from Microchip Technology. <span id="page-0-0"></span>32-bit Microcontrollers (up to 256 KB Flash and 64 KB SRAM) with Audio and Graphics Interfaces, USB, and Advanced Analog. View the full PIC32MX170F256D datasheet below including electrical characteristics, absolute maximum ratings.
Manufacturer
Microchip Technology
Category
Microcontrollers (MCU)Overview
Part: Microchip PIC32MX1XX/2XX Family Type: 32-bit Microcontroller Description: 32-bit MIPS32® M4K® microcontroller operating at up to 50 MHz with up to 256 KB Flash, 64 KB SRAM, advanced analog features including 10-bit 1.1 Msps ADC, and comprehensive communication interfaces including USB 2.0 Full-speed OTG.
Operating Conditions:
- Supply voltage: 2.3V to 3.6V
- Operating temperature: -40°C to +105°C
- Max clock frequency: 50 MHz
Absolute Maximum Ratings:
Key Specs:
- Core: 50 MHz/83 DMIPS MIPS32® M4K®
- Program Memory: Up to 256 KB Flash (plus 3 KB boot Flash)
- Data Memory: Up to 64 KB SRAM
- ADC: 10-bit, 1.1 Msps rate with one S&H, up to 13 analog inputs
- Comparators: Up to three Analog Comparator modules
- USB: USB 2.0-compliant Full-speed OTG controller
- UART: Two modules, 12.5 Mbps
- SPI: Two 4-wire modules, 25 Mbps
- I2C: Two modules, up to 1 Mbaud
- Dynamic current: 0.5 mA/MHz (typical)
- IPD current: 20 μA (typical)
Features:
- MIPS16e® mode for up to 40% smaller code size
- 0.9% internal oscillator, programmable PLLs
- Low-power management modes (Sleep and Idle)
- Integrated Power-on Reset and Brown-out Reset
- Audio Interface with I2S, LJ, RJ, DSP modes, SPI, I2C control
- Charge Time Measurement Unit (CTMU) for mTouch™ sensing and temperature measurement
- Five General Purpose Timers (16-bit and 32-bit)
- Five Output Compare (OC) modules, Five Input Capture (IC) modules
- Real-Time Clock and Calendar (RTCC) module
- Four channels of hardware DMA (plus two for USB)
- 10 mA source/sink on all I/O pins, 5V-tolerant pins
- AEC-Q100 REVG (Grade 2) planned
Applications:
Package:
- SOIC (28-pin)
- SSOP (28-pin)
- SPDIP (28-pin)
- QFN (28-pin, 44-pin)
- VTLA (36-pin, 44-pin)
- TQFP (44-pin)
Features
- Data communication: I2S, LJ, RJ, and DSP modes
- Control interface: SPI and I2C™
- Master clock:
- Generation of fractional clock frequencies
- Can be synchronized with USB clock
- Can be tuned in run-time
Electrical Characteristics
This section provides an overview of the PIC32MX1XX/2XX electrical characteristics for devices that operate at 40 MHz. Refer to Section 30.0 "50 MHz Electrical Characteristics" for additional specifications for operations at higher frequency. Additional information will be provided in future revisions of this document as it becomes available.
Absolute maximum ratings for the PIC32MX1XX/2XX devices are listed below. Exposure to these maximum rating conditions for extended periods may affect device reliability. Functional operation of the device at these or any other conditions, above the parameters indicated in the operation listings of this specification, is not implied.
Absolute Maximum Ratings
(See Note 1)
-
Storage temperature65°C to +150°C
-
Voltage on VDD with respect to VSS0.3V to +4.0V
-
Voltage on any pin that is not 5V tolerant, with respect to VSS (Note 3)0.3V to (VDD + 0.3V)
-
Voltage on any 5V tolerant pin with respect to VSS when VDD ≥ 2.3V (Note 3)0.3V to +5.5V
-
Voltage on any 5V tolerant pin with respect to VSS when VDD < 2.3V (Note 3)0.3V to +3.6V
-
Voltage on D+ or D- pin with respect to VUSB3V30.3V to (VUSB3V3 + 0.3V)
-
Voltage on VBUS with respect to VSS0.3V to +5.5V
-
Maximum current out of VSS pin(s)300 mA
-
Maximum current into VDD pin(s) (Note 2)300 mA
-
Maximum output current sunk by any I/O pin15 mA
-
Maximum output current sourced by any I/O pin15 mA
-
Maximum current sunk by all ports200 mA
-
Maximum current sourced by all ports (Note 2)200 mA
-
Note 1: Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional operation of the device at those or any other conditions, above those indicated in the operation listings of this specification, is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability.
- 2: Maximum allowable current is a function of device maximum power dissipation (see Table 29-2).
- 3: See the "Pin Diagrams" section for the 5V tolerant pins.
Thermal Information
| Rating | Symbol | Min. | Typical | Max. | Unit |
|---|---|---|---|---|---|
| Industrial Temperature Devices | |||||
| Operating Junction Temperature Range | TJ | -40 | — | +125 | °C |
| Operating Ambient Temperature Range | TA | -40 | — | +85 | °C |
| V-temp Temperature Devices | |||||
| Operating Junction Temperature Range | TJ | -40 | — | +140 | °C |
| Operating Ambient Temperature Range | TA | -40 | — | +105 | °C |
| Power Dissipation: Internal Chip Power Dissipation: PINT = VDD x (IDD – S IOH) | PD | PINT + PI/O | W | ||
| I/O Pin Power Dissipation: I/O = S (({VDD – VOH} x IOH) + S (VOL x IOL)) | |||||
| Maximum Allowed Power Dissipation | PDMAX | (TJ – TA)/θJA | W |
TABLE 29-3: THERMAL PACKAGING CHARACTERISTICS
| Characteristics | Symbol | Typical | Max. | Unit | Notes |
|---|---|---|---|---|---|
| Package Thermal Resistance, 28-pin SSOP | θJA | 71 | — | °C/W | 1 |
| Package Thermal Resistance, 28-pin SOIC | θJA | 50 | — | °C/W | 1 |
| Package Thermal Resistance, 28-pin SPDIP | θJA | 42 | — | °C/W | 1 |
| Package Thermal Resistance, 28-pin QFN | θJA | 35 | — | °C/W | 1 |
| Package Thermal Resistance, 36-pin VTLA | θJA | 31 | — | °C/W | 1 |
| Package Thermal Resistance, 44-pin QFN | θJA | 32 | — | °C/W | 1 |
| Package Thermal Resistance, 44-pin TQFP | θJA | 45 | — | °C/W | 1 |
| Package Thermal Resistance, 44-pin VTLA | θJA | 30 | — | °C/W | 1 |
Note 1: Junction to ambient thermal resistance, Theta-JA (θJA) numbers are achieved by package simulations.
TABLE 29-4: DC TEMPERATURE AND VOLTAGE SPECIFICATIONS
| DC CHARACTERISTICS | (unless otherwise stated) Operating temperature | Standard Operating Conditions: 2.3V to 3.6V -40°C ≤ TA ≤ +85°C for Industrial -40°C ≤ TA ≤ +105°C for V-temp | |||||
|---|---|---|---|---|---|---|---|
| Param. No. | Symbol Operating Voltage | Characteristics | Min. | Typ. | Max. | Units | Conditions |
| DC10 | VDD | Supply Voltage (Note 2) | 2.3 | — | 3.6 | V | — |
| DC12 | VDR | RAM Data Retention Voltage (Note 1) | 1.75 | — | — | V | — |
| DC16 | VPOR | VDD Start Voltage to Ensure Internal Power-on Reset Signal | 1.75 | — | 2.1 | V | — |
| DC17 | SVDD | VDD Rise Rate to Ensure Internal Power-on Reset Signal | 0.00005 | — | 0.115 | V/μs | — |
Note 1: This is the limit to which VDD can be lowered without losing RAM data.
2: Overall functional device operation at VBORMIN < VDD < VDDMIN is tested, but not characterized. All device Analog modules, such as ADC, etc., will function, but with degraded performance below VDDMIN. Refer to parameter BO10 in Table 29-10 for BOR values.
TABLE 29-5: DC CHARACTERISTICS: OPERATING CURRENT (IDD)
| DC CHARACTERISTICS | Standard Operating Conditions: 2.3V to 3.6V (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for Industrial -40°C ≤ TA ≤ +105°C for V-temp | |||
|---|---|---|---|---|
| Parameter No. | Typical(3) | Max. Operating Current (IDD) (Notes 1, 2, 5) | Units | |
| DC20 | 2 | 3 | mA | |
| DC21 | 7 | 10.5 | mA | |
| DC22 | 10 | 15 | mA | |
| DC23 | 15 | 23 | mA | 30 MHz (Note 4) |
| DC24 | 20 | 30 | mA | 40 MHz |
| DC25 | 100 | 150 | μA | +25°C, 3.3V LPRC (31 kHz) (Note 4) |
TABLE 29-6: DC CHARACTERISTICS: IDLE CURRENT (IIDLE)
| DC CHARACTERISTICS | Standard Operating Conditions: 2.3V to 3.6V (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for Industrial -40°C ≤ TA ≤ +105°C for V-temp | ||
|---|---|---|---|
| Parameter No. | Typical(2) | Max. | Units |
| Idle Current (IIDLE): Core Off, Clock on Base Current (Notes 1, 4) | |||
| DC30a | 1 | 1.5 | mA |
| DC31a | 2 | 3 | mA |
| DC32a | 4 | 6 | mA |
| DC33a | 5.5 | 8 | mA |
| DC34a | 7.5 | 11 | mA |
| DC37a | 100 | — | μA |
| DC37b | 250 | — | μA |
| DC37c | 380 | — | μA |
- Oscillator mode is EC (for 8 MHz and below) and EC+PLL (for above 8 MHz) with OSC1 driven by external square wave from rail-to-rail, (OSC1 input clock input over/undershoot < 100 mV required)
- OSC2/CLKO is configured as an I/O input pin
- USB PLL oscillator is disabled if the USB module is implemented, PBCLK divisor = 1:8
- CPU is in Idle mode (CPU core Halted), and SRAM data memory Wait states = 1
- No peripheral modules are operating, (ON bit = 0), but the associated PMD bit is cleared
- WDT, Clock Switching, Fail-Safe Clock Monitor, and Secondary Oscillator are disabled
- All I/O pins are configured as inputs and pulled to VSS
- MCLR = VDD
- RTCC and JTAG are disabled
- 2: Data in the "Typical" column is at 3.3V, 25°C unless otherwise stated. Parameters are for design guidance only and are not tested.
- 3: This parameter is characterized, but not tested in manufacturing.
- 4: IIDLE electrical characteristics for devices with 256 KB Flash are only provided as Preliminary information.
TABLE 29-7: DC CHARACTERISTICS: POWER-DOWN CURRENT (IPD)
| DC CHARACTERISTICS | Standard Operating Conditions: 2.3V to 3.6V (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for Industrial -40°C ≤ TA ≤ +105°C for V-temp | |||
|---|---|---|---|---|
| Param. No. | Typical(2) Power-Down Current (IPD) (Notes 1, 5) | Max. | Units | Conditions |
| DC40k | 10 | 16 | μA | -40°C |
| DC40l | 44 | 70 | μA | +25°C |
| DC40n | 168 | 259 | μA | +85°C |
| DC40m | 335 Module Differential Current | 536 | μA | +105°C |
| DC41e | 5 | 20 | μA | 3.6V |
| DC42e | 23 | 50 | μA | 3.6V RTCC + Timer1 w/32 kHz Crystal: ΔIRTCC (Note 3) |
| DC43d | 1000 | 1100 | μA | 3.6V ADC: ΔIADC (Notes 3,4) |
- Oscillator mode is EC (for 8 MHz and below) and EC+PLL (for above 8 MHz) with OSC1 driven by external square wave from rail-to-rail, (OSC1 input clock input over/undershoot < 100 mV required)
- OSC2/CLKO is configured as an I/O input pin
- USB PLL oscillator is disabled if the USB module is implemented, PBCLK divisor = 1:8
- CPU is in Sleep mode, and SRAM data memory Wait states = 1
- No peripheral modules are operating, (ON bit = 0), but the associated PMD bit is set
- WDT, Clock Switching, Fail-Safe Clock Monitor, and Secondary Oscillator are disabled
- All I/O pins are configured as inputs and pulled to VSS
- MCLR = VDD
- RTCC and JTAG are disabled
- 2: Data in the "Typical" column is at 3.3V, 25°C unless otherwise stated. Parameters are for design guidance only and are not tested.
- 3: The Δ current is the additional current consumed when the module is enabled. This current should be added to the base IPD current.
- 4: Test conditions for ADC module differential current are as follows: Internal ADC RC oscillator enabled.
- 5: IPD electrical characteristics for devices with 256 KB Flash are only provided as Preliminary information.
TABLE 29-8: DC CHARACTERISTICS: I/O PIN INPUT SPECIFICATIONS
| DC CHARACTERISTICS | Standard Operating Conditions: 2.3V to 3.6V (unless otherwise stated) Operating temperature -40°C ≤ TA ≤ +85°C for Industrial -40°C ≤ TA ≤ +105°C for V-temp | ||
|---|---|---|---|
| Param. No. | Symbol | Characteristics | Min. |
| VIL | Input Low Voltage | ||
| DI10 | I/O Pins with PMP | VSS | |
| I/O Pins | VSS | ||
| DI18 | SDAx, SCLx | VSS | |
| DI19 | SDAx, SCLx | VSS | |
| VIH | Input High Voltage | ||
| DI20 | I/O Pins not 5V-tolerant(5) | 0.65 VDD | |
| I/O Pins 5V-tolerant with PMP(5) | 0.25 VDD + 0.8V | ||
| I/O Pins 5V-tolerant(5) | 0.65 VDD | ||
| DI28 | SDAx, SCLx | 0.65 VDD | |
| DI29 | SDAx, SCLx | 2.1 | |
| DI30 | ICNPU | Change Notification Pull-up Current | — |
| DI31 | ICNPD | Change Notification Pull-down Current(4) | — |
| IIL | Input Leakage Current (Note 3) | ||
| DI50 | I/O Ports | — | |
| DI51 | Analog Input Pins | — | |
| DI55 | MCLR(2) | — | |
| DI56 | OSC1 | — |
TABLE 29-9: DC CHARACTERISTICS: I/O PIN OUTPUT SPECIFICATIONS
| DC CHARACTERISTICS | (unless otherwise stated) Operating temperature | Standard Operating Conditions: 2.3V to 3.6V -40°C ≤ TA ≤ +85°C for Industrial -40°C ≤ TA ≤ +105°C for V-temp | ||||
|---|---|---|---|---|---|---|
| Param. | Symbol | Characteristic | Min. | Typ. | Max. | Units |
| DO10 | VOL | Output Low Voltage I/O Pins | — | — | 0.4 | V |
| Output High Voltage | 1.5(1) | — | — | |||
| DO20 | VOH | I/O Pins | 2.0(1) 2.4 — — | — | — | V IOH ≥ -10 mA, VDD = 3.3V |
| 3.0(1) | — | — |
Typical Application
Examples of typical application connections are shown in Figure 2-5 and Figure 2-6.
FIGURE 2-5: CAPACITIVE TOUCH SENSING WITH GRAPHICS APPLICATION
FIGURE 2-6: AUDIO PLAYBACK APPLICATION
Related Variants
The following components are covered by the same datasheet.
| Part Number | Manufacturer | Package |
|---|---|---|
| PIC32MX110F016B | Microchip Technology | — |
| PIC32MX110F016C | Microchip Technology | — |
| PIC32MX110F016D | Microchip Technology | — |
| PIC32MX120F032B | Microchip Technology | — |
| PIC32MX120F032C | Microchip Technology | — |
| PIC32MX120F032D | Microchip Technology | — |
| PIC32MX130F064B | Microchip Technology | — |
| PIC32MX130F064C | Microchip Technology | — |
| PIC32MX130F064D | Microchip Technology | — |
| PIC32MX150F128B | Microchip Technology | — |
| PIC32MX150F128C | Microchip Technology | — |
| PIC32MX150F128D | Microchip Technology | — |
| PIC32MX170F256B | Microchip Technology | — |
| PIC32MX1XX/2XX | Microchip Technology | — |
| PIC32MX210F016B | Microchip Technology | — |
| PIC32MX210F016C | Microchip Technology | — |
| PIC32MX210F016D | Microchip Technology | — |
| PIC32MX220F032B | Microchip Technology | — |
| PIC32MX220F032C | Microchip Technology | — |
| PIC32MX220F032D | Microchip Technology | — |
| PIC32MX230F064B | Microchip Technology | — |
| PIC32MX230F064C | Microchip Technology | — |
| PIC32MX230F064D | Microchip Technology | — |
| PIC32MX250F128B | Microchip Technology | — |
| PIC32MX250F128C | Microchip Technology | — |
| PIC32MX250F128D | Microchip Technology | — |
| PIC32MX270F256B | Microchip Technology | SOIC-28 |
| PIC32MX270F256D | Microchip Technology | — |
Get structured datasheet data via API
Get started free