DM330011 Microchip Technology, DM330011 Datasheet

KIT STARTER MPLAB FOR DSPIC DSC

DM330011

Manufacturer Part Number
DM330011
Description
KIT STARTER MPLAB FOR DSPIC DSC
Manufacturer
Microchip Technology
Series
dsPIC™r
Type
MCUr
Datasheets

Specifications of DM330011

Contents
Evaluation Board, Cable(s), Software and Documentation
Description/function
Audio DSPs
Product
Audio Modules
Silicon Manufacturer
Microchip
Core Architecture
DsPIC
Core Sub-architecture
DsPIC33
Silicon Core Number
DsPIC33F
Silicon Family Name
DsPIC33FJxxGPxxx
For Use With/related Products
dsPIC33F
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
MPLAB Starter Kit for
®
dsPIC
Digital Signal Controllers
User’s Guide
© 2008 Microchip Technology Inc.
DS51700A

Related parts for DM330011

DM330011 Summary of contents

Page 1

... Microchip Technology Inc. MPLAB Starter Kit for Digital Signal Controllers User’s Guide DS51700A ...

Page 2

... PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, UNI/O, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. ...

Page 3

... Figure A-8: Audio Input Schematic ..................................................................... 34 Figure A-9: Audio Output Schematic .................................................................. 35 Figure A-10: User LEDs, User Switches and Temp Sensor Schematics ........... 35 Index ............................................................................................................................. 37 Worldwide Sales and Service .................................................................................... 38 © 2008 Microchip Technology Inc. MPLAB STARTER KIT FOR ® dsPIC DIGITAL SIGNAL CONTROLLERS Table of Contents USER’ ...

Page 4

... MPLAB Starter Kit for dsPIC NOTES: DS51700A-page iv DSCs User’s Guide © 2008 Microchip Technology Inc. ...

Page 5

... Chapter 3. Develop an Application – This chapter describes how to debug application software on the starter kit using MPLAB © 2008 Microchip Technology Inc. MPLAB STARTER KIT FOR ® dsPIC ...

Page 6

... Optional arguments mcc18 [options] file [options] Choice of mutually exclusive errorlevel {0|1} arguments selection Replaces repeated text var_name [, var_name...] Represents code supplied by void main (void) user { ... } © 2008 Microchip Technology Inc. Examples ® IDE User’s Guide ...

Page 7

... MPLAB ASM30, MPLAB This document helps you use Microchip Technology’s language tools for dsPIC33F and PIC24H devices based on GNU technology. The language tools discussed are the MPLAB ASM30 Assembler, MPLAB LINK30 Linker, MPLAB LIB30 Archiver/Librarian and other 16-bit device utilities. ...

Page 8

... MPLAB SIM simulator, as well as general editing and debugging features. • Programmers – The latest information on Microchip programmers. These include the MPLAB PM3 device programmer and the PICSTART development programmers. DS51700A-page 4 DSCs User’s Guide ® Plus and PICkit 1 and 2 © 2008 Microchip Technology Inc. ® ...

Page 9

... Local sales offices are also available to help customers. A listing of sales offices and locations is included in the back of this document. Technical support is available through the web site at: http://support.microchip.com DOCUMENT REVISION HISTORY Revision A (February 2008) • Initial Release of this Document © 2008 Microchip Technology Inc. DS51700A-page 5 ...

Page 10

... MPLAB Starter Kit for dsPIC NOTES: DS51700A-page 6 DSCs User’s Guide © 2008 Microchip Technology Inc. ...

Page 11

... Chapter 1. Introduction Thank you for purchasing Microchip Technology's MPLAB Starter Kit for dsPIC Signal Controllers. This kit is intended to introduce and demonstrate the features of the dsPIC33F Digital Signal Controllers (DSCs), and, in particular, some of the speech and audio processing capabilities of dsPIC DSC devices. The starter kit demonstrates a low-cost yet effective software technique for processing acceptable voice-quality audio ...

Page 12

... Flash memory and allows recording and playback of recorded speech. FIGURE 1-1: USB DS51700A-page 8 DSCs User’s Guide MPLAB STARTER KIT FOR dsPIC CONTROLLERS SETUP Starter Kit dsPIC33F ® MPLAB IDE ® DIGITAL SIGNAL Headphone (not included) Microphone (not included) © 2008 Microchip Technology Inc. ...

Page 13

... Press switch S2 to playback and listen to the stored speech samples. The Green LED turns on during playback. 3. Pressing switch S1 again erases the serial Flash memory and prepares the system for another recording. © 2008 Microchip Technology Inc. MPLAB STARTER KIT FOR ® dsPIC DIGITAL SIGNAL CONTROLLERS USER’ ...

Page 14

