Home

User Manual

image

Contents

1. EasyMx PRO page 41 EasyMx PRO 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 must be reproduced stored in a retrieval system translated or transmitted in any form or by any means without the prior written permission of MikroElektronika The manual PDF edition can be printed for private or local use but not for distribution Any modification of this manual is prohibited MikroElektronika provides this manual as is without warranty of any kind
2. 12 List of MCUs supported with mikroProg 13 Installing programmer 5 14 Programming software 15 Hardware 16 Connectivity Input Output eee eee eee eens 18 MIKTOBUS SOCKETS snake 20 CICK BOB el Communication USB UART A sse USB UART cse nennen l3 USB host communication 24 USB device 25 Ethernet communication 26 CAN 27 Multimedia Audio Input Output saasaa neer 28 MICOS DESI SIDE osea RE EE c9 TFT display 320x240 30 Touch panel 31 Navigation switch cece cece eee teen ene 32 PICZO BUZZED Po bead Rs tre b das gous 33 Other Modules DS1820 Digital Temperature Sensor 34 LM35 Analog Temperature 33 Serial Flash Memory 36 I2C 3 ADC UNOS osos dns odd Pax RUE RES pera eS rS 38 Additional GNDs csse 39 page 3 2 U 2 r fs 2 i z D p a wu 3 1 im uin Ln 3n cree
3. N In order to enable USB UART B could interfere with the signals DVD download eng software development tools edi communication you must push and possibly corrupt the data universal ftdi vcp_drivers zip JH 7 SW10 3 SW10 4 PD2 being sent or received to ON position This connects the RX and TX lines to PD2 and PD3 microcontroller pins l C13 E4 100nF 100nF 10uF VCC 3 3V VCC 5V 3 3 VCC 3 3V CN9 R28 R29 28 2K2 4K7 O 27 Cu 26 RX TX lt q W 25 A g R31 22 DATA BUS 24 LD3 LD4 4K7 mz 23 RX LED2 GND 4 GND 22 DCLED2 N nc FI232RL 5 b 21 VETT I m Figure 9 1 5 FTDI2 D_P USB UART B asi connection toon schematic EasyMx PRO page 23 1K R42 W 01 BC846 1K NN MCU CARD SO D_N D 2 USB D_P D 3 GND4 USB A USB HOST CONNECTOR Figure 10 1 USB host connection schematic USB is the acronym for Universal Serial Bus This is a very popular standard that defines cables connectors and protocols used for communication and power supply between computers and other devices EasyMx PRO v7 for Stellaris contains USB HOST connector CN11 for USB Standard Type A plug which enables microcontrollers that support USB communication to establish a connection with the target device eg USB Keyboard USB Mouse etc USB host also provides the n
4. Seggeeee2 222 me Lle 3999922347 M uh TE RU Oa pL LLIS a 9 Stellaris XOO e MCU CARD P SPR SLER REELS ASISZEEEEERERE ZSEFEZELERLE HHHH ZIZIFEEEEREEEE EXFFEEEEZEEZIE Su uu EI m Empty MCU card for 48 Empty MCU card for 100 pin Empty MCU card for 100 pin Empty MCU card for 64 pin series MCUs series MCUs series MCUs series MCUs asyMx ee v7 PRO 22333 222223 E 1425248224442 2323222242224 is eseseesecsces S at i i iy 3 Op uo Empty MCU card for 100 pin Empty MCU card for 100 pin Empty MCU card for 144 pin MCU card for series MCUs series MCUs series MCUs series with LM4F232H5QD TK On board programmer programming 2W 45 AW What is mikroProg mikroProg is a fast programmer and debugger which is based on TI ICDI debugger Smart engineering allows mikroProg to support over 270 ARM Cortex M3 and Cortex M4 devices from Stellaris in a single programmer It also features a powerful debugger which will be of great help in your development Outstanding performance and easy operation are among it s top features us Enabling mikroProg VCC 3 3V VCC USB mikroPro 3 USB PROG P USB 2 0 programmer debu
5. maa I pw Pt ien ane see i i U Raai H jy Ww LIT iei ETHERNET 2 ETHERNET Figure 12 2 Enabling ethernet LEDs photo on the right In order to enable Ethernet LEDs you must place 12 and 11 jumpers This connects the LEDA and LEDB lines to PF3 and PF2 microcontroller pins asyMx PRO Easy VCC 3 3V Figure 13 1 CAN connection schematic Controller Area Network CAN or CAN bus is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other within a vehicle without a host computer CAN 15 a message based protocol designed specifically for automotive applications but now also used in other areas such as industrial automation and medical equipment EasyMx PRO v7 for Stellaris is equipped with SN65HVD230 a 3 3V CAN Transceiver and a pair of screw terminals which provide microcontrollers with integrated CAN controller with the necessary physical interface for CAN communication Make sure to correctly connect negative and positive differential communication lines before using this module Figure 13 2 enabling CAN communica tion E USB USB LARTBUARTA In order to enable CAN cation you must push SW10 5 PD1 and SW10 6 PDO to ON position This connects the TX and RX lines to appropriate microcontroller pins Digital to Analog Converter DAC The decoding is contr
6. t mien met 5 3 gt PI Q2 1 ey ME lt a 3 Saik ny BUTTON Press ale nmm abi atn le i o i TT ee mo 9 a e 2 5 amp amp 2 w tt J 1 tah microcontrollers supported Many on board modules Easy add extra boards Two connectors for each port Fast USB 2 0 programmer and The ultimate Stellaris board Multimedia peripherals mikroBUS sockets Amazing Connectivity In Circuit Debugger To our valued customers EasyMx PRO v7 is our first development board for Stellaris ARM devices We have put all of our knowledge that we gained in the past 10 years of developing embedded systems into it s design functionality and quality It may be our first ARM Cortex M3 M4 development board but it sure looks and feels like it s our 7th You made the right choice But the fun has only just begun Nebojsa Matic Owner and General Manager of mikroElektronika Introduction 04 It s good TO KNOW as e RAO RW iara 05 Power Supply Power Supply 06 Supported MCUs MEI CBIU cucine b 08 Other supported MCU 11 Programmer debugger On board programmer
7. Eh 1 4 Add Remove lt Properties 44 AddAll RemoveAll Select variable from list Search for variable by assembly name 5 60 ms Watch Clock Current Count 447 729 Delta 9 447 729 Reset To Zero 80 CA Examples Development Systems EasyMx PRO v7 for Stellaris ARM Led uu Ao Figure 5 3 mikroC PRO for ARM compiler in debugging view with SFR registers in Watch Window Mx PRO Toolbar Icon Bii gt OD gt Command Start Debugger Run Pause Debugger Stop Debugger Step Into Step Over Step Out Run To Cursor Toggle Breakpoint Show Hide breakpoints Clears breakpoints Jump to interrupt EasyMx PRO E Debugger commands oeer m Here is a short overview of debugging commands which are supported in mikroElektronika compilers You can see what each command does and what are their shortcuts when you are in debugging mode It will give you some general picture of what your debugger can do Shortcut F9 F6 Ctrl F2 F7 F8 Ctrl F8 F4 F5 Shift F4 Shift Ctri F5 F2 x O0 fU 00 cx Description Starts Debugger Run Pause Debugger Stops Debugger Executes the current program line then halts If the executed program line calls another routine the debugger steps into the routine and
8. microSD C5 CARD In order to connect EEPROM to the microcontroller you must enable SW13 4 and W13 5 switches as shown on Figure 23 2 2K2 pull up resistors necessary for communication are already provided on SDA and SCL lines once Switches are turned on Prior to using EEPROM in your application make sure to disconnect other peripherals LEDs and additional pull up or pull down resistors from the interface lines in order not to interfere with signal data integrity DATA BUS EasyMx PRO X gt UO _ EEPROM is short for Electrically Erasable Programmable Read Only Memory It is usually a secondary storage memory in devices containing data that is retained even if the device looses power supply EEPROMs come with parallel or serial interface to the master device Because of the ability to alter single bytes of data EEPROM devices are used to store personal preference and configuration data in a wide spectrum of consumer automotive telecommunication medical industrial and PC applications EasyMx PRO v7 for Stellaris supports serial EEPROM which uses communication interface and has 1024 bytes of available memory EEPROM itself supports single byte or 16 byte page write and read operations Data rates are dependent of power supply voltage and go up to 400 kHz for 3 3V power supply What is I C is a multi master serial single ended bus tha
9. J oc bs T51 3 i 3 051820 psi820 0582 A DSIB20 Figure 20 1 DS1820 not connected Figure 20 2 DS1820 placed in socket Figure 20 3 DS1820 connected to PD4 pin Figure 20 4 DS1820 connected to PB7 pin EasyMx PRO v7 for Stellaris enables you to establish 1 wire communication between DS1820 and the microcontroller over PB7 or PD4 pins The selection of either of those two lines is done using J8 jumper When placing the sensor in the socket make sure that half circle on the board silkscreen markings matches the rounded part of the DS1820 sensor If you accidentally connect the sensor the other way it may be permanently damaged Make sure to disconnect other peripherals LEDs and additional pull up or pull down resistors from the interface lines in order not to interfere with signal data integrity page 34 of 750ms for the DS1820 to calculate temperature with 9 bit resolution 1 wire serial communication enables data to be transferred over a single communication line while the process itself is under the control of the master microcontroller The advantage of such communication is that only one microcontroller pin is used Multiple TOP VIEW DS1820 Digital Temperature Sensor sensors can be connected on the same line All slave devices by default have a unique ID code which enables the master device to easily identify all devices
10. C12 22pF 100nF 100nF 2u2 vec T vec x1 8MHz R1 E1 I 2 C13 22pF 10uF OSC1 OSCO CORE 4 PJ5 PJE _ VCC 1 PIG Bie a PJ6 5 PI7 GND ma 2 9 VDD VDD PFI 9 R2 10K PHS 11 e MDIO PG1 PB3 13 XTALNPHY XTALPPHY mn f BUNTEN PF1 PH7 USB D P 17 18 PB2 PH6 mu PHS PH6 PJO B mu f PH5 LM3S9B95 PD3 RST GND 23 jme RST PD2 rm MED 55 PBO PB3 I2COSDA PD1 mn PBO USBOID PDO HD1 PB1 USBOVBUS GND HD4 VDD a X USB D_N GND LDO USBODM PE4 B a USBODP PES PB2 I2COSCL GNDA USBOBIAS VDDA PEO g PEI PE6 a PE1 7 4 4 10uF 10uF uf o a c a gt IO J PB7 LM M M I LEN Figure 4 2 Default MCU card schematic page 9 Uu UO e o c 2 Before you plug the microcontroller card into the socket make sure that the power supply is turned off Images below show how to correctly plug the MCU card First make sure that MCU card Orientation matches the silkscreen outline on
11. idend ax ide EULA Step 2 Accept EULA Carefully read End User License Agreement If you agree with it click Next to proceed Congratulations You have finished drivers Instalation The drivers were successfully installed on this computer You can now connect your device to this oo If your device came with instructions please read them first Status FTDI CDM Driver Ready to use FTDI CDM Driver Ready to use Step 4 Finish installation You will be informed if the drivers are installed correctly Click on Finish button to end installation process EasyMx PRO Programming software mikroProg Suite for ARM On board mikroProg programmer requires special programming software called mikroProg Suite for ARM This software is used for programming all of supported microcontroller families with ARM Cortex M3 and Cortex M4 cores Software has intuitive interface and SingleClick programming technology To begin first locate the installation archive on the Product DVD DVD download eng software development tools arm stellaris mikroprog mikroprog_suite_for_arm_v110 zip After downloading extract the package and double click the executable setup file to start installation Quick Guide File About History Device Gl Click the Detect MCU button in order to recognize the device ID Detect MCU ENS Click the Read button to read
12. a JB Ti once errand rains 1 ih 4 EY rae om F i Mh m TE n 1 ais 7 al Dd ANT ett 2 zd z AU 2 NEL n rs rn I i UL p P i 1 PEU n 1 sail 7 1 1 E 1 I 1 Ee BAIC E 09 AM al m Lu t a P an ib it 1 DTI XM J 4 x F i i 1 1 1 i i dir f d 1 n 11 J LII mal XT Las T he ih ik Lr ni r i 1 ARMS Cortex M3 and Cortex M4 increasingly popular microcontrollers They are rich with modules with high performance and low power consumption so creating a development board the size of EasyMx PRO v7 for Stellaris was really a challenge We wanted to put as many peripherals on the board as possible to cover many internal modules We have gone through a process of fine tuning CHP ABS pe mr the board performance and used 4 layer PCB to achieve maximum rer COLOR uf IUDAS D M 7 ME KM je H E efficiency Finally it had met all of our expectations and even a ca exceeded in some We present you the board which is powerful eet 3ecxaao Wr a m a P well organized with on board programmer and debugger and mad T is ready to be your strong ally in d
13. either expressed or implied including but not limited to the implied warranties or conditions of merchantability or fitness for a particular purpose MikroElektronika shall assume no responsibility or liability for any errors omissions and inaccuracies that may appear in this manual In no event shall MikroElektronika its directors officers employees or distributors be liable for any indirect specific incidental or consequential damages including damages for loss of business profits and business information business interruption or any other pecuniary loss arising out of the use of this manual or product even if MikroElektronika has been advised of the possibility of such damages MikroElektronika reserves the right to change information contained in this manual at any time without prior notice if necessary TRADEMARKS The Mikroelektronika name and logo the Mikroelektronika logo mikroC mikroPascal mikroProg mikromedia EasyARM EasyMx PRO Click boards and mikroBUS are trademarks of Mikroelektronika All other trademarks mentioned herein are property of their respective companies All other product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies and are only used for identification or explanation and to the owners benefit with no intent to infringe Copyright MikroElektronika 2012 All Rights Reserved SOTO
14. touch coordinates in the form of analog voltages which can then be easily converted to X and Y values Touch panel comes as a part of TFT 320x240 display DRIVEB Figure 17 1 Touch Panel controller and connection schematic When working with multi media applications it is far more intuitive to use a single joystick than several different push buttons that are more far apart This is more natural for users and they can browse through on screen menus or even play games much easier EasyMx PRO v7 for Stellaris features navigation switch with five different positions Up Down Left Right and Center Each of those acts as a button and is connected to one of the following microcontrollers pins PBO PES PB7 PE4 PH2 respectively Before using the navigation switch it is necessary to pull up mentioned microcontroller pins using tri state DIP switches located in I O groups After pressing the navigation switch in desired direction associated microcontroller pins are connected to GND which can be detected in user software KEY1 UP 1 4 RIGHT 2 PBO Figure 18 2 Navigation switch is an intuitive solution for browsing through on screen menus Figure 18 1 Navigation switch connection schematic Pull up resistors should be enabled during operation Piezo Buzzer Piezoelectricity is the charge which accumulates in certain solid materials in response to mechanical press
15. clock RTC a pair of each 12 SP and CAN controllers It also contains 3 analog mparators 16 digital comparators It ith llarisware tellaris 9000 comparators 16 digital comparators It is pre loaded with Stellarisware 4s ETHERNET ae e libraries and bootloader in ROM 8MHz crystal oscillator We carefully chose the most convenient crystal value that provides clock frequency which can be used directly or with the PLL multipliers to create higher MCU clock value PFO o MESE VE a EC e v 6 XC cu lt x 25MHz crystal oscillator This crystal oscillator is connected to internal Ethernet module rE m 7 ler he 7 VREF jumper This jumper determines whether PB6 pin is used as voltage reference for A D converter or it is used as general purpose 1 0 pin Jumper is HW REV 1 02 WS soldered to VREF position by default P 5 Please note that if VREF jumper is soldered to 1 0 position Touch Panel controller will not operate correctly because it uses voltage from this pin as CL tL reference for A D conversion Ep ti By L 2 a 1 EM e 3 EST Figure 4 1 Default MCU card with LM3S9B95 page 8 EasyMx PRO PAO VCC_CORE C9 C10
16. halts after executing the first instruction within it Executes the current program line then halts If the executed program line calls another routine the debugger will not step into it The whole routine will be executed and the debugger halts at the first instruction following the call Executes all remaining program lines within the subroutine The debugger halts immediately upon exiting the subroutine Executes the program until reaching the cursor position Toggle breakpoints option sets new breakpoints or removes those already set at the current cursor position Shows Hides window with all breakpoints Delete selected breakpoints Opens window with available interrupts doesn t work in hardware debug mode page 17 One of the most distinctive features of EasyMx PRO v7 for Stellaris are its Input Output PORT groups They add so much to the connectivity potential of the board Everything is grouped together PORT headers PORT buttons and PORT LEDs next to each other and grouped together It makes development easier and the entire EasyMx PRO v7 for Stellaris PE4 5 m PEG PE7 U 7 7 PEO py PE1 2 A P1 am 45 oe M eec Figure 6 1 1 0 group contains PORT header tri state pull up down DIP switch buttons and LEDs all in one place cleaner and well organized We have also provided an additional PORT headers on the rig
17. level The debugger enables you to execute your program on the host Stellaris microcontroller and view variable values Special Function Registers SFR RAM CODE and EEPROM memory along with the code execution on hardware Whether you are a beginner or a professional this powerful tool with intuitive interface and convenient set of commands will enable you to track down bugs quickly mikroProg debugger is one of the fastest and most reliable debugging tools on the market Supported Compilers All MikroElektronika compilers mikroC mikroBasic and mikroPascal for ARM natively support mikroProg for Stellaris as well as other compilers including KEIL IAR and CCS Specialized DLL module allows compilers to exploit the full potential of fast hardware debugging Along with compilers make sure to install the appropriate programmer drivers and mikroProg Suite for ARM programming software as described on pages 14 and 15 page 16 How do use the debugger When you build your project for debugging and program the microcontroller with this HEX file you can Start the debugger using F9 command Compiler will change layout to debugging view and a blue line will mark where code execution is currently paused Use debugging toolbar in the Watch Window to guide the program execution and stop anytime Add the desired variables to Watch Window and monitor their values Bn mikroC PRO for ARM v 1 0 0 C Users Pub
18. memory It has Comes with examples for mikroC integrated Ethernet controller with PHY USB mikroBasic and mikroPascal compilers 137mA when all peripheral Host Device up to 65 General purpose 1 0 pins 5 16 bit timers 16 Analog Input pins AD j gt gt gt UARTs internal Real time clock RTC a pair of Sa P e maa i board dimensions each 12 SP and CAN controllers It also contains Pis 3 analog comparators 16 digital comparators It is pre loaded with StellariswWare libraries and Ua oa weight 445g 0 981 Ibs bootloader in ROM Package contains PRODUCT DVD a TTOOL Damage resistant EasyMx PRO v7 board USB cable User Manuals and DVD with examples protective box in antistatic bag Board schematic and documentation EasyMx PRO page 5 Board contains switching power Supply that creates stable voltage and current levels necessary for powering each part of the board Power supply section contains specialized MC33269DT3 3 power regulator which creates VCC 3 3V power supply thus making the board capable of supporting 3 3 microcontrollers Power supply unit can be CN5 using external adapters via adapter connector CN16 or additional screw terminals CN15 External adapter voltage levels must be in range of 9 32V DC and 7 23V AC Use jumper J1 to specify which power source you ar
19. of available memory organized as 16 sectors each containing 256 pages Each page is 256 bytes wide Thus the whole memory can be viewed as consisting of 4096 pages or 1 048 576 bytes Maximum clock frequency for READ instructions is 40MHz What is SPI The Serial Peripheral Interface Bus or SPI bus is a synchronous serial data link standard that operates in full duplex mode It consists of four lines MISO Master Input Slave Output MOSI Master Output Slave Input SCK Clock and CS Chip Select Devices communicate in master slave mode where the master device initiates the data frame Multiple slave devices are allowed with individual slave select chip select lines Serial Flash Memory MOSI MISO SPI SCK EEPROM SCL EEPROM SDA FLASH CS CD si LON CARD In order to connect Serial Flash Memory to the microcontroller you must enable SW13 1 W13 2 Sw13 3 SW13 6 switches This connects SPI lines to PA5 MOSI PA4 MISO SCK and PC7 CS microcontroller pins DATA BUS VCC 3 3V VCC 3 3V C26 Figure 22 1 SPI SCK FLASH CS 100nF Schematic of HOLD Serial Flash Memory module SW13 page 36 EasyMx PRO EEPROM G Enabling IC EEPROM Figure 23 2 Activate SW13 4 and SW13 5 Switches to enable pull up resistors in I C lines of Serial EEPROM MOSI MSO EEPROM SCL EEPROM SDA FLASH CS
20. the entire microcontroller memory You can click the Save button to save it to target HEX file Erase Reset If you want to write the HEX file to the HEX File microcontroller first make sure to load the target file You can drag n drop the file onto the software window or use the Load button to open Browse dialog and point to the HEX file location Then click the Write button to begin programming Opis 8 Click the Erase button to wipe out the a ne microcontroller memory Progress Welcome to the mikroProg Suite for ARM v1 10 Setup Wizard a Bl other appin recommended that bese wy it pease bo update sa pete ered without handing En reboot your gia netia coniu Step 3 Install for All users or current user weet camp ed pay lera fU 072 Pikkie licite Serre fore ire Lal erg ce ir ARM Press Page Deen in ser the rest of agreement Licerme isteneni and TANT READ CAREFULLY Pend imned warranty consteute a legal egreenent And mauler Verse piasement and banant you ether An individual ey eniti and P M pak gael lr etme and accompening or printed documenadon ln La nag e UAM agreeme
21. 3 DIP Switches as well as Chip Select CS and Card Detect CD lines using W13 8 and SW13 7 switches VCC 3 3V VCC MMC FP3 FERRITE 100nF R53 R54 s Us SD CS SPI MOSI SPI SCK sso 858 2 Figure 15 1 microSD card slot connection schematic SD CD p NID POA N CN14 SPI MOSI SPI MISO SPI SCK microSD CARD SLOT One of the most powerful ways of presenting data 7 and interacting with users is through color displays and touch panel inputs This is a crucial element of any multimedia device EasyMx PRO v7 for Stellaris features TFT color 320x240 pixel display It is a 2 83 display with LED back light featuring HX8347D controller Figure 16 1 TFT display connection schematic ee ee ee RS TIN co Ali i a ex ox ox fox ox ox ox 0 IN 03 TFT BPWM 8 4 9 Each pixel is capable of showing 262 144 different colors It is connected to microcontroller using standard 8080 parallel 8 bit interface with additional control lines Board features back light driver which besides Standard mode can also be driven with PWM signal in order to regulate brightness in range from O to 100 4 E lt TFT CONTROL TFT display is enabled using SW11 1 SW11 8 and SW12 2 SW12 6 DIP switches Back light can be enabled in two different
22. 6 LM3S1F11 LM3S1F16 LM3S1G21 351058 LM3S1H11 LM3S1H16 LM3S1 11 351 16 LM3S1N11 LM3S1N16 LM3S1P51 LM4F111C4QR LM4F111E5QR LM4F111H5QR LM4F112C4QC LM4F112E5QC Mx PRO LM3S1R21 LM3S1R26 LM3S1W16 351216 LM3S2110 1 352139 1 352276 1 352410 1 352412 1 352432 1 352533 1 352601 1 352608 1 352616 1 352620 1 352637 1 352651 1 352671 1 352678 1 352730 1 352739 1 352776 1 352793 1 352911 1 352918 1 352939 LM4F112H5QC LM4F112H5QD LM4F120B2QR LM4F120C4QR LM4F120E5QR LM3S2948 LM3S2950 LM3S2965 LM3S2B93 LM3S2D93 LM3S2U93 LM3S300 LM3S301 LM3S308 LM3S310 LM3S315 LM3S316 LM3S317 LM3S328 LM3S3634 LM3S3651 LM3S3654 LM3S3739 LM3S3748 LM3S3749 LM3S3826 LM35S3J26 LM3S3N26 LM3S3W26 LM3S3226 LM3S5632 LM4F120H5QR LM4F121B2QR LM4F121C4QR LM4F121E5QR LM4F121H5QR LM3S5651 LM3S5652 355656 LM3S5662 LM3S5732 LM3S5737 LM3S5739 355 747 LM3S5749 LM3S5752 LM3S5762 LM3S5791 LM3S5951 355956 LM3S5B91 LM3S5C31 LM3S5C36 LM3S5C51 LM3S5C56 LM3S5D51 LM3S5D56 LM3S5D91 LM3S5G31 LM3S5G36 LM3S5G51 LM3S5G56 LM4F122C4QC LM4F122E5QC LM4F122H5QC LM4F122H5QD LM4F130C4QR LM3S5K31 LM3S5K36 LM3S5P31 LM3S5P36 LM3S5P3B LM3S5P51 LM3S5P56 LM3S5R31 LM3S5R36 LM3S5T36 LM3S5U91 LM3S5Y36 LM3S600 LM3S601 LM3S608 LM3S610 LM3S6100 LM3S611 LM3S6110 LM3S612 LM3S613 LM3S615 LM3S617 LM3S618 LM3S628 LM3S6420 LM4F130E5QR LM4F130H5QR LM4F131C4QR LM4F131
23. Drivers can be found on Product DVD PRODUCT DVD DVD download eng software development tools pM AEN RE a Eg MikroElektronika EN DEVELOPMENT TOOLS COMPILERS BOO d sine universal ftdi vcp_drivers zip mmmmm w AN M RR KS le ox 4 VCC 5V 3 3 VCC 3 3V 7 R11 R12 lt VCC 1 55 2K2 4 7 E 2 27 Cu 26 RX p TX lt 25 A A R18 2 2 _24 LD7 LD8 4 7 nz 23 RX LED1 GND 4 22 1X LED1 A 21 USB 19 T R19 T 10K FTDI1 D_N 5 11 100 FTDI1 D_P communication If you need to use more than one USB UART in your application you have another USB UART B connector available on the board too Both available USB UART modules can operate at the Same time because they are routed to separate microcontroller pins USB UART B communication is being done through a FT232RL mat controller USB connector CN9 and microcontroller UART module To establish this connection you must connect RX e and TX lines of the FT232RL to the appropriate pins of the microcontroller This selection is done using DIP switches SW10 3 and SW10 4 In order to use USB UART B module on EasyMx PRO v7 for When using either USB UART A or USB Stellaris you must first install drivers on your computer UART B make sure to disconnect all Drivers can be found on Product DVD devices and additional boards that
24. E5QR LM4F131H5QR LM3S6422 LM3S6432 356537 LM3S6610 LM3S6611 LM3S6618 LM3S6633 LM3S6637 LM3S6730 LM3S6753 LM3S6911 LM3S6918 LM3S6938 LM3S6950 LM3S6952 LM3S6965 LM3S6C11 LM3S6C65 LM3S6G11 LM3S6G65 LM3S800 LM3S801 LM3S808 LM3S811 LM3S812 LM3S815 LM4F132C4QC LM4F132E5QC LM4F132H5QC LM4F132H5QD LM4F230E5QR LM3S817 LM3S818 LM3S828 LM358530 LM358538 LM358630 LM3S8730 LM3S8733 LM3S8738 LM3S8930 LM358933 LM358938 LM3S8962 LM3S8970 LM3S8971 LM3S8C62 LM3S8G62 LM3S9781 LM3S9790 LM3S9792 LM3S9971 LM3S9997 LM3S9B81 LM3S9B90 LM3S9B92 LM3S9B95 LM4F230H5QR LM4F231E5QR LM4F231H5QR LM4F232E50C LM4F232H5QC LM3S9B96 LM3S9L97 LM3S9BN2 LM3S9BN5 LM3S9BN6 LM3S9C97 LM3S9CN5 LM3S9D81 LM3S9D90 LM3S9D92 LM3S9D95 LM3S9D96 LM3S9DN5 LM3S9DN6 LM3S9G97 LM3S9GN5 LM3S9L71 LM3S9U81 LM3S9U90 LM3S9U92 LM3S9U95 LM3S9U96 LM4F232H5QD page 13 fo On board mikroProg requires drivers in order work Drivers are located on the Product DVD that you received with the EasyMx PRO v7 for Stellaris package DVD download eng software development tools arm stellaris mikroprog mikroprog_stellaris_ drivers_v100 zip Pat on lt A When you locate the drivers please extract files from the ZIP archive Folder with extracted files contains sub folders with drivers for different operating system
25. 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 en support If you have any questions comments or business proposals do not hesitate to contact us at office mikroe com EasyMx PRO v7 for Stellaris ARM User Manual ver 1 02 100000 021033 0
26. VCC line cannot be used for powering the board 5 only used for detecting connection 0 Figure 11 2 enabling USB DEVICE detection via VBUS line USB USB UARTEB UARTA eS ILLI E A You can detect whether USB device 15 plugged into the connector using VBUS power detection line PB1 Before using this feature you must connect PB1 pin to USB connector using SW10 8 switch Pv s 7 4 3v d 5 E UW e s YANA 1 El Figure 12 1 Ethernet connection schematic THERNET CONNECTOR page 26 VCC 3 3V ETH LEDB MCU CARD SOCK Ethernet is a popular computer networking technology for local area networks LAN Systems communicating over Ethernet divide a stream of data into individual packets called frames Each frame contains source and destination addresses and error checking data so that damaged data can be detected and re transmitted EasyMx v7 for Stellaris features Standard RJ 45 connector which enables microcontrollers that support Ethernet communication to establish a connection with a computer router or other devices All four Ethernet lines TPOUT TPOUT TPIN and TPIN are routed directly to the MCU card socket and cannot be accessed via PORT headers Additional signalization LEDs green and yellow are provided on the board next to RJ 45 connector Ethernet commun a a RE
27. ardware Capture compare module which is usually available in most microcontrollers or by writing a custom software which emulates the desired signal waveform Supported sound frequencies Piezo buzzer s resonant frequency where you can expect it s best performance is 3 8kHz but you can also use it to create sound in the range between 2kHz and 4kHz VCC 5V TOP VIEW Enabling Piezo Buzzer BUZZER PERSPECTIVE 2 VIEW BC846 In order to use the on board Piezo Buzzer in i your application you first have to connect the m transistor driver of piezo buzzer to the appropriate E microcontroller pin This is done using SW12 1 DIP M switch which connects it to PA6 pin Figure 19 2 push SW12 1 to ON position to connect Piezo buzzer to How to make it sing Buzzer starts singing when you provide PWM signal from the microcontroller to the buzzer driver The pitch of the sound is determined by the frequency and amplitude is determined by the duty cycle of the PWM signal CONTROL page 33 05182015 a digital temperature sensor that uses 1 wire interface for it s operation It is capable of measuring temperatures within the range of 55 to 128 C and provides 0 5 C accuracy for temperatures within the range of 10 to 85 C It requires 3V to 5 5V power supply for stable operation It takes maximum V 4 Enabling DS1820 Sensor s eC pag 18
28. e on the right side of the board next to DIP switches like CN33 on Figure 6 3 These headers can be used to connect accessory boards with IDC10 female sockets Figure 6 4 IDC10 male headers enable easy connection with mikroElektronika accessory boards The logic state of all microcontroller digital inputs may be changed using push buttons Tri State DIP switch SW16 Figure 6 5 Button press is available for selecting level DIP switch tri state which logic state will be applied to corresponding MCU pin when button is pressed for each port separately If you for example place SW16 5 in VCC position then pressing of any push button in PORTE group will apply logic one to the appropriate microcontroller pin The same goes for GND If DIP switch is in the middle position neither of two logic states will be applied to the appropriate microcontroller pin You can disable pin protection 220ohm resistors placing jumpers J6 and J7 which will connect your push buttons directly to VCC or GND Be aware that doing so you may accidentally damage MCU in case of wrong usage In the far upper right section of the board there is a RESET button which can be used to manually reset the microcontroller LED Light Emitting Diode is a highly efficient electronic light source When connecting LEDs it is necessary to place a current limiting resistor in series so that LEDs are provided with the current value speci
29. e using Upon providing the power using either external adapters or USB power source you can turn on power supply by using SWITCH 1 Figure 3 1 Power LED ON Green will indicate the presence of power supply vend VCC 3 3V 5 MC33269DT3 3 C3 E14 SWITCH1 VCC 5V E17 D6 220uF 35V LESR 5V SWITCHING POWER SUPPLY Figure 3 2 Power supply unit schematic page 6 powered in three different ways with USB power supply Power supply SS 9 32V DC 7 23V Mim d 2 1 13 C39 1870 d t Figure 3 1 Power supply unit of EasyMx PRO v7 for Stellaris POWER SUPPLY VCC 5V VCC USB 1N4007 1N4007 D4 D5 Board power supply creates stable 3 3V necessary for operation of the microcontroller and all on board modules How to power the board 1 With USB cable Set J1 jumper to USB position To power the board with USB cable place jumper J1 in USB position You can then plug in the USB cable as shown on images 1 and and turn the power switch ON c Using adapter Set J1 jumper to EXT position To power the board via adapter connector place jumper 1 in EXT position You can then plug in the adapter cable as shown on images and and turn the power switch ON 3 With laboratory power supply Set J1 jumper to EXT position To power the board using screw termina
30. ecessary 5V power supply to the target Maximum power which can be drawn depends on the power consumption of the EasyMx for Stellaris board itself Microcontroller USB data lines are directly connected to MCU card socket pins Figure 10 2 Mes 3 Powering USB device i through Psw line PSW m vBUS f USB m A AOI B ARTBUARTA 5 You can enable or disable power supply to USB device connected to HOST through microcontroller PH3 pin In order to connect power transistor to microcontroller you must push SW10 7 to ON position Easy 13205 AHVI USB VBUS 1 D R40 27 USB D_N D 2 gt z USB D P D 3 Q gt 43 27 GND 4 nz LD9 USB B U R46 GND Figure 11 1 USB device connection schematic EasyMx PRO v7 for Stellaris also contains USB DEVICE connector CN10 which enables microcontrollers that Support USB communication to establish a connection with the target host eg PC Laptop etc It lets you build a slave USB device HID Composite Generic etc Connector supports USB Standard Type B plug Detection whether USB DEVICE 5 connected to HOST can be done through VBUS line This line is traced to microcontroller PB1 pin Connection of USB DEVICE VCC line and PB1 pin is established when SW10 8 DIP switch is in ON position When connected to HOST dedicated amber colored power LED will light up as well This
31. evelopment EasyMx PRO v7 for Stellaris development Team Two connectors for each port Everything is already here Ready for all kinds of development For easier connections 1 1 1 1 m 1 Amazing connectivity mikroProg board Multimedia peripherals mikroBUS support EasyMx PRO v7 for Stellaris is Powerful on board mikroProg TFT 320x240 with touch panel Just plug in your Click board all about connectivity Having programmer and hardware stereo mp3 codec audio input and it s ready to work We picked two different connectors for debugger can program and and output navigation switch up a set of the most useful pins each port you can connect debug over 270 Stellaris and microSD card slot make a you need for development and accessory boards sensors and ARM microcontrollers You perfect set of peripherals for made a pinout standard you will your custom electronics easier will need it whether you are a multimedia development enjoy using then ever before professional or a beginner EasyMx PRO page 4 ts good to know LM3S9B95 is the default microcontroller System Specification introduction LM3S9895 is the default chip of EasyMx PRO v7 Great choice for both beginners It belongs to ARM Cortex M3 family It has and professionals 7 23 AC or 9 32V DC 80MHz operation 256K bytes of linear program Rich with modules 5V or via USB cable 5V DC memory 96K bytes of linear data
32. fied by the manufacturer The current varies from 2 to 20mA depending the type of the LED and the manufacturer The EasyMx PRO v7 for Stellaris board uses low current LEDs with typical current consumption of O 2mA or Board contains 72 LEDs which can be used for visual indication of the logic state on PORT pins An active LED indicates that a logic high 1 is present on the pin In order to enable PORT LEDs it is necessary to enable the corresponding DIP switch on SW15 Figure 6 6 SMD resistor limiting current through the LED e z O i LLI el Figure 6 6 Sw15 1 through SW15 8 switches are used to enable PORT LEDs Easier connectivity and simple configuration are imperative in modern electronic devices Success of the USB standard comes from it s Simplicity of usage and high and reliable data transfer rates As we in mikroElektronika see it Plug and Play devices with minimum settings are the future in embedded world too This 15 why our engineers have come up with a simple but brilliant pinout with lines that most of today s accessory boards require which almost completely eliminates the need of additional hardware settings We called this new standard the mikroBUS EasyMx PRO v7 for Stellaris supports mikroBUS with two on board sockets As you can see there are no additional DIP switches or jumper selections Everything is already routed to the most appro
33. gger 2 c2 SB 2 PCO MCU J PC1 MCU PROGRAMMER TMS SWDIO Four jumpers below the programmer USB connector are used to specify whether programming lines should be connected to programmer or used as general purpose 1 05 If placed in JTAG SWD position jumpers connect PCO PC3 pins to TCK TMS TDI and TDO programming lines respectively and are cut off from the Figure 5 1 mikroProg block schematic rest of the board VCC 5V VCC 3 3V RST DATA BUS How do start In order to start using mikroProg and program your 1 Install the necessary software 2 Power up the board and you are ready to go microcontroller you just have to follow two simple Install programmer drivers Plug in the programmer USB cable steps Install mikroProg Suite for software LINK LED should light up page 12 Mx PRO Stellaris Cortex M3 microcontrollers supported with mikroProg LM3S101 LM3S102 LM3S1110 LM351133 LM351138 LM3S1150 LM3S1162 351165 351332 LM3S1435 351439 LM3S1512 LM351538 LM3S1601 LM3S1607 LM3S1608 LM3S1620 LM3S1621 LM3S1625 LM3S1626 LM3S1627 LM3S1635 LM3S1637 LM3S1651 LM3S1751 LM3S1776 Stellaris Cortex M4 microcontrollers supported with mikroProg LM4F110B2QR LM4F110C4QR LM4F110E5QR LM4F110H5QR LM4F111B2QR LM3S1811 LM3S1816 LM3S1850 LM3S1911 LM3S1918 LM3S1937 LM3S1958 LM3S1960 LM3S1968 LM3S1B21 LM3S1C21 LM3S1C26 LM3S1C58 LM3S1D21 LM3S1D2
34. ht side of the board so you can access any pin you want from that Side of the board too Tri state pull up down DIP switches Tri state DIP switches like SW5 on Figure 6 3 are used to enable 4K7 pull up or pull down resistor on any desired port pin Each of these switches has three States 1 middle position disables both pull up and pull down feature from the PORT pin 2 Up position connects the resistor in pull up state to the selected pin 3 down position connects the resistor in pull down State to the selected PORT pin DATA BUS PORTE LED Figure 6 2 Tri state DIP switch on PORTE SW15 Button press level tri state DIP switch is used to determine which logic level will be applied to port pins when buttons are pressed PORTE LEVEL 1 2 3 4 5 67 8 T31 BUTTON PRESS LEVEL o xo io lt co fox I LLI LLI JLLI LLI 4 1 123456 7 8 UP DOWN VCC 3 3V T VCC 3 3V T SW5 CN24 CN33 VCC 3 3V ul m a T33 e T34 T35 T36 e T37 Figure 6 3 Schematic of the single 1 0 group connected to microcontroller PORTE page 18 Mx PRO With enhanced connectivity as one of the key features of EasyMx PRO v7 for Stellaris we have provided two connection headers for each PORT O PORT group contains one male IDC10 header like CN24 Figure 6 3 There is one more IDC10 header availabl
35. ing multi bit sigma delta 1 DREQ RST 5 DCS READ Y 7 DRIVEA DRIVES In order to use Audio 1 0 module you must connect data and Audio control lines of the microcontroller with the VS1053 audio codec To do this push SW13 1 SW13 3 and SW14 1 SW14 4 switches to ON position This will connect SPI data lines with 5 PA4 and microcontroller pins and audio control lines and chip select with PF4 PF5 PF1 and PFO pins VCC 1 8V Mx PRO Secure Digital SD is non volatile memory card format developed for use in portable devices It comes in different packages and memory capacities It is mostly used for storing large amounts of data EasyMx PRO 7 for Stellaris features the microSD card slot The microSD form factor is the smallest card format currently available It uses standard SPI user inter face with minimum additional electronics mainly used for stabilizing communication lines which can be significantly distorted at high transfer rates Ferrite and tantalum Capacitor are also provided to compensate the voltage and current glitch that can occur when pushing in and pushing out microSD card into the socket Easy Figure 15 2 MOSI enabling MISO SPI SCK microSD EEPROM SCL card commu FLASH CS CD microsD nication cs CARD lines In order to access microSD card you must enable SPI communication lines using SW13 1 SW13
36. lic Documents o File Edit View Project Build Run Tools Help R amp A ES m Ag il dud LedBlinking c i GPIO Digital Output i Debug layout while 1 GPIO PORTA DAT E as digital c GPIO PORTE DATA GPIO PORTC DAT GPIO PORTD DAT GPIO PORTE D2 i GPIO PORTA DATA 70 GPIO DATA 0 GPIO PORIC DATA 0 GPIO PORTD DATA 0 GPIO PORTE DATA 0 GPIO DATA 0 i GPIQ PORTG DATA 0 Gpfo PORTH DATA 0 ETO PORTINQATA 0 while 1 GPIO PORTA DATA GPIO PORTA DATA Toggle PORTA GPIO DATA GPIO DATA GPIO GBPO_PORTC_DATA GPIO PORID DATA GPIO PORTD DATA GPIO_PORTEMATA GPIO PORTE DATA Toggle PORTB P G PO TF DATA GPIO PORTF DATA GPIO PORTG DATA GPIO PORTG DATA i GPIO PORTH DATA GPIO PORTH DATA GPIO PORTJ DATA GPIO PORTJ DATA Delay ms 1000 se E Messages 8 Quick Converter Errors Warnings Hints Line Message No Message Text 0 1144 Static RAM bytes 0 Dynamic RAM bytes 98301 0 114 Used ROM bytes 2498 1 Free ROM bytes 259646 99 0 125 Project Linked Successfully 128 Linked in 452 ms 129 Project LedBlinking mcpar completed 889 ms 103 Finished successfully 17 Feb 2012 13 48 13 Compiled Stopwatch Watch Values EX
37. lopment boards You can freely place mikroBUS host connectors in your final PCB designs as long as you clearly mark them with mikroBUS logo and footprint specifications For more information logo artwork and PCB files visit our web site mmm 1 4 628650003100 OWN fe j 000666076007 FCC iD 9 41 1 RoHS compiiant 1 dna AH 186188 An LEA 88 0 000 es 5 1 Opto click mikroElektronika portfolio of over 200 accessory boards is now enriched by literally zero hardware configuration Just plug and play Visit the Click boards an additional set of mikroBUS compatible Click Boards Almost each month web page for the complete list of available boards several new Click boards are released It is our intention to provide the community with as much of these boards as possible so you will be able to expand your EasyMx PRO v7 for Stellaris with additional functionality with d oM SENSITIVITY ECTION NC CS I SDI Bie Enna on ziin Light pacclick y DIGI POT click FHT Ix click _ THERMO click ii EHDI NC pus D ACT AC s 51515151515 EO Easy communication USB USB UARTB UARTA RX TX RX are nowadays replaced with USB connectors and co
38. loscope probe Whats Next You have now completed the journey through each and every feature of EasyMx PRO v7 Stellaris board You got to know it s modules organization supported microcontrollers programmer and debugger 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 EasyMx PRO brand You will find very useful projects and tutorials and can get help from a large ecosystem of users Welcome page 40 Compiler You still don t have an appropriate compiler Locate compiler that suits you best on the Product DVD provided with the package DVD download eng software compilers Choose between mikroC and mikroPascal and download fully functional demo version so you can begin building your ARM Cortex M3 and Cortex M4 applications Projects Once you have chosen your compiler and since you already got the board you are ready to start writing your first projects We have equipped our compilers with dozens of examples that demonstrate the use of each and every feature of the EasyMx PRO v7 for Stellaris board and all of our accessory boards as well This makes an excellent starting point for your future projects Just load the example read well commented code and see how it works on hardware Browse through the compiler Examples path to find the following folder Developmen
39. ls place jumper J1 in EXT position You can then screw on the cables in the screw terminals as shown on images and and turn the power switch ON Power supply Power capacity via DC connector or screw terminals 7V to 23V or 9V 32V DC or via USB cable 5V DC up to bOOmA with USB and up to 600mA with external power supply page 7 power supply Default MCU card Microcontrollers are supported using specialized MCU cards containing 104 pins is shown on Figure 4 1 It contains LM3S9B95 microcontroller with on chip which are placed into the on board female MCU socket There are several types of peripherals and is a great choice for both beginners and professionals After testing cards which cover all microcontroller families of Stellaris Cortex M3 as well as building the final program this card can also be taken out of the board socket Cortex M4 The Default MCU card that comes with the EasyMx PRO v7 package used in your final device Uu UO _ o Q 1 359895 is the default chip of EasyMx PRO v7 for Stellaris It belongs to ARM Cortex M3 family It has operation 256K bytes of linear program memory 96K bytes of linear data memory It has integrated Ethernet controller with PHY USB Host Device up to 65 General purpose 1 0 pins five 16 bit timers 16 Analog Input pins AD three UARTs internal Real time
40. mmunication to be done via USB connection Controllers such as FT232RL from convert UART signals to the appropriate USB standard In order to enable USB UART A communication you must push SW10 1 1 SW10 2 to ON position This connects the RX and TX lines to PAO and PA1 microcontroller pins USB UART A communication is being done through a FT232RL controller USB connector CN7 and microcontroller UART module To establish this connection you must connect RX and TX lines of the FT232RL to the appropriate pins of the microcontroller This selection is done using DIP switches SW10 1 and Sw10 2 DATA BUS GND CBUS1 GND m Figure 8 1 USB UART A connection schematic FT232RL page 22 The UART universal asynchronous receiver trans mitter is one of the most common ways of exchanging data between the MCU and peripheral components It 15 a Serial protocol with separate transmit and receive lines and can be used for full duplex communication Both sides must be initialized with the Same baud rate otherwise the data will not be received correctly Modern PC computers laptops and notebooks are no longer equipped with RS 232 connectors and UART controllers They USB controllers Still certain technology enables UART In order to use USB UART A module on EasyMx PRO v7 for Stellaris you must first install drivers on your computer
41. nt iz inzial mirato fuite for ARM v1 10 Next Cheese Location Chace the Eskder in hah pa nidi mknsProg futs Tor YEI Setup mill natal Sure fer ARH wL Iin the Exdar dak Brasepe and Cik io Ra Compleling the A Suite for ARM v1 10 Setup Wi m iroPreg Sure Aor ARM v1 Das been natales en your contr Finish iz dope this vizard Step 5 Installation in progress Step 6 Finish Installation Figure 5 2 mikroProg Suite for ARM window EasyMx PRO page 15 00 fU ce 078 Hardware Debugger What is Debugging Every developer comes to a point where he has to monitor the code execution in order to find errors in the code or simply to see if everything is going as planed This hunt for bugs or errors in the code is called debugging There are two ways to do this one is the software simulation which enables you to simulate what is supposed to be happening on the microcontroller as your code lines are executed and the other most reliable one is monitoring the code execution on the MCU itself And this latter one is called hardware debugging hardware means that it is the real deal code executes right on the target device What is hardware debugger The on board mikroProg programmer supports hardware debugger a highly effective tool for a Real Time debugging on hardware
42. olled via a serial control bus In addition to the basic decoding it is possible to add application specific features like DSP effects to the user RAM Figure 14 1 Audio IN OUT memory You can build music players connection schematic audio recording devices internet radio player applications and much more VCC 1 8V VCC 3 3V R3 10 ENG PHONEJACK R5 10K 8 Lbs 6 C7 5 47nF 10nF 10nF VCC 3 3V C8 1uF MICP EH MP3RsST R10 B 100K VS1053 SPI MISO MP3 DREQ MP3 RST MP3 CS MP3 DCS VCC 3 3V MICN MICROPHONE C10 1uF 10K Audio IN OUT VCC 3 3V U4 IN OUT GND EN ADJ AP7331 ADJ page 28 It s hard to imagine modern multimedia devices without high quality audio reproduction modules Sounds and music are almost as important as graphical user interfaces Along with other multimedia modules EasyMx PRO v7 for Stellaris contains high end stereo VS1053 audio codec It features Ogg Vorbis MP3 AAC WMA FLAC WAV MIDI audio decoder as well as an PCM IMA ADPCM Ogg Vorbis encoder on a single chip Board also contains two stereo audio connectors for interfacing with standard 3 5mm stereo audio jacks VS1053 receives the input bit stream through a serial input bus which it listens to as a system slave The input stream is decoded and passed through a digital volume control to an 18 bit oversampl
43. priate pins of the microcontroller sockets Each mikroBUS host connector consists of two 1x8 female headers containing pins that are most likely to be used in the target accessory board There are three groups of communication pins SPI UART and 12 communication There are also single pins for PWM Interrupt Analog input Reset and Chip Select Pinout contains two power groups 5V and GND on one header and 3 3V and GND on the other 1x8 header mikro BUS VCC 3 3V AN PWM RST INT E my SCK TX MISO SCL MOSI SDA E I 3 3V 5V GND 1 GND mikro 5 PCA PWM RST PE2 PHO INT CS PGO PAO RX SCK PA2 1 MISO PA4 PB2 SCL PB3 SDA 3 3V 5 GND GND Analog pin Reset pin SPI Chip Select line SPI Clock line SPI Slave Output line SPI Slave Input line VCC 3 3V power line Reference Ground mikro VCC 3 3V BUS AN PWM RST INT CS RX SCK TX MISO SCL MOSI SDA 3 3V 5V GND 2 GND et mikro BUS AN PD6 PC6 PWM RST PE3 1 CS PG1 PD2 RX SCK PA2 PD3 TX MISO PA4 PB2 SCL MOSI PAS PB3 SDA 3 3V 5V GND GND PWM output line Hardware Interrupt line UART Receive line UART Transmit line 2C Clock line 2C Data line VCC 5V power line Reference Ground Figure 7 1 mikroBUS connection schematic mikroBUS is not made to be only a part of our deve
44. s Depending on which operating system you use choose adequate folder and open it mikroprog_stellar is drivers v100 zi PET Bay 32 bit Windows 64 bit Windows OS Windows 7 OS Windows 7 Vista XP Vista pum lt DPInst_x86 exe DPInst 4 In the opened folder you should be able to locate the driver setup file Double click on setup file to begin installation of the programmer drivers page 14 Stellaris ICDI Device Driver Installer Welcome to the Stellaris ICDI Device Installer This wizard will walk you through updating the drivers To continue click Next B Step 1 Start Installation Welcome screen of the installation Just click on Next button to proceed Stellaris ICDI Device Driver Installer gt Please wait while the drivers install This may take some time to complete Step 3 Drivers are installed automatically in a matter of seconds Installing drivers installing programmer drivers Y 4 gt Stellaris ICDI Device Driver Installer To continue ana To read the entire agreement use the scroll bar or press the Page Down key mikroElektronika Associates License Statement and Limited Waranty IMPORTANT READ CAREFULLY This license statement and limited warranty constitute a legal between you either as an individual or a single Bektronika for software
45. sharing the same interface Board provides a separate socket TS1 for the DS1820 Communication line with the microcontroller is selected using J8 jumper DATA BUS Figure 20 5 DS1820 connected to PB7 pin EasyMx PRO LM35 Analog Temperature Sensor The LM35 is a low cost precision integrated circuit temperature sensor whose output voltage 15 linearly proportional to the Celsius Centigrade temperature The LM35 thus has an advantage over linear temperature sensors calibrated in Kelvin as the user iS not required to subtract a large obtain convenient Centigrade scaling It has a linear 10 0 mV C scale factor and less than 60 pA current drain As it draws only 60 pA from its supply it has very low self heating less than 0 1 C in still air EasyMx v7 for Stellaris enables you to get analog readings from the LM35 sensor in restricted constant voltage from its output temperature range from 2 C to nu Enabling LM35 Sensor Figure 21 4 LM35 connected to PD7 pin Figure 21 1 LM35 not connected Figure 21 2 LM35 placed in socket Figure 21 3 LM35 connected to PD4 pin EasyMx PRO v7 for Stellaris enables you to get analog readings from the LM35 sensor using PD4 or PD7 microcontroller pins The selection of either of those two lines is done using J10 jumper When placing the sensor in the socket make sure that half circle on the board silkscreen markings ma
46. t Systems EasyMx_PROv7 mikroC Community If you want to find answers to your questions on many interesting topics we invite you to visit our forum at http www mikroe com forum and browse through more than 150 thousand posts You are likely to find just the right information for you On the other hand if you want to download free projects and libraries or share your own code please visit the Libstock website With user profiles you can set to know other programmers and subscribe to receive notifications on their code http www libstock com PRO for ARM COMPILER 1 A i 1 i i COMPILER mikroC PRO tar ARM PASCAL PRO Tor mikroBASIC PRO tor ARI Support We all know how important it is that we rely on someone in moments when we are stuck with our projects facing a deadline or when we just want to ask a simple basic question that s pulling us back for a while We do understand how important this is to people and therefore our Support Department is one of the pillars upon which our company is based MikroElektronika offers Free Tech Support to the end of product lifetime so if something goes wrong we are ready and willing to help EasyMx PRO
47. t is used to attach low speed peripherals to computer or embedded systems 2 uses only two open drain lines Serial Data Line SDA and Serial Clock SCL pulled up with resistors SCL line is driven by a master while SDA is used as bidirectional line either by master or slave device Up to 112 slave devices can be connected to the same bus Each slave must have a unique address VCC 3 3V VCC 3 3V VCC 3 3V VCC 3 3V i 100nF Figure 23 1 Schematic of EEPROM module page 37 Digital signals have two discrete states which are decoded as high and low and interpreted as logic 1 and logic 0 Analog signals on the other hand are continuous and can have any value within defined range A D converters are specialized circuits which can convert analog signals voltages into a digital representation B gt usually in form of an integer number The value BE 37 of this number is linearly dependent on the 299 gt 86 as gt input voltage value Most microcontrollers nowadays internally have A D converters connected to one or more input pins Some of the most important parameters of A D converters are conversion time and resolution Conversion time determines how fastcan an analog voltage be represented in form of a digital number This is an important parameter if you need fast data acquisition The other Parameter 15 resolution Resolution represents the number of discrete steps that suppor
48. tches the rounded part of the LM35 sensor If you accidentally connect the sensor the other way it can be permanently damaged and you might need to replace it with another one During the readings of the sensor make sure that no other device uses the selected analog line because it may interfere with the readings EasyMx PRO 150 C Board provides a separate socket TS2 for the LM35 sensor in TO 92 plastic packaging Readings are done with microcontroller using single analog input line which is selected with jumper J10 Jumper connects the sensor with either PD4 or PD7 microcontroller pins VCC 5V Figure 21 5 LM35 connected to PD4 pin page 35 other modules Flash memory is a non volatile storage chip that can be electrically erased and reprogrammed It was developed from EEPROM electrically erasable programmable read only memory and must be erased in fairly large blocks before these can be rewritten with new data The high density NAND type must also be programmed and read in smaller blocks or pages while the NOR type allows a single machine word byte to be written or read independently Flash memories come in different sizes and supporting different clock speeds They are mostly used for mass storage as in USB Flash Drives which are very popular today EasyMx PRO v7 for Stellaris features M25P80 serial Serial Flash Memory which uses SPI communication interface and has 8 Mbits
49. ted voltage range can be divided into It determines the sensitivity of the A D converter Resolution is represented in maximum number of bits that resulting number occupies can be routed to any of the 5 supported analog input pins V In order to connect the output of the potentiometer P1 to PE7 PE6 PE4 or PD7 analog microcontroller inputs you have to place the jumper J9 in the desired position By moving the potentiometer knob you can create voltages in range from GND to VCC Most microcontrollers have 10 bit resolution meaning that maximum value of conversion can be represented with 10 bits which converted to integer is 21021024 This means that supported voltage range for example from 0 3 3V can be divided into 1024 discrete steps of about 3 222mV EasyMx PRO v7 for Stellaris provides an interface in form of potentiometer for simulating analog input voltages that VCC 3 3 2 E Figure 24 1 m Schematic of ADC 10K input Easy EasyMx PRO v7 for Stellaris contains GND pins located in different sections of the board which allow you to easily connect oscilloscope GND reference when you monitor signals on microcontroller pins or signals of on board modules GND 1 located below the analog input section GND is located just above PORT Input Output Group Figure 25 1 two oscilloscope GND pins are conveniently positioned so different parts of the board can be reached with an oscil
50. the Figure 4 3 On board MCU socket has silkscreen markings which will help you to correctly orient the MCU card before inserting EasyMx PRO v7 for Stellaris board MCU socket Place the MCU card over the socket so each male header is properly aligned with the female socket as shown in Figure 4 4 Then put the MCU card Slowly down until all the pins match the socket Figure 4 4 Place the MCU card on the socket so that pins are aligned correctly Check again if everything is placed correctly and press the MCU card until it is completely plugged into the socket as shown in Figure 4 5 If done correctly all pins should be fully inserted Only now you can turn on the power supply Figure 4 5 Properly placed MCU card mikroElektronika currently offers total of two populated MCU cards one with default for Stellaris board becomes truly flexible and reliable tool for almost any of your LM3S9B95 Cortex M3 microcontroller and one with LM4F232H5QD Cortex M4 ARM projects MCU cards can also be used in your final devices For complete list of microcontroller You can also purchase empty PCB cards that you can populate on currently available MCU cards please visit the board webpage your own and solder any supported microcontroller you need in your development There are total of seven empty PCB cards available This way your EasyMx PRO v7 St aPRO DU PRO Gale v7 89977 Seygseesee92228
51. ure but also providing the charge to the piezo electric material Causes It to physically deform One of the most widely used applications of piezoelectricity is the production of sound generators called piezo buzzers Piezo buzzer is an electric component that comes in different shapes and sizes which can be used to create sound waves when provided with analog electrical signal EasyMx PRO v7 for Stellaris comes with piezo buzzer which can be connected to PA6 microcontroller pin Connection is established using SW12 1 DIP switch Buzzer is driven by transistor Q2 Figure 19 1 Microcontrollers can create sound by generating a PWM Pulse Width Modulated signal a Square wave Signal which 15 nothing more than a sequence of logic zeros and DATA BUS Figure 19 1 Piezo buzzer connected to PA6 microcontroller pin Freq 3kHz Duty Cycle 50 Aerea 3kHz Volume 50 Freq 3kHz Duty Cycle 80 y 3kHz Volume 80 Freq 3kHz Duty Cycle 20 3kHz Volume 20 ass cn un und aal and ani ai aad i insi nds Cu am n EasyMx PRO O ones Frequency of the square signal determines the pitch of the generated sound and duty cycle of the signal can be used to increase or decrease the volume in the range from 0 to 100 of the duty cycle You can generate PWM signal using h
52. ways 1 11 can be turned with full brightness using SW12 7 switch Brightness level can be determined with PWM signal from the microcontroller allowing you to write custom back light controlling software This back light mode is enabled when both SW12 7 and SW12 8 switches are in ON position Easy Touch panel is a glass panel whose surface is covered with two layers of resistive material When the screen is pressed the outer layer is pushed onto the inner layer and appropriate controllers can measure that pressure and pinpoint its location This is how touch panels can be used as an input devices EasyMx PRO v7 for Stellaris is Figure 17 2 Turn on switches 5 through 8 on SW14 to enable Touch panel controller AUDIO o or Lu i o of H Fa o o E m zZ lt X DRIVEB Touch panel is enabled using SW14 5 SW14 6 Sw14 7 and SW14 8 switches They connect READ X and READ Y lines of the touch panel with PB4 and PB5 analog inputs and DRIVEA and DRIVEB with PEO and 1 digital outputs on microcontroller sockets Make sure to disconnect other peripherals LEDs and additional pull up or pull down resistors from the interface lines so they do not interfere with signal data integrity Easy equipped with touch panel controller and connector for 4 wire resistive touch panels can very accurately register pressure at a specific point representing the

Download Pdf Manuals

image

Related Search

Related Contents

Instrucciones de uso  PORTUGUÊS - Hunter Fan  Model 2290-10 Power Supply User`s Manual  SunKeeper Manual  MBL88 取扱説明書  NmxToCD1 Version 1.41 User Guide  Scanners ScanMate i1120  Canon 2356A002 Camera Flash User Manual  Conceptronic 2 Bay Media NAS Hard Disk 3,5"  Glass Timer & Clock - Taylor Precision Products  

Copyright © All rights reserved.
Failed to retrieve file