background image

user

'

s guide to

mikro

me ia

board for ARM

Compact development system rich with on-board peripherals for 
all-round multimedia development on LPC2148 ARM7 device

Summary of Contents for mikromedia for ARM

Page 1: ...user s guide to mikrome ia board for ARM Compact development system rich with on board peripherals for all round multimedia development on LPC2148 ARM7 device ...

Page 2: ... is to design and produce high quality electronic products and to constantly improve the performance thereof in order to better suit your needs The Microchip Atmel NXP and CYPRESS name logo and products names are trademarks of Microchip Atmel NXP and CYPRESS Inc in the U S A and other countries TO OUR VALUED CUSTOMERS Nebojsa Matic General Manager ...

Page 3: ...ep 2 Choose COM port 15 step 3 Select baud rate 15 step 4 Specify oscillator freq 16 step 5 Browse for hex file 16 step 6 Erase Flash 17 step 7 Start Programming 18 step 8 Finished 18 4 LPC2148 Microcontroller 19 Key microcontroller features 19 5 Programing with JTAG programmer debugger 20 6 microSD Card Slot 22 7 Accelerometer 23 8 Touch Screen 24 9 Audio Module 26 10 USB connection 28 11 Pads 30...

Page 4: ...ystem is a 32 bit ARM7 microcontroller LPC2148 The mikromedia for ARM features integrated modules such as stereo MP3 codec TFT 320x240 touch screen display accelerometer two USB connectors one for communication with the microcontroller one and for ISP programming MMC SD card slot and other Mikromedia is compact and slim and perfectly fits in the palm of the hand which makes it convenient platform ...

Page 5: ...r ARM development system mikromedia for ARM user s guide mikromedia for ARM schematic DVD with documentation and examples USB cable schematic Compact development system rich with on board peripherals for all round multimedia development on LPC2148 microcontroller mikrome ia board for ARM ...

Page 6: ...play USB MINI B programmer connector LI Polymer battery connector USB MINI B device connector 3 5mm headphone connector Power supply regulator FTDI USB Uart controller VS1053 Stereo mp3 coder decoder Power indicator LEDs Accelerometer LPC2148 microcontroller RESET button MicroSD Card Slot JTAG connector ...

Page 7: ...pecification power supply Over a USB cable 5V DC board dimensions 8 x 6cm 3 14 x 2 36 inch weight 50g 0 11 lbs power consumption 50mA in idle state when on board modules are off 03 06 07 08 09 11 10 12 13 14 15 04 05 ...

Page 8: ...rd using either of the two miniUSB connectors On board voltage regulator will make sure to generate the appropriate voltage levels to each part of the board Power LED will indicate the presence of power supply Figure 1 1 Powering your mikromedia board with USB cables ...

Page 9: ...y over USB power supply Charging current value is 250mA and charging voltage is 4 2V DC VCC 5V VCC 5V VCC BAT R52 4K7 R53 3K9 LD3 VSS PROG STAT VDD VBAT U6 STAT MCP73832 D3 MBRS140T3 C35 2 2uF VCC 5V VCC BAT E3 10uF VCC BAT HDR3 M1X2 for Charging Current approx 250mA Figure 2 2 Li polymer battery connected to mikromedia 2 Battery power supply Figure 2 1 Battery charger connecting schematic ...

Page 10: ...r is connected to the microcontroller through USB UART connection 3 Programming with In System Programmer Figure 3 1 Connecting USB cable to programming connector note You have to download and install drivers for your USB UART connection before programming Drivers can be found on FTDI website http www ftdichip com FTDrivers htm ...

Page 11: ... P0 5 P0 6 P0 7 P1 24 VREF XTAL1 XTAL2 P1 28 GNDA P0 23 RESET P1 29 P0 20 P0 19 P0 18 P1 30 VCC3 GND VBAT P0 21 P1 20 P0 17 P0 16 P0 15 P1 21 VCC3 GND P0 14 P1 22 P0 13 P0 12 P0 11 P1 23 P0 10 P0 9 P0 8 P0 22 RTXC1 P1 19 RTXC2 GND VCCA P1 18 P0 25 D D P1 17 P0 28 P0 29 P0 30 P1 16 VCC3 D2 P0 1 MCU RST P0 14 P0 0 R23 100 100 100 100 R24 R25 R26 MBRS340T3 CN3 USB ID ID 4 GND 5 USBDP D 3 USBDM D 2 VC...

