dsPIC30F1010/202X 28/44-Pin dsPIC30F1010/202X Enhanced Flash SMPS 16-Bit Digital Signal Controller Peripheral Features: Note: This data sheet summarizes features of this group of dsPIC30F devices and is not intended to be a complete High-current sink/source I/O pins: 25 mA/25 mA reference source. For more information on the CPU, peripherals, register descriptions and general device Three 16-bit timers/counters optionally pair up functionality, refer to the dsPIC30F Family Reference 16-bit timers into 32-bit timer modules Manual (DS70046). For more information on the device One 16-bit Capture input functions instruction set and programming, refer to the dsPIC30F/ 33F Programmers Reference Manual (DS70157). Two 16-bit Compare/PWM output functions - Dual Compare mode available High-Performance Modified RISC CPU: 3-wire SPI modules (supports 4 Frame modes) 2 TM I C module supports Multi-Master/Slave mode Modified Harvard architecture and 7-bit/10-bit addressing C compiler optimized instruction set architecture UART Module: 83 base instructions with flexible addressing - Supports RS-232, RS-485 and LIN 1.2 modes - Supports IrDA with on-chip hardware endec 24-bit wide instructions, 16-bit wide data path - Auto wake-up on Start bit 12 Kbytes on-chip Flash program space - Auto-Baud Detect 512 bytes on-chip data RAM - 4-level FIFO buffer 16 x 16-bit working register array Up to 30 MIPS operation: Power Supply PWM Module Features: - Dual Internal RC - 9.7 and 14.55 MHz (1%) Industrial Temp Four PWM generators with 8 outputs - 6.4 and 9.7 MHz (1%) Extended Temp Each PWM generator has independent time base - 32X PLL with 480 MHz VCO and duty cycle - PLL inputs 3% Duty cycle resolution of 1.1 ns at 30 MIPS - External EC clock 6.0 to 14.55 MHz Individual dead time for each PWM generator: - HS Crystal mode 6.0 to 14.55 MHz - Dead-time resolution 4.2 ns at 30 MIPS 32 interrupt sources - Dead time for rising and falling edges Three external interrupt sources Phase-shift resolution of 4.2 ns 30 MIPS 8 user-selectable priority levels for each interrupt Frequency resolution of 8.4 ns 30 MIPS 4 processor exceptions and software traps PWM modes supported: - Complementary DSP Engine Features: -Push-Pull - Multi-Phase Modulo and Bit-Reversed modes - Variable Phase Two 40-bit wide accumulators with optional - Current Reset saturation logic - Current-Limit 17-bit x 17-bit single-cycle hardware fractional/ integer multiplier Independent Current-Limit and Fault Inputs Single-cycle Multiply-Accumulate (MAC) Output Override Control operation Special Event Trigger 40-stage Barrel Shifter PWM generated ADC Trigger Dual data fetch 2006-2014 Microchip Technology Inc. DS70000178D-page 1dsPIC30F1010/202X Analog Features: Special Microcontroller Features: ADC Enhanced Flash program memory: - 10,000 erase/write cycle (min.) for 10-bit resolution industrial temperature range, 100k (typical) 2000 Ksps conversion rate Self-reprogrammable under software control Up to 12 input channels Power-on Reset (POR), Power-up Timer (PWRT) Conversion pairing allows simultaneous conver- and Oscillator Start-up Timer (OST) sion of two inputs (i.e., current and voltage) with a Flexible Watchdog Timer (WDT) with on-chip low single trigger power RC oscillator for reliable operation PWM control loop: Fail-Safe clock monitor operation - Up to six conversion pairs available Detects clock failure and switches to on-chip low - Each conversion pair has up to four PWM power RC oscillator and seven other selectable trigger sources Programmable code protection Interrupt hardware supports up to 1M interrupts In-Circuit Serial Programming (ICSP) per second Selectable Power Management modes COMPARATOR - Sleep, Idle and Alternate Clock modes Four Analog Comparators: - 20 ns response time CMOS Technology: - 10-bit DAC reference generator Low-power, high-speed Flash technology - Programmable output polarity 3.3V and 5.0V operation (10%) - Selectable input source Industrial and Extended temperature ranges - ADC sample and convert capable Low power consumption PWM module interface - PWM Duty Cycle Control - PWM Period Control - PWM Fault Detect Special Event Trigger PWM-generated ADC Trigger dsPIC30F SWITCH MODE POWER SUPPLY FAMILY Product dsPIC30F1010 28 SDIP 6K 256 2 01111 2x2 1 3 6 ch 2 21 dsPIC30F1010 28 SOIC 6K 256 2 01111 2x2 1 3 6 ch 2 21 dsPIC30F1010 28 QFN-S 6K 256 2 01111 2x2 1 3 6 ch 2 21 dsPIC30F2020 28 SDIP 12K 512 3 12111 4x2 1 5 8 ch 4 21 dsPIC30F2020 28 SOIC 12K 512 3 12111 4x2 1 5 8 ch 4 21 dsPIC30F2020 28 QFN-S 12K 512 3 12111 4x2 1 5 8 ch 4 21 dsPIC30F2023 44 QFN 12K 512 3 12111 4x2 1 5 12 ch 4 35 dsPIC30F2023 44 TQFP 12K 512 3 12111 4x2 1 5 12 ch 4 35 DS70000178D-page 2 2006-2014 Microchip Technology Inc. Pins Packaging Program Memory (Bytes) Data SRAM (Bytes) Timers Capture Compare UART SPI 2 I C PWM ADCs S & H A/D Inputs Analog Comparators GPIO