Home
- NGX Technologies
Contents
1. Folder BB LPC11U14 Xpresso_Sample_Programs Step 4 Click OK Select a workspace LPCApresso stores your projects in a folder called a workspace Choose a workspace folder to use for this session Workspace F BlueBoard LPC11U14 BB LPCI1U14 Apresso_Sample_Programs Use this as the default and do not ask again Cony Fig 14 12 www nextechnologies com User Manual BlueBoard LPC11U14 Step 5 Click on File gt New gt Project as shown below image Develop pr File Edit Navigate Search Run Project Window Help New Alt Shift N Open File Fe Other Ctrl N Close Ctrl W Close All Ctri Shift W Save Ctri S Save As Save All Ctrl Shift Revert Move Rename F2 amp Refresh F5 Print Ctrl P Switch Workspace Restart Fig 15 Step 6 Select LPCXpresso C Project and Click Next as shown below image z New Project Select a wizard Wizards type filter text b General al C C EC C EEA 5 Makefile Project with Existing Code b E CVS Finish 13 www ngxtechnologies com User Manual BlueBoard LPC11U14 Step 7 Select NXP LPC11U00 projects gt C Project and click Next as shown below image New LPC amp Xpresso C Project NAP LPC11U00 projects gt C Project Wizard a NAP t NXP LPC1100 projects t MXP LPC1102 projects NAP LPC11E00 C Static Library Project Semihosting Project gt MAP LPC1200 pr
2. Le yo BB LPC11U14_blinky BB LPC11U14 blinky NXP LPCI1U14 201 Fig 10 10 www ngxtechnologies com User Manual BlueBoard LPC11U14 3 2 Creating the sample Blinky project in LPCXpresso Step 1 Open an LPCXpresso v4 2 2_275 IDE Troubleshoot compatibility Open file location TortoiseSVN X Run as administrator 7 Zip Add to archree Add to Ipcxpresso rar Compress and email Compress to lpcxpresso rar and email Pin to Taskbar Pin to Start Menu Fig 11 Step 2 Click Browse as show below E Workspace Launcher y r steam Select a workspace LPCXpresso stores your projects in a folder called a workspace Choose a workspace folder to use for this session Workspace a a ie ell Use this as the default and do not ask again Fig 12 11 www ngxtechnologies com User Manual BlueBoard LPC11U14 IE Step 3 Please select BB LPC11U14_Xpresso_Sample_programs folder which downloaded from website as shown below image and click OK as shown in below image Select the workspace directory to use 4 BB LPC11U14_Xpresso_Sample_Programs gt J BB LPCI1U14_adc gt di BB LPC11U14_All_peripheral gt BB LPC11U14_blinky BB LPC11U14_buzzer gt J BB LPC11U14_Drivers_lib gt BB LPC11U14_Ext_inrrpt_and_wakeup gt BB LPC11U14_Ext_interrupt gt J BB LPC11U14_Gicd b O BB LPC11U14_Glcd_driver_lib gt BB LPC11U14_ps2_keyboard
3. Flash magic http www Tlashmagi ctool com About this document Revision History Version V1 0 author Veeresh Tumbarag Company Terms amp Conditions Legal NGX Technologies Pvt Ltd provides the enclosed product s under the following conditions This evaluation board kit is intended for use for ENGINEERING DEVELOPMENT DEMONSTRATION and EDUCATION OR EVALUATION PURPOSES ONLY and is not considered by NGX Technologies Pvt Ltd to be a finished end product fit for general consumer use Persons handling the product s must have electronics training and observe good engineering practice standards As such the goods being provided are not intended to be complete in terms of required design marketing and or manufacturing related protective considerations including product safety and environmental measures typically found in end products that incorporate such semiconductor components or circuit boards This evaluation board kit does not fall within the scope of the European Union directives regarding electromagnetic compatibility restricted substances RoHS recycling WEEE FCC CE or UL and therefore may not meet the technical requirements of these directives or other related directives The user assumes all responsibility and liability for proper and safe handling of the goods Further the user indemnifies NGX Technologies from all claims arising from the handling or use of the goods Due to the open construction of the product
4. Clean Project wW Quickstart 2 Refresh T EEE Close Project Import and Close Unrelated Projects z kss Import archi Build Configurations i Import exisiti Make Targets 25 Import projef Index ola es Convert To he eS mamie ne Si Run As Debug As BB LPC11U14 b ER Step 6 After building project Click on Debug Tiy a e Ctrl C Ctrl V Delete Ro file C nxp LPCXpresso_4 2 2_275 Ipex v gt gt A Xpresso4 is fully activated FS elcome to LPCXpresso 4 The software is now fully activated and c erate and download applications containing up to 128KB of code in Y F2 m j e L Problems 23N Memory Red TraceP E T p b Resource Invalid project path Include path not found BB LPC11U14_ _ m Fig File Edit Source Refactor Navigate Search Project Run Window Help Fir law E w G OG Gas are e 89v or dev A Ev Oc eNO SR Ti 100 roiect E N o1o1 Core Regi 4 ie BB LPC11U14_blinky gt fay Includes gt amp Debug gt A blinky c gt R blinky h gt i cr_startup_Ipc11u c Quickstart 22 _09 Variables Breakpoin E Project and File wizards Import and Export amp amp Import archived projects zip ES Import exisiting projects 225 Import project s from XML Description 7 Imnoart files intn RR I Pr111M amp hlinkw welcome 2 blinky c 2 3 50 int main voi
5. 3 Seh Mae Bot MeO IG nern 26 3 1 SCHE Wale ee ee rer A A E A 26 2 DO Ay OU Eee 26 OC BEAN Cae LTS TOR Y een nennen anne 27 CARE A a a A E E ae ae E T E N ee nee 27 TORELERINCIS ne ee er re nes 21 3 www nextechnologies com User Manual BlueBoard LPC11U14 1 0 INTRODUCTION This document is the User Manual for the BLUEBOARD LPC11U14 a low cost ARM Cortex MO based board by NGX Technologies This document reflects its contents which include system setup debugging and software components This document provides detailed information on the overall design and usage of the board from a systems perspective Before proceeding further please refer the quick start guide for BLUEBOARD LPC11U14 features and BLUEBOARD LPC11U 14 verification For BLUEBOARD LPC11U14 quick start guide Click here For the most updated information on the BLUEBOARD LPC11U14 board please refer to NGX website 4 www nextechnologies com User Manual BlueBoard LPC11U14 2 0 BLUEBOARD LPC11U14 Development Tool Setup 2 1 IDE and debugger As mentioned in the earlier section NGX s MCU evaluation platforms are not coupled tightly with any one particular combination of IDE and debugger The following sections will explain the setup for LPCXpresso and NXP LPC Link as the IDE and debugger respectively 2 2 Installation amp Configuration of LPCXpresso software For installation and configuration of LPCXpresso Click here Note We have used LPC Xpresso
6. during reset If the ISP pin is held LOW and reset signal is provided to the MCU the MCU enters into programming mode Practical On the BlueBoard LPC11U14 the RESET and ISP signals are connected to buttons provided on the board Look for the RESET and ISP marking on the board Therefore to enter into programming mode A Press and hold the ISP button A Press the RESET button and release it A Now release the ISP button A The board is in the programming mode 24 www nextechnologies com User Manual BlueBoard LPC11U14 4 2 Flashing the Hex file through UART Step 1 Connect the serial cable to the PC as well as to the board UARTO and open the flash magic tool Step 2 Input all the parameters as shown in below Fig Step 1 Communications Select Devices LPC11L14 201 Erase block 0 Ox000000 0x000FFF Erase block 1 0x001 000 0001 FFF COM Fort COM 13 7 Erase block 2 0x002000 04002FFF Erase block 3 O00 3S000 0200SF FF Baud Fate DE Erase block 4 0 004000 02004F FF Interface None ISP Erase block 5 0x005000 0 005FFF Erase all Flash Code Ad Prot Oscillator MHz 12 Erase blocks used by Hex File Step 3 Hex File Hex File G BLUE BOARD_LPCIO00_Series ELUE BOARD LPC110144BL Browse 9 Modified Friday December 9 2011 11 33 32 more into Step 4 Options Step 5 Start Verity after programming Fill unused Flash Gen block checksums Execute Technical on line articles about
7. it is the user s responsibility to take any and all appropriate precautions with regard to electrostatic discharge 27 www nextechnologies com User Manual BlueBoard LPC11U14 EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE NEITHER PARTY SHALL BE LIABLE TO THE OTHER FOR ANY INDIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES NGX Technologies currently deals with a variety of customers for products and therefore our arrangement with the user is not exclusive NGX Technologies assumes no liability for applications assistance customer product design software performance or infringement of patents or services described herein Please read the User s Guide and specifically the Warnings and Restrictions notice in the User s Guide prior to handling the product This notice contains important safety information about temperatures and voltages No license is granted under any patent right or other intellectual property right of NGX Technologies covering or relating to any machine process or combination in which such NGX Technologies products or services might be or are used Disclaimers Information in this document is believed to be reliable and accurate However NGX Technologies does not give any representations or warranties expressed or implied as to the completeness or accuracy of such information and shall have no liability for the consequences of use of such information NGX Technologies reserves the right to
8. Click OK and OK as shown below image Step 18 To include BB LPC11U14_Driver_lib in blinky project right click on Blinky Project and click type filter text Resource Builders C C Build Build Variables Discovery Options Environment Logging MCU settings Settings Tool Chain Editor C C General Project References Run Debug Settings Settings 8 MCU C Compiler Preprocessor Symbols 3 Includes Optimization 3 Debugging 3 Warnings 3 Miscellaneous Target MCU Assembler 3 General Target 883 MCU Linker 3 General Libraries 3 Miscellaneous Shared Library Settings Target Include paths I Stworkspace_loc CMSISv2p Add directory path Directory S workspace_loc BB LPC11U14_Drivers_lib inc Include files include COO cancel Worspace Filesystem 0 LPC11Ux inc on Properties 19 Rename Import Build Project Clean Project Refresh Close Project Close Unrelated Projects Build Configurations Make Targets Index Convert To Run As Debug As Profile As Team Compare With Restore from Local History Launch Configurations Smart update Utilities Fig 27 F2 Window Help Ki ny RD F5 f main c X _ R blinky h int main void gt LPC_GPIO gt DIR 0 TEST_LED1 TEST gt 4 while 1 led _ test gt gt g
9. made to the GPIO ports may alter the EMC behaviour Usage of this device under domestic environment may cause unwanted interference with other electronic equipment s User is expected to take adequate measures The device is not intended to be used in and end product or any subsystem unless the user re evaluates applicable directive conformance 2 www nextechnologies com User Manual BlueBoard LPC11U14 Table of Contents EOINTRODUE TION 2 ae ae een 4 2 0 BLUEBOARD LPC11U14 Development Tool Setup ee ccceeecceceeeeaeeeeeeeeceseeesaaeeneeeeeees 5 D7 ML B 81831116 Ko DO o DENENEEREDERREERFERUNEEFUEPREEVELSEHNERTNEREERUNESTENEREELEEUHEER UET PEEBEEREUREREEREEFEREUHEER E 5 2 2 Installation amp Configuration of LPCXpresso software cccccccccceccceseeeseeceececeeaaeeseeceeeeseeaaaeeeseeees 5 2 3 Setup for NXP LPC Link and BLUEBOARD LPC11U14 Board 00022222ssseeeeeneennnnnnnnnenn 5 3 0 BLUEBOARD LPC11U14 firmware Development ccccessesseeeeeeeeceaeeesseeececeeesaaaaneeeeeess 7 3 1 Executing the sample projects in LPCXpresso ccccccccccccsssseseeececceeeeaeeeseeececeeeeaaeeeseeeceeeeeseaeaenees 7 3 2 Creating the sample Blinky project in LPCXpresso usssssssssssseeeeenennnnnnnenennnnnnnnnnnnnennnnennnnnnn 11 4 0 BLUEBOARD LPC11U14 Programming ee ee ea een 24 4 1 10 11m In OPO ING ae ee ee nei 24 4 1 1 OneChip bootloader TUART en u nee an 24 4 2 Blashine the Hex Nle Ihrolch UART enter 25
10. 8057 and 4 programming WIM esacademy com tag docs Fig 36 Step 3 Click Start to flash the hex file Press Reset to run NOTE Make sure that the Board is not powered through USB 25 www ngxtechnologies com User Manual BlueBoard LPC11U14 Nia 5 0 Schematic amp Board Layout 5 1 Schematic This manual will be periodically updated but for the latest documentations please check our website for the latest documents The Board schematic and sample code are available after the product has been registered on our website 5 2 Board layout EI l E ma LCD_LEX2 Fan 5 EEE 2 2 2 ZZ zZ 2 zz 2 2 WAK EWP rs he D be i mm 5 NG TECHNOLOGIES fe x CT C6 Ca III Cc I wer amp Di Risa Sea MEN n num LLI ore m mE FE gt N 20 p mE TEET amp R27 E mm Fig 37 26 www ngxtechnologies com User Manual BlueBoard LPC11U14 6 0 CHANGE HISTORY 6 1 Change History Rev Changes Date dd mm yy By Initial release of the manual 18 06 2012 Veeresh Tumbaragi 7 0 REFERENCES In addition to this document the following references are included on the NGX BLUEBOARD LPC11U14 product and can also be downloaded from www ngxtechnologies com E NGX BLUEBOARD LPC11U14 schematic for the Development board Additional references include Information on development tool being used I PCXpresso http Ipcxpresso code red tech com LPCXpresso
11. User Manual BlueBoard LPC11U14 BlueBoard LPC11U14 gt a tz q N 2 www nextechnologies com User Manual BlueBoard LPC11U14 About NGX Technologies NGX Technologies is a premier supplier of development tools for the ARM7 ARM Cortex MO M3 and M4 series of microcontrollers NGX provides innovative and cost effective design solutions for embedded systems We specialize in ARM MCU portfolio which includes ARM7 Cortex M0O M3 amp M4 microcontrollers Our experience with developing evaluation platforms for NXP controller enables us to provide solutions with shortened development time thereby ensuring reduced time to market and lower development costs for our customers Our cost effective and feature rich development tool offering serves as a testimony for our expertise cost effectiveness and quality Contact Information NGX Technologies Pvt Ltd No 216 5th main Road R P C Layout Vijayanagar 2nd Stage Bangalore 560 104 Phone 91 80 40925507 email sales ngxtechnologies com CE certification NGX Technologies BLUEBOARD LPC11U14 board have been tested for radiated emission as per EN55022 class A standard The device is under the limits of the standard EN55022 class A and hence CE marked No other test have been conducted other than the radiated emission EN55022 class A standard The device was tested with the ports like USB Serial and Power excluding the GPIO ports Any external connection
12. arget Stworkspace loc CMSISv2p00_LPC11Uw Debug Library search path L Fig 32 21 www nextechnologies com User Manual BlueBoard LPC11U14 Step 23 Right Click on Blinky Project and click on Build Project build must be error free Rename F2 Import Window Help Export Br Ki ny Clean Project 5 a i Refresh F5 main c 2 blinky h Close Project 52 int main void Close Unrelated Projects 53 I Build Configurations i LPC GPIO gt DIR O TEST_LEDI TEST Make Targets t s6 Index 157 while i 58 nn oi 59 led test Run As e 60 Debug As 51 62 Profile As Tes Team 4 In Compari m t E Consol 23 E Proble Memor RedTr 5 Restore from Local History gt consoles to display at this time Ely rie Launch Configurations Smart update Utilities Properties Alt Enter Fig 33 Step 24 After successful build click on Debug as shown in below image File Edit Source Refactor Navigate Search Run Project Window Help Hes is le m E E i a Gms Se 4 D Ur B Jr Project Ex 3 gt Mi Core Regi main _ B blinky h int main void LPC GPIO gt DIR 0 TEST LED1 TEST t BB LPC11U14_rtc b EE BB LPC11U14_sdeard t ES BB LPC11U14_uart t EE BB LPC11U14_usb_hid t E Blinky while 1 gt CMSi v2p00_LPC11 Ux f led test Quickstart 52 _09 Variables a Breakpoin ey Start here je New project Import proje
13. ct s Build all projects Debug Build Blinky Debug af Clean Blind Mehr DE i Blinky NXP LPC11U14 201 Fig 34 22 www nextechnologies com User Manual BlueBoard LPC11U14 Step 25 Click Resume for free running the LED D3 and D4 are starts blinking on BB LPC11U14 u De Qe FB BES G e Gers Suspend fr Terminate Ctrl F2 nea Step Over Step Return 9 a lie Blinky Run to Line Ctrl R b 4 Binaries b Use Step Filters a B src e crstartup Ipcllu c p ic main c External Tools ha int main void U Quickstart 53 ieee UE La notin in n in in ef in m New project en i 17 while l Import project s 4 D and a Build all projects Debug Build Blinky Debug Blinky Debug C C MCU Application F BlueBoard LPC11U14 E loan Rink Poked ae Blinky Blinky NAP LPCIIUL4 201 Start here Fig 35 23 www ngxtechnologies com User Manual BlueBoard LPC11U14 4 0 BLUEBOARD LPC11U14 Programming 4 1 Programming options BlueBoard LPC11U14 can be programmed using the gt On chip bootloader UART gt Debugger NXP LPC Link 4 1 1 On Chip bootloader UART In order to program the board either through UART we need to get the board under programming mode Getting the board in programming mode Theory The On chip bootloader looks for a logic LOW to be present on a pre defined PIN ISP pin
14. d LPC GPIO gt DIR 0 TEST_LED1 TEST LED while i led _test m 8 Console XS B Problems 08 Memory MM Red Trace ail mil C Build BB LPC11U14_blinky SB EHR IFBO Fr BB LPC11U14 blinky axf A n d DE 15 BB LPC11U14_blinky BB LPC11U14 blinky NXP LPC11U14 201 Fig 9 www nextechnologies com User Manual BlueBoard LPC11U14 Step 7 Click on Run and select Resume F8 to start debugging the project Here the two LED s D3 and D4 start blinking inky e PC C LEE x J L a D T Av File Edit Source Refactor Navigate Search Project Run Window Help j E Suspend E ha eba m E BS on Zn e 010 WEL _ at Core Regi Terminate Step Into FS a Step Over F Step Return F7 o i LPC11U14_blin ZE ee inky ig Run to Line gt 3 Binaries _ Ba b indude Use Step Filters gt Debug Q External Tools gt 2 blinky c p h blinky h gt i cr_startup_Ipellu c Quickstart PIN 0 Variables Breakpoin Ei Project and File wizards Import and Export Import archived projects zip E d BB LPC11U14 blinky Debug C C MCU Ap lication F BlueBoard LPC11 Import exisiting projec at tz Li Imp ng projects E Ee AE amp amp ft Fr 225 Import project s from XML Description I Import files into BB LPC11U14_blinky
15. ed DE DLE C Use this as the default and do not ask again Cancel Fig 4 Step 2 Click on Import and Export then Click on Import archived projects zip Br ze File Edit Navigate Search Project Run Window Help HOr H K A Er Sw amp Zu GEL zu v v Ro Project Ex 2 ator Core Regi Periphera 7 E Welcome 52 K sages registered htm j gt gt LPCXpresso4 is fully activ h b Variables Breakpoin O Welcome to LPCXpresso 4 The software is now f B Quick generate and download applications containing up m u aa Project and File wizards x Con X Ei Prob O N Prob ip Mem a ie No consoles to display at this time fr 275 Import archived projects zip 75 ES Import exisit Import from a project archive zip file Import from a project archive zip file a project archive zip file 25 Import project s from XML Description Fig 5 7 www nextechnologies com User Manual BlueBoard LPC11U14 Step 3 Click on Browse to select a archived project zip and Click on Open un Import archived projects zip wm Select a directory to search for existing Eclipse projects Br Ro Project Ex 4 Select root directory Select archive file Select archive containing the projects to import Organize v New folder BU Desktop m Downloads Recent Places 5 Libra
16. isplay at this time A Evriv Launch Configurations gt Smart update gt Utilities Alt Enter 17 www ngxtechnologies com User Manual BlueBoard LPC11U14 Step 15 Select C C Build gt Settings then Includes click on Add then click on workspace to select the h files path as shown below image type filter text Resource Builders Build Variables Discovery Options Environment Logging Mi citings Tool Chain Editor C C General Project References Run Debug Settings Settings MCU C Compiler Include paths I Preprocessor x S workspace_loc CMSISv2p00_LPC11Ux inc 83 Optimization Debugging Warnings 3 Miscellaneous 3 Target 8 MCU Assembler General Target MCU Linker General 3 Libraries 8 Miscellaneous Shared Library Settings Target Add directory path Directory Include files include Fig 25 Step 16 Select h files path then click OK as shown below image 18 EX Folder selection gene x Select one or more Workspace Folders LPCI1U14_All_peripheral LPCI1U14_blinky LPC11U14 buzzer LPC11U14 Drivers i LPC11U14_Ext_interrupt LPC11U14_Gled LPC11U14 Gled_driver_lib LPCI1U14 ps2_keyboard b E BB LPC11U14_ rte b E BB LPC11UL4 sdcard b E BB LPC11U14_uart b E BB LPC11U14_usb_hid www ngxtechnologies com User Manual BlueBoard LPC11U14 Step 17
17. make changes to information published in this document at any time and without notice including without limitation specifications and product descriptions This document replaces and supersedes all information supplied prior to the publication hereof Trademarks All referenced trademarks product names brands and service names are the property of their respective owners 28 www nextechnologies com
18. nologies com User Manual BlueBoard LPC11U14 Step 11 The New Blinky Project is created double click on main c file as shown below image File Edit Navigate Search Run Project Window Help ri E las ded amp B E w G Bis A Z Bw G Q v rn v lam v gt y T Project Ex 23 5 iN Core Regi Z Periphera 2 blinky c x aS gt tS BB LPC11U14_usb_hid D TD 4 B src a b i crstartup_Ipcllu c pg main c 2 ae gt LPCXpresso 4 is fully activated Quickstart 3 N 69 Variables Breakpoin O Welcome to LPCXpresso 4 The software is now fully activat E Start here generate and download applications containing up to 128KB Ei New project Getting Started A 4 m Import project s No consoles to display at this time A El v Fir A Build Blinky Debug wf Clean Rinks Mah n O Done Blinky NXP LPC11U14 201 Fig 21 ic De elop File Edit Source Refactor Navigate Search Run Project Window Help o He la Gere SE BRD BEA Cs O E Bw RIR B ela 89 i e o PS Project Ex amp EE BB LPC11U14_usb_hid Se Ze I Blinky inj Includes EB sre TODO insert code here f f Enter an infinite loop just volatile static int i 0 while 1 itt i crstartup Ipellu c ic main c ea acto 4 mm ob moa La Fi n Quickstart 3 Variables e Breakpoin Gi to to baio L Start here ici New project amp Impo
19. ojects b NAP LPC1300 12bit ADC projects gt NAP LPC1300 projects gt NXP LPC1700 projects gt MAP LPCL x 8x projects Finish Fig 17 New LPCXpresso C Project NAP LPC11U00 projects gt C Project Project cD SSS SsS Use default locat on Location F BlueBoard LPC11U14 BB LPC11U14 Xpresso Samp Browse 14 www nextechnologies com User Manual BlueBoard LPC11U14 Step 9 Select the target MCU is LPC11U14 201 and click Next as shown in below image New LPCXpresso C Project Select the target MCU Target selection NXP LPC11U14 201 a NXP LPC1102 LPCIE LPC11U12 201 LPC 137201 LPC11U23 301 LPC11U24 301 LPC11U24 401 t LPCLllxx LPC1200 gt Is LPCI3 I PCI Se A Abit ANC Finish Step 10 Click Finish New LPCXpresso C Project Select options for this project CMSIS peripheral header files and initialization code CMSIS Library to link project to ACMSISv2p00_LPCHLU The appropriate CMSIS library project must exist in your workspace CMSIS library projects can be imported from the Examples subdirectory of your IDE installation Code Read Protect CRP C Enable CRP in the target image Code Read Protection selection places a CRP word into the appropriate memory location of the selected MCU See NAP documentation for your chip at http ics nxp com products lpcl000 all for more information on CRP Other options User source directory sre 15 www ngextech
20. ral General Project References z tos Run Debug Settings amp Target 3 MCU Linker General Qiorkspace 53 Miscellaneous 3 Shared Library Settings Target E Library search path L Fig 30 20 www ngxtechnologies com User Manual BlueBoard LPC11U14 Step 21 Brows the library path then click OK as shown below image Select one or more Workspace Folders b E BB LPC11U14 adc b E BB LPC11U14_All_peripheral E BB LPC1LUL4 blinky b EE BB LPC11U14 buzzer En BB LPCLIIU1 t E mc b E src b E BB LPC11 Ul4_Ext_inrrpt_and_wakeup b E BB LPCI1U14_Ext_interrupt b E BB LPC11U14_Gled b E BB LPC11U14_Glcd_driver_lib b E BB LPC11U14_ps2_keyboard b E BB LPC11U14 rte b EE BB LPC11U14 sdcard b E BB LPC11U14_uart Fig 31 Step 22 Click OK and OK as shown below image Settings Resource Builders 3 MCU C Compiler Libraries I BS C C Build I EEE CMSISv2p00_LPC11Uxx BS A Build Variables Symbols BB LPC1iU14 Drivers lib Includes Discovery Options m Environment 2 Egg Add directory path Logging Debugging MCU settings Warnings Directory Miscellaneous 53 Tool Chain Editor up Target C C General 3 MCU Assembler 3 General S workspace_loc BB LPC11U14_Drivers_lib Debug Project References 3 Run Debug Settings gt Taa 3 MCU Linker General 3 Libraries Miscellaneous Shared Library Settings amp T
21. ries 28 Homegroup ME Computer amp 05 c ca New Volume F ca New Volume G Im File name BB LPC11U14_Xpresso_Sample_Pr jar zip tar tar gz tgz k Import archived projects zip Select a directory to search for existing Eclipse projects Select root directory Select archive file F BlueBoard LPC11U14 BB LPC11U14_ Xpressa Projects BB LPC11U14 ade BB LPC11U14_ adc BB LPC11U14_All_peripheral BB LPC11U14_All_peripheral BB LPC11U14_blinky BB LPC11U14_blinky BB LPC11U14 buzzer BB LPC11U14_ buzzer BB LPCI1U14 Drivers_lib BB LPC11U14_ Drivers_lib BB LPC11U14_Ext_inrrpt_and_wakeup BB LPC11U14 Ext_inrrpt BB LPC11U14_Ext_interrupt BB LPC11U14_Ext_interrupt BB LPCI1U04 Gled BB LPC11U14_Gled BB LPC11U14 Gled_driver_lib BB LPC11U14_ Gled_driver_lib ee eh a ee ee ee ee ee Im F J Copy projects into workspace 8 www ngxtechnologies com User Manual BlueBoard LPC11U14 N Step 5 First build the BB LPC11U14_Driver_lib and BB LPC11U14_Glcd_Driver_l b To build project Right click on project then click on build Project For example BB LPC11U14_Blinky as shown in the below image gt ES BB LPC11 ES BB LPC11 gt ES BB LPCI1 gt tS BB LPC11 New Go Into Open in New Window Copy Paste Delete gt ES BB LPC11 Move gt ES BB LPC11 Rename
22. rt project s Build all projects Debug Build Blinky Debug it lan Pink Mobal F 16 www ngxtechnologies com User Manual BlueBoard LPC11U14 IE Step 13 Write a C program for LED blinky after the program Click on Save as shown in below image Note Writing a C code for Blinky project Please refer Downloaded BB LPC11U14_blinky example File Edit Source Refactor Navigate Search Run Project Window Help GOSPE ER BER Be gt Al blinky h I main void khaka 54 LPC_GPIO gt DIR 0 TEST_LED1 TEST Src a cr_startup_Ipcllu c main c 57 while 1 CMSISv2p00_LPC11 Uw E Sef led test Start here je New project Import project s Build all projects Debug Build Blinky Debug af Clean Blinlor Mehr Writable Smart Insert I MXP LPCIIUI4 201 Fig 23 Step 14 To include h files from BB LPC11U14_Driver_lib in your project right click on your Project and click on Properties Rename F2 ary Window Help Export ef ny Build Project u B Clean Project Refresh F5 Close Project gt 2 int main void LPC_GPIO gt DIR 0 TEST_LED1 TEST Close Unrelated Projects Build Configurations gt l Make Targets gt Index gt 57 while 1 Convert To Run As Debug As Profile As Team Compare With Restore from Local History led test en ee i gt B Proble 8 Memor H Red Tr m gt consoles to d
23. t t gt GE eg 3 vE Proble 0 Memor Red Tr m gt consoles to display at this time e Evriv gt gt gt Alt Enter Fig 28 www nextechnologies com User Manual BlueBoard LPC11U14 Step 19 Select C C Build gt Settings then Libraries click on Add enter the library name then click OK as shown below image Tc Properties for B u _ 4s type filter text Settings mE O Y F Resource TFA a Builders E MCU C Compiler Libraries I amp H 5 7 amp Preprocessor En e TD amp Symbols CMS5ISv2p00_LPCL1 Ube a CE Includes Discovery Options ee aan Optimization Enter Value Logging amp Debugging care e B Warnings Libraries I lcm BB LPC11U14_Drivers_lib Tool Chain Editor 3 MCU Assembler amp General g Target C C General Project References Run Debug Settings amp Target 83 MCU Linker 3 General Libraries Miscellaneous CE Shared Library Settings a Target Library search path L E a Fig 29 Step 20 Click on Add then click on Workspace as shown below image type filter text Settings Resource 3 MCU C Compiler Pres Ce 3 Preprocessor amp ae CMSISv2p00_LPC11 Ux Build Variables y BB LPC11U14_Drivers_lib Di i Includes iscovery Options gen Environment 2 ring Add directory path ae Debugging ogging BE MCU settings amp oar Directory Miscellaneous i Toad Chas Eis Target 3 MCU Assembler C C Gene
24. version 4 2 2_275 while creating the User manual for this evaluation kit Please ensure that you are using LPC Xpresso version 4 2 2_275 or above 2 3 Setup for NXP LPC Link and BLUEBOARD LPC11U14 Board The BlueBoard LPC11U14 board has on board 10 pin SWD JTAG box the 10 pin cable is not a part of the BlueBoard LPC11U14 package the user needs to buy 10 pin cable separately To run the BlueBoard LPC11U14 examples you need the following components and the image shows the each components NXP LPC Link 10 pin cable BlueBoard LPC11U14 Board One USB AM to Mini B cable Fig 2 5 www nextechnologies com User Manual BlueBoard LPC11U14 IE Separate the LPCXpresso controller part and use only the NXP LPC Link Connections of components are as shows in the following image Fig 3 The above setup is ready to use for development in LPCXpresso IDE 6 www nextechnologies com User Manual BlueBoard LPC11U14 Na 3 0 BLUEBOARD LPC11U14 firmware Development 3 1 Executing the sample projects in LPC Xpresso Please note that the sample programs are available to download once the product is registered Steps to execute the sample project Step 1 Open LPCXpresso Browse the folder which contains BB LPC11U14_Xpresso_Sample_programs zip project and Click OK select a workspace LPCApresso stores your projects in a folder called a workspace Choose a workspace folder to use for this session Workspace AGEE en BE es eee
Download Pdf Manuals
Related Search
Related Contents
Bases de l`entraînement et individualisation de la planification Plan Threshold®PEP - Medipreventiecentrum LINDY User Manual Copyright © All rights reserved.
Failed to retrieve file