... DS51700A-page 10 DSCs User’s Guide SPEECH RECORD AND PLAYBACK DEMO OVERVIEW STARTER KIT BOARD Data DCI AUDIO CODEC Control 2 I C™ Serial Flash Memory dsPIC33F G.711 μ-LAW ENCODE G.711 μ-LAW DECODE SPI 2 C™ © 2008 Microchip Technology Inc. ...

Page 15

... The G.711 μ-law algorithm is used for encoding and decoding speech samples. Figure 2-2 and Figure 2-3 are flow charts of the demo application. © 2008 Microchip Technology Inc. DS51700A-page 11 ...

Page 16

... START No Record = 1? Yes No Erase Flash Is Flash Erased? Red LED On Yes Yellow LED On Read Codec Data G.711 μ-Law Encode Store In Flash Output Audio Data No Is Flash Full? C* Yes A* No Play back Playback = 1? Intro Message Yes A* C* © 2008 Microchip Technology Inc. ...

Page 17

... FIGURE 2-3: © 2008 Microchip Technology Inc. APPLICATION FLOW CHART – PART TWO A Read Serial Flash Green LED On G.711 μ-Law Decode Output Audio Data to Codec Yes End of Message Yes Switch 1 Active? No Yes Switch 2 Active Rewind Playback Pointer Record = 1 Stop Playback ...

Page 18

... Reset, erase the dsPIC33F program Flash via MPLAB IDE after the running the SASK Intro Speech Prog code example. Refer to the readme.txt files in the project folder for more details. DS51700A-page 14 DSCs User’s Guide © 2008 Microchip Technology Inc. ...

Page 19

... Section 3.8 “Troubleshooting”. 3. When powered up, the application will repeatedly play back an introductory message. To install the software: Run CD-ROM enclosed with the starter kit and install software as directed. © 2008 Microchip Technology Inc. MPLAB STARTER KIT FOR ® dsPIC DIGITAL SIGNAL CONTROLLERS ® ...

Page 20

... Debug code must be programmed into the target device to use the in-circuit debugging capabilities of the starter kit. DS51700A-page 16 DSCs User’s Guide STARTER KIT AS DEBUG TOOL 4 3 © 2008 Microchip Technology Inc. ...

Page 21

... MPLAB IDE provides an editor and several debug features such as breakpoints and Watch windows to aid in application code debugging. This section includes: • Editing Application Code • Using Breakpoints and Mouseovers • Using Watch Windows © 2008 Microchip Technology Inc. Toolbar Buttons DS51700A-page 17 ...

Page 22

... See MPLAB IDE Help for more information on this dialog. DS51700A-page 18 DSCs User’s Guide EXAMPLE PROJECT Double click must be set up for breakpoints. See Edit>Properities, ASM/C/BAS File Type tab, checkbox for “Double-click Toggles Breakpoint”. Existing Code File © 2008 Microchip Technology Inc. ...

Page 23

... Watch window. Or click in the “Address” column and enter an absolute address. A Watch window populated with an SFRs and Symbols will look like Figure 3-4. For more on using Watch windows, see MPLAB IDE Help. FIGURE 3-4: © 2008 Microchip Technology Inc. EXAMPLE BREAKPOINT EXAMPLE WATCH DS51700A-page 19 ...

Page 24

... For information on device resources that are needed for in-circuit debugging, please refer to the MPLAB ICD 2 Help, found in MPLAB IDE under Help>Topics. The device reserved resource information found under “Resources Used By MPLAB ICD 2” is the same for the starter kit. DS51700A-page 20 DSCs User’s Guide © 2008 Microchip Technology Inc. ...

Page 25

... Currently, there is only one (Info) tab on this dialog, displaying the following information: • Firmware Version: The version of firmware on the starter kit board. • Debug Exec Version: The version of the debug executive that is loaded into the dsPIC33F device program memory to enable debug operation. © 2008 Microchip Technology Inc. DS51700A-page 21 ...

Page 26

... MPLAB Starter Kit for dsPIC NOTES: DS51700A-page 22 DSCs User’s Guide © 2008 Microchip Technology Inc. ...

Page 27

... AN0 of the ADC module on the device. If the input to the amplifier is a condenser microphone, a bias voltage provides a working supply voltage for the microphone. The line input does not require this bias voltage. © 2008 Microchip Technology Inc. MPLAB STARTER KIT FOR ® ...

Page 28

... The starter kit includes 4 Mb serial Flash memory that can be used for storing data. The memory interfaces with the SPI bus on dsPIC33F device and might typically be used by applications that require storage of speech samples for playback purposes. DS51700A-page 24 DSCs User’s Guide LOW-PASS FILTER DEMODULATED AUDIO SIGNAL C™) module on the device. © 2008 Microchip Technology Inc. ...

Page 29

