Board Manual

Download as pdf or txt
Download as pdf or txt
You are on page 1of 40

dsPICDEMTM MCLV DEVELOPMENT BOARD USERS GUIDE

2008 Microchip Technology Inc.

DS70331A

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 Microchips 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. 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 Microchips 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 applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyers risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.

Trademarks The Microchip name and logo, the Microchip logo, Accuron, dsPIC, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART, rfPIC and SmartShunt are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. FilterLab, Linear Active Thermistor, MXDEV, MXLAB, SEEVAL, SmartSensor and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A. Analog-for-the-Digital Age, Application Maestro, CodeGuard, dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN, ECONOMONITOR, FanSense, In-Circuit Serial Programming, ICSP, ICEPIC, Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB, MPLINK, mTouch, PICkit, PICDEM, PICDEM.net, 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 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. 2008, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. Printed on recycled paper.

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 Companys 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, Microchips quality system for the design and manufacture of development systems is ISO 9001:2000 certified.

DS70331A-page ii

2008 Microchip Technology Inc.

dsPICDEMTM MCLV DEVELOPMENT BOARD USERS GUIDE Table of Contents


Preface ........................................................................................................................... 1 Chapter 1. Introduction
1.1 Overview of the dsPICDEM MCLV Development Board ................................ 7 1.2 Features Overview ......................................................................................... 7

Chapter 2. Hardware Overview


2.1 PIM Configuration ......................................................................................... 11 2.2 Board Connectors ........................................................................................ 16 2.3 Selecting a Power Supply for the dsPICDEM MCLV Development Board ... 20 2.4 User Interface Hardware .............................................................................. 20

Chapter 3. Running a BLDC Motor Using Hall Sensors


3.1 Hardware Requirements .............................................................................. 23 3.2 dsPICDEM MCLV Development Board Setup ............................................. 23

Appendix A. Schematics and Layouts ...................................................................... 25 Appendix B. Electrical Specifications ....................................................................... 33 Index ............................................................................................................................. 35 Worldwide Sales and Service .................................................................................... 36

2008 Microchip Technology Inc.

DS70331A-page iii

dsPICDEMTM MCLV Development Board Users Guide


NOTES:

DS70331A-page iv

2008 Microchip Technology Inc.

dsPICDEMTM MCLV DEVELOPMENT BOARD USERS GUIDE Preface


NOTICE TO CUSTOMERS
All documentation becomes dated, and this manual is no exception. Microchip tools and documentation are constantly evolving to meet customer needs, so some actual dialogs and/ or tool descriptions may differ from those in this document. Please refer to our web site (www.microchip.com) to obtain the latest documentation available. Documents are identified with a DS number. This number is located on the bottom of each page, in front of the page number. The numbering convention for the DS number is DSXXXXXA, where XXXXX is the document number and A is the revision level of the document. For the most up-to-date information on development tools, see the MPLAB IDE on-line help. Select the Help menu, and then Topics to open a list of available on-line help files.

INTRODUCTION
This chapter contains general information that will be useful to know before using the dsPICDEM MCLV Development Board. Items discussed in this chapter include: Document Layout Conventions Used in this Guide Warranty Registration Recommended Reading The Microchip Web Site Development Systems Customer Change Notification Service Customer Support Document Revision History

DOCUMENT LAYOUT
This users guide describes how to use the dsPICDEM MCLV Development Board. The document is organized as follows: Chapter 1. Introduction This chapter introduces the dsPICDEM MCLV Development Board and provides an overview of various features. Chapter 2. Hardware Overview This chapter describes the hardware components of the dsPICDEM MCLV Development Board. Chapter 3. Running a BLDC Motor Using Hall Sensors This chapter describes how to run a sensored BLDC motor using a dsPIC DSC device. Appendix A. Schematics and Layouts This appendix provides detailed circuit schematics of the dsPICDEM MCLV Development Board. Appendix B. Electrical Specifications This appendix lists the DC input and output ratings for the dsPICDEM MCLV Development Board.

2008 Microchip Technology Inc.

DS70331A-page 1

dsPICDEMTM MCLV Development Board Users Guide


CONVENTIONS USED IN THIS GUIDE
This manual uses the following documentation conventions: DOCUMENTATION CONVENTIONS
Description Arial font: Italic characters Initial caps Referenced books Emphasized text A window A dialog A menu selection Quotes Underlined, italic text with right angle bracket Bold characters NRnnnn A field name in a window or dialog A menu path A dialog button A tab MPLAB IDE Users Guide ...is the only compiler... the Output window the Settings dialog select Enable Programmer Save project before build File>Save Click OK Click the Power tab Represents Examples

A number in verilog format, 4b0010, 2hF1 where N is the total number of digits, R is the radix and n is a digit A key on the keyboard Sample source code Filenames File paths Keywords Command-line options Bit values Constants Press <Enter>, <F1> #define START autoexec.bat c:\mcc18\h _asm, _endasm, static -Opa+, -Opa0, 1 0xFF, A file.o, where file can be any valid filename mcc18 [options] file [options] errorlevel {0|1} var_name [, var_name...] void main (void) { ... }

Text in angle brackets < > Courier New font: Plain Courier New

Italic Courier New Square brackets [ ] Curly brackets and pipe character: { | } Ellipses...

A variable argument Optional arguments Choice of mutually exclusive arguments; an OR selection Replaces repeated text Represents code supplied by user

DS70331A-page 2

2008 Microchip Technology Inc.

Preface
WARRANTY REGISTRATION
Please complete the enclosed Warranty Registration Card and mail it promptly. Sending in the Warranty Registration Card entitles users to receive new product updates. Interim software releases are available at the Microchip web site.

RECOMMENDED READING
This users guide describes how to use the dsPICDEM MCLV Development Board. The device-specific data sheets contain current information on programming the specific microcontroller or digital signal controller devices. Other useful documents are listed below. The following Microchip documents are available and recommended as supplemental reference resources: MPLAB IDE Simulator, Editor Users Guide (DS51025) This users guide is a comprehensive guide that describes installation and features of Microchips MPLAB Integrated Development Environment (IDE), as well as the editor and simulator functions in the MPLAB IDE environment. Readme Files For the latest information on using other tools, read the tool-specific Readme files in the Readme subdirectory of the MPLAB IDE installation directory. The Readme files contain updated information and known issues that may not be included in this users guide. MPASM Assembler, MPLINK Object Linker, MPLIB Object Librarian Users Guide (DS33014) This users guide describes how to use the Microchip MPASM Assembler, the MPLINK Object Linker and the MPLIB Object Librarian. dsPIC33FJ12MC202 PIM Information Sheet (DS70314) This document provides device-specific information for the dsPIC33FJ12MC202 PIM device. The dsPIC33FJ12MC202 is a high-performance 16-bit digital signal controller within a small 28-pin 6x6 mm QFN package. dsPIC33FJ32MC204 PIM Information Sheet (DS70316) This document provides device-specific information for the dsPIC33FJ32MC204 PIM device. The dsPIC33FJ32MC204 is a high-performance 16-bit digital signal controller within a small 44-pin QFN package. dsPIC33FJ128MC804 PIM Information Sheet (DS70326) This document provides device-specific information for the dsPIC33FJ128MC804 PIM device. The dsPIC33FJ128MC804 is a high-performance 16-bit digital signal controller within a small 44-pin QFN package. dsPIC33FJ12MC201/202 Data Sheet (DS70265) This data sheet contains device-specific information for the dsPIC33FJ12MC201/202 Digital Signal Controller (DSC) Devices. The dsPIC33F devices contain extensive Digital Signal Processor (DSP) functionality with a high performance 16-bit microcontroller (MCU) architecture. dsPIC33FJ32MC202/204 and dsPIC33FJ16MC304 Data Sheet (DS70283) This data sheet provides device-specific information for the dsPIC33FJ32MC202/204 and dsPIC33FJ16MC304 motor control family of devices.

