Microchip Technology Multimedia Expansion Board User’s Guide

Multimedia Expansion Board
User’s Guide
© 2010 Microchip Technology Inc. DS61160A
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
EELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART,
32
PIC
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, Octopus, 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.
© 2010, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.
Printed on recycled paper.
ISBN: 978-1-60932-270-0
Microchip received ISO/TS-16949:2002 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and T empe, 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 memo ry and analog products. In addition, Microchip’s quality system for the desig n and manufacture of development systems is ISO 9001:2000 certified.
®
MCUs and dsPIC® DSCs, KEELOQ
®
code hopping
DS61160A-page 2 © 2010 Microchip Technology Inc.
MULTIMEDIA EXPANSION
BOARD USER ’S GUIDE
Table of Contents
Preface ........................................................................................................................... 5
Chapter 1. Introduction
1.1 Kit Contents ..................................................................................................11
1.2 Multimedia Features .....................................................................................11
Chapter 2. Hardware
2.1 Power Supply ............................................................................................... 15
2.2 Starter Kit Connector ....................................................................................16
2.3 Display .........................................................................................................19
2.4 microSD Card Slot ........................................................................................23
2.5 Joystick and Fire Button ...............................................................................24
2.6 User-Controlled LEDs ..................................................................................25
2.7 Accelerometer and Temperature Sensor ..................................................... 26
2.8 External Memory .......................................................................................... 27
2.9 24-bit Audio Codec .......................................................................................29
2.10 802.11 Wireless Connectivity .....................................................................32
2.11 I/O Expansion Connector ........................................................................... 33
2.12 CPLD ..........................................................................................................34
Appendix A. Board Layout and Schematics
A.1 Multimedia Expansion Board Block Diagram ...............................................37
A.2 Multimedia Expansion Board Layout ........................................................... 38
A.3 Multimedia Expansion Board Schematics ....................................................40
Appendix B. Bill of Materials (BOM)
Index .............................................................................................................................57
Worldwide Sales and Service ....................................................................................58
© 2010 Microchip Technology Inc. DS61160A-page 3
Multimedia Expansion Board User’s Guide
DS61160A-page 4 © 2010 Microchip Technology Inc.
MULTIMEDIA EXPANSION
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 “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 online help files.
®
IDE online help.
INTRODUCTION
This chapter contains general information that will be useful to know before using the starter kit. 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 user’s guide describes how to use the Multimedia Expansion Bo ard and con sist s of the following chapters:
Chapter 1. “Introduction” provides a brief overview of each starter kit, highlighting their features and uses.
Chapter 2. “Hardware” provides the hardware descriptions of each starter kit.
Appendix A. “Board Layout and Schematics” provides a block diagram, board layouts and detailed schematics of each starter kit.
© 2010 Microchip Technology Inc. DS61160A-page 5
Multimedia Expansion Board User’s Guide
CONVENTIONS USED IN THIS GUIDE
This manual uses the following documentation conventions:
DOCUMENTATION CONVENTIONS
Description Represents Examples
Arial font:
Italic characters Referenced books MPLAB
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
A menu path File>Save angle bracket
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>
Courier New font:
Plain Courier New
Sample source code
Filenames
File paths
Keywords
Command-line options
Bit values
Constants (in source code) Italic Courier New A variable argument
#define START autoexec.bat C:\mcc18\h _asm, _endasm, static
-Opa+, -Opa­0, 1 0xFF, ‘A’
file.o, where valid filename
Square brackets [ ] Optional arguments
Curly brackets and pipe character: { | }
Choice of mutually exclusive
arguments; an OR selection Ellipses... Replaces repeated text
Represents code supplied by user
mcc18 [options] file [options]
errorlevel {0|1}
var_name [, var_name...] void main (void)
{ ... }
®
IDE User’s Guide
file can be any
DS61160A-page 6 © 2010 Microchip Technology Inc.
RECOMMENDED READING
The following Microchip documents are available and recommen ded as suppleme nt al reference resources.
Release Notes for the Multimedia Expansion Board
For the latest information, Microchip has a dedicated web page for the Multimedia Expansion Board, which can be accessed at: http://www.microchip.com/PIC32
PIC32MX3XX/4XX Family Data Sheet (DS61143) and PIC32MX5XX/6XX/7XX Family Data Sheet (DS61156)
Refer these documents for detailed information on PIC32 32-bit devices. Reference information found in these data sheets includes:
• Device memory maps
• Device pinout and packaging details
• Device electrical specifications
• List of peripherals included on the devices
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.
Preface
MPLAB® IDE User’s Guide (DS51519)
Refer 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.
THE MICROCHIP WEB SITE
Microchip provides online support through 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
© 2010 Microchip Technology Inc. DS61160A-page 7
Multimedia Expansion Board User’s Guide
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 spec ified 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 a nd other language tools. These include the MPLAB C18 and MPLAB C30 C compilers, and MPLAB C Compiler for PIC32; ASM32, MPASM™ and MPLAB ASM30 assemblers; MPLINK™, and MPLAB LINK30, MPLAB LINK32 object linkers; and MPLIB™ and MPLAB LIB30 object librarians.
Emulators – The latest information on Microchip in-circuit emulators. This includes the MPLAB REAL ICE™ and MPLAB ICE 2000 in-circuit emulators.
In-Circuit Debuggers – The latest information on the Microchip in-circuit debuggers. This includes the MPLAB ICD 3 and PICkit™ 2.
MPLAB IDE – The latest information on Microchip MPLAB IDE, the Windows Integrated Development Environment for development systems tools. This list is focused on the MPLAB IDE, MPLAB IDE Project Manager, MPLAB Editor and MPLAB SIM simulator, as well as general editing and debugging features.
Programmers – The latest information on Microchip programmers. These include the MPLAB PM3 device programmer and the PICSTART PICkit 2 development programmers.
®
Plus, PICkit™ 1 and
®
CUSTOMER SUPPORT
Several channels are available to assist the users of Microchip products:
• Distributor or Representative
• Local Sales Office
• Field Application Engineer (FAE)
• Technical Support
• Development Systems Information Line
Customers should contact their distributor, representative, or FAE for support. Local sales offices are also available to help customers. A list of sales offices and locations is included in the back of this document.
Technical support is available through our web site at http://support.microchip.com.
DS61160A-page 8 © 2010 Microchip Technology Inc.
DOCUMENT REVISION HISTORY
Revision A (June 2010)
This is the initial release of the Multimedia Expansion Board User’s Guide.
Preface
© 2010 Microchip Technology Inc. DS61160A-page 9
Multimedia Expansion Board User’s Guide
NOTES:
DS61160A-page 10 © 2010 Microchip Technology Inc.