Page 12: ...ort is used 01 Settings 01 02 03 03 From the drop menu select COM port on your PC 02 Set Baud Rate to 19200 Enter 12 in the Oscillator field if you use different oscillator enter its value in MHz instead 04 04 Right click on USB port then on properties in the drop down list 06 05 Select the Port Settings tab from pop up window 06 Click on the Advanced button 05 ...

Page 13: ...Page 13 07 In pop up window uncheck the Serial Enumerator option and click OK 07 note Steps 4 7 should be adjusted only once ...

Page 14: ...ing target device 01 Click on Select device button and browse for LPC2148 microcontroller from ARM7 family of microcontrollers 01 Programming is done using specialized programming software called Flash Magic which is available for download from the mikromedia for ARM webpage Flash Magic software ...

Page 15: ...ect UART communication speed for mikromedia step 2 Choose COM port step 3 Select baud rate Figure 3 4 Selecting COM Port 01 From the dropdown list choose the COM Port assigned to your mikromedia board after connecting it to your PC over USB cable 01 Figure 3 5 Selecting baudrate ...

Page 16: ...X file step 4 Specify oscillator freq step 5 Browse for hex file 01 01 Specify the value of on board crystal oscillator 12 000 MHz Click on Browse and find the HEX file you want to program your mikromedia with The path to the target file will be shown in the edit field 01 01 01 ...

Page 17: ... memory before programming step 6 Erase Flash 01 01 Click on the Erase Flash icon in the main toolbar Tick the first checkbox to specify erasing the entire flash Click on Erase button to start erasing flash Click OK when Erasing is completed 02 03 01 01 02 03 ...

Page 18: ...3 9 Program uploading step 7 Start Programming step 8 Finished 01 01 We are now ready to program the microcontroller Click on Start button to start uploading your program When everything is completed you will receive a message in the status bar 01 01 ...

Page 19: ...h 2 kB of endpoint RAM f on chip RAM accessible to USB by DMA 8 10 bit ADCs provide a total of 6 14 analog inputs hannel put LPC2142 44 46 48 only th four capture and four compare channels each dent power and 32 kHz clock input ARM7 Local Bus LPC2148 FAST GENERAL PURPOSE I O TEST DEBUG INTERFACE PLL0 SYSTEM FUNCTIONS PLL1 ARM7TDMI S AHB BRIDGE system clock USB clock AMBA AHB Advanced High performa...

Page 20: ...u have to solder 2x10 header to the JTAG connection pads on the back side of your mikromedia board It is also necessary to solder and set the JTAG jumper located right next to the JTAG connector Figure 5 1 in order to enable this type of programming 5 Programing with JTAG programmer debugger Figure 5 1 Enabling JTAG using jumper ...

Page 21: ...Page 21 M2X10 P1 27 R6 P1 31 R1 P1 28 R2 P1 29 P1 26 R4 P1 30 CN4 P1 31 P1 28 P1 30 P1 29 P1 26 P1 27 MCU RST R3 Figure 5 2 JTAG interface schematics ...

Page 22: ...contains microSD card slot for using microSD cards in your projects It enables you to store large ammounts of data externally thus saving microcontroller memory microSD cards use Serial Peripheral Interface SPI for communication with the microcontroller Figure 6 1 Inserting microSD card Figure 6 2 microSD card ...

Page 23: ... 3 7 Accelerometer The accelerometer is used to measure acceleration in three axis x y and z The acceleromer s function is defined by the user in the program loaded into the microcontroller Communication between the accelerometer and the microcontroller is performed over the I2C interface Figure 7 2 Accelerometer connecting schematic Figure 7 1 Accelerometer module ...

Page 24: ... and displayed at the same time The TFT display is capable of showing data in 262 000 diffe rent colors 8 Touch Screen Figure 8 1 Touch Screen There are two SMD jumpers or zero ohm resistors on board for selection of TFT communication mode By soldering the resistor in the desired position you can select following TFT operating modes 01 02 16 bit interface mode 8 bit interface mode 02 01 ...

