Example: stock market

dsPIC30F4011/4012 Data Sheet - Microchip Technology

dsPIC30F4011/4012 . data Sheet High-Performance, 16-Bit Digital Signal Controllers 2010 Microchip Technology Inc. DS70135G. Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained in their particular Microchip data Sheet . Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip 's data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. Microchip is willing to work with the customer who is concerned about the integrity of their code. Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code.

dsPIC30F4011/4012 High-Performance, Modified RISC CPU: • Modified Harvard architecture • C compiler optimized instruction set architecture with flexible addressing modes • 83 base instructions • 24-bit wide instructions, 16-bit wide data path • 48 Kbytes on-chip Flash program space (16K instruction words) • 2 Kbytes of on-chip data RAM

Tags:

  Sheet, Data, 2014, Dspic30f4011, Dspic30f4011 4012 data sheet

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of dsPIC30F4011/4012 Data Sheet - Microchip Technology

1 dsPIC30F4011/4012 . data Sheet High-Performance, 16-Bit Digital Signal Controllers 2010 Microchip Technology Inc. DS70135G. Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained in their particular Microchip data Sheet . Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip 's data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. Microchip is willing to work with the customer who is concerned about the integrity of their code. Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code.

2 Code protection does not mean that we are guaranteeing the product as unbreakable.. Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip 's code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication regarding device Trademarks applications and the like is provided only for your convenience The Microchip name and logo, the Microchip logo, dsPIC, and may be superseded by updates. It is your responsibility to KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART, ensure that your application meets with your specifications. PIC32 logo, rfPIC and UNI/O are registered trademarks of Microchip MAKES NO REPRESENTATIONS OR Microchip Technology Incorporated in the and other WARRANTIES OF ANY KIND WHETHER EXPRESS OR.

3 Countries. IMPLIED, WRITTEN OR ORAL, STATUTORY OR. OTHERWISE, RELATED TO THE INFORMATION, FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor, INCLUDING BUT NOT LIMITED TO ITS CONDITION, MXDEV, MXLAB, SEEVAL and The Embedded Control QUALITY, PERFORMANCE, MERCHANTABILITY OR Solutions Company are registered trademarks of Microchip FITNESS FOR PURPOSE. Microchip disclaims all liability Technology Incorporated in the arising from this information and its use. Use of Microchip Analog-for-the-Digital Age, Application Maestro, CodeGuard, devices in life support and/or safety applications is entirely at dsPICDEM, , dsPICworks, dsSPEAK, ECAN, the buyer's risk, and the buyer agrees to defend, indemnify and ECONOMONITOR, FanSense, HI-TIDE, In-Circuit Serial hold harmless Microchip from any and all damages, claims, Programming, ICSP, Mindi, MiWi, MPASM, MPLAB Certified suits, or expenses resulting from such use.

4 No licenses are logo, MPLIB, MPLINK, mTouch, Omniscient Code conveyed, implicitly or otherwise, under any Microchip Generation, PICC, PICC-18, PICDEM, , PICkit, intellectual property rights. PICtail, REAL ICE, rfLAB, Select Mode, Total Endurance, TSHARC, UniWinDriver, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the and other countries. SQTP is a service mark of Microchip Technology Incorporated in the All other trademarks mentioned herein are property of their respective companies. 2010, Microchip Technology Incorporated, Printed in the , All Rights Reserved. Printed on recycled paper. ISBN: 978-1-60932-713-2. Microchip received ISO/TS-16949:2002 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona; Gresham, Oregon and design centers in California and India. The Company's quality system processes and procedures are for its PIC MCUs and dsPIC DSCs, KEELOQ code hopping devices, Serial EEPROMs, microperipherals, nonvolatile memory and analog products.

5 In addition, Microchip 's quality system for the design and manufacture of development systems is ISO 9001:2000 certified. DS70135G-page 2 2010 Microchip Technology Inc. dsPIC30F4011/4012 . High-Performance, 16-Bit Digital Signal Controllers Note: This data Sheet summarizes features of Peripheral Features: this group of dsPIC30F devices and is not High-current sink/source I/O pins: 25 mA/25 mA. intended to be a complete reference Timer module with programmable prescaler: source. For more information on the CPU, - Five 16-bit timers/counters; optionally pair peripherals, register descriptions and 16-bit timers into 32-bit timer modules general device functionality, refer to the dsPIC30F Family Reference Manual 16-bit Capture input functions (DS70046). For more information on the 16-bit Compare/PWM output functions device instruction set and programming, 3-wire SPI modules (supports 4 Frame modes). refer to the 16-bit MCU and DSC I2C module supports Multi-Master/Slave mode Reference Manual (DS70157).