2008 Microchip Technology Inc.

DS70331A-page 3

dsPICDEMTM MCLV Development Board Users Guide


dsPIC33FJ32MC302/304, dsPIC33FJ64MCX02/X04 and dsPIC33FJ128MCX02/ X04 Data Sheet (DS70291) This data sheet contains device-specific information for the dsPIC33FJ32MC302/304, dsPIC33FJ64MCX02/ X04 and dsPIC33FJ128MCX02/X04 motor control family of devices. dsPIC33FJXXXMCX06/X08/X10 Data Sheet (DS70287) This data sheet contains device-specific information for the dsPIC33FJXXXMCX06/ X08/X10 motor control family of devices.

DS70331A-page 4

2008 Microchip Technology Inc.

Preface
THE MICROCHIP WEB SITE
Microchip provides online support via our web site at www.microchip.com. This web site is used as a means to make files and information easily available to customers. Accessible by using your favorite Internet browser, the web site contains the following information: Product Support Data sheets and errata, application notes and sample programs, design resources, users guides and hardware support documents, latest software releases and archived software General Technical Support Frequently Asked Questions (FAQs), technical support requests, online discussion groups, Microchip consultant program member listing Business of Microchip Product selector and ordering guides, latest Microchip press releases, listing of seminars and events, listings of Microchip sales offices, distributors and factory representatives

DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICE


Microchips customer notification service helps keep customers current on Microchip products. Subscribers will receive e-mail notification whenever there are changes, updates, revisions or errata related to a specified product family or development tool of interest. To register, access the Microchip web site at www.microchip.com, click on Customer Change Notification and follow the registration instructions. The Development Systems product group categories are: Compilers The latest information on Microchip C compilers and other language tools. These include the MPLAB C17, MPLAB C18 and MPLAB C30 C compilers; MPASM and MPLAB ASM30 assemblers; MPLINK and MPLAB LINK30 object linkers; and MPLIB and MPLAB LIB30 object librarians. Emulators The latest information on Microchip in-circuit emulators. This includes the MPLAB ICE 2000, MPLAB ICE 4000 and MPLAB REAL ICE. In-Circuit Debuggers The latest information on the Microchip in-circuit debugger, MPLAB ICD 2. MPLAB IDE The latest information on Microchip MPLAB IDE, the Windows Integrated Development Environment for development systems tools. This list is focused on the MPLAB IDE, MPLAB SIM and MPLAB SIM30 simulators, MPLAB IDE Project Manager and general editing and debugging features. Programmers The latest information on Microchip programmers. These include the MPLAB PM3 and PRO MATE II device programmers and the PICSTART Plus and PICkit 1 development programmers.

2008 Microchip Technology Inc.

DS70331A-page 5

dsPICDEMTM MCLV Development Board Users Guide


CUSTOMER SUPPORT
Users of Microchip products can receive assistance through several channels: Distributor or Representative Local Sales Office Field Application Engineer (FAE) Technical Support

Customers should contact their distributor, representative or Field Application Engineer (FAE) for support. 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 (July 2008)
Initial release of this document.

DS70331A-page 6

2008 Microchip Technology Inc.

dsPICDEMTM MCLV DEVELOPMENT BOARD USERS GUIDE Chapter 1. Introduction


The dsPICDEM MCLV Development Board is targeted to control a Brushless DC (BLDC) motor or Permanent Magnet Synchronous Motor (PMSM) in sensor or sensorless operation. This flexible and cost-effective board can be configured in different ways for use with Microchips specialized motor control digital signal controllers. The dsPICDEM MCLV Development Board supports the dsPIC33F motor control device family. It offers a mounting option to connect either a 28-pin SOIC device or a generic 100-pin Plug-In Module (PIM). The board also has a three-phase inverter bridge circuit. The circuit drives a BLDC or PMSM motor using different control techniques without requiring any additional hardware. Topics covered include: Overview of the dsPICDEM MCLV Development Board Features Overview

1.1

OVERVIEW OF THE dsPICDEM MCLV DEVELOPMENT BOARD


Figure 1-1 shows a simplified block diagram of the dsPICDEM MCLV Development Board. A dsPIC33F device uses the gate driver to drive the three-phase inverter that powers the motor windings. The board includes various circuitry to perform the following functions: Measure the feedback signals (e.g., voltage, current, Hall sensors and Fault signals) Communicate with a host computer or an external device via CAN, LIN, USB or RS-232 interface Drive a three-phase inverter It also provides the option to interface Hall sensors or a Quadrature Encoder for sensored commutation. The dsPICDEM MCLV Development Board supports motors with terminal voltage up to 48V and current up to 15A. Refer to Appendix B. Electrical Specifications for more information on electrical specifications.

1.2

FEATURES OVERVIEW
The key features of this board include the following: Devices Supported: - 28-pin to 100-pin dsPIC33FJXXXMC202 PIM (MA330014) with a dsPIC33F Motor control device (U9) socket - 44-pin to 100-pin dsPIC33FJXXXMCX04 PIM (MA330017 and MA330018) with a dsPIC33F Motor Control device (U9) socket - 100-pin to 100-pin dsPIC33FJXXXMCX10 PIM (MA330013) with a dsPIC33F Motor control device (U9) socket - The dsPIC33FJ12MC202 Motor Control device in SOIC package (U2) footprint

2008 Microchip Technology Inc.

DS70331A-page 7

dsPICDEMTM MCLV Development Board Users Guide


