mikromedia for Stellaris M3 ™ ® Compact multimedia development system rich with on-board peripherals for all-round development on LM3S9B95 device
TO OUR VALUED CUSTOMERS I want to express my thanks to you for being interested in our products and for having confidence in MikroElektronika. The primary aim of our company is to design and produce high quality electronic products and to constantly improve the performance thereof in order to better suit your needs. Nebojsa Matic General Manager The Stellaris®, ARM® and Windows® logos and product names are trademarks of Texas Instruments®, ARM® Holdings and Microsoft® in the U.S.A. and other countries.
Table of Contents Introduction to mikromedia for Stellaris® M3 4 Package Contains 5 4. Reset Button 18 Key Features 6 5. Crystal Oscillator 20 7 6. MicroSD Card Slot 21 8 7. Touch Screen 22 8 8. Audio Module 24 System Specification 1. Power supply USB power supply Battery power supply 2. LM3S9B95 microcontroller Key microcontroller features Programming with mikroProg™ programmer 16 8 9. USB connection 26 10 10. Accelerometer 28 10 11. Flash Memory 29 12.
Introduction to mikromedia for Stellaris® M3 The mikromedia for Stellaris® M3 is a compact development system with lots of on-board peripherals which allow development of devices with multimedia contents. The central part of the system is a 32-bit ARM® Cortex™-M3 LM3S9B95 microcontroller. The mikromedia for Stellaris® M3 features integrated modules such as stereo MP3 codec, TFT 320x240 touch screen display, accelerometer, MMC/SD card slot, 8 Mbit flash memory, battery charger.
Package Contains 20122011 www.mikroe.com Copyright ©2011 Mikroelektronika. All rights reserved. Mikroelektronika, Mikroelektronika logo and other Mikroelektronika trademarks are the property of Mikroelektronika. All other trademarks are the property of their respective owners. Unauthorized copying, hiring, renting, public performance and broadcasting of this DVD prohibited.
Key Features 10 01 Connection Pads 02 TFT 320x240 display 03 USB MINI-B connector 04 Charge indication LED 05 LI-Polymer battery connector 06 3.
04 03 05 System Specification 06 power supply 07 Via USB cable (5V DC) 08 power consumption 09 77 mA with erased MCU (when on-board modules are inactive) 11 board dimensions 12 81.2 x 60.5 mm (3.19 x 2.38 inch) weight 13 ~45 g (0.
1. Power supply USB power supply You can apply power supply to the board using MINI-B USB cable provided with the board. On-board voltage regulators provide the appropriate voltage levels to each component on the board. Power LED (GREEN) will indicate the presence of power supply. Figure 1-1: Connecting USB power supply Battery power supply You can also power the board using Li-Polymer battery, via on-board battery connector.
VCC-USB VCC-USB R43 DATA BUS VCC-BAT 10K CN1 1 2 D1 PMEG3010ER M1 DMP2160UW BATT CONN VCC-BAT C28 10nF FP4 E10 FERRITE R49 4K7 VCC-1.8 C25 100nF 2.2uF 1 2 3 R34 4K7 VREF-1.8 VCC-1.8 10uF U3 Vin GND EN Vout ADJ R47 120K 5 4 AP7331-ADJ R46 22K FP3 VCC-3.3 VCC-3.3 R35 10K R50 12K1 FERRITE E11 10uF 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 VCC-1.8 C29 VCC-3.3 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 VCC-3.
2. LM3S9BB95 microcontroller The mikromedia for Stellaris® M3 development board comes with the ARM® Cortex™-M3 LM3S9B95 microcontroller. This high-performance 32-bit microcontroller with its integrated modules and in combination with other on-board modules is ideal for multimedia applications.
3.
Programming with mikroBootloader You can program the microcontroller with bootloader which is pre programmed into the device by default. To transfer .HEX file from a PC to MCU you need bootloader software (mikroBootloader USB HID) which can be downloaded from: http://www.mikroe.com/eng/downloads/get/1752/ mikrobootloader_lm3s9b95_v200.zip step 1 – Connecting mikromedia 01 02 After software is downloaded unzip it to desired location and start mikroBootloader USB HID software.
step 2 – Browsing for .HEX file step 3 – Selecting .HEX file 01 01 01 02 Figure 3-3: Browse for HEX Figure 3-4: Selecting HEX 01 Click the ”Browse for HEX” button and from a pop-up window (Figure 3.4) choose the .HEX file which will be uploaded to MCU memory. 01 Select .HEX file using open dialog window. 02 Click the ”Open” button.
step 4 – Uploading .HEX file 01 01 Figure 3-5: Begin uploading Figure 3-6: Progress bar 01 To start .HEX file bootloading click the ”Begin uploading” button. 01 You can monitor .
step 5 – Finish upload 01 01 Figure 3-7: Restarting MCU Figure 3-8: mikroBootloader ready for next job 01 Click the ”OK” button after uploading is finished and wait for 5 seconds. Board will automatically reset and your new program will execute.
Programming with mikroProg™ programmer The microcontroller can be programmed with external mikroProg™ programmer and mikroProg™ for Stellaris® software. The external programmer is connected to the development system via JTAG connector, Figure 3-9. mikroProg™ is a fast USB 2.0 programmer with hardware Debugger support. It supports ARM® Cortex™-M3 and Cortex™-M4 microcontrollers from Stellaris®. Outstanding performance, easy operation and elegant design are it’s key features.
TCK-PC0 TMS-PC1 TDI-PC2 TDO-PC3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 VCORE AVCC E8 C5 C6 C7 10uF 100nF 100nF 100nF VCC-3.3 VCC-3.3 VCC-3.3 R61 9K1 C31 C35 100nF 100nF 100nF decoupling capacitors RESET# VCC-3.3 VCC-3.
4. Reset Button Board is equipped with reset button, which is located at the top of the front side (Figure 4-2). If you want to reset the circuit, press the reset button. It will generate low voltage level on microcontroller reset pin (input). In addition, a reset can be externally provided through pin 27 on side headers (Figure 4-3). NOTE You can also solder additional reset button on the appropriate place at the back side of the board, Figure 4-1.
VCORE VCC-3.3 VCC-3.
5. Crystal oscillator Board is equipped with 8MHz crystal oscillator (X1) circuit that provides external clock waveform to the microcontroller OSC0 and OSC1 pins. This base frequency is suitable for further clock multipliers and ideal for generation of necessary USB clock, which ensures proper operation of bootloader and your custom USB-based applications. VCC-3.3 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 VCORE AVCC E8 C5 C6 C7 10uF 100nF 100nF 100nF VCC-3.
6. MicroSD Card Slot Board contains microSD card slot for using microSD cards in your projects. It enables you to store large amounts of data externally, thus saving microcontroller memory. microSD cards use Serial Peripheral Interface (SPI) for communication with the microcontroller. VCORE AVCC VCC-3.3 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.
7. Touch Screen The development system features a TFT 320x240 display covered with a resistive touch panel. Together they form a functional unit called a touch screen. It enables data to be entered and displayed at the same time. The TFT display is capable of showing graphics in 262.144 different colors.
VCC-SYS VCC-3.3 T-D1-PJ1 LCD-XL LCD-YD VCORE AVCC VCC-3.3 R23 Q1 BC846 VCC-SYS 4K7 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 LCD-BLED LM3S9B95 Q2 BC846 R40 12 DRIVEB DRIVEA Q3 BC846 LCD-RST VCC-3.3 T-D7 T-D6-PJ6 T-D5-PJ5 T-D4-PJ4 T-D3-PJ3 T-D2-PJ2 T-D1-PJ1 T-D0-PJ0 10uF E13 R61 9K1 VCC-3.3 VCC-3.3 R24 10K LCD-RST LCD-CS# R25 10K LCD-RST LCD-CS# VCC-1.8 T-D7 T-D6-PJ6 T-D5-PJ5 T-D4-PJ4 R41 1K VCC-3.
8. Audio Module Figure 8-1: On-board VS1053 MP3 codec Figure 8-2: Inserting 3.5mm headphones jack mikromedia for Stellaris® M3 features stereo audio codec VS1053. This module enables audio reproduction by using stereo headphones connected to the system via a 3.5mm connector CN2. All functions of this module are controlled by the microcontroller over Serial Peripheral Interface (SPI).
VCORE AVCC VCC-1.8 VCC-1.8 C4 C9 C10 C11 C12 C23 C24 C26 C27 100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF VCC-3.3 VCC-1.8 VCC-1.8 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 decoupling capacitors MP3-RST# MP3-DREQ VCC-1.8 VCC-3.3 VCC-3.3 E2 R33 470 R61 9K1 MP3-CS# 13 14 15 16 17 18 19 20 21 22 23 24 R1 1M X2 MP3-CS# 12.
9. USB connection ARM® Cortex™-M3 LM3S9B95 microcontroller has integrated USB module, which enables you to implement USB communication functionality to your mikromedia board. Connection with target USB host is done over MINI-B USB connector which is positioned next to the battery connector.
VCC-3.
10. Accelerometer On board ADXL345 accelerometer is used to measure acceleration in three axis: x, y and z. The accelerometer function is defined by the user in the program loaded into the microcontroller. Communication between the accelerometer and the microcontroller is performed via the I2C interface. VCORE AVCC VCC-3.3 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 R61 9K1 E8 C5 C6 C7 10uF 100nF 100nF 100nF VCC-3.3 VCC-3.3 VCC-3.
11. Flash Memory VCC-3.3 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 VCORE AVCC E9 10uF LM3S9B95 PE1 PE0 USB0BIAS PB2/I2C0SCL USB0DP USB0DM GND VDD PB1/USB0VBUS PB0/USB0ID PB3/I2C0SDA RST PH5 PH6 PF1 PF2 PF3 MDIO GND VDD PJ7 PJ6 PJ5 PJ4 NC 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 R61 9K1 VCC-3.3 VCC-3.
TCK-PC0 TMS-PC1 TDI-PC2 TDO-PC3 SCK1-PH4 PB7 PD7 PD6 PD5 T-D1-PJ1 PH0 PH1 PH2 PH3 VCC-3.3 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 VCORE AVCC MOSI1-PE3 MISO1-PE2 12. Pads VCC-SYS L R PF2 PA3 PC4 PC6 PC0 PC1 PC2 PC3 PC5 T-D0-PJ0 T-D1-PJ1 T-D2-PJ2 T-D3-PJ3 T-D4-PJ4 T-D5-PJ5 T-D6-PJ6 U0Rx-PA0 U0Tx-PA1 SCL0-PB2 SD A0 - PB3 VCC-3.
13. Pinout System power supply Reference Ground Analog Lines Interrupt Lines Digital I/O lines SCK SDI SPI Lines SDO 3.3V power supply Reference Ground VSYS GND PE7 PE6 PE5 PE4 PD7 PD6 PD5 PH0 PH1 PH2 PH3 PG0 PG1 PH4 PE2 PE3 PF0 PF3 PB7 PA2 PA4 PA5 3.3V GND RST GND L R PF2 PA3 PC4 PC6 PC0 PC1 PC2 PC3 PC5 PJ0 PJ1 PJ2 PJ3 PJ4 PJ5 PJ6 PA0 PA1 PB2 PB3 3.3V GND Reset pin Reference Ground left ch. audio out right ch. PWM lines Digital I/O lines RX TX UART Lines SCL2 I2C Lines SDA2 3.
14. Dimensions 81.15 mm (3195 mils) 73.66 mm (2900 mils) 36.58 mm (1440 mils) 2.03 mm (80 mils) 7.62 mm (300 mils) 55.88 mm (2200 mils) 60.45 mm (2380 mils) 8.89 mm (350 mils) 63.5 mm (2500 mils) 2.54 mm (100 mils) Page 32 2.
15. Mikromedia accessories We have prepared a set of extension boards pin-compatible with your mikromedia, which enable you to easily expand your board basic functionality. We call them mikromedia shields. But we also offer other accessories, such as Li-polymer battery, stacking headers, wire jumpers and more.
What’s next? You have now completed the journey through each and every feature of mikromedia for Stellaris® M3 board. You got to know it’s modules and organization. Now you are ready to start using your new board. We are suggesting several steps which are probably the best way to begin. We invite you to join the users of mikromedia™ brand. You will find very useful projects and tutorials and can get help from a large ecosystem of users.
DISCLAIMER All the products owned by MikroElektronika are protected by copyright law and international copyright treaty. Therefore, this manual is to be treated as any other copyright material. No part of this manual, including product and software described herein, may be reproduced, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika.
If you want to learn more about our products, please visit our website at www.mikroe.com If you are experiencing some problems with any of our products or just need additional information, please place your ticket at www.mikroe.com/esupport If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.com mikromedia for Stellaris® M3 Manual ver. 1.