6 And 7-bit/10-bit addressing Two UART modules with FIFO Buffers High-Performance, Modified RISC CPU: CAN module, compliant Modified Harvard architecture C compiler optimized instruction set architecture Motor Control PWM Module Features: with flexible addressing modes Six PWM output channels: 83 base instructions - Complementary or Independent Output 24-bit wide instructions, 16-bit wide data path modes 48 Kbytes on-chip Flash program space - Edge and Center-Aligned modes (16K instruction words) Three duty cycle generators 2 Kbytes of on-chip data RAM Dedicated time base 1 Kbyte of nonvolatile data EEPROM Programmable output polarity Up to 30 MIPS operation: Dead-time control for Complementary mode - DC to 40 MHz external clock input Manual output control - 4 MHz-10 MHz oscillator input with Trigger for A/D conversions PLL active (4x, 8x, 16x). 30 interrupt sources: Quadrature Encoder Interface Module - Three external interrupt sources Features: - Eight user-selectable priority levels for each interrupt source Phase A, Phase B and Index Pulse input - Four processor trap sources 16-bit up/down position counter 16 x 16-bit working register array Count direction status Position Measurement (x2 and x4) mode DSP Engine Features: Programmable digital noise filters on inputs Alternate 16-bit Timer/Counter mode Dual data fetch Interrupt on position counter rollover/underflow Accumulator write-back for DSP operations Modulo and Bit-Reversed Addressing modes Analog Features: Two, 40-bit wide accumulators with optional saturation logic 10-bit Analog-to-Digital Converter (ADC) with 17-bit x 17-bit single-cycle hardware four Sample and Holde (S&H) inputs.

7 Fractional/integer multiplier - 1 Msps conversion rate All DSP instructions are single cycle - Nine input channels 16-bit, single-cycle shift - Conversion available during Sleep and Idle Programmable Brown-out Reset 2010 Microchip Technology Inc. DS70135G-page 3. dsPIC30F4011/4012 . Special Digital Signal Controller CMOS Technology : Features: Low-power, high-speed Flash Technology Enhanced Flash program memory: Wide operating voltage range ( to ). - 10,000 erase/write cycle (min.) for Industrial and Extended temperature ranges industrial temperature range, 100K (typical) Low-power consumption data EEPROM memory: - 100,000 erase/write cycle (min.) for industrial temperature range, 1M (typical). Self-reprogrammable under software control Power-on Reset (POR), Power-up Timer (PWRT). and Oscillator Start-up Timer (OST). Flexible Watchdog Timer (WDT) with on-chip, low-power RC oscillator for reliable operation Fail-Safe Clock Monitor operation detects clock failure and switches to on-chip, low-power RC oscillator Programmable code protection In-Circuit Serial Programming (ICSP ).

8 Selectable Power Management modes: - Sleep, Idle and Alternate Clock modes dsPIC30F Motor Control and Power Conversion Family Program Output Motor UART. I C . CAN. SRAM EEPROM Timer Input 10-bit A/D Quad SPI. Device Pins Mem. Bytes/ Comp/Std Control Bytes Bytes 16-bit Cap 1 Msps Enc 2. Instructions PWM PWM. dsPIC30F4012 28 48K/16K 2048 1024 5 4 2 6 ch 6 ch Yes 1 1 1 1. dspic30f4011 40/44 48K/16K 2048 1024 5 4 4 6 ch 9 ch Yes 2 1 1 1. DS70135G-page 4 2010 Microchip Technology Inc. dsPIC30F4011/4012 . Pin Diagrams 40-Pin PDIP. MCLR 1 40 AVDD. EMUD3/AN0/VREF+/CN2/RB0 2 39 AVSS. EMUC3/AN1/VREF-/CN3/RB1 3 38 PWM1L/RE0. AN2/SS1/CN4/RB2 4 37 PWM1H/RE1. AN3/INDX/CN5/RB3 5 36 PWM2L/RE2. AN4/QEA/IC7/CN6/RB4 6 35 PWM2H/RE3. dspic30f4011 . AN5/QEB/IC8/CN7/RB5 7 34 PWM3L/RE4. AN6/OCFA/RB6 8 33 PWM3H/RE5. AN7/RB7 9 32 VDD. AN8/RB8 10 31 VSS. VDD 11 30 C1RX/RF0. VSS 12 29 C1TX/RF1. OSC1/CLKI 13 28 U2RX/CN17/RF4. OSC2/CLKO/RC15 14 27 U2TX/CN18/RF5.

