Summary of Contents for Microchip Technology PICtail
Page 1
Mixed Signal PICtail™ Demo Board User’s Guide 2004 Microchip Technology Inc. DS51523A...
Page 2
Select Mode, Smart Serial, SmartTel and Total Endurance are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies.
Chapter 1. Product Overview ..................5 1.1 Introduction ..................... 5 1.2 Purpose and Utility of the Mixed Signal PICtail™ Demo Board ..... 5 1.3 Contents of the Mixed Signal PICtail™ Demo Board Kit ........ 5 Chapter 2. Installation and Operation ................7 2.1 Introduction .....................
Page 4
Mixed Signal PICtail™ Demo Board User’s Guide NOTES: 2004 Microchip Technology Inc. DS51523A-page iv...
Page 5
INTRODUCTION This chapter contains general information that will be useful to know before using the Mixed Signal PICtail™ Demo Board. Items discussed in this chapter include: • About This Guide • Conventions Used in this Guide • Recommended Reading •...
Page 6
Mixed Signal PICtail™ Demo Board User’s Guide ABOUT THIS GUIDE Document Layout This document describes how to use the Mixed Signal PICtail™ Demo Board. The manual layout is as follows: • Chapter 1. Product Overview – Important information about the Mixed Signal PICtail™...
Curly brackets and pipe Choice of mutually exclusive errorlevel {0|1} character: { | } arguments; an OR selection Ellipses... Replaces repeated text var_name [, var_name...] Represents code supplied by void main (void) user { ... 2004 Microchip Technology Inc. DS51523A-page 3...
Page 8
Mixed Signal PICtail™ Demo Board User’s Guide RECOMMENDED READING This user's guide describes how to use the Mixed Signal PICtail™ Demo Board. Other useful documents are listed below. The following Microchip documents are available and recommended as supplemental reference resources.
Microchip's development systems software products. This line also provides information on how customers can receive currently available upgrade kits. The Development Systems Information Line numbers are: 1-800-755-2345 – United States and most of Canada 1-480-792-7302 – Other International Locations 2004 Microchip Technology Inc. DS51523A-page 5...
Page 10
Mixed Signal PICtail™ Demo Board User’s Guide NOTES: 2004 Microchip Technology Inc. DS51523A-page 6...
Board User’s Guide Chapter 1. Product Overview INTRODUCTION This chapter provides an overview of the Mixed Signal PICtail™ Demo Board and covers the following topics:. • Purpose and utility of the Mixed Signal PICtail™ Demo Board • Contents of the Mixed Signal PICtail™ Demo Board Kit PURPOSE AND UTILITY OF THE MIXED SIGNAL PICtail™...
Page 12
Mixed Signal PICtail™ Demo Board User’s Guide NOTES: 2004 Microchip Technology Inc. DS51523A-page 8...
• Can be powered by either the PICkit™ 1 Flash Starter Kit or by an external 9V supply GETTING STARTED The Mixed Signal PICtail™ Demo Board is assembled and tested for evaluation and demonstration of the MCP492X, MCP482X, TC132X, MCP3551, MCP3302, MCP3204, MCP1541, MCP1701, PIC16F767 and MCP617 features. Additional product samples with footprints supported by this board are included.
Page 14
Mixed Signal PICtail™ Demo Board User’s Guide J1, J2, J3 PICkit™ 1 TC55 (10V V Flash Starter Kit MCP1701 (10V V Header MCP1700 (<6V V ® PICmicro ® MPLAB Header PIC16F767 (for debugging Mode Switch and programming) SPI™ MCP1541 C™...
Page 15
2.3.1 The Hardware Figure 2-2 shows the layout of the Mixed Signal PICtail™ Demo Board with indicators to points of interest, while Table 2-1 details the PICkit™ 1 Flash Starter Kit Header connections. Jumpers JP1-JP5 are fully described in Section 2.3.2 “The Embedded System Firmware”.
Page 16
Mixed Signal PICtail™ Demo Board User’s Guide TABLE 2-1: PICkit™ 1 FLASH STARTER KIT 14-PIN HEADER INTERFACE PINS Buffer Pin Name Description Number Type Type — — Electrical Ground. Both analog and digital. — — Power Supply Input. Refer to Note 2 in Appendix A “Schematics and Layouts”.
Page 17
Installation and Operation 2.3.2 The Embedded System Firmware ® The Mixed Signal PICtail™ Demo Board firmware utilizes PICmicro microcontroller assembly language, Microchip MPASM™ assembler and MPLINK™ linker to build the.HEX machine file. MixedSignal_v100.asm, DAC_dtmf.asm, p16F767.inc and MCP492X_16f767i.lkr files are needed in your project to build the MixedSignalPICtail.hex.
Page 18
Mixed Signal PICtail™ Demo Board User’s Guide Modes 1XXX primarily utilize TC132X DAC modes: 1. Mode1000: Generate a 100 Hz 32-step sine wave on the TC132X. Analyze output on V . See Appendix H. “Sine Wave and Filtered DTMF Scope OUTC Captures”...
PIC16F767. 2.4.1 Power The Mixed Signal PICtail™ Demo Board can be powered by either the PICkit™ 1 Flash Starter Kit’s V and V signals or by a DC power supply 9V (5V minimum and 10V maximum).
Page 20
Mixed Signal PICtail™ Demo Board User’s Guide 2.4.4 Jumper JP2 Selection Jumper JP2 is located in the center of the board above JP1. JP2 consists of three pairs of jumper pins. The lower two pins are connected to A . The middle two pins are...
Page 21
The MPLAB ICD 2 signals remain static during normal operation, therefore adding no noise to the system while executing code. This RJ11 connector would not be used if the PICkit™ 1 Flash Starter Kit is used for development. 2004 Microchip Technology Inc. DS51523A-page 17...
Page 22
Mixed Signal PICtail™ Demo Board User’s Guide NOTES: 2004 Microchip Technology Inc. DS51523A-page 18...
Mixed Signal PICtail™ Demo Board User’s Guide Appendix A. Schematics and Layouts INTRODUCTION This appendix contains the schematics and layouts for the Mixed Signal PICtail™ Demo Board. Diagrams included in this appendix: • Board Schematic • Board - Top + Silk Screen Layer •...
Appendix C. MixedSignal_V100.asm Description Software License Agreement The software supplied herewith by Microchip Technology Incorporated (the “Company”) is intended and supplied to you, the Company’s customer, for use solely and exclusively with products manufactured by the Company. The software is owned by the Company and/or its supplier, and is protected under applicable copyright laws. All rights are reserved.
Page 34
Mixed Signal PICtail™ Demo Board User’s Guide NOTES: 2004 Microchip Technology Inc. DS51523A-page 30...
Appendix D. DAC_dtmf.asm Source Code Software License Agreement The software supplied herewith by Microchip Technology Incorporated (the “Company”) is intended and supplied to you, the Company’s customer, for use solely and exclusively with products manufactured by the Company. The software is owned by the Company and/or its supplier, and is protected under applicable copyright laws. All rights are reserved.
Page 36
Mixed Signal PICtail™ Demo Board User’s Guide ; OUTPUT - 5 cycles ; THEORY OF OPERATION - CHOOSING # OF STEPS ; Using the above #s: Minimum loop = 17 cycles Maximum loop = 46 cycles Maximum Low distortion = 5 + 22 + 5 = 32 Maximum High distortion = 5 + 19 + 5 = 29 ;...
Page 38
Mixed Signal PICtail™ Demo Board User’s Guide 7 852 1209 8 852 1336 9 852 1477 A 697 1633 B 770 1633 C 852 1633 D 941 1633 * 941 1209 # 941 1477 ((_32_steps) & (Fosc_8000000)) | ((_16_steps) & (Fosc_4000000)) ;*************************************************************************...
Page 39
;1623.4 1633 .59% ; may run out of tcy and be too slow retlw .103 ;1213.6 1209 .37% retlw .85 ;1470.6 1477 .43% endif _16_steps & Fosc_3570000 ;************************************************************************* Delay Calculation for Frequency Generation 2004 Microchip Technology Inc. DS51523A-page 35...
Page 41
.82 retlw .82 retlw .82 retlw .60 retlw .74 endif ;************************************************************************* Tone ;The following Syncs the SINE wave and the Timer ;Initialize all registers for startup movlw HIGH SINE_Table_7bit movwf PCLATH _32_steps 2004 Microchip Technology Inc. DS51523A-page 37...
Page 43
; Use this for 12b result , set DAC B, Vref Buffered, ; 1x Gain movwf DAC_MSB ; Use this for 12b result, otherwise let it default to ; preload call WriteToMCP492X ; takes 30 Tcy using HW SPI goto test_F_Low tone_done 2004 Microchip Technology Inc. DS51523A-page 39...
Page 44
Mixed Signal PICtail™ Demo Board User’s Guide NOTES: 2004 Microchip Technology Inc. DS51523A-page 40...
Appendix E. MixedSignal_16f767i.lkr Source Code Software License Agreement The software supplied herewith by Microchip Technology Incorporated (the “Company”) is intended and supplied to you, the Company’s customer, for use solely and exclusively with products manufactured by the Company. The software is owned by the Company and/or its supplier, and is protected under applicable copyright laws. All rights are reserved.
Mixed Signal PICtail™ Demo Board User’s Guide Appendix G. Scope Probe Noise Captures FIGURE G-1: Oscilloscope screen capture of V using a standard scope probe and short OUT_B ground lead. This illustrates the noise picked up by the scope probe and ground lead.
Page 50
Mixed Signal PICtail™ Demo Board User’s Guide NOTES: 2004 Microchip Technology Inc. DS51523A-page 46...
Mixed Signal PICtail™ Demo Board User’s Guide Appendix H. Sine Wave and Filtered DTMF Scope Captures FIGURE H-1: Mode1000b generates a 100 Hz, 32-step sine wave on V using the TC132X. OUT_C FIGURE H-2: Mode0000b generates DTMF waveforms to repeatedly dial a phone number.
Page 52
Mixed Signal PICtail™ Demo Board User’s Guide NOTES: 2004 Microchip Technology Inc. DS51523A-page 48...
Mixed Signal PICtail™ Demo Board User’s Guide ® Appendix I. MPLAB IDE Screen Capture ® FIGURE I-1: MPLAB IDE v6.62 screen capture of an example project to build and debug the included firmware. Note the required files in the project window and the two pre-defined Watch windows that the user can open up.
Fax: 86-532-502-7205 Tel: 765-864-8360 Fax: 765-864-8387 Los Angeles Mission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608 San Jose Mountain View, CA Tel: 650-215-1444 Fax: 650-961-0286 Toronto Mississauga, Ontario, Canada Tel: 905-673-0699 Fax: 905-673-6509 10/20/04 2004 Microchip Technology Inc. DS51523A-page 50...
Page 55
Компания «ЭлектроПласт» предлагает заключение долгосрочных отношений при поставках импортных электронных компонентов на взаимовыгодных условиях! Наши преимущества: Оперативные поставки широкого спектра электронных компонентов отечественного и импортного производства напрямую от производителей и с крупнейших мировых складов; Поставка более 17-ти миллионов наименований электронных компонентов; ...
Need help?
Do you have a question about the PICtail and is the answer not in the manual?
Questions and answers