Motor Control Interfaces: - Three-phase inverter bridge with a power rating of 48V/15A (J7) - Hall sensors/Quadrature encoder interface for sensored motor control (J7) - Phase voltage feedback for sensorless BLDC operation - DC bus current sense resistor for single shunt vector control - Phase current sense resistor for dual shunt vector control - Overcurrent protection Input/Output Control Switches: - Two push buttons (S2 and S3) - Reset push button (S1) - 10 k potentiometer (POT1) - LED indicator for PWM outputs Communication Ports: - CAN interface port (J4) - LIN interface port (J1) - UART communication via USB (J8) - UART communication via RS-232 (J10) Power Supply Connectors: - Auxiliary Power Tab Fast-On connectors (BP1 and BP2) for the controller and power stage - 24V power input connector (J2) for the controller - Dedicated power input connector (J7) for the power stage Programming Connectors: - ICSP connector for programming a dsPIC DSC device (J12) - RJ11 connector for programming a dsPIC DSC device (J11) - ICSP connector for programming the PIC18LF2450 USB to UART Bridge (J9)

DS70331A-page 8

2008 Microchip Technology Inc.

Introduction
FIGURE 1-1: dsPICDEM MCLV DEVELOPMENT BOARD BLOCK DIAGRAM
J2 BP1 BP2 J3 J6

Regulator 3.3V

Regulator 5V

Regulator 15V

3.3V 10K POT1

VBUS POT PWM1H3 Driver

J7 VBUS + -

S2 S3 dsPIC33FJXXXMCXXX PIM J11/J12 ICD2 J1 LIN J4 CAN J8 USB JP5 J10 RS-232 VBUS V_M3 V_M2 V_M1 Potential Divider DC+ M3 M2 M1 Safe Current Level Amplifier JP4 FAULT_MC IMOTOR_SUM Three-Phase Inverter U5:C PWM1L1 U5:A 0.005 IMOTOR1 Amplifier U5:B 0.005 IMOTOR2 Amplifier R12 HA HB HC 0.005 R16 R32 M3 M2 M1 M3 M2 M1 5V M

JP1-JP3

HA HB HC V_M3 V_M2 V_M1

2008 Microchip Technology Inc.

DS70331A-page 9

dsPICDEMTM MCLV Development Board Users Guide


NOTES:

DS70331A-page 10

2008 Microchip Technology Inc.

dsPICDEMTM MCLV DEVELOPMENT BOARD USERS GUIDE Chapter 2. Hardware Overview


This chapter describes the hardware components of the dsPICDEM MCLV Development Board. Topics covered include: PIM Configuration Board Connectors User Interface Hardware A +24V power supply connected to the Power Connector terminal (J2) or Auxiliary Power Tab Fast-On Connector terminals (BP1-BP2) supplies power to the control circuits and DC bus of the board. It is recommended that you use a 24V power supply listed as an accessory (Part Number AC002013) on the Microchip web site (www.microchip.com). The various components on the board receive the power as follows: The Gate drivers receive +15V power from a 15V regulator. The CAN driver receives +5V power from a 5V regulator. The LIN driver receives VBAT power from the LIN connector J1. A dsPIC33F motor control device receives +3.3V power from a +3.3V regulator. The RS-232 UART interface receives +3.3V power from a +3.3V regulator. The PIC18LF2450 USB to UART Bridge receives +3.3V power from a +3.3V regulator. Note 1: 2: If the input voltage value is less than 16V, remove the 15V voltage regulator and short jumper J3. To use a higher DC voltage bus (24V-48V), complete the following steps: a) Connect the power supply to jumper J7, and keep jumper J6 open. b) Power the circuit components, MCU, and the gate drivers using a separate 16V-24V power supply connected to the power connector J2 or BP1-BP2.

2.1

PIM CONFIGURATION
This section summarizes the resistor configuration required to connect the PIM pins to dsPIC DSC pins. The following PIMs can be configured on the dsPICDEM MCLV Development Board: dsPIC33FJ256MC710 PIM (MA330013) dsPIC33FJ12MC202 PIM (MA330014) dsPIC33FJ32MC204 PIM (MA330017) dsPIC33FJ128MC804 PIM (MA330018) Note: When using PIMs, make sure that the 28-pin SOIC dsPIC DSC is removed from the dsPICDEM MCLV Development Board.

The tables that follow describe the PIM configuration details.

2008 Microchip Technology Inc.

DS70331A-page 11

dsPICDEMTM MCLV Development Board Users Guide


TABLE 2-1:
PIM Pin Number 3 13 18 19 20 21 22 23 24 25 26 27 32 35 41 42 43 47 48 49 50 51 52 63 64 68 69 70 72 76 77 78 80 83 84 87 88 93 94 98 99 100

dsPIC33FJ256MC710 PIM CONFIGURATION DETAILS


Labels on the dsPICDEM MCLV Development Board dsPIC33FJ256MC710 Pin Number 3 13 18 19 20 21 22 23 24 25 26 27 32 35 41 42 43 47 48 49 50 51 52 63 64 68 69 70 72 76 77 78 80 83 84 87 88 93 94 98 99 100 PWM3H/RE5 MCLR AN20/FLTA/INC1/RE8 AN21/FLTB/INT2/RE9 AN5/QEB/CN7/RB5 AN4/QEA/CN6/RB4 AN3/INDX/CN5/RB3 AN2/SS1/CN4/RB2 PGC3/EMUC3/AN1/CN3/RB1 PGD3/EMUD3/AN0/CN2/RB0 PGC1/EMUC1/AN6/OCFA/RB6 PGD1/EMUD1/AN7/RB7 AN8/RB8 AN11/R11 AN12/RB12 AN13/RB13 AN14/RB14 IC7/U1CTS/CN20/RD14 IC8/U1RTS/CN21/RD15 U2RX/CN17/RF4 U2TX/CN18/RF5 U1TX/RF3 U1RX/RF2 OSC1/CLKIN/RC12 OSC2/CLKO/RC15 IC1/RD8 IC2/RD9 IC3/RD10 OC1/RD0 OC2/RD1 OC3/RD2 OC4/RD3 IC6/CN19/RD13 OC7/CN15/RD6 OC8/UPDN/CN16/RD7 C1RX/RF0 C1TX/RF1 PWM1L/RE0 PWM1H/RE1 PWM2L/RE2 PWM2H/RE3 PWM3L/RE4 Pin Name PIM Resistor Configuration Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable

PWM1H3 MCLR FAULT_MC TX V_M3 V_M2 V_M1 IMOTOR_SUM IMOTOR2 IMOTOR1 PGC PGD POT VBUS MONITOR_1 MONITOR_2 MONITOR_3 HB HC RX TX USB_TX USB_RX OSI OSO LIN_CS LIN_FAULT RX USB_RX USB_TX CAN_TX CAN_RX HALLA BTN_1 BTN_2 CAN_RX CAN_TX PWM1L1 PWM1H1 PWM1L2 PWM1H2 PWM1L3

DS70331A-page 12

2008 Microchip Technology Inc.

Hardware Overview
TABLE 2-2:
PIM Pin Number 3 13 18 19 20 21 22 23 24 25 26 27 32 35 41 42 43 47 48 49 50 51 52 63 64 68 69 70 72 76 77 78 80 83 84 87 88 93 94 98 99 100 Note 1: 2:

dsPIC33FJ12MC202 PIM CONFIGURATION DETAILS


Label on the dsPICDEM MCLV Development Board dsPIC33FJ12MC202 Pin Number 18 26 14 15 27 9 8 28 1 2 3 4 6 7 11 12 13 11 12 23 22 21 20 19 Pin Name TDI/PWM1H3/RP10/CN16/RB10 MCLR TCK/PWM2H1/SCL1/RP8/CN22/RB8 TDO/PWM2L1/SDA1/RP9/CN21/RB9 Restricted Use (see Appendix A. Schematics and Layouts) Restricted Use (see Appendix A. Schematics and Layouts) Restricted Use (see Appendix A. Schematics and Layouts) Not connected Restricted Use (see Appendix A. Schematics and Layouts) PGD2/EMUD2/AN0/VREF+/CN2/RA0 PGC3/EMUC3/SOSCO/T1CK/CN0/RA4 PGD3/EMUD3/SOSCI/RP4/CN1/RB4 PGC2/EMUC2/AN1/VREF-/CN3/RA1 PGD1/EMUD1/AN2/RP0/CN4/RB0 PGC1/EMUC1/AN3/RP1/CN5/RB1 AN4/RP2/CN6/RB2 AN5/RP3/CN7/RB3 Not connected Not connected Not connected Not connected Not connected Not connected OSCI/CLKI/CN30/RA2 OSCO/CLKO/CN29/RA3 ASDA1/RP5/CN27/RB5 ASCL1/RP6/CN24/RB6 INT0/RP7/CN23/RB7 Not connected Not connected Not connected Not connected Not connected ASDA1/RP5/CN27/RB5 ASCL1/RP6/CN24/RB6 Not connected Not connected PWM1L1/RP15/CN11/RB15 PWM1H1/RP14/CN12/RB14 PWM1L2/RP13/CN13/RB13 PWM1H2/RP12/CN14/RB12 TMS/PWM1L3/RP11/CN15/RB11 PIM Resistor Configuration Solder R12 Not applicable Solder R11 Solder R13 and remove R14 Not applicable Not applicable Not applicable Not applicable Not applicable Solder R24 and remove R27 Not applicable Not applicable Solder R26 and remove R25 Solder R20 and remove R28 Solder R21 and remove R31 Solder R22 and remove R30 Solder R23 and remove R29 Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Solder R6 and remove R5, R33 Solder R8 and remove R7, R32 Solder R10 and remove R9 Not applicable Not applicable Not applicable Not applicable Not applicable Solder R33 and remove R5, R6 Solder R32 and remove R7, R8 Not applicable Not applicable Solder R19 Solder R18 Solder R17 Solder R16 Solder R15

PWM1H3 MCLR FAULT_MC TX V_M3 V_M2 V_M1 IMOTOR_SUM IMOTOR2 IMOTOR1 PGC PGD POT VBUS MONITOR_1 MONITOR_2 MONITOR_3 HB HC RX TX USB_TX USB_RX OSI OSO LIN_CS (1) LIN_FAULT (2) RX USB_RX USB_TX CAN_TX CAN_RX HALLA BTN_1 BTN_2 CAN_RX CAN_TX PWM1L1 PWM1H1 PWM1L2 PWM1H2 PWM1L3

If LIN_CS signal is used, BTN_1 signal can not be used. If LIN_FAULT signal is used, BTN_2 signal can not be used.

2008 Microchip Technology Inc.

DS70331A-page 13

dsPICDEMTM MCLV Development Board Users Guide


TABLE 2-3:
PIM Pin Number 3 13 18 19 20 21 22 23 24 25 26 27 32 35 41 42 43 47 48 49 50 51 52 63 64 68 69 70 72 76 77 78 80 83 84 87 88 93 94 98 99 100

dsPIC33FJ32MC204 PIM CONFIGURATION DETAILS


Label on the dsPICDEM MCLV Development Board dsPIC33FJ32MC204 Pin Number 8 18 44 1 20 19 42 41 27 21 22 23 24 30 31 4 5 43 37 38 2 3 32 33 15 14 11 10 9 Pin Name PIM Resistor Configuration

PWM1H3 MCLR FAULT_MC TX V_M3 V_M2 V_M1 IMOTOR_SUM IMOTOR2 IMOTOR1 PGC PGD POT VBUS MONITOR_1 MONITOR_2 MONITOR_3 HALLB HALLC RX TX USB_TX USB_RX OSI OSO LIN_CS LIN_FAULT RX USB_RX USB_TX CAN_TX CAN_RX HALLA BTN_1 BTN_2 CAN_RX CAN_TX PWM1L1 PWM1H1 PWM1L2 PWM1H2 PWM1L3

PGD2/EMUD2/PWM1H3/RP10/CN16/RB10 Solder R6 MCLR SCL1/RP8/CN22/RB8 SDA1/RP9/CN21/RB9 Restricted use (see Appendix A. Schematics and Layouts) Restricted use (see Appendix A. Schematics and Layouts) Restricted use (see Appendix A. Schematics and Layouts) Not connected AN1/VREF-/CN3/RA1 AN0/VREF+/CN2/RA0 PGC3/EMUC3/ASCL1/RP6/CN24/RB6 PGD3/EMUD3/ASDA1/RP5/CN27/RB5 AN8/RP18/CN10/RC2 PGD1/EMUD1/AN2/C2IN-/RP0/CN4/RB0 PGC1/EMUC1/AN3/C2IN+/RP1/CN5/RB1 AN4/RP2/CN6/RB2 AN5/RP3/CN7/RB3 Not connected Not connected Not connected Not connected Not connected Not connected OSCI/CLKI/CN30/RA2 OSCO/CLKO/CN29/RA3 RP24/CN20/RC8 RP25/CN19/RC9 INT0/RP7/CN23/RB7 RP20/CN25/RC4 RP21/CN26/RC5 PWM2H1/RP22/CN18/RC6 PWM2L1/RP23/CN17/RC7 Not connected TDO/RA8 SOSCI/RP4/CN1/RB4 Not connected Not connected PWM1L1/RP15/CN11/RB15 PWM1H1/RP14/CN12/RB14 PWM1L2/RP13/CN13/RB13 PWM1H2/RP12/CN14/RB12 PGC2/EMUC2/PWM1L3/RP11/CN15/RB11 Not applicable Solder R4 Solder R1 Not applicable Not applicable Not applicable Not applicable Solder R13 Solder R12 Not applicable Not applicable Solder R16 Solder R14 Solder R22 Solder R25 Solder R21 Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Solder R2 and remove R18 Solder R5 and remove R27 Solder R3 and remove R26 Solder R29 Solder R30 Solder R32 Solder R31 Not applicable Solder R19 Solder R20 Not applicable Not applicable Solder R11 Solder R10 Solder R9 Solder R7 Solder R8

DS70331A-page 14

2008 Microchip Technology Inc.

Hardware Overview
TABLE 2-4:
Pin Number 3 13 18 19 20 21 22 23 24 25 26 27 32 35 41 42 43 47 48 49 50 51 52 63 64 68 69 70 72 76 77 78 80 83 84 87 88 93 94 98 99 100

dsPIC33FJ128MC804 PIM CONFIGURATION DETAILS


dsPIC33FJ128MC804 Pin Number 8 18 44 1 20 19 42 41 27 21 22 23 24 30 31 4 5 43 37 38 2 3 32 33 15 14 11 10 0 Pin Name PGD2/EMUD2/PWM1H3/RP10/CN16/RB10 MCLR SCL1/RP8/CN22/RB8 SDA1/RP9/CN21/RB9 Restricted use (see Appendix A. Schematics and Layouts) Restricted use (see Appendix A. Schematics and Layouts) Restricted use (see Appendix A. Schematics and Layouts) Not Connected AN1/VREF-/CN3/RA1 AN0/VREF+/CN2/RA0 PGC3/EMUC3/ASCL1/RP6/CN24/RB6 PGD3/EMUD3/ASDA1/RP5/CN27/RB5 AN8/RP18/CN10/RC2 PGD1/EMUD1/AN2/C2IN-/RP0/CN4/RB0 PGC1/EMUC1/AN3/C2IN+/RP1/CN5/RB1 AN4/RP2/CN6/RB2 AN5/RP3/CN7/RB3 Not connected Not connected Not connected Not connected Not connected Not connected OSCI/CLKI/CN30/RA2 OSCO/CLKO/CN29/RA3 RP24/CN20/RC8 RP25/CN19/RC9 INT0/RP7/CN23/RB7 RP20/CN25/RC4 RP21/CN26/RC5 PWM2H1/RP22/CN18/RC6 PWM2L1/RP23/CN17/RC7 Not connected TDO/RA8 SOSCI/RP4/CN1/RB4 Not connected Not connected PWM1L1/RP15/CN11/RB15 PWM1H1/RP14/CN12/RB14 PWM1L2/RP13/CN13/RB13 PWM1H2/RP12/CN14/RB12 PGC2/EMUC2/PWM1L3/RP11/CN15/RB11 PIM Resistor Configuration Solder R6 Not applicable Solder R4 Solder R1 Not applicable Not applicable Not applicable Not applicable Solder R13 Solder R12 Not applicable Not applicable Solder R16 Solder R14 Solder R22 Solder R25 Solder R21 Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Not applicable Solder R2 and remove R18 Solder R5 and remove R27 Solder R3 and remove R26 Solder R29 Solder R30 Solder R32 Solder R31 Not applicable Solder R19 Solder R20 Not applicable Not applicable Solder R11 Solder R10 Solder R9 Solder R7 Solder R8

Label on the dsPICDEM MCLV Development Board PWM1H3 MCLR FAULT_MC TX V_M3 V_M2 V_M1 IMOTOR_SUM IMOTOR2 IMOTOR1 PGC PGD POT VBUS MONITOR_1 MONITOR_2 MONITOR_3 HALLB HALLC RX TX USB_TX USB_RX OSI OSO LIN_CS LIN_FAULT RX USB_RX USB_TX CAN_TX CAN_RX HALLA BTN_1 BTN_2 CAN_RX CAN_TX PWM1L1 PWM1H1 PWM1L2 PWM1H2 PWM1L3

2008 Microchip Technology Inc.

DS70331A-page 15

dsPICDEMTM MCLV Development Board Users Guide


2.2 BOARD CONNECTORS
Table 2-5 describes the hardware connection between MPLAB ICD 2 or MPLAB REAL ICE In-Circuit Emulator, the power supply, and the dsPICDEM MCLV Development Board connectors. TABLE 2-5:
Number 1 2 3 4 5

BOARD CONNECTORS
Designator BP1-BP2 J1 J2 J4 J7 LIN interface port Input power supply connector CAN interface port Motor power connector, Hall sensors/Quadrature encoder connector and DC bus power supply connector USB interface port ICSP programmer interface connector for programming the PIC18LF2450 USB to UART Bridge RS-232 interface port RJ11, 6-pin connector for programming a dsPIC DSC device ICSP connector for programming a dsPIC DSC device Description Auxiliary power supply connector

6 7 8 9 10

J8 J9 J10 J11 J12

DS70331A-page 16

2008 Microchip Technology Inc.

Hardware Overview
Figure 2-1 shows various connectors and jumpers available on the dsPICDEM MCLV Development Board. FIGURE 2-1: dsPICDEM MCLV DEVELOPMENT BOARD CONNECTORS AND JUMPERS

J1 J5

J3 BP1-BP2 J2

JP1 J4 JP11 JP2

JP3

JP5

J6

JP4

J7 J8 J9 J11 D10-D15 S2 J10 S1 J12 S3

2.2.1

Input Power Connector (J2, BP1-BP2)

The dsPICDEM MCLV Development Board receives the power for control circuits and the DC bus from a +24V power supply. It is connected to the board through J2 or BP1-BP2 points.

2.2.2

DC Bus Power Supply Connector (J6 and J7)

By default, jumper J6 is short, and the +24V input power supply connected to J2 or BP1-BP2 supplies the DC bus voltage to the board.

2.2.3

CAN Interface (J4)

The board has a MCP2551 High-Speed CAN Transceiver, which is connected to the dsPIC33F device through jumpers JP4 and JP5. The CAN transceiver converts the differential signal on the CAN bus to a digital signal for the ECAN module. It also converts the ECAN output digital signal to a differential signal for the CAN bus. In Sleep mode, the CAN transmitter is turned off, and the receiver operates at a lower current level. The control device monitors the CAN activity and switches the transceiver back to normal operation when needed. For more information, refer to the data sheet, MCP2551 High-Speed CAN Transceiver (DS21667).

2008 Microchip Technology Inc.

DS70331A-page 17

dsPICDEMTM MCLV Development Board Users Guide


2.2.4 LIN Interface (J1)
The board has a MCP2021 High-Speed LIN Transceiver, which is connected to the dsPIC33F device through jumpers JP4 and JP5. The LIN transceiver monitors the LIN bus, conditions the incoming signal, and passes it to the UART module on the control device. The LIN transceiver responds to a Transmit Enable from the control device by conditioning an output signal and placing it on the LIN bus. A power-down mode turns the transmitter and voltage regulator off, leaving only the receiver and wake-up circuits in operation. The LIN circuit includes a Master/Slave jumper to accommodate a Master node on the LIN bus. For more information, refer to the data sheet, MCP202X LIN Transceiver with Voltage Regulator (DS22018).

