MICROCHIP 1LSb Octal DAC Evaluation Board User Guide

June 10, 2024
MICROCHIP

**MICROCHIP 1LSb Octal DAC Evaluation Board User Guide

**

Note the following details of the code protection feature on Microchip products:

  • Microchip products meet the specifications contained in their particular Microchip Data Sheet.
  • Microchip believes that its family of products is secure when used in the intended manner, within operating specifications, and under normal conditions.
  • Microchip values and aggressively protects its intellectual property rights. Attempts to breach the code protection features of Microchip product is strictly prohibited and may violate the Digital Millennium Copyright Act.
  • Neither Microchip nor any other semiconductor manufacturer can guarantee the security of its code. Code protection does not mean that we are guaranteeing the product is “unbreakable”. Code protection is constantly evolving. Microchip is committed to continuously improving the code protection features of our products.

This publication and the information herein may be used only with Microchip products, including to design, test, and integrate Microchip products with your application. Use of this information in any other manner violates these terms. Information regarding device applications 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. Contact your local Microchip sales office for additional support or, obtain additional support at
https://www.microchip.com/en-us/support/design-help/client-support-services.

THIS INFORMATION IS PROVIDED BY MICROCHIP “AS IS”. 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 ANY IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE, OR WARRANTIES RELATED TO ITS CONDITION, QUALITY, OR PERFORMANCE.

IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL, OR CONSEQUENTIAL LOSS, DAMAGE, COST, OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE INFORMATION OR ITS USE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT ALLOWED BY LAW, MICROCHIP’S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY RELATED TO THE INFORMATION OR ITS USE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THE INFORMATION.

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 unless otherwise stated.

Trademarks

The Microchip name and logo, the Microchip logo, Adaptec,

SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.

The Adaptec logo, Frequency on Demand, Silicon Storage Technology, Symmcom, and Trusted Time are registered trademarks of Microchip Technology Inc. in other countries.

Gest IC is a registered trademark 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.

© 2021, Microchip Technology Incorporated and its subsidiaries.

All Rights Reserved.

ISBN: 978-1-5224-9231-3

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 website (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 1LSb Octal DAC Evaluation Board. Items discussed in this chapter include:

  • Document Layout
  • Conventions Used in this Guide
  • Recommended Reading
  • The Microchip Website
  • Customer Support
  • Document Revision History

DOCUMENT LAYOUT

This document describes how to use the 1LSb Octal DAC Evaluation Board to demonstrate the performance of the MCP47CXBX8/MCP48CXBX8 DAC family. The manual layout is as follows:

  • Chapter 1. “Product Overview” – Provides quick, step-by-step information on setting up the 1LSb Octal DAC Evaluation Board.
  • Chapter 2. “Installation and Operation” – Important information about the 1LSb Octal DAC Evaluation Board.
  • Chapter 3. “Code” – Includes instructions on how to get started with the 1LSb Octal DAC Evaluation Board.
  • Appendix A. “Schematics” – Refer to the board’s web page for the complete Schematics.
  • Appendix B. “Bill of Materials (BOM)” – Refer to the board’s web page for the complete Bill of Materials.

CONVENTIONS USED IN THIS GUIDE

This manual uses the following documentation conventions:

DOCUMENTATION CONVENTIONS

Description Represents Examples

Arial font:
Italic characters| Referenced books| MPLAB ® IDE User’s Guide
Emphasized text| …is the only compiler…
Initial caps| 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
N‘Rnnnn| A number in verilog format, where N is the total number of digits, R is the radix and n is a digit.| 4‘b0010, 2‘hF1
Text in angle brackets < >| A key on the keyboard| Press ,
Courier New font:
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){ …}

RECOMMENDED READING

This user’s guide describes how to use the 1LSb Octal DAC Evaluation Board. Another useful document is listed below. The following Microchip documents are available and recommended as a supplemental reference resource.

  • MCP47CXBX4/8 Data Sheet – “8/10/12-Bit Digital-to-Analog Converters, 1 LSb INL, Quad/Octal Voltage Output with I2C Interface” (DS20006537)
  • MCP48CXBX4/8 Data Sheet – “8/10/12-Bit Digital-to-Analog Converters, 1 LSb INL, Quad/Octal Voltage Output with SPI Interface” (DS20006556)

THE MICROCHIP WEBSITE

Microchip provides online support via our website at www.microchip.com. This website is used as a means to make files and information easily available to customers. Accessible by using your favorite Internet browser, the website 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 listing
  • Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listing of seminars and events, listings of Microchip sales offices, distributors and factory representatives

CUSTOMER SUPPORT

Users of Microchip products can receive assistance through several channels:

  • Distributor or Representative
  • Local Sales Office
  • Embedded System Engineer (ESE)
  • 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 website at: http://www.microchip.com/support.

DOCUMENT REVISION HISTORY

Revision A (November 2021)

  • Initial release of this document.

Chapter 1. Product Overview

INTRODUCTION