Page 25: ... P0 21 P0 20 P0 19 P0 18 P0 17 P0 16 P0 15 R28 10K R27 10K R36 1K P0 11 P0 10 R37 12 Q3 BC846 Q2 BC846 Q4 BC846 TFT1 MI0283QT2 R48 300K R47 300K P0 25 P0 28 100nF 100nF C36 C37 GND GND GND GND GND GND GND GND GND GND P0 13 IM0 VCC 3 3 VCC 3 3 R19 10K R20 10K LPC2148 P1 27 P0 31 GND P0 0 P1 31 P0 1 P0 2 VCC3 P1 26 GND P0 3 P0 4 P1 25 P0 5 P0 6 P0 7 P1 24 VREF XTAL1 XTAL2 P1 28 GNDA P0 23 RESET P1 2...

Page 26: ...The mikromedia for ARM features MP3 codec audio controller VS1053 This module enables audio reproduction by using stereo headphones connected to the system via a 3 5mm connector CN6 All functions of this module are controlled by the microcontroller over Serial Peripheral Interface SPI 9 Audio Module ...

Page 27: ...0nF 22pF U4 P0 18 P0 19 P1 25 P0 22 P0 5 GPIO P0 6 P0 4 XTALO XTALO LEFT GBUF RIGHT LEFT GBUF RIGHT XTAL1 XTAL1 GPIO LINE2 XDCS IOVDD1 VCO DGND1 XTALO XTALI IOVDD2 DGND2 DGND3 DGND4 XCS CVDD2 AGND3 LEFT AVDD2 RCAP AVDD1 GBUF AGND2 AGND1 RIGHT AVDD0 AGND0 GPIO6 GPIO7 RX GPIO5 TX SCLK SI SO CVDD3 XTEST GPIO0 GPIO1 GND GPIO4 GPIO3 GPIO2 DREQ CVDD1 IOVDD0 VS1053 CVDD0 DGND0 XRESET MICN MICP R49 470 R5...

Page 28: ...ne over miniUSB connector which is positioned next to the audio jack 10 USB connection Figure 10 1 Connecting USB cable to programming connector There are two SMD jumpers or zero ohm resistors on board for selection of USB communication mode By soldering the resistor in the desired position you can select following USB operating modes USB Soft connection OFF USB Soft connection ON 01 02 ...

Page 29: ...Page 29 D5 MBRS140T3 VCC 5V R57 R56 0 NOT MOUNTED ON OFF USB MINIB CN7 Figure 10 2 USB module connecting schematic ...

Page 30: ... 25 P0 5 P0 6 P1 24 P1 26 P1 23 P0 13 P1 22 P1 21 P0 15 P0 16 P0 17 P0 18 P0 19 P0 20 P1 28 P1 27 11 Pads Most microcontroller pins are available for further connectivity via two 1x26 rows of connection pads on both sides of the mikromedia board They are designed to perfectly match additional shields such as Battery Boost shield PROTO shield and others Pads HDR2 Pads HDR1 Figure 11 1 Pads connecti...

Page 31: ...12 DSR1 MAT1 0 AD1 3 RI1 EINT2 AD1 5 P0 16 P0 14 DCD1 EINT1 SDA1 EINT0 MAT0 2 CAP0 2 P0 20 P0 23 VBUS MAT1 3 SSEL1 EINT3 P0 30 P0 25 AD0 4 AOUT AD0 3 EINT3 CAP0 0 P0 21 P0 31 UP_LED CONNECT PWM5 AD1 6 CAP1 3 P1 22 P1 16 TRACEPKT0 AD1 7 CAP0 0 MAT0 0 P1 23 P1 17 TRACEPKT1 PIPESTAT2 P1 24 P1 18 TRACEPKT2 TRACECLK P1 25 P1 19 TRACEPKT3 EXTIN0 P1 26 P0 11 CTS1 CAP1 1 SCL1 RTCK P1 27 P1 20 TRACESYNC TD...

Page 32: ...Page 32 13 Dimensions 2 38 mm 0 09 55 47 mm 2 20 60 65 mm 2 38 80 90 mm 3 19 73 01 mm 2 90 3 45 mm 0 14 2 54 mm 0 10 36 55 mm 1 44 2 77 mm 0 11 ...

Page 33: ...tion contained in this manual at any time without prior notice if necessary HIGH RISK ACTIVITIES The products of MikroElektronika are not fault tolerant nor designed manufactured or intended for use or resale as on line control equipment in hazardous environments requiring fail safe performance such as in the operation of nuclear facilities aircraft navigation or communication systems air traffic ...

Page 34: ...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 en support If you have any questions comments or business proposals do not hesitate to contact us at office mikroe com ...

Page 35: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information mikroElektronika MIKROE 780 ...

Reviews: