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,
K
logo, rfPIC 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,
MXDEV, MXLAB, SEEVAL and The Embedded Control
Solutions Company are registered trademarks of Microchip
Technology Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, CodeGuard,
dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN,
ECONOMONITOR, FanSense, HI-TIDE, In-Circuit Serial
Programming, ICSP, Mindi, MiWi, MPASM, MPLAB Certified
logo, MPLIB, MPLINK, mTouch, Omniscient Code
Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit,
PICtail, REAL ICE, rfLAB, Select Mode, Total Endurance,
TSHARC, UniWinDriver, WiperLock and ZENA are
trademarks of Microchip Technology Incorporated in the
U.S.A. and other countries.
SQTP is a service mark of Microchip Technology Incorporated
in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
Microchip received ISO/TS-16949:2002 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC
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.
All documentation becomes dated, and this manual is no exception. Microchip tools and
documentation are constantly evolving to meet customer needs, so some actual dialogs
and/or tool descriptions may differ from those in this document. Please refer to our web site
(www.microchip.com) to obtain the latest documentation available.
Documents are identified with a “DS” number. This number is located on the bottom of each
page, in front of the page number. The numbering convention for the DS number is
“DSXXXXXA”, where “XXXXX” is the document number and “A” is the revision level of the
document.
For the most up-to-date information on development tools, see the MPLAB
Select the Help menu, and then Topics to open a list of available on-line help files.
®
IDE on-line help.
INTRODUCTION
This chapter contains general information that will be useful to know before using the
Audio Development 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 Audio Development Board as a development
tool to design high-quality audio development platforms.
This user’s guide is composed of the following:
• Chapter 1. “Introduction” – provides an overview of the Audio Development
Board, highlighting its features and uses.
• Chapter 2. “Hardware” – provides the hardware descriptions of the Audio
Development Board.
• Appendix A. “Schematics and Board Layout” – provides a detailed schematic
and a board layout diagram of the Audio Development Board.
This user’s guide describes how to use the Audio Development Board. The following
Microchip documents are available and recommended as supplemental reference
resources.
MPLAB® C Compiler for PIC24 MCUs and dsPIC® DSCs User’s Guide
(DS51284)
This document helps you use Microchip’s 16-bit C compilers to develop your application.The compilers are the MPLAB C Compiler for dsPIC DSCs and PIC24 MCUs, the
MPLAB C Compiler for dsPIC DSCs (subset of the first), and the MPLAB C Compiler
for PIC24 MCUs (subset of the first). These compilers are GNU-based language tools,
based on source code from the Free Software Foundation (FSF). For more information
about FSF, see www.fsf.org.
MPLAB® Assembler, Linker and Utilities for PIC24 MCUs and dsPIC®
DSCs User’s Guide (DS51317)
This document helps you use Microchip Technology’s 16-bit language tools based on
GNU technology. The language tools discussed are the MPLAB Assembler for dsPIC
DSCs and PIC24 MCUs, MPLAB Object Linker for dsPIC DSCs and PIC24 MCUs,
MPLAB Archiver/Librarian for dsPIC DSCs and PIC24 MCUs and other 16-bit device
utilities.
Preface
MPLAB® C Compiler for PIC32 User’s Guide (DS51686)
This document, formerly the “MPLAB C32 C Compiler for PIC32 User’s Guide”, details
the use of Microchip’s MPLAB C Compiler for PIC32 to develop an application.
MPLAB® IDE User’s Guide (DS51519)
Consult this document for more information pertaining to the installation and
implementation of the MPLAB IDE software, as well as the MPLAB Editor and MPLAB
SIM Simulator software that are included with it.
Universal Serial Bus Specification and Associated Documents
The Universal Serial Bus is defined by the USB 2.0 specification and its associated
supplements and class-specific documents. These documents are available from the
USB Implementers Forum. See their website at: http://www.usb.org
ADDITIONAL INFORMATION
iPod is a registered trademark of Apple, Inc., registered in the U.S. and other countries.
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
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 http://www.microchip.com, click Customer Change Notification and follow the registration instructions.
The Development Systems product group categories are:
• Compilers – The latest information on Microchip C compilers and other language
tools. These include the MPLAB
assemblers; MPLINK™ and MPLAB 16-bit object linkers; and MPLIB™ and
MPLAB 16-bit object librarians.
• Emulators – The latest information on the Microchip MPLAB
In-Circuit Emulator.
• In-Circuit Debuggers – The latest information on the Microchip in-circuit
debugger, MPLAB ICD 3.
• MPLAB IDE – The latest information on Microchip MPLAB IDE, the Windows
Integrated Development Environment for development systems tools. This list is
focused on the MPLAB IDE, MPLAB SIM simulator, MPLAB IDE Project Manager
and general editing and debugging features.
• Programmers – The latest information on Microchip programmers. These include
the MPLAB PM3 device programmer and the PICkit™ 3 development
programmers.
®
C compiler; MPASM™ and MPLAB 16-bit
®
REAL ICE™
®
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 our web site at: http://microchip.com/support
Thank you for purchasing an Audio Development Board from Microchip Technology
1
2
3
4
5
6
7
8
8
9
10
11
12
8
8
13
14
14
14
Inc. The Audio Development Board showcases a 16/32-bit audio development platform
with a true 24-bit audio codec. In addition, the board also showcases the performance
of PIC32 MCU/dsPIC33E DSC for complex audio algorithms.
1.1OVERVIEW
The features of the Audio Development Board are:
• High-performance MCU
• Wolfson WM8960 audio codec with up to 48 kHz sampling rate and up to 24-bit
• Headphone out, Line-in jacks, and an on-board MIC
• TFT color display with 220x176 resolution
• PICtail™ Plus Connector
• General purpose user switches and LEDs
Figure 1-1 shows the Audio Development Board, which is annotated to show the main
components. Each component is described in detail in Ta bl e 1 -1 .
This chapter provides a functional overview of the hardware used in the Audio
Development Board and identifies the major hardware components.
Topics covered include:
• Power Supply
• Microcontroller
• Audio Codec, Microphone and Audio Connections
• PICtail™ Plus Connector
• TFT Display
• USB Connectivity
• UART Connectivity
• User LEDs and Switches
2.1POWER SUPPLY
Power can be supplied to the Audio Development Board through the DC connector
(J1). By connecting a 9V power supply to the DC connector, the Audio Development
Board and the expansion connector will receive the proper voltages.
AUDIO DEVELOPMENT BOARD
USER’S GUIDE
Chapter 2. Hardware
Care should be exercised while working with headphones or speakers. Exposure to
high volumes can result in hearing damage. The use of headphones or speakers with
built-in volume control is recommended.
2.2MICROCONTROLLER
The microcontroller (U2) on-board the Audio Development Board is a 16/32-bit,
high-performance microcontroller (MCU). The clock requirement is met via the 8 MHz
external crystal oscillator (Y2). The device can be placed in Reset by activating the
RESET1 switch.
A debugger or programmer such as MPLAB
3 can be used via the RJ-45 (J3) connector. The debugging interface is implemented
via the ICSP™ protocol and the external debugger is connected to the ICSP socket
(J3).
The audio codec (U1) is a Wolfson WM8960. The codec is of hi-fi quality with up to
24-bit resolution. The sampling rates supported are between 8 kHz to 48 kHz and
includes an on-chip flexible PLL. The codec has a built-in headphone driver and a stereo Class D speaker driver. In addition, it has low-power consumption and offers a
small foot print. On 32-bit microcontroller, the codec data interface is handled through
the SPI module in Framed SPI mode. On 16-bit microcontroller, the codec data interface is handled through the DCI module. The control registers of the codec are configured over the I
oscillator.
The condenser microphone (MIC1) is available on the board for capturing audio. The
microphone bias voltage is provided directly by the codec and is connected via Line
Input 1 of the codec. The microphone bias voltage level and sensitivity are controlled
via the codec registers. The microphone signal is presented as a mono signal to the
application.
The line-in jack (Line IN) is available to interface to audio signal sources (such as CD
players and musical instruments) that use line level ouputs.The line input signal is a
stereo signal and is connected to Left Input 2 and Right Input 2 of the codec.
Note:The maximum line input signal level should not exceed 0.5Vrms on
2
C interface. The codec external clock is provided by a 12 MHz crystal
differential and 1Vrms on single-ended input.
The Headphone jack (HP OUT) is a 3.5 mm stereo socket that connects to the codec
headphone amplifier, with the headphone signal output as a true stereo signal. Any
commercially available headphone can be connected to the headphone jack. The
headphone volume and the headphone input signal are configurable via the codec
registers. The codec outputs a maximum of 20 mW into a 32 Ohm headphone.
2.4PICtail™ PLUS CONNECTOR
The expansion connector (J2) on the Audio Development Board can be used to enable
Made for iPod (MFi) features for an iPod
connector is not compatible with any other PICtail Plus Daughter boards.
2.5TFT DISPLAY
The Audio Development Board has a 2 inch TFT display (LCD1) with a resolution of
220x176 for a maximum of 262K colors. The display is controlled by a chip-on-glass
OTM2201A display controller. The display controller requires 8-bit parallel interface.
The Parallel Master Port (PMP) on the MCU is used to interface to the display
controller.
2.6USB CONNECTIVITY
The Audio Development Board features USB Host support (J7). This connector allows
applications to interface to USB devices such as a USB Thumb Drive, USB mouse, and
so on. The USB module on the MCU provides the required USB Host functionality. A
5V switch controlled by the MCU controls the power supply to the attached USB device.
The RS-232 Serial port (J10) provides a general purpose serial communication port for
application use. The MAX3232CUE (U4) RS-232 transceiver provides the required
translation level and connects to a UART on the MCU (U2).
2.8USER LEDS AND SWITCHES
The general purpose LEDs, D3, D4, and D5, are available for application use. The
LEDs are connected to the MCU (U2) output ports. Setting the port high will activate
the LED.
The general purpose push button switches S1, S2, S3, and S4, are available for
application use. All four switches are connected to the MCU input ports. Activating a
switch will cause the port line to pull low.
Note:Switches S2 and S3 are marked on the board as controlling volume;
however, these switches do not control the volume of the codec (U1) DAC
directly. The codec DAC volume is controlled by the on-board device (U2).