2.2.5

USB Interface (J8)

The board uses an on-board PIC18 interface as a bridge between the UART and USB. The PIC18 UART pins are connected to the dsPIC33F device through jumpers JP4 and JP5.

2.2.6

ICD 2 Connector (J11- J12)

The ICD 2 Connector is an RJ11 female connector (J11) that connects the MPLAB ICD 2 In-Circuit Debugger to the dsPIC33F device for programming and debugging purposes. The ICD 2 can be connected to the board using 6-pin ICSP connector (J12).

2.2.7

ICSP for PIC18 (J9)

The jumper J9 is a 6-pin connector that connects the PICkit 2 development programmer to the PIC18F device. The board uses the on-board PIC18 interface as a bridge between the UART and USB. The PIC18F can be programmed for USB communication.

2.2.8

RS-232 Connector (J10)

The connector J10 is an RS-232 interface port. The board uses the UART connector to pass the UART signals from the dsPIC33F device to the dedicated UART IC MAX3232CUE. The output of U14 is provided to the connector J10.

2.2.9

Motor Connector (J7)

The motor connector (J7) has 11 terminals. Table 2-6 shows the functionality of each terminal. TABLE 2-6:
Pin 1 2 3 4 5 6 7 8 9 10 11

MOTOR CONNECTOR DETAILS


Terminal Name + M1 M2 M3 G +5V GND HALLA HALLB HALLC Ground Motor winding phase 1 Motor winding phase 2 Motor winding phase 3 Ground Hall sensors/Quadrature encoder power supply Hall sensors ground Hall A/QEA feedback Hall B/QEB feedback Hall C/INDEX feedback Function External DC bus power supply

DS70331A-page 18

2008 Microchip Technology Inc.

Hardware Overview
Table 2-7 lists the test points that can be used to check various signals. TABLE 2-7: TEST POINTS
Description Hall A/QEA feedback Hall B/QEB feedback Hall C/INDEX feedback PWM output for leg 1 top switch PWM output for leg 1 bottom switch PWM output for leg 2 top switch PWM output for leg 2 bottom switch PWM output for leg 3 top switch PWM output for leg 3 bottom switch Fault pin Motor phase 1 voltage feedback Motor phase 2 voltage feedback Motor phase 3 voltage feedback 2.5V reference for current feedback POT signal Motor feedback signal 1 Motor feedback signal 2 Motor feedback signal 3 Phase 1 current Phase 2 current Bus current +3.3V GND +5V AVSS +15V HA HB HC PWM1H1 PWM1L1 PWM1H2 PWM1L2 PWM1H3 PWM1L3 Fault V1 V2 V3 Ref POT1 MONITOR_1 MONITOR_2 MONITOR_3 I1 I2 IBUS P1 P2 P3 P4 P5

Test Points

2008 Microchip Technology Inc.

DS70331A-page 19

dsPICDEMTM MCLV Development Board Users Guide


2.3 SELECTING A POWER SUPPLY FOR THE dsPICDEM MCLV DEVELOPMENT BOARD
The following connectors and power jumpers, when configured, offer multiple power supply configuration options for the dsPICDEM MCLV Development Board. Input Power Connector (J2 or BP1-BP2) Bypass 15V Regulator (J3) DC Bus Power Supply Jumper (J6) Motor Power Connector with pins, + and - (J7)

To locate these components, refer to Figure 1-1. Table 2-8 describes how to select the required power supply configuration option by setting jumper J3 and J6: TABLE 2-8:
J3 Remove the jumper Remove the jumper Install the jumper(1) Install the Note 1: jumper(1)

JUMPER SETTINGS FOR SELECTING A POWER SUPPLY


J6 Remove the jumper Install the jumper Remove the jumper Install the jumper J2 or BP1-BP2 16V to 24V 16V to 24V 10V to 16V 10V to 16V J7: Pins + and - 0V to 48V Supplied by J2 or BP1-BP2 0V to 48V Supplied by J2 or BP1-BP2

When J3 is installed, VR3 must be removed to avoid damage to the 15V regulator.

2.4

USER INTERFACE HARDWARE


2.4.1 Jumpers
The dsPICDEM MCLV Development Board has nine jumpers that configure the functionality of the board. Figure 2-2 shows the jumper settings and Table 2-9 lists these jumpers and their functions.

FIGURE 2-2:

JUMPER SETTINGS
MONITOR_1 MONITOR_2 MONITOR_3

JP1

JP2

JP3

Curr Volt

Hall

Curr Volt

Hall

Curr Volt

Hall

USB

LIN

CAN UART

USB

LIN

CAN UART

JP4

JP5

Rx Note 1: 2:

Tx

The JP1, JP2 and JP3 jumper pairs select the feedback signals required for the motor control algorithm. The JP4 and JP5 jumper pairs select the communication bus for the transmit and receive pin.

DS70331A-page 20

2008 Microchip Technology Inc.

Hardware Overview
TABLE 2-9:
No. 1

JUMPER DESCRIPTIONS
Position 1-2 3-4 5-6 Description Connects current sense phase 1 to MONITOR_1 Connects voltage sense phase 1 to MONITOR_1 Connects Hall sensor interface HA to MONITOR_1 Connects current sense phase 2 to MONITOR_2 Connects voltage sense phase 2 to MONITOR_2 Connects Hall sensor interface HB to MONITOR_2 Connects current sense DC Bus to MONITOR_3 Connects voltage sense phase 3 to MONITOR_3 Connects Hall sensor interface HC to MONITOR_3 Connects USB receive line to Rx Connects LIN receive line to Rx Connects CAN receive line to Rx Connects UART receive line to Rx Connects USB transmit line to Tx Connects LIN transmit line to Tx Connects CAN transmit line to Tx Connects UART transmit line to Tx JP1

Designator

JP2

1-2 3-4 5-6

JP3

1-2 3-4 5-6

JP4

1-2 3-4 5-6 7-8

JP5

1-2 3-4 5-6 7-8

TABLE 2-10:
J3 J5 J6 JP11

ADDITIONAL JUMPERS
Functions Bypass 15V regulator connector for gate driver IC LIN master select Connects BP1-BP2/J2 to motor connector block J7 CAN end enable

Designator

2008 Microchip Technology Inc.

DS70331A-page 21

dsPICDEMTM MCLV Development Board Users Guide


2.4.2

Push Buttons, LEDs, Bus Resistors and Potentiometers

The dsPICDEM MCLV Development Board consists of the following items: Two push buttons One potentiometer Six LEDs Two power-on status LEDs Two USB LEDs Device Reset push button INDICATORS AND HUMAN INTERFACES
Hardware Element Description Push buttons; these push buttons are connected to port pins. When momentarily pressed, the switch connects the respective port pin to Ground. 10 k potentiometer; it is connected to analog input pin. Power-on status LED, which indicates the status of the 5V regulator. Power-on status LED, which indicates the status of the +3.3V regulator. USB communication indicator, which indicates the device has been detected. LEDs, which indicate the PWM pin status. USB bus indicator, which indicates that the device is connected to the USB bus.