This chapter provides an overview of the 1LSb Octal DAC Evaluation Board. The MCP47CXBX8/MCP48CXBX8 is a 12-bit, 1 LSb DAC. The devices offer two memory options: MCP47CVBX8/MCP48CVBX8 devices have volatile memory, while the MCP47CMBX8/MCP47CMBX8 have 32-times programmable nonvolatile memory (MTP).The devices operate from a single supply voltage of 2.7V to 5.5V for full specified operation and 1.8V to 5.5V for digital operation.

The devices populated on the 1LSb Octal DAC Evaluation Board are the nonvolatile I 2C DAC (MCP47CMB28) and the nonvolatile SPI DAC (MCP48CMB28).

1LSb OCTAL DAC EVALUATION BOARD OVERVIEW

The Microchip 1LSb Octal DAC Evaluation Board is used to evaluate the MCP47CXBX8 and MCP48CXBX8 DAC families. Users can now easily evaluate features of the MCP47CXBX8/MCP48CXBX8 devices by connecting the evaluation board to any of the Microchip Curiosity microcontroller development boards. The 1LSb Octal DAC Evaluation Board supports the mikro BUS™ click™ board and can be mounted on any of the mikro BUS supported MCU boards. The 1LSb Octal DAC Evaluation Board supports both the I2C family (MCP47CXBX8) of devices and the SPI DAC family (MCP48CXBX8). The following figure shows the top view of the 1LSb Octal DAC Evaluation Board. Figure 1-2 shows the bottom view of the board.

1LSb OCTAL DAC EVALUATION BOARD (TOP VIEW)

1LSb OCTAL DAC EVALUATION BOARD (BOTTOM VIEW)

The following figure shows the 1LSb Octal DAC Evaluation Board mounted on the Curiosity microcontroller board, using the mikro BUS™ connector.

**1LSb OCTAL DAC EVALUATION BOARD MOUNTED ON THE MIKROBUS™ CLICK™ BOARD OF THE CURIOSITY HPC DEVELOPMENT BOARD (DM16413

**

1LSb OCTAL DAC EVALUATION BOARD FEATURES

The 1LSb Octal DAC Evaluation Board is a fully assembled board. The board can be mounted on any of the Microchip MCU boards that feature the  mikro BUS connector (MCU board not included with this board). The MCU board can be programmed to evaluate and demonstrate the operating performance of the MCP47CXBX8 and MCP48CXBX8 DAC family. The user’s guide includes the code example required to communicate with the MCP47CXBX8 and MCP48CXBX8 DAC family. The code example provided in thguide is intended for use with the Microchip Curiosity HPC Development Board (DM164136).

The 1LSb Octal DAC Evaluation Board features:

  • Supports both SPI and I2C devices
  • Supports 5V and 3.3V options
  • mikro BUS support makes it easy to evaluate with any of the Microchip MCU boards
  • External voltage reference option for the DAC
  • MCP150x voltage reference on board for external VREF option

1LSb OCTAL DAC EVALUATION BOARD KIT CONTENTS

The 1LSb Octal DAC Evaluation Board includes the following items:

  • 1LSb Octal DAC Evaluation Board (1LSb OCTAL DAC EVALUATION BOARD)

GETTING STARTED
The 1LSb Octal DAC Evaluation Board can be used by following the four steps listed below

Note:

The demo code provided in Chapter 3. “Code” enables use of the 1LSb Octal DAC Evaluation Board with the Curiosity HPC Development Board (DM164136). Once the Curiosity HPC board has been programmed with this code, the DAC’s output can be monitored on the VOUT pin using an oscilloscope.

  1. Connect the 1LSb Octal DAC Evaluation Board to the top-right mikro BUS™ header on the Curiosity HPC Board, as shown in Figure 1-3.
  2. Compile the demo code provided in Chapter 3. “Code” and program the on-board PIC1847Q10 microcontroller. Steps to compile and program are explained below

Note: Download and install the MPLAB® IDE and XC18 compiler from www.microchip.com

a) Open MPLAB IDE, go to the File menu and select “New Project…”.

START A NEW PROJECT IN THE MPLAB IDE

b) Select “Standalone Project” and click Next.

SELECT STANDALONE PROJECT

c) Select PIC18F47Q10 as the device and click Next.

SELECT THE DEVICE

d) From the “Select Tool” menu, choose “Curiosity/Starter Kits (PKOB4)” and click Next.

SELECT THE TOOL

SELECT THE COMPILER

f) Name the project, provide the project location and click Finish.
g) From the File menu, select “New File…”.

NEW FIL

h) From Categories, select “C” and, from File Types, select “C Source File” and click Next.

NEW FILE

DEMO CODE
Program the PIC18F47Q10 on the Curiosity board with the following code to enable use of the connected 1LSb Octal DAC Evaluation Board, which will allow for monitoring and testing the DAC. The sample code is also provided separately on the product page for convenience.

BOARD – SCHEMATICS

**BOARD – TOP ASSEMBLY DRAWING

**

Documents / Resources

| MICROCHIP 1LSb Octal DAC Evaluation Board [pdf] User Guide
1LSb Octal DAC Evaluation Board
---|---

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

MICROCHIP User Manuals

Related Manuals