9 EMUD1/SOSCI/T2CK/U1 ATX/CN1/RC13 15 26 PGC/EMUC/U1RX/SDI1/SDA/RF2. EMUC1/SOSCO/T1CK/U1 ARX/CN0/RC14 16 25 PGD/EMUD/U1TX/SDO1/SCL/RF3. FLTA/INT0/RE8 17 24 SCK1/RF6. EMUD2/OC2/IC2/INT2/RD1 18 23 EMUC2/OC1/IC1/INT1/RD0. OC4/RD3 19 22 OC3/RD2. VSS 20 21 VDD. 44-Pin TQFP. EMUC1/SOSCO/T1CK/U1 ARX/CN0/RC14. PGD/EMUD/U1TX/SDO1/SCL/RF3. EMUC2/OC1/IC1/INT1/RD0. EMUD2/OC2/IC2/INT2/RD1. FLTA/INT0/RE8. SCK1/RF6. OC3/RD2. OC4/RD3. VDD. VSS. NC. 44. 43. 42. 41. 40. 39. 38. 37. 36. 35. 34. PGC/EMUC/U1RX/SDI1/SDA/RF2 1 33 NC. U2TX/CN18/RF5 2 32 EMUD1/SOSCI/T2CK/U1 ATX/CN1/RC13. U2RX/CN17/RF4 3 31 OSC2/CLKO/RC15. C1TX/RF1 4 30 OSC1/CLKI. C1RX/RF0 5 29 VSS. VSS 6 dspic30f4011 28 VDD. VDD 7 27 AN8/RB8. PWM3H/RE5 8 26 AN7/RB7. PWM3L/RE4 9 25 AN6/OCFA/RB6. PWM2H/RE3 10 24 AN5/QEB/IC8/CN7/RB5. PWM2L/RE2 11 23 AN4/QEA/IC7/CN6/RB4. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. NC. NC. MCLR. EMUD3/AN0/VREF+/CN2/RB0. EMUC3/AN1/VREF-/CN3/RB1.

10 AN2/SS1/CN4/RB2. AN3/INDX/CN5/RB3. PWM1H/RE1. PWM1L/RE0. AVSS. AVDD. 2010 Microchip Technology Inc. DS70135G-page 5. dsPIC30F4011/4012 . Pin Diagrams (Continued). 44-Pin QFN(1). EMUC1/SOSCO/T1CK/U1 ARX/CN0/RC14. EMUD1/SOSCI/T2CK/U1 ATX/CN1/RC13. PGD/EMUD/U1TX/SDO1/SCL/RF3. EMUD2/OC2/IC2/INT2/RD1. EMUC2/OC1/IC1/INT1/RD0. FLTA/INT0/RE8. SCK1/RF6. OC4/RD3. OC3/RD2. VDD. VSS. 44. 43. 42. 41. 40. 39. 38. 37. 36. 35. 34. PGC/EMUC/U1RX/SDI1/SDA/RF2 1 33 OSC2/CLKO/RC15. U2TX/CN18/RF5 2 32 OSC1/CLKI. U2RX/CN17/RF4 3 31 VSS. C1TX/RF1 4 30 VSS. C1RX/RF0 5 29 VDD. VSS 6 dspic30f4011 28 VDD. VDD 7 27 AN8/RB8. VDD 8 26 AN7/RB7. PWM3H/RE5 9 25 AN6/OCFA/RB6. PWM3L/RE4 10 24 AN5/QEB/IC8/CN7/RB5. PWM2H/RE3 11 23 AN4/QEA/IC7/CN6/RB4. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. EMUC3/AN1/VREF-/CN3/RB1. AVSS. AVDD. NC. MCLR. EMUD3/AN0/VREF+/CN2/RB0. PWM2L/RE2. PWM1H/RE1. PWM1L/RE0. AN2/SS1/CN4/RB2. AN3/INDX/CN5/RB3. Note 1: The metal plane at the bottom of the device is not connected to any pins and is recommended to be connected to VSS externally.