TABLE 2-11:
Label S2, S3

POT D3 D4 D8 D10-D15 D16

DS70331A-page 22

2008 Microchip Technology Inc.

dsPICDEMTM MCLV DEVELOPMENT BOARD USERS GUIDE Chapter 3. Running a BLDC Motor Using Hall Sensors
This chapter describes how to set up the dsPICDEM MCLV Development Board to run a BLDC motor using Hall sensors. Refer to the application note, AN957 Sensored BLDC Motor Control Using dsPIC30F2010 (DS00957), for more information about running the BLDC motor control using Hall sensors. Topics covered include: Hardware Requirements dsPICDEM MCLV Development Board Setup

3.1

HARDWARE REQUIREMENTS
To set up and run the board, the following items are recommended: dsPICDEM MCLV Development Board (DM330021) 24V power supply (AC002013) or equivalent 10 pole Hurst motor (AC300020) dsPIC33FJ32MC204 PIM (MA330017)

3.2

dsPICDEM MCLV DEVELOPMENT BOARD SETUP


The following procedure describes how to set up the dsPICDEM MCLV Development Board:

WARNING
Note 1: The dsPICDEM MCLV Development Board is intended to drive the three-phase BLDC or PMSM motor. Before connecting the motor, make sure that the power rating of the motor is equal to or less than the power rating of the board, as shown in Appendix B. Electrical Specifications. Also, make sure the jumper settings are correct for the firmware programmed into the target dsPIC DSC device mounted on the socket. Failure to comply with this warning could lead to malfunction of the board and the motor, and could result in physical harm. Before beginning the start-up procedure, complete a visual check of the board and the motor for connectivity and mechanical damage. If damage is found, DO NOT power-up the board. Otherwise, you may further damage the equipment. Contact Microchips local office or distributor immediately.

2:

1. Place the dsPICDEM MCLV Development Board on a sturdy insulated platform. 2. Make sure that the dsPIC33FJ32MC204 device or an appropriate PIM is mounted in the respective socket.

2008 Microchip Technology Inc.

DS70331A-page 23

dsPICDEMTM MCLV Development Board Users Guide


3. Connect the 24V power supply to J2 or BP1-BP2. If the supply voltage is not equal to 24V, refer to Table 2-8 to configure the power supply for the board. 4. Set JP1, JP2 and JP3 in the 5-6 position to select Hall sensors feedback. 5. Connect MPLAB ICD 2 or MPLAB REAL ICE In-Circuit Emulator to the computer, and the board to J11 or J12. 6. Connect the three-phase, 10 pole, 24V Hurst motor (AC300020) to J7. Connect motor phases and Hall sensors as described in Table 3-1. TABLE 3-1: PHASES AND HALL SENSORS CONNECTION
J7 Connection M1 M2 M3 G +5V Gnd HA HB HC Component Motor phase 1 Motor phase 2 Motor phase 3 Body Ground Hurst Motor Connection Power connector on the Hurst motor Pin 3 Pin 2 Pin 1 Pin 4 Hall interface connector on the Hurst motor

Color Coding 4-pin power (white connector) wires Red wire Black wire White wire Green wire 8-pin Hall sensor (black connector) wires Red wire Black wire White wire Brown wire Green wire

Hall sensor power Pin 1 Hall sensor return Pin 2 Hall A output Hall B output Hall C output Pin 4 Pin 3 Pin 5

7. Download the code for the dsPIC33FJ32MC204 from the Microchip web site (www.microchip.com). It is available with the application note AN957. 8. Unzip the file and open the project using MPLAB IDE. Refer to the MPLAB ICD 2 In-Circuit Debugger Users Guide (DS51331) for more information about how to generate a project and run a program using the MPLAB ICD 2 In-Circuit Debugger. 9. Build the project and download the program into the processor. 10. Press the Run icon when in Debug mode. 11. Press S2 to run the motor. 12. Vary the motors speed with POT1. 13. Press S2 again to stop the motor. Note: For more information on running BLDC motors using dsPIC DSC devices, refer to the following application notes, which are available from the Microchip web site: AN957, Sensored BLDC Motor Control Using dsPIC30F2010 (DS00957) AN1160, Sensorless BLDC Control with Back-EMF Filtering Using a Majority Function (DS01160) AN1078, Sensorless Field Oriented Control of PMSM Motors using dsPIC30F or dsPIC33F Digital Signal Controllers (DS01078) AN1017, Sinusoidal Control of PMSM Motors with dsPIC30F DSC (DS01017) The source code referred in these application notes is also available from the Microchip web site (www.microchip.com).

DS70331A-page 24

2008 Microchip Technology Inc.

dsPICDEMTM MCLV DEVELOPMENT BOARD USERS GUIDE Appendix A. Schematics and Layouts
FIGURE A-1: dsPICDEM MCLV DEVELOPMENT BOARD SCHEMATIC (SHEET 1 OF 7)

2008 Microchip Technology Inc.

DS70331A-page 25

dsPICDEMTM MCLV Development Board Users Guide


FIGURE A-2: dsPICDEM MCLV DEVELOPMENT BOARD SCHEMATIC (SHEET 2 OF 7)

DS70331A-page 26

2008 Microchip Technology Inc.

Schematics and Layouts


FIGURE A-3: dsPICDEM MCLV DEVELOPMENT BOARD SCHEMATIC (SHEET 3 OF 7)

2008 Microchip Technology Inc.

DS70331A-page 27

dsPICDEMTM MCLV Development Board Users Guide


FIGURE A-4: dsPICDEM MCLV DEVELOPMENT BOARD SCHEMATIC (SHEET 4 OF 7)

DS70331A-page 28

2008 Microchip Technology Inc.

Schematics and Layouts


FIGURE A-5: dsPICDEM MCLV DEVELOPMENT BOARD SCHEMATIC (SHEET 5 OF 7)

2008 Microchip Technology Inc.

DS70331A-page 29

dsPICDEMTM MCLV Development Board Users Guide


FIGURE A-6: dsPICDEM MCLV DEVELOPMENT BOARD SCHEMATIC (SHEET 6 OF 7)

13

12

14

DS70331A-page 30

2008 Microchip Technology Inc.

10

Schematics and Layouts


FIGURE A-7: dsPICDEM MCLV DEVELOPMENT BOARD SCHEMATIC (SHEET 7 OF 7)

VB 8

HO 7 VS 6

VCC 5

6 VS

2 LIN 3 COM

1 HIN

4 LO

1 HIN 2 LIN 3 COM

4 LO

VCC