Chapter 1. Introduction

Thank you for purchasing Microchip Technology Multimedia Expansion Board. This compact, highly versatile board can be connected to any PIC32MX starter kit for the purpose of developing multimedia applications, such as audio, graphics and touch screen.
This chapter includes the following topics:
• Kit Contents
• Multimedia Features

1.1 KIT CONTENTS

The Multimedia Expansion Board kit contains the following items:
• Multimedia Expansion Board
• Multimedia Expansion Board Information Sheet

1.2 MULTIMEDIA FEATURES

MULTIMEDIA EXPANSION
BOARD USER ’S GUIDE
The component layout of the Multimedia Expansion Board is shown in Figure 1-1 (front side) and Figure 1-2 (back side).
The front side of the board includes these key features, as shown in Figure 1-1:
1. 3.2 inch (8.1 cm) QVGA touch screen display with backlight.
2. Five user-controlled LEDs.
3. Four-way joystick (S2).
4. Fire button (S1).
5. Headphone jack.
6. Line output jack.
7. Microphone input jack.
8. Power LED.
9. I/O expansion connector.
© 2010 Microchip Technology Inc. DS61160A-page 11
Multimedia Expansion Board User’s Guide
1
5 6 7
2
3
4
8
9

FIGURE 1-1: MULTIMEDIA EXPANSION BOARD COMPONENT LAYOUT (FRONT SIDE)

The back side of the board includes these key features, as indicated in Figure 1-2:
1. Solomon Systech Graphics Controller (SSD1926).
2. microSD card slot.
3. Regulated 3.3V and 1.8V power supply for powering the board via a starter kit or
9-14V power supply.
4. Accelerometer and temperature sensor (B MA150).
5. 24LC08 EEPROM.
6. 2 MB SPI Flash (SST25VF016).
7. 24-bit stereo audio codec (WM8731).
8. CPLD for SPI and Chip Select configuration.
9. PIC32 starter kit connector.
10. Integrated 802.11 wireless connectivity.
DS61160A-page 12 © 2010 Microchip Technology Inc.
Introduction
2
10
3
9
1
4
5
6
7
8

FIGURE 1-2: MULTIMEDIA EXPANSION BOARD COMPONENT LAYOUT (BACK SIDE)

© 2010 Microchip Technology Inc. DS61160A-page 13
Multimedia Expansion Board User’s Guide
NOTES:
DS61160A-page 14 © 2010 Microchip Technology Inc.
MULTIMEDIA EXPANSION
BOARD USER ’S GUIDE

Chapter 2. Hardware

This chapter describes the hardware used in the Multimedia Expansion Board. Topics covered include:
• Power Supply
• Starter Kit Connector
• Display
• microSD Card Slot
• Joystick and Fire Button
• User-Controlled LEDs
• Accelerometer and Temperature Sensor
• External Memory
• 24-bit Audio Codec
• 802.11 Wireless Connectivity
• I/O Expansion Connector
•CPLD
Note: Refer to Appendix B. “Bill of Materials (BOM)” for the manufacturer and

2.1 POWER SUPPLY

Power can be supplied to the Multimedia Expansion Board through th e DC co nn ector located on the Multimedia Expansion Board (Figure 2-1). By connecting a 9-14V power supply to the DC connector, the Multimedia Expansion Board and st arter kit will receive the proper voltages. The user can also sup ply power via the st arter kit. However, if the application uses multiple features of the Multimedia Expansion Board, it is recommended to use 9-14V power supply.

FIGURE 2-1: DC POWER SUPPLY

part number information of the hardware components used in the Multimedia Expansion Board.
CAUTION
When connecting the Multimedia Expansion Board or starter kit, do not have power applied when connecting the DC power supply. Failure to heed this caution could result in hardware damage.
© 2010 Microchip Technology Inc. DS61160A-page 15
Multimedia Expansion Board User’s Guide

2.2 STARTER KIT CONNECTOR

Any PIC32 starter kit can be used in conjunction with th e Multimedia Exp ansion Board through the PIC32 expansion connector, as shown in Figure 2-2. After connecting a PIC32 starter kit, applications can be developed an d run using the rich featu res of the Multimedia Expansion Board. Table 2-1 provides information on starter kit pins and the corresponding Multimedia Expansion Board device.

TABLE 2-1: STARTER KIT PIN DESCRIPTION

Starter Kit Connector (J3) Multimedia Expansion Board
Pin Description Pin Type Device Description
25 PMP Data <7:0> I/O Graphics Controller (SSD1926) 8-bit or 16-bit Data Bus 23 I/O 21 I/O 19 I/O 17 I/O 15 I/O 13 I/O
9I/O
7I/O 10 PMP Data <15:8> I/O 14 I/O 16 I/O 18 I/O 20 I/O 22 I/O 24 I/O 26 I/O
8 RG13 O Chip Select
101 RB10 O Register Select
39 RC3 I Wait Line
1 15 RA10 O Reset 103 RB11 I/O Touch Screen X+ 105 RB12 O Y­107 RB13 O X­127 RB14 I/O Y+
72 RB0/CN2 I Joystick Left 70 RB1/CN3 I Up 66 RB3/CN5 I Down 64 RB4/CN6 I Right 36 RB15/CN12 I Fire 44 RD1 O LEDs LED1 42 RD2 O LED2 40 RD3 O LED3 35 RC1 O LED4 37 RC2 O LED5
DS61160A-page 16 © 2010 Microchip Technology Inc.
Hardware
TABLE 2-1: STARTER KIT PIN DESCRIPTION (CONTINUED)
Starter Kit Connector (J3) Multimedia Expansion Board
Pin Description Pin Type Device Description
74 SDA2 I I2C bus for BMA150, 76 SCL2 O 91 SCK1 O SPI Bus for WM8731 SPI Bus 93 SDI1 I 95 SDO1 O
4 RA6 O CPLD Control Pins 6RA7 O 5RG12 O
3RG14 O 45 SCK2 O SPI Bus 47 SDI2 I 49 SDO2 O 51 RG9 O Chip Select
106 SCK3A O SPI Bus 110 SDI3A I 112 SDO3A O 108 RF12 O Chip Select
97 SS1 54 RD9 O 81 INT3 I MRF24WBOMA External Interrupt
1 15 RA10 O Reset
71 RB8 O Chip Enable 76 SCL2 I/O PICtail J5 Pin 3 74 SDA2 I/O Pin 5 47 SDI2 I/O Pin 7 49 SDO2 I/O Pin 9 45 SCK2 I/O Pin 11 51 RG9 I/O Pin 13 88 U1RX I/O Pin 15 90 U1TX I/O Pin 17 92 U1RTS 94 U1CTS 73 RB9 I/O Pin 23
115 RA10 O Pin 25
85 INT1 I/O Pin 27 84 SCL1 I/O Pin 4 86 SDA1 I/O Pin 6 97 SS1
110 U2RX I/O Pin 16 112 U2TX I /O Pin 18 106 U2RTS 108 U2CTS
I/O Pin 19 I/O Pin 21
I/O Pin 8
I/O Pin 20 I/O Pin 22
MCHP24LC08 and WM8731
O Codec DACLRC
I2C Bus
© 2010 Microchip Technology Inc. DS61160A-page 17
Multimedia Expansion Board User’s Guide
FIGURE 2-2: EXPANSION CONNECTOR FOR EASY INTERFACE TO PIC32
STARTER KITS
CAUTION
When connecting the Multimedia Expansion Board to a starter kit, do not have power applied to either the starter kit or the DC power supply. Failure to heed this caution could result in hardware damage.
DS61160A-page 18 © 2010 Microchip Technology Inc.
Loading...
+ 40 hidden pages