... PGD1/EMUD1 signals. Target power is switched on/off via a low V transistor configured as a high-side switch. Target clocking is also provided by the PIC18F67J50 MCU. A Microchip 25LC010A serial EEPROM is used to store the starter kit’s serial number and debug control information. © 2008 Microchip Technology Inc. 3.3V LDO USB Mini-B Jack Regulator ...

Page 30

... Line/Microphone Input Select Jumper (J7) A9 Headphone Output Jack (J8) A10 Line/Microphone Input Phone Jack (J9) A11 User LEDs (D3,D4 and D5) A12 Microphone Gain Control (R56) A13 Line/Microphone Pre-Amplifier (U10:A) A14 Anti-Aliasing Low-Pass Filter (U10:B,C,D) A15 User Switches (S2 and S1 A10 A11 A12 Component © 2008 Microchip Technology Inc. ...

Page 31

... KB of program flash and 16 KB RAM. The application can either use the on-chip FRC or the external 12 MHz signal as clock source. 4.3.2.3 TEMPERATURE SENSOR (U7) The starter kit includes a temperature sensor (Ref A3) that interfaces to the ADC module on the dsPIC33F device. The temperature sensor is a Microchip TC1047. © 2008 Microchip Technology Inc. DS51700A-page 27 ...

Page 32

... The starter kit features three general purpose LEDs which are connected to the I/O ports on the dsPIC33F device. The user application can use these LEDs for indication purposes. DS51700A-page 28 DSCs User’s Guide 2 C bus (control interface) of the dsPIC33F device coupled to © 2008 Microchip Technology Inc. ...

Page 33

... Hz. 4.3.2.15 USER SWITCHES (S2 AND S1) The starter kit features two press switches which are connected to the I/O ports on the dsPIC33F device. The function of these switches is defined by the user application. © 2008 Microchip Technology Inc. INPUT PRE-AMPLIFIER GAIN ( ) R56 R50 ⎛ ...

Page 34

... MPLAB Starter Kit for dsPIC NOTES: DS51700A-page 30 DSCs User’s Guide © 2008 Microchip Technology Inc. ...

Page 35

... Figure A-9: Audio Output Schematic • Figure A-10: User LEDs, User Switches and Temp Sensor Schematics FIGURE A-1: DEBUG INPUT AND CONTROL SCHEMATIC – PART 1 PIC18F67J50 © 2008 Microchip Technology Inc. MPLAB STARTER KIT FOR ® dsPIC DIGITAL SIGNAL CONTROLLERS USER’ ...

Page 36

... PIC18F67J50 Bypass/Decoupling Capacitors Status LED - Debug FIGURE A-3: USB INTERFACE/TARGET POWER SWITCHING SCHEMATIC USB Interface (Bus Powered) DS51700A-page 32 DSCs User’s Guide 3.3V LDO Status LED - Linear Regulator System Power Serial EEPROM Host MCU Switchable 3.3V Regulated Supply © 2008 Microchip Technology Inc. ...

Page 37

... FIGURE A-4: SPEECH PROCESSING SCHEMATIC FIGURE A-5: FLASH MEMORY SCHEMATICS 4 Mbit High Speed SPI Serial Flash Memory 4 Mb (512k x 8) © 2008 Microchip Technology Inc. dsPIC33FJ256GP506 Flash Memory 3.3V Regulator DS51700A-page 33 ...

Page 38

... MPLAB Starter Kit for dsPIC FIGURE A-6: OUTPUT COMPARE MODULE PWM FILTERS SCHEMATIC FIGURE A-7: AUDIO CODEC SCHEMATIC FIGURE A-8: AUDIO INPUT SCHEMATIC MIcrophone/Line Input Pre-Amplifier 10 DS51700A-page 34 DSCs User’s Guide Anti-Aliasing Filter © 2008 Microchip Technology Inc. ...

Page 39

... FIGURE A-9: AUDIO OUTPUT SCHEMATIC FIGURE A-10: USER LEDS, USER SWITCHES AND TEMP SENSOR SCHEMATICS User LEDs © 2008 Microchip Technology Inc. Power Amplifier for Headphone User Switches Temperature Sensor DS51700A-page 35 ...

Page 40

... MPLAB Starter Kit for dsPIC NOTES: DS51700A-page 36 DSCs User’s Guide © 2008 Microchip Technology Inc. ...

Page 41

... Host Computer Requirements.................................... 8 I Install........................................................................ 15 Internet Address......................................................... 4 L Line Input ................................................................. 23 M Manufacturers’ Data Sheets ...................................... 7 Microchip Internet Web Site ....................................... 4 Microphone ................................................................ 7 MPLAB IDE ...........................................................7 © 2008 Microchip Technology Inc. MPLAB STARTER KIT FOR ® dsPIC DIGITAL SIGNAL CONTROLLERS Index O OCPWM Filters Schematic ...................................... Playback ...

Page 42

... Fax: 886-3-572-6459 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 © 2008 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 ...

Related keywords