Multimedia Expansion Board User’s Guide © 2010 Microchip Technology Inc.
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.
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 ..........................
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.
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 Initial caps Referenced books MPLAB® IDE User’s Guide Emphasized text ...is the only compiler...
Preface RECOMMENDED READING The following Microchip documents are available and recommended as supplemental 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.
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 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.
Preface DOCUMENT REVISION HISTORY Revision A (June 2010) This is the initial release of the Multimedia Expansion Board User’s Guide. © 2010 Microchip Technology Inc.
Multimedia Expansion Board User’s Guide NOTES: DS61160A-page 10 © 2010 Microchip Technology Inc.
MULTIMEDIA EXPANSION BOARD USER’S GUIDE 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.
Multimedia Expansion Board User’s Guide FIGURE 1-1: MULTIMEDIA EXPANSION BOARD COMPONENT LAYOUT (FRONT SIDE) 5 6 7 2 8 4 3 1 9 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 (BMA150). 5. 24LC08 EEPROM. 6. 2 MB SPI Flash (SST25VF016). 7.
Introduction FIGURE 1-2: 6 MULTIMEDIA EXPANSION BOARD COMPONENT LAYOUT (BACK SIDE) 10 7 8 4 5 9 2 © 2010 Microchip Technology Inc.
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: 2.1 Refer to Appendix B.
Multimedia Expansion Board User’s Guide 2.2 STARTER KIT CONNECTOR Any PIC32 starter kit can be used in conjunction with the Multimedia Expansion Board through the PIC32 expansion connector, as shown in Figure 2-2. After connecting a PIC32 starter kit, applications can be developed and run using the rich features of the Multimedia Expansion Board. Table 2-1 provides information on starter kit pins and the corresponding Multimedia Expansion Board device.
Hardware TABLE 2-1: STARTER KIT PIN DESCRIPTION (CONTINUED) Starter Kit Connector (J3) Pin Description Multimedia Expansion Board Pin Type Device Description I2C Bus O I2C bus for BMA150, MCHP24LC08 and WM8731 SCK1 O SPI Bus for WM8731 SPI Bus SDI1 I CPLD Control Pins 74 SDA2 I 76 SCL2 91 93 95 SDO1 O 4 RA6 O 6 RA7 O 5 RG12 O 3 RG14 O 45 SCK2 O 47 SDI2 I 49 SDO2 O 51 RG9 O Chip Select 106 SCK3A O SPI Bus 110 SDI3A I 112 SDO3A O SPI Bus 108 RF12 O
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.
Hardware 2.3 DISPLAY The Multimedia Expansion Board has a 3.2 inch (8.1 cm) QVGA TFT touchscreen, as shown in Figure 2-3. The display is controlled by a Solomon Systech SSD1926 LCD controller, which is shown in Figure 2-4. The display controller may be configured to use an 8-bit or 16-bit interface (see Section 2.12 “CPLD” for configuration data). The display also has a resistive touch screen and backlight controls, as shown in Figure 2-5. FIGURE 2-3: 3.2 INCH (8.
Multimedia Expansion Board User’s Guide LCD_LINE LCD_DATA15 LCD_DATA14 LCD_DATA13 LCD_DATA12 LCD_DATA3 LCD_DATA4 LCD_DATA5 LCD_DATA6 LCD_DATA7 LCD_DATA8 LCD_SHIFT LCD_DATA9 LCD_DATA10 LCD_DATA11 SOLOMON SYSTECH SSD1926 LCD CONTROLLER SCHEMATIC LCD_FRAME LCD_DEN LCD_RESET LCD_DATA0 LCD_DATA1 LCD_DATA2 FIGURE 2-5: LCD_DATA17 LCD_DATA16 BACKLIGHT_EN LCD_DC LCD_MOSI LCD_SCK LCD_CS PMPWR PMPRD RG13 PMPD15 PMPD14 PMPD13 PMPD12 PMPD11 CNF2 PMPD10 PMPD9 PMPD8 PMPD7 PMPD6 PMPD5 PMPD4 PMPD3 CNF0/1 SD_WP S
Hardware FIGURE 2-6: TOUCHSCREEN CONNECTOR LED+ LED- Use TFT2N0369-E for the same display with the touch screen option added.
Multimedia Expansion Board User’s Guide TABLE 2-2: SOLOMON SYSTECH SSD1926 LCD CONTROLLER I/O CONNECTIONS SSD1926 Pin Description Expansion Connector Pin Chip Select RG13 Chip Reset(1) RA10 Chip Register Select RB10 Chip Wait RC3 Note 1: This pin is shared with 802.11 and PICtail daughter boards. TABLE 2-3: DISPLAY TOUCH SCREEN I/O CONNECTIONS Touch Screen Pin DS61160A-page 22 Expansion Connector Pin X+ AN11/RB11 X- RB13 Y+ AN14/RB14 Y- RB12 © 2010 Microchip Technology Inc.
Hardware 2.4 microSD CARD SLOT The Solomon Systech SSD1926 Graphics Controller provides a four-wire SD card interface, as shown in Figure 2-7. The Multimedia Expansion Board takes advantage of this interface by providing a microSD card slot, as shown in Figure 2-8. FIGURE 2-7: microSD CARD SLOT FIGURE 2-8: SOLOMON SYSTECH SSD1926 LCD CONTROLLER AND microSD CARD CONNECTION SCHEMATIC SD_DATA2 SD_DATA3 SD_CMD SD_CLK SD_DATA0 SD_DATA1 SD_CD SD_WP © 2010 Microchip Technology Inc.
Multimedia Expansion Board User’s Guide 2.5 JOYSTICK AND FIRE BUTTON The Multimedia Expansion Board provides a four direction joystick with a fire button (Figure 2-9). The directional joystick and fire button can be used to interact with and provide feedback to an application. The joystick (S2) is also connected to the fire button (S1), as shown in Figure 2-10, which allows the user to press either the fire button or the joystick to register a fire command.
Hardware 2.6 USER-CONTROLLED LEDS The Multimedia Expansion Board provides five user-controlled LEDs, as shown in Figure 2-12. FIGURE 2-12: LEDS FIGURE 2-13: LED CONNECTION SCHEMATIC USER LED’s RD1 RD2 RD3 LED1 LED2 LED3 LED5 RC1 LED4 RC2 TABLE 2-5: © 2010 Microchip Technology Inc.
Multimedia Expansion Board User’s Guide 2.7 ACCELEROMETER AND TEMPERATURE SENSOR To measure acceleration and temperature, the Multimedia Expansion Board provides an interface to the BMA150, which is a 3-axis (x, y and z plane) accelerometer and temperature sensor, as shown in Figure 2-14. The PIC microcontroller uses an I2C bus interface to communicate with the BMA150.
Hardware 2.8 EXTERNAL MEMORY The Multimedia Expansion Board provides two different on-board storage mediums, an EEPROM (24LC08) and serial NOR Flash (SST25VF016). 2.8.1 EEPROM The 24LC08 is a 128-byte EEPROM, as shown in Figure 2-16. The PIC32 microcontroller uses an I2C bus interface to communicate to the 24LC08. FIGURE 2-16: FIGURE 2-17: 24LC08 EEPROM 24LC08 CONNECTION SCHEMATIC EEPROM Memory (I2C Slave Addr = 1010 000X) SCL2 SDA2 24LC08_SOT23_5 © 2010 Microchip Technology Inc.
Multimedia Expansion Board User’s Guide 2.8.2 NOR Flash The SST25VF016 is a 2 MB NOR Flash, as shown in Figure 2-18. The PIC32 microcontroller uses a SPI bus interface to communicate to the SST25VF016. The CPLD needs to be properly configured for the PIC32 microcontroller to be able to access the SST25VF016. For configuration information, see Section 2.12 “CPLD”.
Hardware 2.9 24-BIT AUDIO CODEC Using the WM8731 24-bit Audio Codec, the Multimedia Expansion Board can run applications that require audio playback and/or recording, as shown in Figure 2-20. For playing back audio, the Multimedia Expansion Board provides two output jacks, a headphone and line out jack, which are shown in Figure 2-21. A microphone input jack is also provided for audio recording. The WM8731 interfaces to the PIC32 microcontroller via the SPI and I2C buses.
Multimedia Expansion Board User’s Guide FIGURE 2-22: WM8731 CONNECTION SCHEMATIC SDA2 SCL2 SCK1 SDO1 CODEC_DACLRC SDI1 HPGND LOUT ROUT LHPOUT RHPOUT MICBIAS MICIN HPVDD HPGND DS61160A-page 30 © 2010 Microchip Technology Inc.
Hardware FIGURE 2-23: LINE OUT, HEADPHONE, AND MICROPHONE SCHEMATICS LOUT ROUT LHPOUT RHPOUT HPGND HPGND HPGND MICIN MICBIAS © 2010 Microchip Technology Inc.
Multimedia Expansion Board User’s Guide 2.10 802.11 WIRELESS CONNECTIVITY The Multimedia Expansion Board has 802.11 wireless connectivity, which is provided by the Microchip MRF24WBOMA module, as shown in Figure 2-24. The PIC32 microcontroller uses a SPI bus interface to communicate to the MRF24WBOMA. The CPLD needs to be properly configured for the PIC32 microcontroller to access the MRF24WBOMA. For configuration information, see Section 2.12 “CPLD”. FIGURE 2-24: FIGURE 2-25: MRF24WBOMA 802.
Hardware 2.11 I/O EXPANSION CONNECTOR The Multimedia Expansion Board provides an expansion slot, which enables the use of several of Microchip’s PICtail™ daughter boards, as shown in Figure 2-26. For more information on how to properly interface to the board as not all daughter boards are compatible, refer to the specific PICtail daughter board schematic .
Multimedia Expansion Board User’s Guide 2.12 CPLD A CPLD is provided to configure the graphics controller bus interface, SPI channel and Chip Selects used for SPI Flash, the MRF24WBOMA, and the expansion slot, as shown in Figure 2-28. The general I/O inputs are used to change the configuration, which can be done at run time. Table 2-6 provides information on the Graphics Bus Width CPLD configuration. Table 2-7 and Table 2-8 provide information on the SPI channels that are configured by the CPLD.
Hardware TABLE 2-6: GRAPHICS BUS WIDTH RG14 Pin Setting TABLE 2-7: Width 0 8 1 16 CPLD SPI SOURCE SELECT RG12 Pin Setting SPI Chip Select 0 SPI3A RF12 1 SPI2/SPI2A RG9 TABLE 2-8: CPLD SPI PERIPHERAL DESTINATION SELECT RA7 Pin Setting RA6 Pin Setting Peripheral 0 0 SPI Flash 0 1 MRF24WBOMA 1 0 Expansion Slot 1 1 Reserved TABLE 2-9: PIC32MX STARTER KIT CPLD Expansion Connector Pin RG14 RG12 RA7 PIC32MX Starter Kit CPLD Configuration PIC32MX General RA6 Purpose Starter Ki
Multimedia Expansion Board User’s Guide NOTES: DS61160A-page 36 © 2010 Microchip Technology Inc.
MULTIMEDIA EXPANSION BOARD USER’S GUIDE Appendix A. Board Layout and Schematics A.1 MULTIMEDIA EXPANSION BOARD BLOCK DIAGRAM FIGURE A-1: HIGH-LEVEL BLOCK DIAGRAM OF THE MULTIMEDIA EXPANSION BOARD Graphics Controller microSD Card Display with Touchscreen EEPROM Accelerometer and Temperature Sensor Starter Kit Connector Joystick with Fire Button LEDs 24-bit Audio Codec Expansion Connector CPLD SPI Flash Wi-Fi 9-14V Power Supply © 2010 Microchip Technology Inc.
© 2010 Microchip Technology Inc. A.
© 2010 Microchip Technology Inc.
Multimedia Expansion Board User’s Guide MULTIMEDIA EXPANSION BOARD SCHEMATICS LCD_LINE LCD_DATA15 LCD_DATA14 LCD_DATA13 LCD_DATA12 SOLOMON SYSTECH SSD1926 LCD CONTROLLER LCD_FRAME LCD_DEN LCD_RESET LCD_DATA0 LCD_DATA1 LCD_DATA2 FIGURE A-4: LCD_DATA3 LCD_DATA4 LCD_DATA5 LCD_DATA6 LCD_DATA7 LCD_DATA8 LCD_SHIFT LCD_DATA9 LCD_DATA10 LCD_DATA11 A.
FL_CS SDI2/SDI2A/CN9/RG7 SS1A/RD14 ZG_SDI ZG_SCK SDO1A INT1/RE8 ZG_CS ZG_SDO CPLD SDI1A FIGURE A-5: INT3/RA14 ZG_UARTTX RA6 ZG_UARTRX SS1/RD9 FL_SDO SS1/RB2 RA7 CNF2 WIFI_SDO CODEC_DACLRC FL_SCK RD1 RD0 RD2 FL_SDI CNF0/1 RA9 WIFI_SCK WIFI_CS © 2010 Microchip Technology Inc.
Multimedia Expansion Board User’s Guide FIGURE A-6: microSD CARD CONNECTOR SD_DATA2 SD_DATA3 SD_CMD SD_CLK SD_DATA0 SD_DATA1 SD_CD SD_WP FIGURE A-7: DISPLAY BACKLIGHT LED+ 3 Q5 U4 1 2 AO3424 BACKLIGHT_EN LED- DS61160A-page 42 © 2010 Microchip Technology Inc.
FIGURE A-8: JOYSTICK AND FIRE BUTTON UP FIRE AN1/CN3/RB1 AN4/CN5/RB4 RIGHT AN15/CN12/RB15 LEFT AN0/CN2/RB0 FIRE © 2010 Microchip Technology Inc.
Multimedia Expansion Board User’s Guide FIGURE A-9: TOUCHSCREEN SOCKETS LED+ LED- LCD_RESET LCD_FRAME LCD_LINE LCD_SHIFT LCD_DEN LCD_DATA0 LCD_DATA1 LCD_DATA2 LCD_DATA9 LCD_DATA10 LCD_DATA11 LCD_DATA3 LCD_DATA4 LCD_DATA5 LCD_DATA12 LCD_DATA13 AN11/RB11 AN12/RB12 AN13/RB13 AN14/RB14 LCD_DATA14 LCD_DATA17 LCD_DATA16 LCD_DATA15 LCD_DATA8 LCD_DATA7 LCD_DATA6 LCD_DC LCD_MOSI LCD_SCK LCD_CS DS61160A-page 44 © 2010 Microchip Technology Inc.
FIGURE A-10: MEMORY SCL2 SDA2 FL_CS FL_SDI FL_SCK FL_SDO © 2010 Microchip Technology Inc.
Multimedia Expansion Board User’s Guide FIGURE A-11: AUDIO SDA2 SCL2 SCK1 SDO1 CODEC_DACLRC SDI1 HPGND LOUT ROUT LHPOUT RHPOUT MICBIAS MICIN HPVDD HPGND LOUT ROUT LHPOUT RHPOUT HPGND HPGND HPGND MICIN MICBIAS DS61160A-page 46 © 2010 Microchip Technology Inc.
POWER SUPPLY © 2010 Microchip Technology Inc.
Multimedia Expansion Board User’s Guide FIGURE A-13: WIRELESS ZG_SDO ZG_SCK INT3/RA14 ZG_SDI RA10 ZG_UARTRX ZG_UARTTX ZG_CS C1OUT/AN8 FIGURE A-14: I/O EXPANSION CONNECTOR I/O_4 SCL2 SCL1 SDA2 SDA1 SDI2/SDI2A/CN9/RG7 SDO2/SDO2A SCK2/SCK2A SS2/SS2A/RG9 WIFI_SDO WIFI_SDI WIFI_SCK SS1/RB2 SDI1A SDI3A RA10 SDO3A C2OUT/AN9 SCK3A SDO1A INT1/RE8 SS3A/RF12 WIFI_CS SCK1A SS1A/RD14 DS61160A-page 48 © 2010 Microchip Technology Inc.
FIGURE A-15: STARTER KIT CONNECTOR RG15 RG14 RG12 RA6 RA7 PMPD7 RG13 PMPD6 PMPD8 PMPD5 PMPD9 PMPD4 PMPD10 PMPD3 PMPD11 PMPD2 PMPD12 PMPD1 PMPD13 PMPD0 PMPD14 PMPRD PMPD15 PMPCS1/RD11 PMPWR PMPCS2/RD10 T1CK/RC14 SOSC1/RC13 SOSCO RC1 AN15/CN12/RB15 RC2 OC5 RC3 RD3 T5CLK/RC4 RD2 RD1 SCK2/SCK2A RD0 SDI2/SDI2A/CN9/RG7 IC5 SDO2/SDO2A IC4 SS2/SS2A/RG9 IC3 SS1/RD9 IC1/RD8 P18_SMSDA P18_SMSCL C1IN+/RB5 AN5 AN4/CN5/RB4 C1IN- AN3/CN4/RB3 C2IN+ AN2 C2IN- AN1/CN3/RB1 C1O
Multimedia Expansion Board User’s Guide FIGURE A-16: ANALOG PLANES FIGURE A-17: DIGITAL PLANES HPVDD HPGND DS61160A-page 50 © 2010 Microchip Technology Inc.
FIGURE A-18: ACCELEROMETER U3 SDA2 SCL2 FIGURE A-19: USER AND POWER LEDs RD1 RD2 RD3 RC1 RC2 © 2010 Microchip Technology Inc.
Multimedia Expansion Board User’s Guide NOTES: DS61160A-page 52 © 2010 Microchip Technology Inc.
MULTIMEDIA EXPANSION BOARD USER’S GUIDE Appendix B. Bill of Materials (BOM) TABLE B-1: DNP MULTIMEDIA EXPANSION BOARD BILL OF MATERIALS (BOM) Qty Reference Desc. Footprint Mfgr. Mfgr. P/N Dist. Dist. P/N 34 C1, C2, CAP CER .
Multimedia Expansion Board User’s Guide TABLE B-1: DNP MULTIMEDIA EXPANSION BOARD BILL OF MATERIALS (BOM) Qty Reference Desc. Footprint Mfgr. Mfgr. P/N Dist. Dist. P/N 2 C69, C70, CAP CER 1.0UF 16V Y5V 0603 CAP0603 Murata GRM188F51C105ZA01D DKC 490-1582-1-ND 4 C58, C59, CAP CER .1UF C60, C61 16V Y5V 0805 CAP0805 Murata GRM216F51C104ZA01D DKC 490-1734-1-ND 2 C6, C12 CAP 220UF 6.
TABLE B-1: DNP MULTIMEDIA EXPANSION BOARD BILL OF MATERIALS (BOM) Qty Reference Desc. Footprint Mfgr. Mfgr. P/N Dist. Dist. P/N 14 R18,R19, RES 10K OHM R23, R24, 1/10W 1% 0603 R28, R6, SMD R22, R35, R43, R44, R46, R47, R40, R39 RES0603 Stackpole RMCF 1/16 10K 1% R DKC RMCF1/1610KFRCT-ND 6 R30, RES 470 OHM R25,R26, 1/10W 1% 0603 R27, R29, SMD R31 RES0603 Panasonic ERJ-3EKF4700V DKC P470HCT-ND 1 R32 RES ZERO OHM 1/10W 5% 0603 SMD RES0603 Panasonic ERJ-3GEY0R00V DKC P0.
Multimedia Expansion Board User’s Guide TABLE B-1: DNP MULTIMEDIA EXPANSION BOARD BILL OF MATERIALS (BOM) Qty Reference Desc. 1 Y3 CRYSTAL 4.00 MHZ 8.0 PF SMD 1 U4 1 Footprint NDK Mfgr. P/N Dist. Dist. P/N NX8045GB 4MHZ AT-W DKC 644-1138-1-ND IC CONTROLLER MCP1652_MSOP8 Microchip BOOST 2.55V 8MSOP MCP1652S-E/MS N/A N/A U5 IC CMOS LDO 3.3V 500MA SOT223-3 TC1262-2.5_SOT2 Microchip 23 TC1262-3.3VDBTR N/A N/A 1 U11 IC CMOS LDO 1.8V 800MA SOT223-3 TC1262-SOT223 TC1264-1.
MULTIMEDIA EXPANSION BOARD USER’S GUIDE Index B Display backlight ............................................... 42 Joystick and fire button ..................................... 43 Memory ............................................................. 45 microSD card connector ................................... 42 PICtail™ expansion connector.......................... 48 Power supply .................................................... 47 Solomon Systech SSD1926 LCD Controller.....
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://support.microchip.com Web Address: www.microchip.