dsPIC® DSC Signal Board User’s Guide 2014 Microchip Technology Inc. DS50002263B 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. 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 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 buyer’s 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, dsPIC, FlashFlex, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART, PIC32 logo, rfPIC, SST, SST Logo, SuperFlash and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor, MTP, SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A. Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries. Analog-for-the-Digital Age, Application Maestro, BodyCom, chipKIT, chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN, ECONOMONITOR, FanSense, HI-TIDE, In-Circuit Serial Programming, ICSP, Mindi, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, mTouch, Omniscient Code Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit, PICtail, REAL ICE, rfLAB, Select Mode, SQI, Serial Quad I/O, Total Endurance, TSHARC, UniWinDriver, WiperLock, ZENA and Z-Scale 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. GestIC and ULPP are registered trademarks of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries. All other trademarks mentioned herein are property of their respective companies. © 2014, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. Printed on recycled paper. ISBN: 978-1-63276-235-1 QUALITY MANAGEMENT SYSTEM CERTIFIED BY DNV == ISO/TS 16949 == DS50002263B-page 2 Microchip received ISO/TS-16949:2009 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. 2014 Microchip Technology Inc. Object of Declaration: dsPIC® DSC Signal Board User’s Guide 2014 Microchip Technology Inc. DS50002263B-page 3 dsPIC® DSC Signal Board NOTES: DS50002263B-page 4 2014 Microchip Technology Inc. dsPIC® DSC SIGNAL BOARD USER’S GUIDE Table of Contents Preface ........................................................................................................................... 7 Chapter 1. Introduction 1.1 Overview ...................................................................................................... 11 1.2 dsPIC DSC Signal Board Features .............................................................. 11 1.3 Functions ...................................................................................................... 12 1.4 Block Diagram .............................................................................................. 13 Chapter 2. Board Interface Description 2.1 Introduction ................................................................................................... 15 2.2 Highlights ...................................................................................................... 15 2.3 Board Connectors and Headers ................................................................... 15 2.4 User Interface Hardware .............................................................................. 33 2.5 Board Test Points ......................................................................................... 36 Chapter 3. Hardware Description 3.1 Introduction ................................................................................................... 39 3.2 Highlights ...................................................................................................... 39 3.3 Power Supply Circuit .................................................................................... 41 3.4 Voltage Reference Circuit ............................................................................ 43 3.5 Isolated USB Interface ................................................................................. 44 3.6 PIM Header Signals ..................................................................................... 45 3.7 Supply Voltage and Ground Connection ...................................................... 48 Appendix A. Schematics and Layout A.1 Introduction .................................................................................................. 49 A.2 Board Schematics and Layout ..................................................................... 49 Appendix B. Electrical Specifications B.1 Introduction .................................................................................................. 57 Appendix C. Design Calculations C.1 Introduction .................................................................................................. 59 C.2 Design of Power Supply Circuit ................................................................... 59 Worldwide Sales and Service .................................................................................... 62 2014 Microchip Technology Inc. DS50002263B-page 5 dsPIC® DSC Signal Board NOTES: DS50002263B-page 6 2014 Microchip Technology Inc. dsPIC® DSC SIGNAL BOARD USER’S 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 “DSXXXXXXXXA”, where “XXXXXXXX” 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 online help. Select the Help menu, and then Topics to open a list of available online help files. INTRODUCTION This chapter contains general information that will be useful to know before using the dsPIC® DSC Signal Board. Items discussed in this chapter include: • • • • • • • Document Layout Conventions Used in this Guide Recommended Reading The Microchip Web Site Development Systems Customer Change Notification Service Customer Support Document Revision History DOCUMENT LAYOUT This document describes how to use the dsPIC DSC Signal Board as a development tool to emulate and debug firmware on a target board. This user’s guide is composed of the following chapters: • Chapter 1. “Introduction” provides the features and functions of the dsPIC DSC Signal Board. • Chapter 2. “Board Interface Description” describes the dsPIC DSC Signal Board input and output interfaces. • Chapter 3. “Hardware Description” provides the hardware descriptions of the dsPIC DSC Signal Board. • Appendix A. “Schematics and Layout” provides board layouts and detailed schematics of the dsPIC DSC Signal Board. • Appendix B. “Electrical Specifications” provides the electrical specifications of the dsPIC DSC Signal Board. • Appendix C. “Design Calculations” provides the design calculations of the dsPIC DSC Signal Board. 2014 Microchip Technology Inc. DS50002263B-page 7 dsPIC® DSC Signal Board CONVENTIONS USED IN THIS GUIDE This manual uses the following documentation conventions: DOCUMENTATION CONVENTIONS Description Italic characters Initial caps Represents Examples Referenced books MPLAB® Emphasized text ...is the only compiler... IDE User’s Guide A window the Output window A dialog the Settings dialog A menu selection select Enable Programmer Quotes A field name in a window or dialog “Save project before build” Underlined, italic text with right angle bracket A menu path File>Save Bold characters A dialog button Click OK A tab Click the Power tab Text in angle brackets < > A key on the keyboard Press <Enter>, <F1> Plain Courier New Sample source code #define START Filenames autoexec.bat File paths c:\mcc18\h Keywords _asm, _endasm, static Command-line options -Opa+, -Opa- Bit values 0, 1 Constants 0xFF, ‘A’ Italic Courier New A variable argument file.o, where file can be any valid filename Square brackets [ ] Optional arguments mcc18 [options] file [options] Curly brackets and pipe character: { | } Choice of mutually exclusive arguments; an OR selection errorlevel {0|1} Ellipses... Replaces repeated text var_name [, var_name...] Represents code supplied by user void main (void) { ... } Notes A Note presents information that we want to re-emphasize, either to help you avoid a common pitfall or to make you aware of operating differences between some device family members. A Note can be in a box, or when used in a table or figure, it is located at the bottom of the table or figure. Note: This is a standard note box. CAUTION This is a caution note. Note 1: This is a note used in a table. 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. DS50002263B-page 8 2014 Microchip Technology Inc. Preface RECOMMENDED READING This user’s guide describes how to use the starter kit. The following Microchip documents are available and recommended as supplemental reference resources. MPLAB® X IDE User’s Guide (DS50002027) This user’s guide is a comprehensive guide that describes installation and features of Microchip’s MPLAB X Integrated Development Environment (IDE), as well as the editor and simulator functions in the MPLAB X 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 X IDE installation directory. The Readme files contain updated information and known issues that may not be included in this user’s guide. MPLAB® XC16 Assembler, Linker and Utilities User’s Guide (DS52106) This user’s guide describes how to use GNU language tools to write code for 16-bit applications. MPLAB XC16 C Compiler User’s Guide (DS50002071) This user’s guide describes how to use the 16-bit MPLAB XC16 C Compiler. Please visit www.microchip.com/compilers for more information. dsPIC33EV256GM106 5V Motor Control Plug-In Module (PIM) Information Sheet (DS50002225) This information sheet provides information specific to the dsPIC33EV256GM106 5V Motor Control Plug-In Module (PIM). dsPIC33EP512GM710 Plug-In Module (PIM) Information Sheet for Single-Dual Motor Control (DS50002216) This information sheet provides information specific to the dsPIC33EP512GM710 Plug-In Module (PIM) for Single-Dual Motor Control. Motor Control 10-24V Driver Board (Dual/Single) User’s Guide (DS50002261) This user’s guide describes how to use Microchip’s Motor Control 10-24V Driver Board (Dual/Single). THE MICROCHIP WEB SITE Microchip provides online support via our web site at http://www.microchip.com. This web site makes files and information easily available to customers. Accessible by most Internet browsers, the web site contains the following information: • Product Support – Data sheets and errata, application notes and sample programs, design resources, user’s 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 listings • Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listings of seminars and events; and listings of Microchip sales offices, distributors and factory representatives 2014 Microchip Technology Inc. DS50002263B-page 9 dsPIC® DSC Signal Board DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICE Microchip’s 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 • Emulators – The latest information on the Microchip in-circuit emulator, MPLAB REAL ICE™ • In-Circuit Debuggers – The latest information on the Microchip in-circuit debugger, MPLAB ICD 3 • MPLAB X IDE – The latest information on Microchip MPLAB X IDE, the Windows® Integrated Development Environment for development systems tools • Programmers – The latest information on Microchip programmers including the PICkit™ 3 development programmer 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 (April 2014) This is the initial release of this document. Revision B (May 2014) • Note added to Figure C-1. • Note reference added to Section C.2.1 “First Stage of Power Supply Circuit Design” in Appendix C. “Design Calculations”. • Changes in values made to Table C-2. DS50002263B-page 10 2014 Microchip Technology Inc. dsPIC® DSC SIGNAL BOARD USER’S GUIDE Chapter 1. Introduction 1.1 OVERVIEW This chapter describes the features and functions of the dsPIC® DSC Signal Board. The dsPIC DSC Signal Board is a general purpose development board which provides the dsPIC DSC signal connections to application boards, along with user interfaces. The board supports both +3.3V and +5V operated devices for various applications. The board has some frequently used user interface features, along with two major connectors: a 120-pin connector and a 60-pin connector to enable connection to plug-in boards. The 120-pin connector is connected to all PIM header pins, power supply signals and various grounds. The 60-pin connector allows expansion for communication, enhanced interfacing and light power applications. 1.2 dsPIC DSC SIGNAL BOARD FEATURES The dsPIC DSC Signal Board is shown in Figure 1-1. The board includes these key features: • Interfaces: - 120-pin power board interface connector for power application board (J13) - 60-pin expansion connector for add-on boards (J7) - 30-pin connector for signal monitoring or expansion (J4) - 30-pin connector for signal monitoring or expansion (J5) - 100/105-pin PIM header (U2A, U2B, U2C, U2D, U2E) support microcontroller and dsPIC DSC’s Plug-in Module (PIM) with internal or external op amp configuration • User Interfaces: - Reset push button (SW0) - Four push buttons (SW1-SW4) - Two 10 k potentiometers (POT1 and POT2) - Four LED indicators for debugging (LD1-LD4) - Two power-on status LEDs (LD5, LD6) - Two LED indicators for USB communications (LD7, LD8) • Communication Ports: - UART communication through USB (isolated) (J3) - SPI interface (J8) - PICkit™ serial analyzer (SPI protocol) interface (J10) - PICkit serial analyzer interface (I2C™ protocol) (J12) • Power Supply Connectors: - 24V power input connector (J17) • Programming Connectors: - ICSP™ connector for programming the dsPIC DSC or microcontroller (J1) - RJ11 connector for programming the dsPIC DSC or microcontroller (J2) 2014 Microchip Technology Inc. DS50002263B-page 11 dsPIC® DSC Signal Board • Test Points: - 20 test points (TP1-TP20) provided on the board for debugging and measurement • Power: - DC+, EXT DC+, DC24V, +5V, DVDD, AVDD • Ground: - Digital Ground (DGND), Analog Ground (AGND), Power Ground (PGND) FIGURE 1-1: dsPIC® DSC SIGNAL BOARD ® 1.3 FUNCTIONS The dsPIC DSC Signal Board has the following functions: • • • • Supports application power boards connected to the J13 and J7 connectors Experiments with functionality of devices on the PIM header Provides on-board user interface-like switches, LEDs and potentiometers Communicates with a host computer or external device through isolated USB, I2C and SPI interfaces • Provides auxiliary power supply (DVDD = +3.3V or +5V) to various devices used on the dsPIC DSC Signal Board, as well as plug-in boards • Provides a prototyping area for user circuit development or implementation DS50002263B-page 12 2014 Microchip Technology Inc. Introduction 1.4 BLOCK DIAGRAM A simplified block diagram of the dsPIC DSC Signal Board is shown in Figure 1-2. FIGURE 1-2: Input Jack (J17) DC+ dsPIC® DSC SIGNAL BOARDBLOCK DIAGRAM Power Supply 1 (Fixed +5V) +5V Power Supply 2 DVDD DVDD = +3.3V/+5V (selectable) SPI Header (J8) ICSP Interface (J1, J2) DVDD +5V DC+ SW0 Reset Isolated USB/UART Interface (J3) U2D 60-Pin SW1 SW2 SW3 U SW4 2 A PIM Header U2 (105/100 Pins) U U 2 2 C E PICkit™ Serial Analyzer I2C™/SPI Interface (J10/J12) C O N N Two 10 k POTs E U2B 4 LEDs C T O Voltage Reference Low-Pass Filters R (J7) DC+ +5V DVDD 120-Pin Connector (J13) 2014 Microchip Technology Inc. DS50002263B-page 13 dsPIC® DSC Signal Board NOTES: DS50002263B-page 14 2014 Microchip Technology Inc. dsPIC® DSC SIGNAL BOARD USER’S GUIDE Chapter 2. Board Interface Description 2.1 INTRODUCTION This chapter provides a more detailed description of the input and output interfaces of the dsPIC® DSC Signal Board. 2.2 HIGHLIGHTS This chapter covers the following topics: • Board Connectors and Headers • User Interface Hardware • Board Test Points 2.3 BOARD CONNECTORS AND HEADERS The dsPIC DSC Signal Board contains various connectors and headers. The on-board hardware connectors are provided in Table 2-1. Figure 2-1 shows different on-board connectors. TABLE 2-1: BOARD CONNECTORS Designator Number of Pins J1 6 ICSP™ connector for programming a dsPIC® DSC or microcontroller J2 6 RJ11, 6-pin connector for programming a dsPIC DSC or microcontroller Description J3 5 Isolated USB interface port J4 30 Odd number pin connection from connector, J7(1) J5 30 Even number pin connection from connector, J7(1) J6 4 Isolated UART interface J7 60 Connector for expansion board interface(1) J8 6 Header for SPI interface J9 2 UART TX/RX inputs J10 6 Header for PICkit™ serial analyzer (SPI interface) J12 6 Header for PICkit serial analyzer (I2C™ interface) J13 120 J17 Note 1: 2014 Microchip Technology Inc. 2 Power board interface connector for application boards Input power supply connector (24V) See Table 2-12 and Table 2-14 for connection details. DS50002263B-page 15 dsPIC® DSC Signal Board FIGURE 2-1: dsPIC® DSC SIGNAL BOARD CONNECTORS J1 J3 J2 J17 J12 J6 J9 J10 J8 J4 J7 J5 ® J13 The on-board headers and connectors are described in the following sections: • • • • • • • • • • • DS50002263B-page 16 PIM Header PICkit Programming Header (J1) MPLAB ICD 3 or REAL ICE™ In-Circuit Emulator Connector (J2) Isolated USB Interface (J3) Alternate USB/UART Interface (J6) SPI Interface Connector (J8) Additional UART TX/RX Inputs (J9) PICkit Serial Analyzer SPI Interface Input Power Connector (J17) Power Board Interface Connector (J13) Expansion Board Connector (J4, J5 and J7) 2014 Microchip Technology Inc. Board Interface Description 2.3.1 PIM Header The dsPIC DSC Signal Board has been designed to accommodate detachable Plug-in Modules (PIMs). The board supports 105-pin PIMs and it is also backward compatible with some of the 100-pin PIMs. The PIM pinout and function on the dsPIC DSC Signal Board, and the respective connectors are provided in Table 2-2. TABLE 2-2: dsPIC® DSC SIGNAL BOARD PIM PINOUT FUNCTIONALITY Connectors PIM Pin # Signal Name Functional Description Filter No J13 J7 J4 J5 B8 01 01 — 1 PIM:01_PWR:B8_EXP:01 Debug LED 1 2 DVDD Digital Voltage (+3.3V/+5V) 3 PIM:03_PWR:A8_EXP:49 4 PIM:04_PWR:C7_EXP:02 5 PIM:05_PWR:B7_EXP:03 6 PIM:06_PWR:A7_EXP:04 7 PIM:07_PWR:C6_EXP:05 8 PIM:08_PWR:B6_EXP:06 — No B6 9 PIM:09_PWR:A6_EXP:07 — No A6 10 PIM:10_PWR:C5 — No C5 — — — 11 PIM:11_PWR:B5_EXP:08_FLT — Yes B5 08 — 08 12 PIM:12_PWR:A5_EXP:09 — No A5 09 09 — 13 PIM:13 (MCLR) No — 25 25 — 14 PIM:14_PWR:A38_FLT Yes A38 — — — 15 DGND Digital Ground — — — — — Digital Voltage (+3.3V/+5V) — — — — — No A8 49 49 — — No C7 02 — 02 — No B7 03 03 — — No A7 04 — 04 — No C6 05 05 — 06 — 06 07 07 — — Device Master Clear (MCLR) — — — — — — Yes C37 — — — B37 55 55 — A37 10 — 10 C36 — — — B36 — — — — — — 11 11 — — — — — — — C34 41 41 — B34 42 — 42 A34 — — — C33 12 — 12 16 DVDD 17 PIM:17_PWR:C37_FLT 18 PIM:18_PWR:B37_EXP:55 — No 19 PIM:19_PWR:A37_EXP:10 — No 20 PIM:20_PWR:C36_FLT — Yes 21 PIM:21_PWR:B36_FLT — Yes 22 PIM:22_PWR:A36_FLT — Yes A36 23 PIM:23_PWR:C35_EXP:11_FLT Yes C35 24 PIM:24_PWR:B35_FLT — Yes B35 25 PIM:25_PWR:A35_FLT — Yes A35 26 PIM:26_PWR:C34_EXP:41 Device Programming Clock Line (PGC) No 27 PIM:27_PWR:B34_EXP:42 Device Programming Data Line (PGD) No 28 PIM:28_PWR:A34 Reference Voltage (VREF) No 29 PIM:29_PWR:C33_EXP:12 No — Potentiometer 2 — 30 AVDD Analog Voltage (+3.3V/+5V) — — — — — 31 AGND Analog Ground — — — — — 32 PIM:32_PWR:B33_EXP:13_FLT Potentiometer 1 Yes B33 13 13 — Note 1: 2: Signal PIM:69 has two functions. This signal is connected to Switch S1 and the PICkit™ serial analyzer header, J12. When connector J15 is open, PIM:69 is connected to the PICkit serial analyzer I2C™ interface. However, when connector J15 is shorted, PIM:69 is connected to switch SW1. Signal PIM:49 has two functions. This signal is connected to the UART Transmit Pin 6 of the digital isolator, U3, and the PICkit serial analyzer header, J12. When connector J11 is open, PIM:49 is connected to the PICkit serial analyzer I2C interface. However, when connector J11 is shorted, PIM:49 is connected to the TX pin of the digital isolator, U3. 2014 Microchip Technology Inc. DS50002263B-page 17 dsPIC® DSC Signal Board TABLE 2-2: dsPIC® DSC SIGNAL BOARD PIM PINOUT FUNCTIONALITY (CONTINUED) Connectors PIM Pin # Signal Name Functional Description Filter J13 J7 J4 J5 33 PIM:33_PWR:A33_EXP:14 Debug LED 3 No A33 14 — 14 34 PIM:34_PWR:C32_EXP:15 Debug LED 4 No C32 15 15 — 35 PIM:35_PWR:B32_FLT Yes B32 — — — 36 DGND Digital Ground — — — — — 37 DVDD Digital Voltage (+3.3V/+5V) 38 PIM:38_PWR:A32_EXP:16 39 PIM:39_PWR:C31_EXP:17 40 PIM:40_PWR:B31_EXP:18 Push Button SW3 41 PIM:41_PWR:A31_EXP:56 Push Button SW4 42 PIM:42_PWR:C29 — 43 PIM:43_PWR:B29 — 44 PIM:44_PWR:A29 — 45 DGND 46 DVDD 47 PIM:47_PWR:C28_EXP:19 48 PIM:48_PWR:B28_EXP:20 49 PIM:49_PWR:A28_EXP:21(2) UART Receive/I2C PICkit Interface 50 PIM:50_PWR:C27_EXP:22 UART Transmit — — — — — — No A32 16 — 16 No C31 17 17 — No B31 18 — 18 No A31 56 — 56 No C29 — — — No B29 — — — No A29 — — — Digital Ground — — — — — Digital Voltage (+3.3V/+5V) — — — — — — No C28 19 19 — — No B28 20 — 20 No A28 21 21 — No C27 22 — 22 — — 51 PIM:51_PWR:B27_EXP:58 — No B27 58 — 58 52 PIM:52_PWR:A27_EXP:59 — No A27 59 59 — 53 PIM:53_PWR:C26 — No C26 — — — 54 PIM:54_PWR:B26_FLT — Yes B26 — — — 55 PIM:55_PWR:A26_FLT — Yes A26 — — — 56 PIM:56_PWR:C25_FLT — Yes C25 — — — 57 PIM:57_PWR:B25_FLT — Yes B25 — — — 58 PIM:58_PWR:A25 — No A25 — — — 59 PIM:59_PWR:B24_EXP:57 No B24 57 57 — 60 PIM:60_PWR:A24_EXP:60 — No A24 60 — 60 — No C23 24 — 24 — — — — — Debug LED 2 61 PIM:61_PWR:C23_EXP:24 62 DVDD Digital Voltage (+3.3V/+5V) 63 PIM:63 (OSC1) Crystal Oscillator In (OSC1) — — — — — 64 PIM:64 (OSC2) Crystal Oscillator Out (OSC2) — — — — — 65 DGND Digital Ground — — — — — 66 PIM:66_PWR:C22_FLT — Yes C22 — — — 67 PIM:67_PWR:B22_FLT — Yes B22 — — — 68 PIM:68_PWR:A22 — No A22 — — — 69 PIM:69_PWR:A15_EXP:28_FLT_PICkit(1) Push Button SW1/I2C PICkit Interface Yes A15 28 — 28 70 PIM:70_PWR:A21 No A21 — — — Note 1: 2: — Signal PIM:69 has two functions. This signal is connected to Switch S1 and the PICkit™ serial analyzer header, J12. When connector J15 is open, PIM:69 is connected to the PICkit serial analyzer I2C™ interface. However, when connector J15 is shorted, PIM:69 is connected to switch SW1. Signal PIM:49 has two functions. This signal is connected to the UART Transmit Pin 6 of the digital isolator, U3, and the PICkit serial analyzer header, J12. When connector J11 is open, PIM:49 is connected to the PICkit serial analyzer I2C interface. However, when connector J11 is shorted, PIM:49 is connected to the TX pin of the digital isolator, U3. DS50002263B-page 18 2014 Microchip Technology Inc. Board Interface Description TABLE 2-2: dsPIC® DSC SIGNAL BOARD PIM PINOUT FUNCTIONALITY (CONTINUED) Connectors PIM Pin # Signal Name Functional Description Filter J13 J7 J4 J5 71 PIM:71_PWR:B19_FLT — Yes B19 — — — 72 PIM:72_PWR:A19 — No A19 — — — 73 PIM:73_PWR:C18_FLT — Yes C18 — — — 74 PIM:74_PWR:B18_FLT — Yes B18 — — — 75 DGND - — — — 76 PIM:76_PWR:B17_FLT — Yes B17 — — — 77 PIM:77_PWR:A17_FLT — Yes A17 — — — 78 PIM:78_PWR:C16_EXP:26 No C16 26 — 26 79 PIM:79_PWR:B16_FLT — Yes B16 — — — 80 PIM:80_PWR:A16_EXP:27 — No A16 27 27 — 81 PIM:81_PWR:C15_FLT — Yes C15 — — — 82 PIM:82_PWR:B15 — No B15 — — — 83 PIM:83_PWR:B21_FLT — Yes B21 — — — 84 PIM:84_PWR:C14_EXP:29_FLT Yes C14 29 29 — 85 PIM:85_PWR:B14 No B14 — — — 86 DVDD — — — — — 87 PIM:87_PWR:A14_EXP:30 PICkit SPI Clock No A14 30 — 30 88 PIM:88_PWR:C13_EXP:31 PICkit SPI Interface Data In No C13 31 31 — 89 PIM:89_PWR:B13 — No B13 — — — 90 PIM:90_PWR: A13 — No A13 — — — 91 PIM:91_PWR:C12_EXP:32 No C12 32 — 32 92 PIM:92_PWR:B12 No B12 — — — Digital Ground PICkit SPI Interface Data Out Push Button SW2 — Digital Voltage (+3.3V/+5V) PICkit SPI Interface CS — 93 PIM:93_PWR:A12_EXP:46 — No A12 46 — 46 94 PIM:94_PWR:C11_EXP:45 — No C11 45 45 — 95 PIM:95_PWR:B11 — No B11 — — — 96 PIM:96_PWR:A11 — No A11 — — — 97 PIM:97_PWR:C9_EXP:23_FLT — Yes C9 23 23 — 98 PIM:98_PWR:B9_EXP:48 — No B9 48 — 48 99 PIM:99_PWR:A9_EXP:47 — No A9 47 47 — — No C8 50 — 50 100 PIM:100_PWR:C8_EXP:50 101 PIM:101 Reference Voltage (VREF) No C24 — — — 102 PIM:102 Reference Voltage (VREF) No C21 — — — 103 PIM:103 Reference Voltage (VREF) No C19 — — — 104 PIM:104 Reference Voltage (VREF) No A18 — — — No C17 — — — 105 PIM:105_PWR:C17 Note 1: 2: — Signal PIM:69 has two functions. This signal is connected to Switch S1 and the PICkit™ serial analyzer header, J12. When connector J15 is open, PIM:69 is connected to the PICkit serial analyzer I2C™ interface. However, when connector J15 is shorted, PIM:69 is connected to switch SW1. Signal PIM:49 has two functions. This signal is connected to the UART Transmit Pin 6 of the digital isolator, U3, and the PICkit serial analyzer header, J12. When connector J11 is open, PIM:49 is connected to the PICkit serial analyzer I2C interface. However, when connector J11 is shorted, PIM:49 is connected to the TX pin of the digital isolator, U3. 2014 Microchip Technology Inc. DS50002263B-page 19 dsPIC® DSC Signal Board 2.3.2 PICkit Programming Header (J1) A 6-pin header J1 connects the MPLAB PICkit 3 development programmer to the dsPIC DSC or microcontroller for programming and debugging (see Table 2-3). TABLE 2-3: Pin # PICkit™ PROGRAMMING HEADER (J1) PIN DESCRIPTION Signal Name Pin Description 1 PIM:13 (MCLR) Device Master Clear (MCLR) 2 DVDD Digital Supply Voltage 3 DGND Digital Ground 4 PIM:27_PWR:B34_EXP:42 Device Programming Data Line (PGD) 5 PIM:26_PWR:C34_EXP:41 Device Programming Clock Line (PGC) 6 No Connection 2.3.3 — MPLAB ICD 3 or REAL ICE™ In-Circuit Emulator Connector (J2) An RJ11 female connector J2 connects the MPLAB In-Circuit Debugger/Emulator (MPLAB ICD 3 or REAL ICE) to the dsPIC DSC or microcontroller for programming and debugging (see Table 2-4). MPLAB® ICD 3/REAL ICE™ CONNECTOR (J2) PIN DESCRIPTION TABLE 2-4: Pin # Signal Name Pin Description 1 PIM:13 (MCLR) 2 DVDD Digital Supply Voltage 3 DGND Digital Ground 4 PIM:27_PWR:B34_EXP:42 Device Programming Data Line (PGD) 5 PIM:26_PWR:C34_EXP:41 Device Programming Clock Line (PGC) 6 No Connection 2.3.4 Device Master Clear (MCLR) — Isolated USB Interface (J3) The dsPIC DSC Signal Board uses an on-board MCP2200 device (see U2 in Figure A-3) as a bridge between the UART and USB (see Table 2-5). TABLE 2-5: Pin # DS50002263B-page 20 ISOLATED USB INTERFACE (J3) PIN DESCRIPTION Signal Name Pin Description 0 No Connection Body Connection 1 5V_USB USB +5V DC 2 USB_N USB Data- 3 USB_P USB Data+ 4 No Connection 5 GND_USB — USB Ground 2014 Microchip Technology Inc. Board Interface Description 2.3.5 Alternate USB/UART Interface (J6) A 4-pin header J6 provides a provision to bypass the MCP2200 device (see U3 in Figure A-3) and connect an alternate UART/USB interface device (see Table 2-6). TABLE 2-6: Pin # ALTERNATE USB/UART INTERFACE (J6) PIN DESCRIPTION Signal Name Pin Description 1 5V_USB USB +5V DC 2 MCP2200_RX Isolated UART Receive 3 MCP2200_TX Isolated UART Transmit 4 GND_USB USB Ground 2.3.6 SPI Interface Connector (J8) A 6-pin header J8 provides the connection for the Serial Peripheral Interface (SPI) communication (see Table 2-7). TABLE 2-7: Pin # SPI INTERFACE CONNECTOR (J8) PIN DESCRIPTION Signal Name Pin Description 1 DVDD Digital Supply Voltage 2 DGND Digital Ground 3 DGND Digital Ground 4 PIM:87_PWR:A14_EXP:30 SPI Clock 5 PIM:91_PWR:C12_EXP:32 SPI Interface CS 6 PIM:88_PWR:C13_EXP:31 SPI Interface Data 2.3.7 Additional UART TX/RX Inputs (J9) A 2-pin header, J9, connects the input of the digital isolator, ADUM1201CRZ (see U3 in Figure A-3). Connector J9 can be used to connect external provided UART signals TX/RX (see Table 2-8). TABLE 2-8: Pin # ADDITIONAL UART TX/RX INPUTS (J9) PIN DESCRIPTION Signal Name Pin Description 1 PIM:49_PWR:A28_EXP:21 UART Receive 2 PIM:50_PWR:C27_EXP:22 UART Transmit 2.3.8 PICkit Serial Analyzer SPI Interface A 6-pin header J10 connects the PICkit serial analyzer to a dsPIC DSC or microcontroller supporting SPI protocol (see Table 2-9). TABLE 2-9: Pin # PICkit™ SERIAL ANALYZER SPI INTERFACE (J10) PIN DESCRIPTION Signal Name Pin Description 1 PIM:91_PWR:C12_EXP:32 PICkit SPI Interface CS 2 DVDD Digital Supply Voltage 3 DGND Digital Ground 4 PIM:88_PWR:C13_EXP:31 PICkit SPI Interface Data In 5 PIM:87_PWR:A14_EXP:30 PICkit SPI Clock 6 PIM:78_PWR:C16_EXP:26 PICkit SPI Interface Data Out 2014 Microchip Technology Inc. DS50002263B-page 21 dsPIC® DSC Signal Board 2.3.9 PICkit Serial Analyzer I2C Interface (J12) A 6-pin header J12 connects the MPLAB PICkit serial analyzer to a dsPIC DSC or microcontroller supporting I2C protocol (see Table 2-10). TABLE 2-10: PICkit™ SERIAL ANALYZER I2C INTERFACE (J12) PIN DESCRIPTION Pin # Signal Name Pin Description 1 No Connection 2 DVDD Digital Supply Voltage 3 DGND Digital Ground 4 PIM:69_PWR:A15_EXP:28_FLT_PICkit PICkit I2C™ Interface Serial Data 5 PIM:49_PWR:A28_EXP:21 6 No Connection 2.3.10 — PICkit I2C Interface Serial Clock Interface — Input Power Connector (J17) The dsPIC DSC Signal Board receives the input from a 9V-24V power supply. It is connected to the board through connector J17 (see Table 2-11). TABLE 2-11: Pin # DS50002263B-page 22 INPUT POWER CONNECTOR (J17) PIN DESCRIPTION Signal Name Pin Description 1 EXT DC+ Input Supply Voltage 3 DGND Digital Ground 3 DGND Digital Ground 2014 Microchip Technology Inc. Board Interface Description 2.3.11 Power Board Interface Connector (J13) A 120-pin interface connector, J13, is used to interface the dsPIC DSC Signal Board with the dedicated power application board. All the signals from the PIM header are routed to this connector. It also has a connection to the input DC bus, supply voltages (+3.3V/+5V) and op amp reference signals. Table 2-12 and Table 2-13 describe the J13 connector on-board pin functions. In Table 2-12, the J13 connector pins are tabulated in order of their number, whereas in Table 2-13, signals on connector J13 are grouped according to their functionality. TABLE 2-12: dsPIC® DSC SIGNAL BOARD J13 CONNECTOR PINOUT Connector J13 A1 Signal Name DC+ PIM Connection/Functional Description PIM Pin Input DC Bus Voltage — B1 DC+ Input DC Bus Voltage — C1 DC+ Input DC Bus Voltage — A2 PGND Power Ground — B2 PGND Power Ground — C2 PGND Power Ground — A3 +5V Fixed +5V — B3 +5V Fixed +5V — C3 AGND Analog Ground — A4 AVDD(4) Analog Voltage (+3.3V/+5V) — B4 AVDD(4) Analog Voltage (+3.3V/+5V) — C4 AGND Analog Ground — A5 PIM:12_PWR:A5_EXP:09 Direct Connection 12 B5 PIM:11_PWR:B5_EXP:08 Filter Signal 11 C5 PIM:10_PWR:C5 Direct Connection 10 A6 PIM:09_PWR:A6_EXP:07 Direct Connection 9 B6 PIM:08_PWR:B6_EXP:06 Direct Connection 8 C6 PIM:07_PWR:C6_EXP:05 Direct Connection 7 A7 PIM:06_PWR:A7_EXP:04 Direct Connection 6 B7 PIM:05_PWR:B7_EXP:03 Direct Connection 5 C7 PIM:04_PWR:C7_EXP:02 Direct Connection 4 A8 PIM:03_PWR:A8_EXP:49 Direct Connection 3 B8 PIM:01_PWR:B8_EXP:01 Direct Connection – Debug LED(1) 1 C8 PIM:100_PWR:C8_EXP:50 Direct Connection 100 A9 PIM:99_PWR:A9_EXP:47 Direct Connection 99 B9 PIM:98_PWR:B9_EXP:48 Direct Connection 98 C9 PIM:97_PWR:C9_EXP:23 Filter Signal 97 A10 DGND Digital Ground — B10 DGND Digital Ground — C10 DGND Digital Ground — A11 PIM:96_PWR:A11 Direct Connection 96 Note 1: 2: 3: 4: Direct connection identifies the connection between the J13 connector pins and PIM pins that do not have an analog filter at their input. Filter signal identifies the connection between the J13 connector pins and PIM pins that have an analog filter. DVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. AVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. 2014 Microchip Technology Inc. DS50002263B-page 23 dsPIC® DSC Signal Board TABLE 2-12: dsPIC® DSC SIGNAL BOARD J13 CONNECTOR PINOUT (CONTINUED) Connector J13 B11 Signal Name PIM:95_PWR:B11 PIM Connection/Functional Description PIM Pin Direct Connection 95 C11 PIM:94_PWR:C11_EXP:45 Direct Connection 94 A12 PIM:93_PWR:A12_EXP:46 Direct Connection 93 B12 PIM:92_PWR:B12 Direct Connection 92 C12 PIM:91_PWR:C12_EXP:32 Direct Connection – PICkit™ SPI Interface CS 91 A13 PIM:90_PWR: A13 Direct Connection 90 B13 PIM:89_PWR:B13 Direct Connection 89 C13 PIM:88_PWR:C13_EXP:31 Direct Connection – PICkit SPI Interface Data In 88 A14 PIM:87_PWR:A14_EXP:30 Direct Connection – PICkit SPI Clock 87 B14 PIM:85_PWR:B14 85 C14 PIM:84_PWR:C14_EXP:29 Filter Signal – Push Button SW2 Direct Connection 84 2C™ PICkit Interface 69 A15 PIM:69_PWR:A15_EXP:28 Filter Signal – Push Button SW1/I B15 PIM:82_PWR:B15 Direct Connection 82 C15 PIM:81_PWR:C15 Filter Signal 81 A16 PIM:80_PWR:A16_EXP:27 Direct Connection 80 79 B16 PIM:79_PWR:B16 C16 PIM:78_PWR:C16_EXP:26 Direct Connection – PICkit SPI Interface Data Out Filter Signal 78 A17 PIM:77_PWR:A17 Filter Signal 77 B17 PIM:76_PWR:B17 Filter Signal 76 C17 PIM:105_PWR:C17 Direct Connection 105 A18 PIM:104_PWR:A18 Direct Connection – Reference Voltage (VREF) 104 B18 PIM:74_PWR:B18 Filter Signal 74 C18 PIM:73_PWR:C18 Filter Signal 73 A19 PIM:72_PWR:A19 Direct Connection 72 B19 PIM:71_PWR:B19 Filter Signal 71 C19 PIM:103_PWR:C19 Direct Connection – Reference Voltage (VREF) 103 A20 DGND Digital Ground — B20 DGND Digital Ground — C20 DGND Digital Ground - A21 PIM:70_PWR:A21 Direct Connection 70 B21 PIM:83_PWR:B21 Filter Signal 83 C21 PIM:102_PWR:C21 Direct Connection – Reference Voltage (VREF) 102 A22 PIM:68_PWR:A22 Direct Connection 68 B22 PIM:67_PWR:B22 Filter Signal 67 C22 PIM:66_PWR:C22 Filter Signal 66 A23 DGND Through 0 Resistor (R73) — B23 DGND Through 0 Resistor (R70) — C23 PIM:61_PWR:C23_EXP:24 Direct Connection 61 A24 PIM:60_PWR:A24_EXP:60 Direct Connection 60 B24 PIM:59_PWR:B24_EXP:57 Direct Connection – Debug LED(2) 59 Note 1: 2: 3: 4: Direct connection identifies the connection between the J13 connector pins and PIM pins that do not have an analog filter at their input. Filter signal identifies the connection between the J13 connector pins and PIM pins that have an analog filter. DVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. AVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. DS50002263B-page 24 2014 Microchip Technology Inc. Board Interface Description TABLE 2-12: dsPIC® DSC SIGNAL BOARD J13 CONNECTOR PINOUT (CONTINUED) Connector J13 C24 Signal Name PIM:101_PWR:C24 PIM Connection/Functional Description PIM Pin Direct Connection – Reference Voltage (VREF) 101 A25 PIM:58_PWR:A25 Direct Connection 58 B25 PIM:57_PWR:B25 Filter Signal 57 C25 PIM:56_PWR:C25 Filter Signal 56 A26 PIM:55_PWR:A26 Filter Signal 55 B26 PIM:54_PWR:B26 Filter Signal 54 C26 PIM:53_PWR:C26 Direct Connection – UART Transmit 53 A27 PIM:52_PWR:A27_EXP:59 Direct Connection 52 B27 PIM:51_PWR:B27_EXP:58 Direct Connection 51 C27 PIM:50_PWR:C27_EXP:22 Direct Connection 50 A28 PIM:49_PWR:A28_EXP:21 Direct Connection – UART Receive/I2C™ PICkit™ Interface 49 B28 PIM:48_PWR:B28_EXP:20 Direct Connection 48 C28 PIM:47_PWR:C28_EXP:19 Direct Connection 47 A29 PIM:44_PWR:A29 Direct Connection 44 B29 PIM:43_PWR:B29 Direct Connection 43 C29 PIM:42_PWR:C29 Direct Connection 42 A30 DGND Digital Ground — B30 DGND Digital Ground — C30 DGND Digital Ground — A31 PIM:41_PWR:A31_EXP:56 Direct Connection – Push Button SW4 41 B31 PIM:40_PWR:B31_EXP:18 Direct Connection – Push Button SW3 40 C31 PIM:39_PWR:C31_EXP:17 Direct Connection 39 A32 PIM:38_PWR:A32_EXP:16 Direct Connection 38 B32 PIM:35_PWR:B32 35 C32 PIM:34_PWR:C32_EXP:15 Direct Connection – Debug LED 4 A33 PIM:33_PWR:A33_EXP:14 Direct Connection – Debug LED 3 33 B33 PIM:32_PWR:B33_EXP:13 Filter Signal – Potentiometer 1 32 C33 PIM:29_PWR:C33_EXP:12 Direct Connection A34 PIM:28_PWR:A34 B34 PIM:27_PWR:B34_EXP:42 Direct Connection – Device Programming Data Line (PGD) 27 C34 PIM:26_PWR:C34_EXP:41 Direct Connection – Device Programming Clock Line (PGC) 26 A35 PIM:25_PWR:A35 Filter Signal 25 B35 PIM:24_PWR:B35 Filter Signal 24 Filter Signal 34 29 Direct Connection – Reference Voltage (VREF) 28 C35 PIM:23_PWR:C35_EXP:11 Filter Signal – Potentiometer 2 23 A36 PIM:22_PWR:A36 Filter Signal 22 B36 PIM:21_PWR:B36 Filter Signal 21 C36 PIM:20_PWR:C36 Filter Signal 20 A37 PIM:19_PWR:A37_EXP:10 Direct Connection 19 B37 PIM:18_PWR:B37-EXP:55 Direct Connection 18 PIM:17_PWR:C37 Filter Signal 17 C37 Note 1: 2: 3: 4: Direct connection identifies the connection between the J13 connector pins and PIM pins that do not have an analog filter at their input. Filter signal identifies the connection between the J13 connector pins and PIM pins that have an analog filter. DVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. AVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. 2014 Microchip Technology Inc. DS50002263B-page 25 dsPIC® DSC Signal Board TABLE 2-12: dsPIC® DSC SIGNAL BOARD J13 CONNECTOR PINOUT (CONTINUED) Connector J13 A38 Signal Name PIM:14_PWR:A38 PIM Connection/Functional Description PIM Pin Filter Signal 14 B38 DGND Through 0 Resistor (R69) — C38 DGND Digital Ground — A39 DGND Digital Ground — B39 DGND Digital Ground — C39 DGND Digital Ground — A40 DVDD(3) Digital Voltage (+3.3V/+5V) — B40 DVDD(3) DVDD(3) Digital Voltage (+3.3V/+5V) — Digital Voltage (+3.3V/+5V) — C40 Note 1: 2: 3: 4: Direct connection identifies the connection between the J13 connector pins and PIM pins that do not have an analog filter at their input. Filter signal identifies the connection between the J13 connector pins and PIM pins that have an analog filter. DVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. AVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. DS50002263B-page 26 2014 Microchip Technology Inc. Board Interface Description TABLE 2-13: dsPIC® DSC SIGNAL BOARD J13 CONNECTOR PINOUT (GROUPED BY FUNCTIONALITY) Connector J13 Signal Name Functional Description PIM Pin Power Supply Signals C3 AGND Analog Ground — C4 AGND Analog Ground — B4 AVDD Analog Voltage (+3.3V/+5V) — A4 AVDD Analog Voltage (+3.3V/+5V) — A10 DGND Digital Ground — B10 DGND Digital Ground — C10 DGND Digital Ground — A20 DGND Digital Ground — B20 DGND Digital Ground — C20 DGND Digital Ground — A30 DGND Digital Ground — B30 DGND Digital Ground — C30 DGND Digital Ground — C38 DGND Digital Ground — A39 DGND Digital Ground — B39 DGND Digital Ground — C39 DGND Digital Ground — A40 DVDD Digital Voltage (+3.3V/+5V) — B40 DVDD Digital Voltage (+3.3V/+5V) — C40 DVDD Digital Voltage (+3.3V/+5V) — +5V Fixed +5V — B3 +5V Fixed +5V — A1 DC+ Input DC Bus Voltage — A3 B1 DC+ Input DC Bus Voltage — C1 DC+ Input DC Bus Voltage — A2 PGND Power Ground — B2 PGND Power Ground — C2 PGND Power Ground C24 PIM:101_PWR:C24 Reference Voltage (VREF) 101 — A18 PIM:104_PWR:A18 Reference Voltage (VREF) 104 C19 PIM:103_PWR:C19 Reference Voltage (VREF) 103 C21 PIM:102_PWR:C21 Reference Voltage (VREF) 102 A34 PIM:28_PWR:A34 Reference Voltage (VREF) 28 2014 Microchip Technology Inc. DS50002263B-page 27 dsPIC® DSC Signal Board TABLE 2-13: dsPIC® DSC SIGNAL BOARD J13 CONNECTOR PINOUT (GROUPED BY FUNCTIONALITY) (CONTINUED) Connector J13 Signal Name Functional Description PIM Pin Filter Signals B5 PIM:11_PWR:B5_EXP:08 Filter Signal 11 C9 PIM:97_PWR:C9_EXP:23 Filter Signal 97 C15 PIM:81_PWR:C15 Filter Signal 81 B16 PIM:79_PWR:B16 Filter Signal 79 A17 PIM:77_PWR:A17 Filter Signal 77 B17 PIM:76_PWR:B17 Filter Signal 76 B18 PIM:74_PWR:B18 Filter Signal 74 C18 PIM:73_PWR:C18 Filter Signal 73 B19 PIM:71_PWR:B19 Filter Signal 71 B21 PIM:83_PWR:B21 Filter Signal 83 B22 PIM:67_PWR:B22 Filter Signal 67 C22 PIM:66_PWR:C22 Filter Signal 66 B25 PIM:57_PWR:B25 Filter Signal 57 A26 PIM:55_PWR:A26 Filter Signal 55 B26 PIM:54_PWR:B26 Filter Signal 54 B32 PIM:35_PWR:B32 Filter Signal 35 A35 PIM:25_PWR:A35 Filter Signal 25 B35 PIM:24_PWR:B35 Filter Signal 24 C25 PIM:56_PWR:C25 Filter Signal 56 A36 PIM:22_PWR:A36 Filter Signal 22 B36 PIM:21_PWR:B36 Filter Signal 21 C36 PIM:20_PWR:C36 Filter Signal 20 C37 PIM:17_PWR:C37 Filter Signal 17 A38 PIM:14_PWR:A38 Filter Signal 14 B33 PIM:32_PWR:B33_EXP:13 Filter Signal – Potentiometer 1 32 C35 PIM:23_PWR:C35_EXP:11 Filter Signal – Potentiometer 2 23 A15 PIM:69_PWR:A15_EXP:28 Filter Signal – Push Button SW1/I2C™ PICkit™ Interface 69 C14 PIM:84_PWR:C14_EXP:29 Filter Signal – Push Button SW2 84 DS50002263B-page 28 2014 Microchip Technology Inc. Board Interface Description TABLE 2-13: Connector J13 dsPIC® DSC SIGNAL BOARD J13 CONNECTOR PINOUT (GROUPED BY FUNCTIONALITY) (CONTINUED) Signal Name PIM Pin Functional Description Non-Filter Signals A14 PIM:87_PWR:A14_EXP:30 Direct Connection – PICkit™ SPI Clock 87 C12 PIM:91_PWR:C12_EXP:32 Direct Connection – PICkit SPI Interface CS 91 C13 PIM:88_PWR:C13_EXP:31 Direct Connection – PICkit SPI Interface Data In 88 B8 PIM:01_PWR:B8_EXP:01 Direct Connection – Debug LED 1 1 B24 PIM:59_PWR:B24_EXP:57 Direct Connection – Debug LED 2 59 A33 PIM:33_PWR:A33_EXP:14 Direct Connection – Debug LED 3 33 C32 PIM:34_PWR:C32_EXP:15 Direct Connection – Debug LED 4 34 PIM:12_PWR:A5_EXP:09 Direct Connection 12 C34 A5 PIM:26_PWR:C34_EXP:41 Direct Connection – Device Programming Clock Line (PGC) 26 B34 PIM:27_PWR:B34_EXP:42 Direct Connection – Device Programming Data Line (PGD) 27 C16 PIM:78_PWR:C16_EXP:26 Direct Connection – PICkit SPI Interface Data Out 78 B31 PIM:40_PWR:B31_EXP:18 Direct Connection – Push Button SW3 40 A31 PIM:41_PWR:A31_EXP:56 Direct Connection – Push Button SW4 41 2C™ PICkit Interface 49 A28 PIM:49_PWR:A28_EXP:21 Direct Connection – UART Receive/I C26 PIM:53_PWR:C26 Direct Connection – UART Transmit 53 C5 PIM:10_PWR:C5 Direct Connection 10 A6 PIM:09_PWR:A6_EXP:07 Direct Connection 9 B6 PIM:08_PWR:B6_EXP:06 Direct Connection 8 C6 PIM:07_PWR:C6_EXP:05 Direct Connection 7 A7 PIM:06_PWR:A7_EXP:04 Direct Connection 6 B7 PIM:05_PWR:B7_EXP:03 Direct Connection 5 C7 PIM:04_PWR:C7_EXP:02 Direct Connection 4 A8 PIM:03_PWR:A8_EXP:49 Direct Connection 3 C8 PIM:100_PWR:C8_EXP:50 Direct Connection 100 A9 PIM:99_PWR:A9_EXP:47 Direct Connection 99 B9 PIM:98_PWR:B9_EXP:48 Direct Connection 98 A11 PIM:96_PWR:A11 Direct Connection 96 B11 PIM:95_PWR:B11 Direct Connection 95 C11 PIM:94_PWR:C11_EXP:45 Direct Connection 94 A12 PIM:93_PWR:A12_EXP:46 Direct Connection 93 B12 PIM:92_PWR:B12 Direct Connection 92 A13 PIM:90_PWR: A13 Direct Connection 90 B13 PIM:89_PWR:B13 Direct Connection 89 B14 PIM:85_PWR:B14 Direct Connection 85 B15 PIM:82_PWR:B15 Direct Connection 82 A16 PIM:80_PWR:A16_EXP:27 Direct Connection 80 A19 PIM:72_PWR:A19 Direct Connection 72 A21 PIM:70_PWR:A21 Direct Connection 70 A22 PIM:68_PWR:A22 Direct Connection 68 A24 PIM:60_PWR:A24_EXP:60 Direct Connection 60 A25 PIM:58_PWR:A25 Direct Connection 58 A27 PIM:52_PWR:A27_EXP:59 Direct Connection 52 2014 Microchip Technology Inc. DS50002263B-page 29 dsPIC® DSC Signal Board TABLE 2-13: dsPIC® DSC SIGNAL BOARD J13 CONNECTOR PINOUT (GROUPED BY FUNCTIONALITY) (CONTINUED) Connector J13 Signal Name Functional Description PIM Pin B27 PIM:51_PWR:B27_EXP:58 Direct Connection 51 C27 PIM:50_PWR:C27_EXP:22 Direct Connection 50 B28 PIM:48_PWR:B28_EXP:20 Direct Connection 48 C28 PIM:47_PWR:C28_EXP:19 Direct Connection 47 A29 PIM:44_PWR:A29 Direct Connection 44 B29 PIM:43_PWR:B29 Direct Connection 43 C29 PIM:42_PWR:C29 Direct Connection 42 C31 PIM:39_PWR:C31_EXP:17 Direct Connection 39 A32 PIM:38_PWR:A32_EXP:16 Direct Connection 38 C33 PIM:29_PWR:C33_EXP:12 Direct Connection 29 A37 PIM:19_PWR:A37_EXP:10 Direct Connection 19 B37 PIM:18_PWR:B37-EXP:55 Direct Connection 18 C23 PIM:61_PWR:C23_EXP:24 Direct Connection 61 C17 PIM:105_PWR:C17 Direct Connection 105 Not Connected A23 DGND Through 0 Resistor (R73) B23 DGND Through 0 Resistor (R70) — B38 DGND Through 0 Resistor (R69) — DS50002263B-page 30 — 2014 Microchip Technology Inc. Board Interface Description 2.3.12 Expansion Board Connector (J4, J5 and J7) A 60-pin connector permits connection of the dsPIC DSC Signal Board to an expansion board, which can be used for improved user interface, CAN and LIN/J2602 communication. Table 2-14 provides the PIM signals, DC bus and supply voltages connected to 60 pins. All odd numbered pin connections of the connector J7 are also routed to the 30-pin header, J4. All even numbered pin connections of connector J7 are also routed to a 30-pin header, J5. TABLE 2-14: dsPIC® DSC SIGNAL BOARD CONNECTORS, J7, J4 AND J5 PINOUT Connector J7 Signal Name 1 PIM:01_PWR:B8_EXP:01 2 3 Functional Description Header Header J4 J5 — PIM Pin Direct Connection – Debug LED 1 1 1 PIM:04_PWR:C7_EXP:02 Direct Connection — 2 4 PIM:05_PWR:B7_EXP:03 Direct Connection 3 — 5 4 PIM:06_PWR:A7_EXP:04 Direct Connection — 4 6 5 PIM:07_PWR:C6_EXP:05 Direct Connection 5 — 7 6 PIM:08_PWR:B6_EXP:06 Direct Connection — 6 8 7 PIM:09_PWR:A6_EXP:07 Direct Connection 7 — 9 8 PIM:11_PWR:B5_EXP:08 Filter Signal — 8 11 9 PIM:12_PWR:A5_EXP:09 Direct Connection 9 — 12 10 PIM:19_PWR:A37_EXP:10 Direct Connection — 10 19 11 PIM:23_PWR:C35_EXP:11 Filter Signal – Potentiometer 2 11 — 23 12 PIM:29_PWR:C33_EXP:12 Direct Connection — 12 29 13 PIM:32_PWR:B33_EXP:13 Potentiometer 1 13 — 32 14 PIM:33_PWR:A33_EXP:14 Direct Connection – Debug LED 3 — 14 33 15 PIM:34_PWR:C32_EXP:15 Direct Connection – Debug LED 4 15 — 34 16 PIM:38_PWR:A32_EXP:16 Direct Connection — 16 38 17 PIM:39_PWR:C31_EXP:17 Direct Connection 17 — 39 18 PIM:40_PWR:B31_EXP:18 19 PIM:47_PWR:C28_EXP:19 Direct Connection — 18 40 19 — 47 20 PIM:48_PWR:B28_EXP:20 21 PIM:49_PWR:A28_EXP:21 Direct Connection — 20 48 Direct Connection – UART Receive/I2C™ PICkit™ Interface 21 — 49 22 PIM:50_PWR:C27_EXP:22 Direct Connection – UART Transmit — 22 50 23 PIM:97_PWR:C9_EXP:23 23 — 97 24 PIM:61_PWR:C23_EXP:24 Direct Connection — 24 61 25 PIM:13 (MCLR) 25 — 13 26 PIM:78_PWR:C16_EXP:26 Direct Connection – PICkit SPI Interface Data Out — 26 78 27 PIM:80_PWR:A16_EXP:27 27 — 80 — 28 69 28 PIM:69_PWR:A15_EXP:28 Direct Connection – Push Button SW3 Filter Signal Direct Connection – Device Master Clear (MCLR) Direct Connection 2 Filter Signal – Push Button SW1/I C PICkit Interface 29 PIM:84_PWR:C14_EXP:29 Filter Signal – Push Button SW2 29 — 84 30 PIM:87_PWR:A14_EXP:30 — 30 87 31 PIM:88_PWR:C13_EXP:31 Direct Connection – PICkit SPI Interface Data In 31 — 88 32 PIM:91_PWR:C12_EXP:32 Direct Connection – PICkit SPI Interface CS — 32 91 DGND 33 — — 33 Note 1: 2: Direct Connection – PICkit SPI Clock Digital Ground DVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. AVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. 2014 Microchip Technology Inc. DS50002263B-page 31 dsPIC® DSC Signal Board TABLE 2-14: dsPIC® DSC SIGNAL BOARD CONNECTORS, J7, J4 AND J5 PINOUT (CONTINUED) Connector J7 34 Signal Name DGND Header Header J4 J5 Functional Description Digital Ground — PIM Pin 34 — 35 DC+ Input DC Bus Voltage 35 — — 36 DC+ Input DC Bus Voltage — 36 — 37 DGND Digital Ground 37 — — 38 DGND Digital Ground — 38 — 39 +5V Fixed +5V 39 — — 40 +5V Fixed +5V — 40 — 41 PIM:26_PWR:C34_EXP:41 Direct Connection – Device Programming Clock Line (PGC) 41 — 26 42 PIM:27_PWR:B34_EXP:42 Direct Connection – Device Programming Data Line (PGD) — 42 27 43 DVDD(1) Digital Voltage (+3.3/+5V) 43 — — 44 DVDD(1) Digital Voltage (+3.3/+5V) — 44 — 45 PIM:94_PWR:C11_EXP:45 Direct Connection 45 — 94 46 PIM:93_PWR:A12_EXP:46 Direct Connection — 46 93 47 PIM:99_PWR:A9_EXP:47 Direct Connection 47 — 99 48 PIM:98_PWR:B9_EXP:48 Direct Connection — 48 98 49 PIM:03_PWR:A8_EXP:49 Direct Connection 49 — 3 50 PIM:100_PWR:C8_EXP:50 Direct Connection — 50 100 51 AGND Analog Ground 51 — — 52 AGND Analog Ground — 52 — 53 Analog Voltage (+3.3/+5V) 53 — — 54 AVDD(2) AVDD(2) Analog Voltage (+3.3/+5V) — 54 — 55 PIM:18_PWR:B37-EXP:55 Direct Connection 55 — 18 56 PIM:41_PWR:A31_EXP:56 Direct Connection – Push Button SW4 — 56 41 57 PIM:59_PWR:B24_EXP:57 Direct Connection – Debug LED 2 57 — 59 58 PIM:51_PWR:B27_EXP:58 Direct Connection — 58 51 59 PIM:52_PWR:A27_EXP:59 Direct Connection 59 — 52 PIM:60_PWR:A24_EXP:60 Direct Connection — 60 60 60 Note 1: 2: DVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. AVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. DS50002263B-page 32 2014 Microchip Technology Inc. Board Interface Description 2.4 USER INTERFACE HARDWARE 2.4.1 Board Jumpers The dsPIC DSC Signal Board has five jumpers.The on-board jumpers are provided in Table 2-15. Figure 2-2 shows the jumper positions. TABLE 2-15: dsPIC® DSC SIGNAL BOARD JUMPERS Jumper Number Designator of Pins J11 2 If shorted, it connects the TX signal between the PIM and isolator, U3 (see Figure A-3) J14 3 Position 1-2: Enables Power Supply 1 for fixed +5V Position 2-3: Disables Power Supply 1 for fixed +5V J15 2 If shorted, it connects the signal between the PIM and push button, SW1 J18 2 If the jumpers J18 and J19 are shorted on the PIM, then the output of Power Supply 2 is +5V; if the connectors J18 and J19 are open, then the output is +3.3V(1) J19 2 If the jumpers J18 and J19 are shorted on the PIM, then the output of Power Supply 2 is +5V; if the connectors J18 and J19 are open, then the output is +3.3V(1) Note 1: FIGURE 2-2: Jumper Description J18 and J19 must be in the same position for proper operation of the power supply circuit. dsPIC® DSC SIGNAL BOARD JUMPERS J14 J14 J11 J11 J15 J15 J18 J18 J19 J19 ® 2014 Microchip Technology Inc. DS50002263B-page 33 dsPIC® DSC Signal Board 2.4.2 Push Buttons, LEDs and Potentiometers The dsPIC DSC Signal Board has the following push buttons, LEDs and potentiometers: • • • • • • Device Reset Push Button (SW0) Four Push Buttons (SW1-SW4) Two Potentiometers (POT1, POT2) Two Power-on Status LEDs (LD5 and LD6) Four LEDs for Debugging (LD1-LD4) Two LED Indicators for USB Communications (LD7 and LD8) Table 2-16 and Table 2-17 provide the LED indicators, push buttons and potentiometers. Figure 2-3 shows the positions of the on-board push buttons, LEDs and potentiometers. TABLE 2-16: LED INDICATORS Label Hardware Element Description LD1-LD4 LEDs are used for debugging LD5 Power-on status LED indicates the status of Power Supply 2 (DVDD) LD6 Power-on status LED indicates the status of Power Supply 1 (+5V) LD7 USB transmit indication LD8 USB receive indication TABLE 2-17: PUSH BUTTONS AND POTENTIOMETERS Label SW0 SW1-SW4 POT1, POT2 DS50002263B-page 34 Hardware Element Description Push button to reset the target device General purpose push buttons; when momentarily pressed, the switch connects the respective PIM pin to ground 10 k potentiometer 2014 Microchip Technology Inc. Board Interface Description FIGURE 2-3: dsPIC® DSC SIGNAL BOARD USER INTERFACE LD7-8 LD6 LD5 SW0 SW1 SW2 SW3 SW4 POT2 ® LD1-4 POT1 2014 Microchip Technology Inc. DS50002263B-page 35 dsPIC® DSC Signal Board 2.5 BOARD TEST POINTS There are several test points on the dsPIC DSC Signal Board that can be used to check various signals. Table 2-18 provides the on-board test points. Figure 2-4 shows the dsPIC DSC Signal Board test points. TABLE 2-18: Test Points Signal Name TP1 — Output of Buck Converter, U4 (MCP16301) TP2 — Output of Buck Converter, U6 (MCP16301) Description TP3 EXT DC+ Input Bus Voltage Connected to Connector J17 TP4 DGND Digital Ground TP5 AGND Analog Ground TP6 DC24V DC Bus Voltage TP7 DVDD(1) Digital Supply Voltage (+3.3V/+5V) TP8 AVDD(2) Analog Supply Voltage (+3.3V/+5V) TP9 DC+ Input Bus Voltage Connector to Connectors J13 and J7 TP10 +5V Fixed +5V DC Voltage TP11 VREF(3) Half the Analog Supply Voltage, AVDD, for Reference to Op Amps TP12, TP13, DGND TP14, TP20 Digital Ground TP15, TP16 AGND Analog Ground TP18 PGND Power Ground TP19 GND_USB USB Ground Note 1: 2: 3: DS50002263B-page 36 TEST POINTS DVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. AVDD voltage level is configured as either +3.3V or +5V by the PIM plugged into the board. VREF voltage level is configured as either +1.65V or +2.5V based on AVDD. 2014 Microchip Technology Inc. Board Interface Description FIGURE 2-4: dsPIC® DSC SIGNAL BOARD TEST POINTS TP3 TP14 TP19 TP9 TP20 TP6 TP10 TP2 TP1 TP7 TP4 TP8 TP5 ® TP11 TP18 TP16 TP12 TP13 TP15 2014 Microchip Technology Inc. DS50002263B-page 37 dsPIC® DSC Signal Board NOTES: DS50002263B-page 38 2014 Microchip Technology Inc. dsPIC® DSC SIGNAL BOARD USER’S GUIDE Chapter 3. Hardware Description 3.1 INTRODUCTION This chapter provides a more detailed description of the hardware features of the dsPIC® DSC Signal Board. 3.2 HIGHLIGHTS This chapter covers the following topics: • • • • • Power Supply Circuit Voltage Reference Circuit Isolated USB Interface PIM Header Signals Supply Voltage and Ground Connection The hardware sections of the dsPIC DSC Signal Board are shown in Figure 3-1. 2014 Microchip Technology Inc. DS50002263B-page 39 dsPIC® DSC Signal Board dsPIC® DSC SIGNAL BOARD HARDWARE SECTIONS FIGURE 3-1: 10 8 6 7 9 1 2 11 13 12 14-b 3 ® 4 5 14-a 15 Legend: 1 Switches 2 Prototyping Area 3 General Purpose LEDs 4 Voltage Reference Circuit 5 Potentiometers 6 Power Supply 1 (fixed +5V) 7 Power Supply 2 (+3.3/+5V selectable) 8 PICkit™/ICD Interface 9 SPI Interface 10 USB/UART Isolated Interface 11 Header J4/J5 for Expansion Board 12 60-Pin Expansion Board Connector for Add-on Boards (J7) 13 100/105 PIM Header 14-b Analog Input Signal Conditioning DS50002263B-page 40 14-a Analog Input Signal Conditioning 15 120-Pin Power Board Interface Connector for Application Boards (J13) 2014 Microchip Technology Inc. Hardware Description 3.3 POWER SUPPLY CIRCUIT The dsPIC DSC Signal Board has two power supply circuits: Power Supply 1 and Power Supply 2 (see Figure 3-2) with identical topology. Power Supply 1 has a fixed +5V output, while the output of Power Supply 2 can be switched between +3.3V/+5V, depending on the dsPIC DSC or microcontroller used. FIGURE 3-2: POWER SUPPLY CIRCUIT ARCHITECTURE Power Supply 1 TP1 DCLOCAL EN J14 LDO (MCP1826) Buck Converter (MCP16301) +5V 12 3 Feedback Feedback Power Supply 2 TP2 DCLOCAL DVDD Buck Converter (MCP16301) LDO (MCP1826) Feedback Feedback J18 J19 Input for the power supply circuits is provided either through power connector jack J17, or through pins of connectors J13 and J7 with a DC+ signal. The power supply circuit has these key features: • High efficiency • Low ripple output • Snubber circuit or ferrite bead provided to minimize switching noise 2014 Microchip Technology Inc. DS50002263B-page 41 dsPIC® DSC Signal Board The power supply provides power to these components: • A dsPIC DSC or microcontroller device, an isolator (ADUM1201CRZ) and the reference voltage circuit for op amps receives +3.3V/+5V power from Power Supply 2 • J13 and J7 connector pins with a digital voltage (DVDD) signal receive power from Power Supply 2 (see Note 1) • J13 and J7 connector pins with a fixed +5V signal receive power from Power Supply 1 (see Note 1) Note 1: 2: For the power connector jack J17, a 24V power supply (AC002013) is recommended. When the dsPIC DSC Signal Board is used with Microchip’s Motor Control 10-24V Driver Board (Dual/Single), the connection of a power supply to the dsPIC DSC Signal Board is optional. The output of a fixed +5V power supply circuit can be disabled using jumper J14. When Pins 1-2 on the connector J14 are connected, Power Supply 1 is enabled with a fixed +5V DC output voltage. However, when Pins 2-3 are connected, Power Supply 1 is disabled (see Note 2). 3.3.1 Power Supply 2 Output Selection The Power Supply 2 is interfaced with the PIM through connectors J18 and J19 (see Figure 3-3). When connectors J18 and J19 are short-circuited on the PIM, it generates +5V DC. When connectors J18 and J19 are open-circuited on the PIM, +3.3V DC is generated. FIGURE 3-3: POWER SUPPLY 2 WITH CONNECTION ON PIM DC Local Buck Converter (MCP16301) LDO (MCP1826) DVDD J19 J18 105-Pin PIM DS50002263B-page 42 2014 Microchip Technology Inc. Hardware Description 3.4 VOLTAGE REFERENCE CIRCUIT The reference voltage is generated on the dsPIC DSC Signal Board. It is half the output of Power Supply 2 (+1.65V or +2.5V) depending upon AVDD. The reference circuit is built around an MCP6021 op amp (see Figure 3-4) and connects to several PIM header pins (see Table 2-2). The reference voltage is also connected to connector J13 (see Table 2-12). Figure 3-4 shows the circuit used to obtain the voltage reference signal which is half the magnitude of the AVDD. The resistors R25 and R26 form the voltage divider circuit and generate a voltage equal to half of the analog voltage (AVDD). Op Amp U1 MCP6021 is used as the buffer. The resistors R81, R82 and C30 form a compensation circuit to drive capacitive loads, where C30 acts as a high-frequency feedback path and R81 is used as a feedback path for low-frequency signals. FIGURE 3-4: VOLTAGE REFERENCE SIGNAL GENERATION CIRCUIT R81 1k C30 1000 pF AVDD R25 10k D9 DNP AGND R26 10k AGND 4 -A U1 AVDD 5 VDD MCP6021 OUTA 3 VSS +A TP11 1 R81 VREF 20R C72 0.1 µF 2 C73 AGND 0.1 µF AGND AGND Figure 3-5 shows that the reference voltage to the PIM can be supplied in two ways. It can be supplied by the circuit on the dsPIC DSC Signal Board (see Figure 3-4) or it can also be supplied externally from the J13 connector pins. The reference voltage selection can be made by populating one of the two resistors: RINT or REXT. Table 3-1 provides the list of resistors used to connect the reference signal. FIGURE 3-5: VOLTAGE REFERENCE SIGNAL ROUTING 0 PIM Header RINT REXT Voltage Reference 2014 Microchip Technology Inc. 0DNP Connector J13 DS50002263B-page 43 dsPIC® DSC Signal Board TABLE 3-1: 3.5 RESISTOR TO SELECT VOLTAGE REFERENCE SOURCE PIM Header J13 Connector RINT Designator REXT Designator PIM:101 PIM:101_PWR:C24 R89 R90 PIM:102 PIM:102_PWR:C21 R95 R96 PIM:103 PIM:103_PWR:C19 R91 R92 PIM:104 PIM:104_PWR:A18 R93 R94 ISOLATED USB INTERFACE The dsPIC DSC Signal Board uses an on-board MCP2200 interface as a bridge between the UART and USB. The connector J3 is a mini USB header used to connect a PC USB cable. The USB is isolated from the dsPIC DSC using a two-channel digital isolator (ADUM1201CRZ). FIGURE 3-6: USB-UART CONNECTION SETUP TX TX ADUM1201CRZ PIM MCP2200 (USB-UART) (Digital Isolator) U3 RX U2 RX Figure 3-6 shows that the UART signal used for the USB interface is isolated through the ADUM1201CRZ isolator. The MCP2200 is a USB-to-UART serial converter, which enables USB connectivity in applications that have a UART interface. The USB-UART connection setup can support a baud rate of up to 1 Mbps. DS50002263B-page 44 2014 Microchip Technology Inc. Hardware Description 3.6 PIM HEADER SIGNALS 3.6.1 Signal Nomenclature The dsPIC DSC signals use the following naming convention (except for auxiliary power supply pins): PIM:xx_PWR:yy_EXP:zz[_FLT] where: PIM:xx indicates that the signal originates at PIM Pin Number xx PWR:yy indicates that the signal is connected to Pin yy of the power board interface connector (J13) EXP:zz indicates that the signal is connected to Pin zz of the expansion board connector (J7) [_FLT]: if present, indicates that the signal between the connector J13 and the PIM is filtered (see Figure 3-7 to Figure 3-10 for different connection topologies). 3.6.2 Analog Input Signal Conditioning The PIM pins are connected to the power board interface connector J13 and the expansion board connector J7 by the following four possible topologies: • Topology 1: In this topology, there is a first order low-pass filter and voltage surge protection diodes between the PIM header and the connectors. Figure 3-7 shows the connection between the PIM header and the connectors J13, J7, J4 and J5. • Topology 2: In this topology, there is a first order low-pass filter and voltage surge protection diodes between the PIM header and the connectors. Figure 3-8 shows the connection between the PIM header and the connector J13. These signals are not connected to connectors J7, J4 and J5. • Topology 3: In this topology, there is no connection for a first order filter. Figure 3-9 shows the direct connection between the PIM header and the connectors J13, J7, J4 and J5. • Topology 4: In this topology, there is no connection for a first order filter. Figure 3-10 shows the direct connection between the PIM header and the connector J13. These signals are not connected to connectors J7, J4 and J5. 2014 Microchip Technology Inc. DS50002263B-page 45 dsPIC® DSC Signal Board FIGURE 3-7: TOPOLOGY 1 1st Order Low-Pass Filter PIM:xx_PWR:yy_EXP:zz ‘zz’ ‘xx’ PIM:xx_PWR:yy_EXP:zz_FLT C D AVDD C AGND PIM Header Voltage Surge Protection Expansion Board Connector (J7, J4, J5) ‘yy’ PIM:xx_PWR:yy_EXP:zz Power Board Interface Connector J13 Note: The signal connected to the PIM has the same name of the signal at the connector, with an added “_FLT” suffix to indicate that the signal is filtered. The 1st order low-pass filter is implemented in hardware; however, the user can remove the components or change their values to better fit the application requirements. FIGURE 3-8: TOPOLOGY 2 1st Order Low-Pass Filter R D ‘xx’ PIM:xx_PWR:yy_FLT C AVDD C AGND Voltage Surge Protection PIM Header Expansion Board Connector (J7, J4, J5) ‘yy’ PIM:xx_PWR:yy Power Board Interface Connector J13 Note: The signal connected to the PIM has the same name of the signal at the connector, with an added “_FLT” suffix to indicate that the signal is filtered. The 1st order low-pass filter is implemented in hardware; however, the user can remove the components or change their values to better fit the application requirements. DS50002263B-page 46 2014 Microchip Technology Inc. Hardware Description FIGURE 3-9: TOPOLOGY 3 PIM:xx_PWR:yy_EXP:zz ‘zz’ ‘xx’ PIM:xx_PWR:yy_EXP:zz PIM Header Expansion Board Connector (J7, J4, J5) ‘yy’ PIM:xx_PWR:yy_EXP:zz Power Board Interface Connector J13 FIGURE 3-10: TOPOLOGY 4 ‘xx’ PIM:xx_PWR:yy PIM Header Expansion Board Connector (J7, J4, J5) ‘yy’ PIM:xx_PWR:yy Power Board Interface Connector J13 Diode D (BAS 40-04 with 40V blocking voltage), shown in Figure 3-7 and Figure 3-8, is used for transient and ESD protection. The 1st order low-pass filter, shown in Figure 3-7 and Figure 3-8, is used to attenuate high-frequency noise. The cutoff frequency for this filter is given by Equation 3-1. EQUATION 3-1: FIRST ORDER LOW-PASS FILTER CUTOFF FREQUENCY 1 Cutof f Frequency = --------------- 340 kHz 2RC Where: R = 1 k and C = 470 pF 2014 Microchip Technology Inc. DS50002263B-page 47 dsPIC® DSC Signal Board 3.7 SUPPLY VOLTAGE AND GROUND CONNECTION The dsPIC DSC Signal Board has three separate grounds: Digital Ground (DGND), Analog Ground (AGND) and Power Ground (PGND). All three grounds can be connected by populating the resistors R74 and R75 (see Figure 3-11). DGND and AGND are connected through R29 (0) by default. The Analog Voltage (AVDD) is derived from DVDD through R130 (0), see Figure 3-12. Note: PGND is expected to be connected to DGND and AGND on application boards. To avoid ground loops, PGND is not connected to AGND and DGND on the dsPIC DSC Signal Board. FIGURE 3-11: GROUND INTERCONNECTION R29 R74 R75 0 DNP DNP DGND FIGURE 3-12: AGND DGND PGND AGND CONNECTION OF AVDD TO DVDD TP7 TP8 R130 AVDD DVDD 0 DS50002263B-page 48 2014 Microchip Technology Inc. dsPIC® DSC SIGNAL BOARD USER’S GUIDE Appendix A. Schematics and Layout A.1 INTRODUCTION This chapter provides detailed technical information on the dsPIC® DSC Signal Board. A.2 BOARD SCHEMATICS AND LAYOUT The following are the dsPIC DSC Signal Board schematics and layout: • • • • • • Figure A-1: dsPIC DSC Signal Board schematics (Sheet 1 of 5) Figure A-2: dsPIC DSC Signal Board schematics (Sheet 2 of 5) Figure A-3: dsPIC DSC Signal Board schematics (Sheet 3 of 5) Figure A-4: dsPIC DSC Signal Board schematics (Sheet 4 of 5) Figure A-5: dsPIC DSC Signal Board schematics (Sheet 5 of 5) Figure A-6: dsPIC DSC Signal Board layout 2014 Microchip Technology Inc. DS50002263B-page 49 DVDD SPST PIM:69_PWR:A15_EXP:28_FLT 0.1 μF 0603 16V DGND DGND DVDD R8 4.7k 0603 C25 0.1 μF 0603 16V DGND R2 R7 J15 1 2 SW3 1 J15a 4.7k 0603 1 R13 PIM:84_PWR:C14_EXP:29_FLT 3 4.7k 0603 4 U2C AVDD PIM:32_PWR:B33_EXP:13_FLT PIM:33_PWR:A33_EXP:14 PIM:34_PWR:C32_EXP:15 PIM:35_PWR:B32_FLT DVDD PIM:38_PWR:A32_EXP:16 PIM:39_PWR:C31_EXP:17 PIM:40_PWR:B31_EXP:18 PIM:41_PWR:A31_EXP:56 PIM:42_PWR:C29 PIM:43_PWR:B29 R97 R98 R87 0R 0R 0R PIM:44_PWR:A29 DVDD PIM:47_PWR:C28_EXP:19 PIM:48_PWR:B28_EXP:20 PIM:49_PWR:A28_EXP:21 PIM:50_PWR:C27_EXP:22 2014 Microchip Technology Inc. 1x25 PIM:51_PWR:B27_EXP:58 PIM:52_PWR:A27_EXP:59 PIM:53_PWR:C26 PIM:54_PWR:B26_FLT PIM:55_PWR:A26_FLT PIM:56_PWR:C25_FLT PIM:57_PWR:B25_FLT PIM:58_PWR:A25 PIM:59_PWR:B24_EXP:57 PIM:60_PWR:A24_EXP:60 PIM:61_PWR:C23_EXP:24 DVDD PIM:63 (OSC1) PIM:64 (OSC2) X2 8 MHz C33 C84 33 pF 50V 0603 33 pF 50V 0603 DGND DGND PIM:66_PWR:C22_FLT PIM:67_PWR:B22_FLT PIM:68_PWR:A22 PIM:69_PWR:A15_EXP:28_FLT_PICKIT PIM:70_PWR:A21 PIM:71_PWR:B19_FLT PIM:72_PWR:A19 PIM:73_PWR:C18_FLT PIM:74_PWR:B18_FLT 1x25 1x25 DGND 1x25 DGND PIM:51_PWR:B27_EXP:58 PIM:52_PWR:A27_EXP:59 PIM:53_PWR:C26 PIM:54_PWR:B26_FLT PIM:55_PWR:A26_FLT PIM:56_PWR:C25_FLT PIM:57_PWR:B25_FLT PIM:58_PWR:A25 PIM:59_PWR:B24_EXP:57 PIM:60_PWR:A24_EXP:60 PIM:61_PWR:C23_EXP:24 DVDD PIM:63 (OSC1) PIM:64 (OSC2) PIM:66_PWR:C22_FLT PIM:67_PWR:B22_FLT PIM:68_PWR:A22 PIM:69_PWR:A15_EXP:28_FLT_PICkit PIM:70_PWR:A21 PIM:71_PWR:B19_FLT PIM:72_PWR:A19 PIM:73_PWR:C18_FLT PIM:74_PWR:B18_FLT PIM:101 PIM:102 PIM:103 PIM:104 PIM:105_PWR:C17 1x30 DGND PICkit™ SPI J10 PAD1 PAD2 PAD3 PAD4 PAD5 RUBBER PAD 0.50x0.50x0.23 DVDD PIM:91_PWR:C12_EXP:32 SJ-5518 All resistors are 1% tolerance unless otherwise specified 6 5 4 3 2 1 DNP DGND 1 1 LD3 LD4 GREEN GREEN GREEN DGND DGND DGND J1 PIM:26_PWR:C34_EXP:41 PIM:27_PWR:B34_EXP:42 U2E AGND PIM:78_PWR:C16_EXP:26 PIM:87_PWR:A14_EXP:30 PIM:88_PWR:C13_EXP:31 LD2 GREEN DVDD PIM:13 (MCLR) U2D PIM:76_PWR:B17_FLT PIM:77_PWR:A17_FLT PIM:78_PWR:C16_EXP:26 PIM:79_PWR:B16_FLT PIM:80_PWR:A16_EXP:27 PIM:81_PWR:C15_FLT PIM:82_PWR:B15 PIM:83_PWR:B21_FLT PIM:84_PWR:C14_EXP:29_FLT PIM:85_PWR:B14 DVDD PIM:87_PWR:A14_EXP:30 PIM:88_PWR:C13_EXP:31 PIM:89_PWR:B13 PIM:90_PWR:A13 PIM:91_PWR:C12_EXP:32 PIM:92_PWR:B12 PIM:93_PWR:A12_EXP:46 PIM:94_PWR:C11_EXP:45 PIM:95_PWR:B11 PIM:96_PWR:A11 PIM:97_PWR:C9_EXP:23_FLT PIM:98_PWR:B9_EXP:48 PIM:99_PWR:A9_EXP:47 PIM:100_PWR:C8_EXP:50 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 PIM:26_PWR:C34_EXP:41 PIM:27_PWR:B34_EXP:42 PIM:28_PWR:A34 PIM:29_PWR:C33_EXP:12 (PGC) (PGD) DGND U2B (PGC) (PGD) 0.1 μF 0603 16V DGND 1k 0603 LD1 DGND C28 0.1 μF 0603 16V R18 1k 0603 PIM:41_PWR:A31_EXP:56 4.7k 0603 SPST DGND U2A R14 3 2 R17 1k 0603 1 2 3 4 5 6 4 SW4 R16 2 R12 4.7k 0603 DGND 1k 0603 1x6 RA J2 1 2 3 4 5 6 SW2 R11 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 DGND DGND R15 AGND 2 DVDD C27 DVDD PIM:17_PWR:C37_FLT PIM:18_PWR:B37_EXP:55 DGND PIM:19_PWR:A37_EXP:10 PIM:20_PWR:C36_FLT PIM:21_PWR:B36_FLT PIM:22_PWR:A36_FLT PIM:23_PWR:C35_EXP:11_FLT PIM:24_PWR:B35_FLT PIM:25_PWR:A35_FLT 0.1 μF 0603 16V DGND SPST C95 PIM:40_PWR:B31_EXP:18 4.7k 0603 C26 100R 0603 2 DNP R9 3 SPST DGND 1 PIM:01_PWR:B8_EXP:01 DVDD PIM:03_PWR:A8_EXP:49 PIM:04_PWR:C7_EXP:02 PIM:05_PWR:B7_EXP:03 PIM:06_PWR:A7_EXP:04 PIM:07_PWR:C6_EXP:05 PIM:08_PWR:B6_EXP:06 PIM:09_PWR:A6_EXP:07 PIM:10_PWR:C5 PIM:11_PWR:B5_EXP:08_FLT PIM:12_PWR:A5_EXP:09 PIM:13 (MCLR) PIM:14_PWR:A38_FLT 4 2 DVDD AGND 4.7k 0603 PIM:69_PWR:A15_EXP:28_FLT_PICKIT 1 0.1 μF 0603 16V SPST C2 AGND 4 3 2 1 C1 PIM:13 (MCLR) PIM:34_PWR:C32_EXP:15 AGND 1% 100R 0603 1 R6 470R 0603 2 3 0R 0603 0.1 μF 0603 16V 10k 3386F 10% 4 3 2 R10 C3 R1 (POT 1) 2 1 4.7k 0603 SW1 2 R54 SW0 R4 4.7k 0603 RESET 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 PIM:32_PWR:B33_EXP:13_FLT 10k 3386F 10% PIM:33_PWR:A33_EXP:14 3 1 AVDD R3 (POT 2) 2 0R 0603 PIM:59_PWR:B24_EXP:57 1 R55 PIM:23_PWR:C35_EXP:11_FLT DVDD R5 PIM:01_PWR:B8_EXP:01 AVDD RJ-11 DGND PICkit I2C™ PIM:49_PWR:A28_EXP:21 PIM:69_PWR:A15_EXP:28_FLT_PICKIT DVDD J12 6 5 4 3 2 1 DNP DGND dsPIC® DSC Signal Board DS50002263B-page 50 dsPIC® DSC SIGNAL BOARD SCHEMATIC REVISION 1.0 (SHEET 1 OF 5) FIGURE A-1: Schematics and Layout dsPIC® DSC SIGNAL BOARD SCHEMATIC REVISION 1.0 (SHEET 2 OF 5) (PWR CONNECTOR) PIM:01_PWR:B8_EXP:01 PIM:05_PWR:B7_EXP:03 PIM:07_PWR:C6_EXP:05 PIM:09_PWR:A6_EXP:07 PIM:12_PWR:A5_EXP:09 PIM:23_PWR:C35_EXP:11 PIM:32_PWR:B33_EXP:13 PIM:34_PWR:C32_EXP:15 PIM:39_PWR:C31_EXP:17 PIM:47_PWR:C28_EXP:19 PIM:49_PWR:A28_EXP:21 PIM:97_PWR:C9_EXP:23 PIM:13 (MCLR) PIM:80_PWR:A16_EXP:27 PIM:84_PWR:C14_EXP:29 PIM:88_PWR:C13_EXP:31 J13 DVDD R69 B40 A40 B39 A39 B38 A38 B37 A37 B36 A36 B35 A35 B34 A34 B33 A33 B32 A32 B31 A31 B30 A30 B29 A29 B28 A28 B27 A27 B26 A26 B25 A25 B24 A24 B23 A23 B22 A22 B21 A21 B20 A20 B19 A19 B18 A18 B17 A17 B16 A16 B15 A15 B14 A14 B13 A13 B12 A12 B11 A11 B10 A10 B9 A9 B8 A8 B7 A7 B6 A6 B5 A5 B4 A4 B3 A3 B2 A2 B1 A1 0R PIM:14_PWR:A38 PIM:18_PWR:B37_EXP:55 PIM:19_PWR:A37_EXP:10 PIM:21_PWR:B36 PIM:22_PWR:A36 PIM:24_PWR:B35 PIM:25_PWR:A35 PIM:27_PWR:B34_EXP:42 PIM:28_PWR:A34 PIM:32_PWR:B33_EXP:13 PIM:33_PWR:A33_EXP:14 PIM:35_PWR:B32 PIM:38_PWR:A32_EXP:16 PIM:40_PWR:B31_EXP:18 PIM:41_PWR:A31_EXP:56 DGND PIM:43_PWR:B29 PIM:44_PWR:A29 PIM:48_PWR:B28_EXP:20 PIM:49_PWR:A28_EXP:21 PIM:51_PWR:B27_EXP:58 PIM:52_PWR:A27_EXP:59 PIM:54_PWR:B26 PIM:55_PWR:A26 PIM:57_PWR:B25 PIM:58_PWR:A25 PIM:59_PWR:B24_EXP:57 PIM:60_PWR:A24_EXP:60 R70 0R R73 0R PIM:67_PWR:B22 PIM:68_PWR:A22 PIM:83_PWR:B21 PIM:70_PWR:A21 DGND DGND PIM:71_PWR:B19 PIM:72_PWR:A19 PIM:74_PWR:B18 PIM:104_PWR:A18 PIM:76_PWR:B17 PIM:77_PWR:A17 PIM:79_PWR:B16 PIM:80_PWR:A16_EXP:27 PIM:82_PWR:B15 PIM:69_PWR:A15_EXP:28 PIM:85_PWR:B14 PIM:87_PWR:A14_EXP:30 PIM:89_PWR:B13 PIM:90_PWR:A13 PIM:92_PWR:B12 PIM:93_PWR:A12_EXP:46 PIM:95_PWR:B11 PIM:96_PWR:A11 PIM:98_PWR:B9_EXP:48 PIM:99_PWR:A9_EXP:47 PIM:01_PWR:B8_EXP:01 PIM:03_PWR:A8_EXP:49 PIM:05_PWR:B7_EXP:03 PIM:06_PWR:A7_EXP:04 PIM:08_PWR:B6_EXP:06 PIM:09_PWR:A6_EXP:07 PIM:11_PWR:B5_EXP:08 PIM:12_PWR:A5_EXP:09 AVDD +5V DC+ PGND C40 DVDD C39 C38 C37 PIM:17_PWR:C37 C36 PIM:20_PWR:C36 C35 PIM:23_PWR:C35_EXP:11 C34 PIM:26_PWR:C34_EXP:41 C33 PIM:29_PWR:C33_EXP:12 DGND C32 PIM:34_PWR:C32_EXP:15 C31 PIM:39_PWR:C31_EXP:17 PIM:42_PWR:C29 C28 PIM:47_PWR:C28_EXP:19 (PGC) C27 PIM:50_PWR:C27_EXP:22 C26 PIM:53_PWR:C26 C25 PIM:56_PWR:C25 C24 PIM:101_PWR:C24 AGND AVDD PIM:18_PWR:B37_EXP:55 PIM:59_PWR:B24_EXP:57 PIM:52_PWR:A27_EXP:59 PIM:61_PWR:C23_EXP:24 C22 PIM:66_PWR:C22 C21 PIM:102_PWR:C21 C20 PIM:103_PWR:C19 C18 PIM:73_PWR:C18 C17 PIM:105_PWR:C17 C16 PIM:78_PWR:C16_EXP:26 C15 PIM:81_PWR:C15 C14 PIM:84_PWR:C14_EXP:29 C13 PIM:88_PWR:C13_EXP:31 C12 PIM:91_PWR:C12_EXP:32 C11 PIM:94_PWR:C11_EXP:45 DGND R53 0R 0603 (PGC) DGND AGND C10 C9 +5V PIM:26_PWR:C34_EXP:41 DVDD PIM:94_PWR:C11_EXP:45 PIM:99_PWR:A9_EXP:47 PIM:03_PWR:A8_EXP:49 AVDD PIM:18_PWR:B37_EXP:55 PIM:59_PWR:B24_EXP:57 PIM:52_PWR:A27_EXP:59 DGND (PGD) AVDD PIM:41_PWR:A31_EXP:56 PIM:51_PWR:B27_EXP:58 PIM:60_PWR:A24_EXP:60 AGND (EXP CONNECTOR) PIM:04_PWR:C7_EXP:02 PIM:06_PWR:A7_EXP:04 PIM:08_PWR:B6_EXP:06 PIM:11_PWR:B5_EXP:08 PIM:19_PWR:A37_EXP:10 PIM:29_PWR:C33_EXP:12 PIM:33_PWR:A33_EXP:14 PIM:38_PWR:A32_EXP:16 PIM:40_PWR:B31_EXP:18 PIM:48_PWR:B28_EXP:20 PIM:50_PWR:C27_EXP:22 PIM:61_PWR:C23_EXP:24 PIM:78_PWR:C16_EXP:26 PIM:69_PWR:A15_EXP:28 PIM:87_PWR:A14_EXP:30 PIM:91_PWR:C12_EXP:32 DC+ DGND +5V PIM:27_PWR:B34_EXP:42 DVDD PIM:93_PWR:A12_EXP:46 PIM:98_PWR:B9_EXP:48 PIM:100_PWR:C8_EXP:50 AVDD PIM:41_PWR:A31_EXP:56 PIM:51_PWR:B27_EXP:58 PIM:60_PWR:A24_EXP:60 (PGD) AGND 2x30 RA PIM:97_PWR:C9_EXP:23 C8 PIM:100_PWR:C8_EXP:50 C7 PIM:04_PWR:C7_EXP:02 C6 PIM:07_PWR:C6_EXP:05 C5 DC+ DC+ +5V PIM:27_PWR:B34_EXP:42 DVDD PIM:93_PWR:A12_EXP:46 PIM:98_PWR:B9_EXP:48 PIM:100_PWR:C8_EXP:50 J5 DNP J7 PIM:01_PWR:B8_EXP:01 PIM:05_PWR:B7_EXP:03 PIM:07_PWR:C6_EXP:05 PIM:09_PWR:A6_EXP:07 PIM:12_PWR:A5_EXP:09 PIM:23_PWR:C35_EXP:11 PIM:32_PWR:B33_EXP:13 PIM:34_PWR:C32_EXP:15 PIM:39_PWR:C31_EXP:17 PIM:47_PWR:C28_EXP:19 PIM:49_PWR:A28_EXP:21 PIM:97_PWR:C9_EXP:23 PIM:13 (MCLR) PIM:80_PWR:A16_EXP:27 PIM:84_PWR:C14_EXP:29 PIM:88_PWR:C13_EXP:31 PIM:04_PWR:C7_EXP:02 PIM:06_PWR:A7_EXP:04 PIM:08_PWR:B6_EXP:06 PIM:11_PWR:B5_EXP:08 PIM:19_PWR:A37_EXP:10 PIM:29_PWR:C33_EXP:12 PIM:33_PWR:A33_EXP:14 PIM:38_PWR:A32_EXP:16 PIM:40_PWR:B31_EXP:18 PIM:48_PWR:B28_EXP:20 PIM:50_PWR:C27_EXP:22 PIM:61_PWR:C23_EXP:24 PIM:78_PWR:C16_EXP:26 PIM:69_PWR:A15_EXP:28 PIM:87_PWR:A14_EXP:30 PIM:91_PWR:C12_EXP:32 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 DNP J4 C23 C19 DC+ +5V PIM:26_PWR:C34_EXP:41 DVDD PIM:94_PWR:C11_EXP:45 PIM:99_PWR:A9_EXP:47 PIM:03_PWR:A8_EXP:49 C30 C29 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 59 57 55 53 51 49 47 45 43 41 39 37 35 33 31 29 27 25 23 21 19 17 15 13 11 9 7 5 3 1 60 58 56 54 52 50 48 46 44 42 40 38 36 34 32 30 28 26 24 22 20 18 16 14 12 10 8 6 4 2 FIGURE A-2: PIM:10_PWR:C5 C4 C3 C2 Qty 2 C1 DC+ PGND SCREW 2-56x.500 5650906-5 DGND All resistors are 1% tolerance unless otherwise specified 2014 Microchip Technology Inc. Qty 2 DGND AGND NUT #2-56 SS Mounting hardware for J13 DS50002263B-page 51 Isolated part – USB Powered dsPIC® DSC Signal Board DS50002263B-page 52 dsPIC® DSC SIGNAL BOARD SCHEMATIC REVISION 1.0 (SHEET 3 OF 5) FIGURE A-3: Unisolated part – DVDD powered 5V_USB C34 16V 0.1 μF 0603 5V_USB R31 J3 1 USB_N 2 USB_P 3 4 1 3 4.7k 0603 DD+ ID GND_USB GND R32 0 GND_USB 5 VBUS 12 MHz 2 5V_USB X1 C37 U2 1 2 3 4 5 6 7 8 9 10 VDD VSS OSC1 D+ OSC2 DRST VUSB GP7/TxLEDGP0 GP6/RxLEDGP1 GP5 GP2 GP4 CTS GP3 RX TX RTS 20 19 18 17 16 15 14 13 12 11 USB_P USB_N 16V 0.1 μF 0603 GND_USB C36 16V 0.1 μF 0603 GND_USB GND_USB DVDD 5V_USB MCP2200_RX MCP2200_TX 1k 0603 1 2 3 4 5V_USB 2 LD7 LD8 RED 1 1 MCP2200_RX MCP2200_TX 5V_USB 2014 Microchip Technology Inc. C70 All resistors are 1% tolerance unless otherwise specified 16V 0.1 μF 0603 GND_USB DVDD VDD1VDD2 VOA VIA VIB VOB GND1GND2 8 7 6 5 DVDD R67 R68 3.3k 0603 3.3k 0603 R83 0R 1 R84 0R DNP GND_USB C35 GND_USB 16V 0.1 μF 0603 2 J11 PIM:50_PWR:C27_EXP:22 PIM:49_PWR:A28_EXP:21 J11a ADUM1201CRZ J6 4 3 2 1 2 5V_USB GREEN DGND U3 MCP2200 R33 1k 0603 DVDD GND_USB 1 2 DGND J9 DNP GND_USB DVDD TP19 DNP Black TP (DAC CS) J8 5 3 1 6 4 2 DATAVIEW PORT USB PIM:91_PWR:C12_EXP:32 PIM:87_PWR:A14_EXP:30 PIM:88_PWR:C13_EXP:31 DNP GND_USB DGND DGND (DAC CLK) (DAC DATA) D4 R65 DNP C43 C42 10 μF 50V 1210 4 10 μF 50V 1210 EN 0.1 μF 16V 0603 SW VFB 6 MCP16301 R85 R61 14R 0603 6.49k 0603 D5 MBRS1100T3G C85 J14 C87 C58 C59 10 μF 50V 1210 10 μF 50V 1210 C63 10 μF 50V 1210 1 VIN 4 EN 2 C62 5 R63 C61 91R 0603 0.1 μF 16V 0603 6 SW GNDBOOST U6 10 μF 50V 1210 VFB DNP ADJ GND MCP16301 DGND 169k TP2 DNP 14R 0603 D38 DNP DGND 10k 0603 MBRS1100T3G U7 0R 2 100 Ohm C88 1 10 μF 16V 0805 C65 10 μF 50V 1210 R125 R24 R72 20k C86 10 μF 50V 1210 VIN VOUT 5 SHDN LD5 R71 ADJ GND 3 MCP1826-ADJE/ET TP13 TP14 Black TP DGND R126 R127 R22 24.9k 15k +5V DGND DGND TP15 TP16 DGND J18 Black TP 0.1 μF 0603 16V D40 Yellow TP DGND DC+ AGND DVDD TP8 R130 AGND R25 Yellow TP AVDD 0R 1206 2 DS50002263B-page 53 TP20 AGND R75 DNP All resistors are 1% tolerance unless otherwise specified DGND DNP PGND PIM:101 TP11 U1 MCP6021 -A R26 10k 0603 AGND VDD OUTA 1 VSS +A R29 C73 PGND DGND R82 R91 0R 20R 0603 D33 AGND AGND R93 C72 DNP R129 1k 0603 PIM:101_PWR:C24 PIM:102 DNP PIM:102_PWR:C21 LD6 RED PIM:103 0R PIM:28_PWR:A34 AGND AVDD SMBJ3V3 0R AGND 0R White TP 0.1 μF 0603 16V 0.1 μF AGND 0603 16V AGND R95 R92 TP18 Black TP DGND 4 3 D9 DNP Black TP AVDD 10k 0603 MRA4005 R74 Red TP 0R R96 1000 pF 50V 0603 AVDD 5 TP7 Red TP R89 1k 0603 C30 Black TP DCLOCAL Red TP AGND 2 MRA4005 J19 R81 TP5 Black TP 1 2 R90 1 TP9 TP6 DGND DGND 1 2 C71 D39 TP10 DGND AVDD Red TP DGND DNP DNP PIM:103_PWR:C19 PIM:104 C89 C91 C93 C94 DNP DNP DNP DNP R94 DNP PIM:104_PWR:A18 DGND AGND AGND AGND AGND Schematics and Layout DGND AGND TP4 10 μF 50V 1210 DNP Black TP DGND Black TP TP3 C66 DNP 2 Black TP DGND GREEN R21 105k 0603 DGND 3 2 1k 1% 0603 DVDD 4 DGND DGND TP12 JACK Power 2.1 mm Male J17 1 DVDD R20 R128 FB2 R100 C64 470 pF 50V 0603 DGND DGND R23 40.2k 0603 10 μF 50V 1210 DGND DGND Voltage: 4V (J18 open) Voltage: 5.6V (J18 shorted) Orange TP L2 R64 C60 DNP DGND R86 DGND R19 R60 3 MCP1826-ADJE/ET DGND 22 μH DNP DGND SHDN 15k DGND 3 D37 R66 4 DGND D6 0R 1206 5 VOUT R62 DGND DGND 1N4148 DCLOCAL 1 10 μF 16V 0805 +5V VIN 470 pF 50V 0603 DGND R59 U5 2 100 Ohm 40.2k 0603 J14a default DGND J14 Pins 1 & 2 DGND DGND FB1 0R R35 3 1 2 3 DGND Voltage: 5.6V R99 22 μH J14a DNP TP1 Orange TP L1 1 0R 1206 VIN 91R 0603 1N4148 2 DCLOCAL 5 C41 1 R58 R34 GNDBOOST U4 1 D3 2 2014 Microchip Technology Inc. dsPIC® DSC SIGNAL BOARD SCHEMATIC REVISION 1.0 (SHEET 4 OF 5) FIGURE A-4: R56 PIM:11_PWR:B5_EXP:08 AVDD C57 D26 2 3 1k 0603 BAS40-04 AGND C68 0.1 μF 16V 0603 D27 2 3 1k 0603 BAS40-04 0.1 μF 16V 0603 D10 2 3 1k 0603 BAS40-04 AGND C44 0.1 μF 16V 0603 D13 2 3 1k 0603 C47 3 1k 0603 BAS40-04 0.1 μF 16V 0603 C39 D18 2 3 1k 0603 C12 BAS40-04 3 1k 0603 BAS40-04 AVDD C45 R37 0.1 μF 16V 0603 D14 2 3 1% 1k 0603 1 BAS40-04 AVDD C48 0.1 μF 16V 0603 3 1k 0603 BAS40-04 C50 0.1 μF 16V 0603 C13 C51 3 1k 0603 0.1 μF 16V 0603 PIM:35_PWR:B32_FLT BAS40-04 AGND AGND R45 AVDD C40 0.1 μF 16V 0603 D12 2 3 1k 0603 BAS40-04 2014 Microchip Technology Inc. AGND D20 3 0R 0603 1 3 C74 C46 0.1 μF 16V 0603 2 AVDD C52 0.1 μF 16V 0603 R47 0R 0603 D15 3 C19 DNP 1 BAS40-04 AGND All resistors are 1% tolerance unless otherwise specified AGND D21 3 0R 0603 1 C92 0.1 μF 16V 0603 0.1 μF 16V 0603 AGND C76 PIM:57_PWR:B25_FLT R77 PIM:77_PWR:A17 D29 2 3 0R 0603 1 0.1 μF 16V 0603 PIM:77_PWR:A17_FLT C77 DNP AGND 1 470 pF 50V 0603 1 BAS40-04 AGND PIM:81_PWR:C15_FLT C90 2 R78 D30 3 C78 0.1 μF 16V 0603 1 DNP AVDD C82 D32 2 3 1k 0603 PIM:84_PWR:C14_EXP:29_FLT C83 470 pF 50V 0603 1 BAS40-04 BAS40-04 PIM:79_PWR:B16_FLT 1k 0603 AVDD C79 470 pF 50V 0603 AGND R27 PIM:97_PWR:C9_EXP:23 C4 0.1 μF 16V 0603 D2 2 3 1 BAS40-04 AGND AGND AGND R80 PIM:84_PWR:C14_EXP:29 AGND AVDD BAS40-04 AGND PIM:83_PWR:B21_FLT C81 AGND PIM:79_PWR:B16 AGND 0R 0603 1k 0603 AGND C23 R88 3 3 0.1 μF 16V 0603 BAS40-04 BAS40-04 D35 D31 2 AGND DNP 2 R79 PIM:83_PWR:B21 C80 470 pF 50V 0603 BAS40-04 C22 R51 PIM:81_PWR:C15 AVDD AGND AGND AGND AGND PIM:55_PWR:A26_FLT DNP BAS40-04 PIM:56_PWR:C25_FLT DNP 2 C10 1 AVDD C75 1 0.1 μF 16V 0603 BAS40-04 PIM:57_PWR:B25 AGND PIM:55_PWR:A26 AVDD C17 470 pF 50V 0603 1 3 AGND PIM:76_PWR:B17_FLT 1k 0603 D28 2 AGND R50 AGND PIM:54_PWR:B26_FLT R76 PIM:76_PWR:B17 AVDD PIM:54_PWR:B26 PIM:74_PWR:B18_FLT 0R 0603 D7 2 0.1 μF 16V 0603 AGND AGND R38 PIM:74_PWR:B18 C31 DNP BAS40-04 AGND DNP BAS40-04 AVDD C8 1 0.1 μF 16V 0603 AVDD C24 470 pF 50V 0603 1 2 C29 C11 R52 D19 PIM:56_PWR:C25 AVDD 3 C21 1 AGND PIM:73_PWR:C18_FLT 0R 0603 D1 3 0.1 μF 16V 0603 AGND R36 PIM:71_PWR:B19_FLT 0R 0603 D25 2 AGND PIM:35_PWR:B32 AVDD DNP 2 AVDD AGND R49 PIM:71_PWR:B19 C56 BAS40-04 AGND DNP BAS40-04 AVDD C18 1 PIM:73_PWR:C18 PIM:32_PWR:B33_EXP:13_FLT 470 pF 50V 0603 1 2 470 pF 50V 0603 PIM:67_PWR:B22_FLT 0R 0603 3 1 AGND R46 D23 C20 3 0.1 μF 16V 0603 AGND 2 C54 0.1 μF 16V 0603 C9 AGND D17 2 AGND 0R D24 2 C55 DNP BAS40-04 PIM:69_PWR:A15_EXP:28_FLT PIM:69_PWR:A15_EXP:28 AVDD C16 1 AVDD PIM:25_PWR:A35_FLT R39 PIM:32_PWR:B33_EXP:13 C53 PIM:67_PWR:B22 AGND PIM:25_PWR:A35 3 0.1 μF 16V 0603 C7 470 pF 50V 0603 1 AGND PIM:22_PWR:A36_FLT 470 pF 50V 0603 1 D11 PIM:24_PWR:B35_FLT PIM:66_PWR:C22_FLT 0R 0603 D22 2 AVDD R48 R44 PIM:66_PWR:C22 AGND R30 AGND PIM:21_PWR:B36_FLT R41 BAS40-04 2 PIM:23_PWR:C35_EXP:11_FLT C5 470 pF 50V 0603 1 0.1 μF 16V 0603 AGND AGND C49 C15 470 pF 50V 0603 1 1k 0603 AGND PIM:20_PWR:C36_FLT R40 D16 2 PIM:22_PWR:A36 AVDD AVDD AGND PIM:21_PWR:B36 0.1 μF 16V 0603 C14 470 pF 50V 0603 BAS40-04 3 PIM:24_PWR:B35 AGND 1 D8 2 AGND PIM:17_PWR:C37_FLT R43 AGND AVDD C69 470 pF 50V 0603 1 PIM:20_PWR:C36 AVDD PIM:14_PWR:A38_FLT R42 PIM:17_PWR:C37 C38 C32 0.1 μF 16V 0603 AGND AGND AVDD AVDD AGND 470 pF 50V 0603 1 R28 PIM:23_PWR:C35_EXP:11 AGND R57 PIM:14_PWR:A38 AVDD C67 470 pF 50V 0603 1 0.1 μF 16V 0603 PIM:11_PWR:B5_EXP:08_FLT 1k 0603 PIM:97_PWR:C9_EXP:23_FLT C6 470 pF 50V 0603 AGND dsPIC® DSC Signal Board DS50002263B-page 54 dsPIC® DSC SIGNAL BOARD SCHEMATIC REVISION 1.0 (SHEET 5 OF 5) FIGURE A-5: Schematics and Layout FIGURE A-6: dsPIC® DSC SIGNAL BOARD LAYOUT 2014 Microchip Technology Inc. DS50002263B-page 55 dsPIC® DSC Signal Board NOTES: DS50002263B-page 56 2014 Microchip Technology Inc. dsPIC® DSC SIGNAL BOARD USER’S GUIDE Appendix B. Electrical Specifications B.1 INTRODUCTION This chapter provides the electrical specifications of the dsPIC® DSC Signal Board (see Table B-1). TABLE B-1: ELECTRICAL SPECIFICATIONS Parameter Operating Range Input DC Voltage 10V-24V ±10% (9V-26.4V) Input DC Voltage (Connector J17) 24V Operating Temperature Ambient +25°C Output Power Supply 1 5V ±0.5% (4.975V-5.025V) Output Power Supply 2 3.3V ±0.5% (3.316V-3.283V) or 5V ±0.5% (4.975V-5.025V) Current from Power Supply 1 (Fixed +5V) 0-600 mA Current from Power Supply 2 (+3.3V or +5V) 0-600 mA 2014 Microchip Technology Inc. DS50002263B-page 57 dsPIC® DSC Signal Board NOTES: DS50002263B-page 58 2014 Microchip Technology Inc. dsPIC® DSC SIGNAL BOARD USER’S GUIDE Appendix C. Design Calculations C.1 INTRODUCTION This chapter provides detailed information on the Power Supply 1 and Power Supply 2 design. Power Supply 1 has a fixed output of +5V, whereas the output of Power Supply 2 is configurable. Power Supply 1 and Power Supply 2 have the same power supply circuits. Power Supply 2 also has a parallel resistor RPIM in its feedback circuit for reconfiguring the output voltage. C.2 DESIGN OF POWER SUPPLY CIRCUIT The power supply circuit is designed in the following two stages: 1. First Stage of Power Supply Circuit Design 2. Second Stage of Power Supply Circuit Design C.2.1 First Stage of Power Supply Circuit Design The first stage of the power supply is a synchronous step-down converter (see Figure C-1). The Stage 1 power supply has the following specifications: • Input Voltage (DC+) = 9V-26.4V • Output Voltage (VBUCK) = 4V when Connector J18 is open • Output Voltage (VBUCK) = 5.6V when Connector J18 is connected FIGURE C-1: STAGE 1 POWER SUPPLY (APPLICATION CIRCUIT AROUND MCP16301) DB MCP16301 RBOOST CB BOOST L DCLOCAL(1) CIN VBUCK SW VIN EN D COUT RSNU CSNU RTOP1 VFB GND RBOT1 RPIM1 J18 Note 1: DCLOCAL comes from J17 or DC+. The component values used in this circuit are listed in Table C-1, and were chosen using Equation C-1 with VFB = 0.8V and K = 0.22V/H (see Note 1 in Table C-1). 2014 Microchip Technology Inc. DS50002263B-page 59 dsPIC® DSC Signal Board EQUATION C-1: V BUCK RTOP1 = R BOT1 ---------------–1 V FB K = V BUCK L TABLE C-1: STAGE 1 POWER SUPPLY COMPONENT VALUES Designator Power Supply 1 Power Supply 2 RTOP1 R35 = 40.2 k R64 = 40.2 k RBOT1 R61 = 6.49 k R125 = 10 k RPIM1 — R72 = 20 k L L1 = 22 µH(1) L2 = 22 µH(1) CB C41 = 0.1 µF(1) C61 = 0.1 µF(1) CIN C42 = C43 = 10 µF(1) C62 = C63 = 10 µF(1) µF(1) C64 = C65 = 10 µF(1) COUT C58 = C59 = 10 VBUCK Note 1: 5.6V +4V (J18 open) +5.6V (J18 shorted) These components are selected based on recommendations from the “MCP16301/H High-Voltage Input Integrated Switch Step-Down Regulator Data Sheet” (DS20005004). A low forward drop Schottky diode is used for freewheeling diode D. The average diode current is calculated using Equation C-2. Based on these calculations, a MBRS1100T3G Schottky diode is selected. EQUATION C-2: V BUCK I D AVG = 1 – ---------------------------- I OUT DCLOCAL A standard 1N4148 ultra-fast diode for boost diode DB was selected based on recommendations from the “MCP16301/H High-Voltage Input Integrated Switch Step-Down Regulator Data Sheet” (DS20005004). For more information about the snubber circuits, RSNU and CSNU, and series boost resistor, RBOOST, refer to AN1466, “Reduction of the High-Frequency Switching Noise in the MCP16301 High-Voltage Buck Converter” (DS01466) application note. DS50002263B-page 60 2014 Microchip Technology Inc. Design Calculations C.2.2 Second Stage of Power Supply Circuit Design The second stage of the power supply is designed around a Low Dropout (LDO) MCP1826 (see Figure C-2). The second stage of the power supply has the following specifications: • Input Voltage (VBUCK) = +4V (J18 is open) or +5.6V (J18 is shorted) • Output Voltage (DVDD) = +3.3V when connector, J19, is open • Output Voltage (DVDD) = +5V when connector, J19, is connected FIGURE C-2: STAGE 2 POWER SUPPLY (APPLICATION CIRCUIT AROUND MCP1826) MCP1826-ADJ VIN VBUCK CIN DVDD VOUT SHDN RTOP2 COUT ADJ GND RBOT2 RPIM2 J19 If VADJ = 0.41V, then by using Equation C-3, the user can configure the component values as provided in Table C-2 for the application circuit shown in Figure C-2. EQUATION C-3: R TOP2 + R BOT2 DV DD = V ADJ ------------------------------------- R BOT2 TABLE C-2: STAGE 2 POWER SUPPLY COMPONENT VALUES Designator Power Supply 1 Power Supply 2 RTOP2 R60 = 169 k R71 = 105 k RBOT2 R62 = 15 k R127 = 15 k RPIM2 — R126 = 24.9 k VOUT 5V +3.3V (J19 open) +5V (J19 shorted) CIN C87 = 10 µF(1) C88 = 10 µF(1) (1) C66 = 10 µF(1) COUT Note 1: 2014 Microchip Technology Inc. C60 = 10 µF These components are selected based on the recommendations from the “MCP1826/MCP1826S 1000 mA, Low-Voltage, Low Quiescent Current LDO Regulator Data Sheet” (DS22057). DS50002263B-page 61 Worldwide Sales and Service AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPE Corporate Office 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: http://www.microchip.com/ support Web Address: www.microchip.com Asia Pacific Office Suites 3707-14, 37th Floor Tower 6, The Gateway Harbour City, Kowloon Hong Kong Tel: 852-2943-5100 Fax: 852-2401-3431 India - Bangalore Tel: 91-80-3090-4444 Fax: 91-80-3090-4123 Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 Australia - Sydney Tel: 61-2-9868-6733 Fax: 61-2-9868-6755 Atlanta Duluth, GA Tel: 678-957-9614 Fax: 678-957-1455 China - Beijing Tel: 86-10-8569-7000 Fax: 86-10-8528-2104 Austin, TX Tel: 512-257-3370 China - Chengdu Tel: 86-28-8665-5511 Fax: 86-28-8665-7889 Boston Westborough, MA Tel: 774-760-0087 Fax: 774-760-0088 Chicago Itasca, IL Tel: 630-285-0071 Fax: 630-285-0075 Cleveland Independence, OH Tel: 216-447-0464 Fax: 216-447-0643 Dallas Addison, TX Tel: 972-818-7423 Fax: 972-818-2924 Detroit Novi, MI Tel: 248-848-4000 Houston, TX Tel: 281-894-5983 Indianapolis Noblesville, IN Tel: 317-773-8323 Fax: 317-773-5453 Los Angeles Mission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608 New York, NY Tel: 631-435-6000 San Jose, CA Tel: 408-735-9110 Canada - Toronto Tel: 905-673-0699 Fax: 905-673-6509 DS50002263B-page 62 China - Chongqing Tel: 86-23-8980-9588 Fax: 86-23-8980-9500 China - Hangzhou Tel: 86-571-8792-8115 Fax: 86-571-8792-8116 China - Hong Kong SAR Tel: 852-2943-5100 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-8864-2200 Fax: 86-755-8203-1760 China - Wuhan Tel: 86-27-5980-5300 Fax: 86-27-5980-5118 China - Xian Tel: 86-29-8833-7252 Fax: 86-29-8833-7256 India - New Delhi Tel: 91-11-4160-8631 Fax: 91-11-4160-8632 India - Pune Tel: 91-20-3019-1500 Japan - Osaka Tel: 81-6-6152-7160 Fax: 81-6-6152-9310 Japan - Tokyo Tel: 81-3-6880- 3770 Fax: 81-3-6880-3771 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 France - Paris Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79 Germany - Dusseldorf Tel: 49-2129-3766400 Germany - Munich Tel: 49-89-627-144-0 Fax: 49-89-627-144-44 Germany - Pforzheim Tel: 49-7231-424750 Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781 Italy - Venice Tel: 39-049-7625286 Malaysia - Kuala Lumpur Tel: 60-3-6201-9857 Fax: 60-3-6201-9859 Netherlands - Drunen Tel: 31-416-690399 Fax: 31-416-690340 Malaysia - Penang Tel: 60-4-227-8870 Fax: 60-4-227-4068 Poland - Warsaw Tel: 48-22-3325737 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-5778-366 Fax: 886-3-5770-955 Spain - Madrid Tel: 34-91-708-08-90 Fax: 34-91-708-08-91 Sweden - Stockholm Tel: 46-8-5090-4654 UK - Wokingham Tel: 44-118-921-5800 Fax: 44-118-921-5820 Taiwan - Kaohsiung Tel: 886-7-213-7830 Taiwan - Taipei Tel: 886-2-2508-8600 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 China - Xiamen Tel: 86-592-2388138 Fax: 86-592-2388130 China - Zhuhai Tel: 86-756-3210040 Fax: 86-756-3210049 03/25/14 2014 Microchip Technology Inc.