Example: marketing

High-performance Digital Signal Controllers

2008 Microchip Technology Programmer sReference ManualHigh-performanceDigital Signal ControllersDS70157C-page ii 2008 Microchip Technology contained in this publication regarding deviceapplications and the like is provided only for your convenienceand may be superseded by updates. It is your responsibility toensure that your application meets with your MAKES NO REPRESENTATIONS ORWARRANTIES OF ANY KIND WHETHER EXPRESS ORIMPLIED, WRITTEN OR ORAL, STATUTORY OROTHERWISE, RELATED TO THE INFORMATION,INCLUDING BUT NOT LIMITED TO ITS CONDITION,QUALITY, performance , MERCHANTABILITY ORFITNESS FOR PURPOSE. Microchip disclaims all liabilityarising from this information and its use. Use of Microchipdevices in life support and/or safety applications is entirely atthe buyer s risk, and the buyer agrees to defend, indemnify andhold harmless Microchip from any and all damages, claims,suits, or expenses resulting from such use.

© 2008 Microchip Technology Inc. DS70157C dsPIC30F/33F Programmer’s Reference Manual High-performance Digital Signal Controllers

Tags:

  Manual, Performance, Controller, High, Reference, Signal, Digital, High performance digital signal controllers, Reference manual high performance digital signal controllers

Information

Domain:

Source:

Link to this page:

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

Other abuse

Advertisement

Transcription of High-performance Digital Signal Controllers

1 2008 Microchip Technology Programmer sReference ManualHigh-performanceDigital Signal ControllersDS70157C-page ii 2008 Microchip Technology contained in this publication regarding deviceapplications and the like is provided only for your convenienceand may be superseded by updates. It is your responsibility toensure that your application meets with your MAKES NO REPRESENTATIONS ORWARRANTIES OF ANY KIND WHETHER EXPRESS ORIMPLIED, WRITTEN OR ORAL, STATUTORY OROTHERWISE, RELATED TO THE INFORMATION,INCLUDING BUT NOT LIMITED TO ITS CONDITION,QUALITY, performance , MERCHANTABILITY ORFITNESS FOR PURPOSE. Microchip disclaims all liabilityarising from this information and its use. Use of Microchipdevices in life support and/or safety applications is entirely atthe buyer s risk, and the buyer agrees to defend, indemnify andhold harmless Microchip from any and all damages, claims,suits, or expenses resulting from such use.

2 No licenses areconveyed, implicitly or otherwise, under any Microchipintellectual property Microchip name and logo, the Microchip logo, Accuron, dsPIC, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART, PRO MATE, rfPIC and SmartShunt are registered trademarks of Microchip Technology Incorporated in the and other , Linear Active Thermistor, MXDEV, MXLAB, SEEVAL, SmartSensor and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the Age, Application Maestro, CodeGuard, dsPICDEM, , dsPICworks, dsSPEAK, ECAN, ECONOMONITOR, FanSense, In-Circuit Serial Programming, ICSP, ICEPIC, Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB, MPLINK, mTouch, PICkit, PICDEM, , PICtail, PIC32 logo, PowerCal, PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, UNI/O, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the and other is a service mark of Microchip Technology Incorporated in the other trademarks mentioned herein are property of their respective companies.

3 2008, Microchip Technology Incorporated, Printed in the , All Rights Reserved. Printed on recycled 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.

4 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 ourproducts. Attempts to break Microchip s code protection feature may be a violation of the Digital Millennium Copyright Act. If such actsallow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that 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. In addition, Microchip s quality system for the design and manufacture of development systems is ISO 9001:2000 certified.

5 2008 Microchip Technology iiiPAGESECTION 1. INTRODUCTION 1-1 Introduction .. 1-2 manual Objective .. 1-2 Development Support .. 1-2 Style and Symbol Conventions .. 1-3 Instruction Set Symbols .. 1-4 Related Documents .. 1-5 SECTION 2. PROGRAMMER S MODEL 2-1dsPIC30F/33F Overview .. 2-2 Programmer s Model .. 2-3 SECTION 3. INSTRUCTION SET OVERVIEW 3-1 Introduction .. 3-2 Instruction Set Overview .. 3-2 Instruction Set Summary Tables .. 3-3 SECTION 4. INSTRUCTION SET DETAILS 4-1 Data Addressing Modes .. 4-2 Program Addressing Modes .. 4-11 Instruction Stalls .. 4-12 Byte Operations .. 4-13 Word Move Operations .. 4-16 Using 10-bit Literal Operands .. 4-19 Software Stack Pointer and Frame Pointer .. 4-20 Conditional Branch Instructions .. 4-25Z Status Bit .. 4-26 Assigned Working Register Usage .. 4-27 DSP Data Formats .. 4-30 Accumulator Usage .. 4-32 Accumulator Access.

6 4-33 DSP MAC Instructions .. 4-33 DSP Accumulator Instructions .. 4-37 Scaling Data with the FBCL Instruction .. 4-37 Normalizing the Accumulator with the FBCL Instruction .. 4-39 SECTION 5. INSTRUCTION DESCRIPTIONS 5-1 Instruction Symbols .. 5-2 Instruction Encoding Field Descriptors Introduction .. 5-2 Instruction Description Example .. 5-6 Instruction Descriptions .. 5-7 SECTION 6. reference 6-1 Data Memory Map .. 6-2 Core Special Function Register Map .. 6-4 Program Memory Map .. 6-7 Instruction Bit Map .. 6-9 Instruction Set Summary Table .. 6-11 Revision History .. 6-19 Table of ContentsDS70157C - page iv 2008 Microchip Technology Programmer s reference ManualNOTES: 2008 Microchip Technology 1-1 Introduction1 Section 1. IntroductionHIGHLIGHTSThis section of the manual contains the following .. Objective .. Support .. and Symbol Conventions .. Set Symbols.

7 Documents .. 1-5dsPIC30F/33F Programmer s reference ManualDS70157C-page 1-2 2008 Microchip Technology IntroductionMicrochip Technology s focus is on products that meet the needs of the embedded controlmarket. We are a leading supplier of: 8-bit general purpose microcontrollers (PIC MCUs) dsPIC30F and dsPIC33F 16-bit Digital Signal Controllers (dsPIC DSCs) Speciality and standard nonvolatile memory devices Security devices (KEELOQ Security ICs) Application-specific standard productsPlease request a Microchip Product Selector Guide for a listing of all the interesting products thatwe have to offer. This literature can be obtained from your local sales office or downloaded fromthe Microchip web site ( ). manual ObjectivePICmicro MCU, dsPIC30F and dsPIC33F devices are grouped by the size of their InstructionWord and Data Path. The current device families :12-bit Instruction Word length, 8-bit Data :14-bit Instruction Word length, 8-bit Data :16-bit Instruction Word length, 8-bit Data :16-bit Instruction Word length, 8-bit Data :24-bit Instruction Word length, 16-bit Data PathThis manual is a software developer s reference for the dsPIC30F and dsPIC33F DSC devicefamilies.

8 This manual describes the Instruction Set in detail and also provides general informationto assist the user in developing software for the dsPIC30F and dsPIC33F manual does not include detailed information about the core, peripherals, system integrationor device-specific information. The user should refer to the dsPIC30F Family reference manual (DS70046) for information about the core, peripherals and system integration. For device-spe-cific information, the user should refer to the individual data sheets. The information that can befound in the data sheets includes: Device memory map Device pinout and packaging details Device electrical specifications List of peripherals included on the deviceCode examples are given throughout this manual . These examples are valid for any device inthe dsPIC30F or dsPIC33F Development SupportMicrochip offers a wide range of development tools that allow users to efficiently develop anddebug application code.

9 Microchip s development tools can be broken down into four categories: Code generation Hardware/Software debug Device programmer Product evaluation boardsInformation about the latest tools, product briefs and user guides can be obtained from theMicrochip web site ( ) or from your local Microchip Sales offers other reference tools to speed the development cycle. These include: Application Notes reference Designs Microchip web site Local Sales Offices with Field Application Support Corporate Support Line The Microchip web site also lists the other sites that may be useful references. 2008 Microchip Technology 1-3 Section 1. Style and Symbol ConventionsThroughout this document, certain style and font format conventions are used. Most formatconventions imply a distinction should be made for the emphasized text. The MCU industry hasmany symbols and non-conventional word definitions/abbreviations.

10 Table 1-1 provides adescription of the conventions used in this 1-1:Document Conventions Symbol or TermDescriptionsetTo force a bit/register to a value of logic 1 .clearTo force a bit/register to a value of logic 0 .Reset1) To force a register/bit to its default state. 2) A condition in which the device places itself after a device Reset occurs. Some bits will be forced to 0 (such as interrupt enable bits), while others will be forced to 1 (such as the I/O data direction bits).0xnnnnDesignates the number nnnn in the hexadecimal number system. These conventions are used in the code examples. For example, 0x013F or 0xA800.: (colon)Used to specify a range or the concatenation of registers/bits/pins. One example is ACCAU:ACCAH:ACCAL, which is the concatenation of three registers to form the 40-bit order (left-right) usually specifies a positional relationship (MSb to LSb, higher to lower).


Related search queries