HO

VB

VB 8 HO 7 VS 6 1 HIN 2 LIN 3 COM

2008 Microchip Technology Inc.

4 LO

VCC 5

DS70331A-page 31

dsPICDEMTM MCLV Development Board Users Guide


FIGURE A-8: dsPICDEM MCLV DEVELOPMENT BOARD LAYOUT

DS70331A-page 32

2008 Microchip Technology Inc.

TM

dsPICDEMTM MCLV DEVELOPMENT BOARD USERS GUIDE Appendix B. Electrical Specifications


TABLE B-1: DC INPUT RATING
Condition J6 is open J3 is open and VR3 is installed J3 is installed and VR3 is removed Min. 0 16 10 Max. 48 24 16 Unit VDC VDC VDC

Parameter Power supply connected to J7 Power supply connected to J2 or BP1-BP2 Power supply connected to J2 or BP1-BP2

TABLE B-2:
Parameter Voltage Current Power Rating Note 1: 2:

DC OUTPUT RATING
Min. 0 0 0 Typical 24 10 240(1) Max. 48 15 720(2) Unit VDC A Watts

If the output power exceeds 240W, the power MOSFETs (Q1-Q6) may need additional heat sink. By default, the board uses D2-PAK Power MOSFETs. It also supports the TO-220 packages. If the TO-220 Power MOSFETs are used, additional heat sink can be mounted on the MOSFETs, if required.

2008 Microchip Technology Inc.

DS70331A-page 33

dsPICDEMTM MCLV Development Board Users Guide


NOTES:

DS70331A-page 34

2008 Microchip Technology Inc.

dsPICDEMTM MCLV DEVELOPMENT BOARD USERS GUIDE Index


B
Block .......................................................................... 9 Board Connectors CAN (J4) ........................................................... 17 ICD2.................................................................. 18 LIN (J1) ............................................................. 18 USB (J8) ........................................................... 18 Board Connectors and Jumpers .............................. 17 Board Schematics and Layout 25, 26, 27, 28, 29, 30, 31

I
Internet Address......................................................... 5

J
Jumper Description .................................................. 21 Jumper Settings ....................................................... 20 Jumpers ................................................................... 20

M
Microchip Internet Web Site ....................................... 5 Motor Connector Details .................................... 18, 19

C
Connectors..........................................................16, 20 Customer Notification Service.................................... 5 Customer Support ...................................................... 6

O
Overview of the dsPICDEM MCLV Development Board ................................................................................... 7

D
Documentation Conventions ........................................................ 2 Layout ................................................................. 1 dsPICDEM MCLV Development Board Block Diagram ................................................................................... 9 dsPICDEM MCLV Development Board Setup ......... 23

R
Recommended Reading ............................................ 3 Revision History ......................................................... 6

S
Switches, LEDs and Potentiometers ........................ 22

F
Features Overview ..................................................... 7

W
Warranty Registration ................................................ 3 WWW Address........................................................... 5

2008 Microchip Technology Inc.

DS70331A-page 35

WORLDWIDE SALES AND SERVICE


AMERICAS
Corporate Office 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: http://support.microchip.com Web Address: www.microchip.com Atlanta Duluth, GA Tel: 678-957-9614 Fax: 678-957-1455 Boston Westborough, MA Tel: 774-760-0087 Fax: 774-760-0088 Chicago Itasca, IL Tel: 630-285-0071 Fax: 630-285-0075 Dallas Addison, TX Tel: 972-818-7423 Fax: 972-818-2924 Detroit Farmington Hills, MI Tel: 248-538-2250 Fax: 248-538-2260 Kokomo Kokomo, IN Tel: 765-864-8360 Fax: 765-864-8387 Los Angeles Mission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608 Santa Clara Santa Clara, CA Tel: 408-961-6444 Fax: 408-961-6445 Toronto Mississauga, Ontario, Canada Tel: 905-673-0699 Fax: 905-673-6509

ASIA/PACIFIC
Asia Pacific Office Suites 3707-14, 37th Floor Tower 6, The Gateway Harbour City, Kowloon Hong Kong Tel: 852-2401-1200 Fax: 852-2401-3431 Australia - Sydney Tel: 61-2-9868-6733 Fax: 61-2-9868-6755 China - Beijing Tel: 86-10-8528-2100 Fax: 86-10-8528-2104 China - Chengdu Tel: 86-28-8665-5511 Fax: 86-28-8665-7889 China - Hong Kong SAR Tel: 852-2401-1200 Fax: 852-2401-3431 China - Nanjing Tel: 86-25-8473-2460 Fax: 86-25-8473-2470 China - Qingdao Tel: 86-532-8502-7355 Fax: 86-532-8502-7205 China - Shanghai Tel: 86-21-5407-5533 Fax: 86-21-5407-5066 China - Shenyang Tel: 86-24-2334-2829 Fax: 86-24-2334-2393 China - Shenzhen Tel: 86-755-8203-2660 Fax: 86-755-8203-1760 China - Wuhan Tel: 86-27-5980-5300 Fax: 86-27-5980-5118 China - Xiamen Tel: 86-592-2388138 Fax: 86-592-2388130 China - Xian Tel: 86-29-8833-7252 Fax: 86-29-8833-7256 China - Zhuhai Tel: 86-756-3210040 Fax: 86-756-3210049

ASIA/PACIFIC
India - Bangalore Tel: 91-80-4182-8400 Fax: 91-80-4182-8422 India - New Delhi Tel: 91-11-4160-8631 Fax: 91-11-4160-8632 India - Pune Tel: 91-20-2566-1512 Fax: 91-20-2566-1513 Japan - Yokohama Tel: 81-45-471- 6166 Fax: 81-45-471-6122 Korea - Daegu Tel: 82-53-744-4301 Fax: 82-53-744-4302 Korea - Seoul Tel: 82-2-554-7200 Fax: 82-2-558-5932 or 82-2-558-5934 Malaysia - Kuala Lumpur Tel: 60-3-6201-9857 Fax: 60-3-6201-9859 Malaysia - Penang Tel: 60-4-227-8870 Fax: 60-4-227-4068 Philippines - Manila Tel: 63-2-634-9065 Fax: 63-2-634-9069 Singapore Tel: 65-6334-8870 Fax: 65-6334-8850 Taiwan - Hsin Chu Tel: 886-3-572-9526 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

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 Fax: 33-1-69-30-90-79 Germany - Munich Tel: 49-89-627-144-0 Fax: 49-89-627-144-44 Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781 Netherlands - Drunen Tel: 31-416-690399 Fax: 31-416-690340 Spain - Madrid Tel: 34-91-708-08-90 Fax: 34-91-708-08-91 UK - Wokingham Tel: 44-118-921-5869 Fax: 44-118-921-5820

01/02/08

DS70331A-page 36

2008 Microchip Technology Inc.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy