Home
- NGX Technologies
Contents
1. ES BB LPC1114 Xpresso Sample Programs 19 06 2012 15 1 E Project and File a Libraries 2 Homegroup j Computer amp os C ca New Volume F ca New Volume G y EN T j File name hd Fig 6 Step 4 Click Finish Import archived projects zip Select a directory to search for existing Eclipse projects Select root directory Browse Select archive file F BlueBoard LPC1114 BB LPC1114_ Xpresso BE Browse Projects BB LPC1114 ade BB LPC1114 adc BB LPC1114 All_peripheral BB LPC1114 All peripheral BB LPC1114 buzzer BB LPC1114 buzzer BB LPC1114 Extlnt BB LPC1114 Extlnt BB LPC1114 Gled BB LPC1114 Glcd BB LPC1114 Gled_driver_lib BB LPC1114 Gled_driver_lib BB LPC1114 Led_blinky BB LPC1114 Led_blinky BB LPC1114_ps2 keyboard BB LPC1114_ps2_keyboard BB LPC1114 rtc BB LPC1114 rtc 7 BB LPC1114 sdcard BB LPC1114 sdcard BB LPC1114 wart BB LPC1114 uart BB LPC1114 wakeup BB LPC1114 wakeup Cad 3 Fig 7 8 www ngxtechnologies com User Manual BlueBoard LPC1114 NA Step 5 First build the BB LPC1114_Driver_lib and BB LPC1114 Gled Driver lib To build project Right click on project then click on build Project For example BB LPC1114_Blinky as shown in the below image New Go Into File Edit N Ci v Open in New Window m m Copy Ctrl C Paste Ctrl V X Delete Delete Move Rename F2 9 istered htm
2. je E A no o y ta Build Project Clean Project 0 Quickstar 2 Refresh FS DO VarneeandA ie fulls Close Project Close Unrelated Projects Build Configurations Make Targets Index Convert To Run As Debug As NYP Fig S Step 6 After building project Click on Debug File Edit Source Refactor Navigate Search Project Run Window Help r ia aese ER Kim 5230 60 fl Debug BB LPC1114 Led blinky Debug Bv Q ee jo vor Project Ex 53 5M Core Regi B 8 blinky c 32 X A blinky h 43 a 5 BB LPCI114 Led blinky 34 int main void gt A Includes 45 4 gt Debug 46 LPC GPIO1 gt DIR TEST LEI d a blinky c while 1 gt R blinky h i a test b l cr startup Ipcl1 c Abstract bd Ex f gt S A co o 53 kde ee K OS TTT 54 End of File rm E Import and Export Bco x B Pro O Me i Red a Import archived projects zip No consoles to display at this time Li Import exisiting projects Dal e ha REH Import project s from XML Description 3 Import files into BB LPC1114 Led blinky 5 BB LPC1114 Led blinky NXP LPC1114 302 Fig 9 9 www ngxtechnologies com User Manual BlueBoard LPC1114 NaS Step 7 Click on Run and select Resume F8 to start debugging the project Here the two LED s D3 and D4 start blinking 10 File Edit Source Refa
3. Add to Ipcupresso rar Compress and email Compress to pcxpresso rar and email Pin to Taskbar Pin to Start Menu Fig 11 Step 2 Click Browse as show below E Workspace Launcher y P steam select a workspace LPCXpresso stores your projects in a folder called a workspace Choose a workspace folder to use for this session Workspace Gua Use this as the default and do not ask again Fig 12 11 www ngxtechnologies com User Manual BlueBoard LPC1114 MAA Step 3 Please select BB LPC1114_Xpresso_Sample_programs folder which downloaded from website as shown below image and click OK as shown in below image Select Workspace Directory rkspace directory to use a ji BB LPCI114_Xpresso_Sample_ Program b Je metadata gt JM BB LPCI114 adc gt BB LPC1114 AI peripheral gt BB LPC1114_buzzer gt BB LPC1114 Extlnt PRT Folder BB LPC1114 Xpresso Sample Programs Fig 13 Step 4 Click OK electa workspace LPCApresso stores your projects in a folder called a workspace Choose a workspace folder to use for this session Workspace F BlueBoard LPC1114 6B LPC1114 XApresso BB LPC1114 Apresso_Sample C Use this as the default and do not ask again Fig 14 12 www ngxtechnologies com User Manual BlueBoard LPC1114 Step 5 Click on File gt New gt Project as shown below image Develop LPCXpr
4. Edit Navigate Search Run Project Window Help a h ae New Alt Shift N i Project AS Om A Open ries F Other Ctri N Close Ctri W Close All Ctrl Shift W Save Ctrl 5 Save As Save All Ctrl Shift 5 Revert Move Rename F2 gt Refresh F5 Print Ctrl P Switch Workspace d Restart Fig 15 Step 6 Select LPCXpresso C Project and Click Next as shown below image E New Project cca n Select a wizard Wizards type filter text b 2 General a 2 C C ej om roject Makefile Project with Existing Code b E CVS la jej LPCXpresso C Project a E OT RATE 13 www ngxtechnologies com User Manual BlueBoard LPC1114 Step 7 Select NXP LPC1100 projects gt C Project and click Next as shown below image New LPCxXpresso C Project MXP LPC1100 projects gt C Project gt NXP LPC11E00 projects gt NXP LPC11U00 projects gt NAP LPC1200 projects NAP LPC1300 12b1t ADC projects NXP LPC1300 projects I gt NXP LPC1700 projects Sem gt NXP LPC1102 projects l Fig 17 Step 8 Give Project name is Blinky and Click Next E cen x New LPCXpresso C Project NAP LPC1100 projects gt C Project Project name Glink linky Use default location Location F BlueBoard LPC1114 BB LPC1114_Xpresso BB LPC1 Browse Finish 14 www ngxtechnologies com User Manual BlueBoard LPC1114 Step 9 Select the target MCU is LPC1114 302 and click Next as sh
5. 3 sni Core Perip J Memo o O E X Develop Ctrl F2 Step Into Step Over Fo a Blinky M ge Binaries b ini Includes bp B src gt 2 Debug Blinky D Ctrl R Run to Line Use Step Filters G External Tools Start here A je New project Import project s Build all projects Debug a Build Blinky Debug AAA p ETO AA TIE AN A A ZOTI gt D TE TEE a go JE lt r u x e m o E y SPA ee 48 while 1 1 a 49 50 led test ON Blinky NXP LPC1114 302 Fig 35 23 www ngxtechnologies com User Manual BlueBoard LPC1114 4 0 BLUEBOARD LPC1114 Programming 4 1 Programming options BlueBoard LPC1114 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 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 LPC1114 the RESET and ISP signals are connected to buttons provided on the board Look for the RESET and ISP marking
6. 4 lll E E T E a Lan ere onsole 22 E Problems Red Trace Pr O Smart update Utilities User Manual BlueBoard LPC1114 Step 15 Select C C Build gt Settings then Includes click on Add then click on workspace to select the blinky h file path as shown below image type filter text Resource Discovery Options Environment Logging ettir ool Chain Editor C C General Project References Run Debug Settings settings 3 MCU Compiler Preprocessor AE Includes Optimization 2 Debugging Warnings Miscellaneous Target 3 MCU Assembler 3 General E Target 3 MCU Linker 3 General E Libraries 3 Miscellaneous JEA A U Include paths I Siworkspace_loc CMSI5v2p00_LPC1 Doy inc Add directory path Directory aia Fig 25 Step 16 Select blinky h file path then click OK as shown below image 18 Select one or more Workspace Folders b ES BB LPC1114 Extlnt b E BB LPC1114 Gled b E BB LPC1114 Glcd driver lib b E BB LPC1114 Led blinky gt E BB LPC1114 ps2 keyboard b E BB LPC1114 rte gt EE BB LPC1114 sdcard b ES BB LPC1114 uart b S BB LPC1114 wakeup gt E Blinky www ngxtechnologies com User Manual BlueBoard LPC1114 Step 17 Click OK and OK as shown below image type filter text Settings Resource 3 MCU C Compiler E Preprocessor E Symbols Include
7. 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 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 pub
8. above 2 3 Setup for NXP LPC Link and BLUEBOARD LPC1114 Board The BlueBoard LPC1114 board has on board 10 pin SWD JTAG box the 10 pin cable is not a part of the BlueBoard LPC1114 package the user needs to buy 10 pin cable separately To run the BlueBoard LPC1114 examples you will need the following and the image shows the each components NXP LPC Link 10 pin cable BlueBoard LPC1114 Board One USB AM to Mini B cable Fig 2 5 www ngxtechnologies com User Manual BlueBoard LPC1114 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 LPC Xpresso IDE 6 www ngxtechnologies com User Manual BlueBoard LPC1114 MAA 3 0 BLUEBOARD LPC1114 firmware Development 3 1 Executing the sample projects in LPCXpresso 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 LPC1114_Xpresso_Sample_programs zip project and click OK Selecta workspace LPCApresso stores your projects in a folder called a workspace Choose a workspace folder to use for this session Workspace ard LPO1114 BB LPO1114 Apresso BB LPC1114 Apresso_Sample_Programsiy C Use this as the default and do not ask again Cancel Fig 4 Step 2 Click on Import and Export th
9. name then click OK as shown below image type filter text Resource Builders C Build Build Variables Discovery Options Environment Logging ings Tool Chain Editor C C General Project References Run Debug Settings Settings MCU C Compiler Preprocessor Symbols 3 Includes Optimization Debugging E Warnings 3 Miscellaneous Target MCU Assembler E General Target 83 MCU Linker Miscellaneous Shared Library Settings Target Libraries I Enter Value Libraries J AA PClba_drivers_lib Library search path L 8235 pace loc CMSI5v2p00 LPC11x Debug Fig 29 Step 20 Click on Add then click on Workspace as shown below image Resource FED Discovery Options Environment Logging MCU settings Tool Chain Editor C C General Project References Run Debug Settings Settings MCU C Compiler Preprocessor Symbols Includes E Optimization Debugging E Warnings 3 Miscellaneous E Target MCU Assembler 3 General 3 Target MCU Linker E General 3 Miscellaneous 3 Shared Library Settings 3 Target Libraries 1 CMSISv2p00_LPC11x LPClixx_drivers_lib Add directory path Directory AI n JG onen pace_loc CMSISv2p00_LPClixx Debug 20 Fig 30 www ngxtechnologies com User Manual BlueBoard LPC1114 Step 21 Bro
10. 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 ngxtechnologies com User Manual BlueBoard LPC1114 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 9 Flash Magic N File ISP Options Tools Help Gala B 4vER gt v HH az Step Z Erase Erase block DO FF Erase block 1 0007 000 0 001 FFF Erase block 2 Ox002000 0 002F FF NEE Erase block 3 Ox003000 0x003FFF Baud Rate agg Y Erase block 4 0x004000 0x004FFF Interface None ISP Erase block 5 0x005000 0x005FFF Erase all Flash Code Ad Prot Oscillator MHz 14 Erase blocks used by Hex File Shep 3 Hex File Hex File G ABLUE BO4RDO_LPC1000_Senes BLUE BOARD LFCT114 ELL i Modified Thursday April 12 2012 12 59 06 more into Step 4 Options Went after programming E Fill unused Flash Gen block checksums Execulte On Line training classes for microcontrollers and embedded networking and Internetworking www eszacader com hag classes l m 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 Manua
11. 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 27 www ngxtechnologies com User Manual BlueBoard LPC1114 to the open construction of the product it is the user s responsibility to take any and all appropriate precautions with regard to electrostatic discharge EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH
12. DES HI Core E Perip J Memo a 5 Blinky b os Binaries b Includes a EB src t cr startup Ipcll c b Le main c U Quickstart 22 PRE Variables Ya Breakpoin p Start here ej New project Import project s Build all projects Debug Build Blinky Debug AS Lc Blinky src main c NXP LPC1114 302 File Edit Source Refactor Navigate Search Run Project Window Help ae Br ey ni A Bw 4 p RPE E RE R EE R R E R R R RR R E R ee ee eee eee ER y int main void LPC GPIO1 gt DIR TEST LED1 TEST LED while 1 i led test a fee EXERERE EEE EEE EEE EE EEE EEE EEE Ea E E ee k End of File o ee ee ee ee ey hdd 4 nn E Console 52 El Problems dl Red Trace Preview Fig 23 Step 14 To include blinky h file in blinky project right click on Blinky Project and click on Properties 17 Alt Enter www ngxtechnologies com y x Import a i r Export Window Help Build Project Clean Project Refresh F5 Close Project alinky c maine OSN Close Unrelated Projects 5 EREERERERRERERERERREE ERE RE REE RE E REE ER j i Build Configurations int main void Make Targets f i LPC GPIO1 gt DIR TEST LEDI TES Index E while 1 Convert To i led testi Run As h A eee Ey pS Profile As pe Team i 7 m 5 End of File Compare With AO aOR Re a hahaha hahahaha hahahaha Restore from Local History
13. 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 ngxtechnologies com User Manual BlueBoard LPC1114 Table of Contents A IN WOM TON dape 4 2 0 BLUEBOARD LPC1114 Development Tool Setup cessssseeeeeceeeeaeeeseeeeceseeeeaaeeeneeeeeees 5 22 DE IC Caso o o II anautaaseasceneeaatan 5 2 2 Installation amp Configuration of LPCXpresso software cccccccooooncccnnnnnnononononnnnnnnnnnonnnnnnnnnnnnnnnnnnnnannos 5 2 3 Setup for NXP LPC Link and BLUEBOARD LPC1114 Board eee 5 3 0 BLUEBOARD LPC1114 firmware DevelopMenNt oooonncnnncccnnnnnnocnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnannnnoss 7 3 1 Executing the sample projects in LPCXpresso occcoooooooocccnnnnonononononnnonnnononononnnnnnnnonononnnnnnnncnnnnnnonnnnos 7 3 2 Creating the sample Blinky project in LPCXpresso ooooccccccccccoooooccccnnnnnnnnonononnncnnnnnnnnnnnannncnnnnnnnnnnnos 11 4 0 BLUEBOARD LPC1114 Programming esencia castrenses 24 Code FO SATS OOS aR E E E E 24 AA OneChip bootloader UAR eers EE E aa EEA 24 4 2 Flashime the Hex Nle Touch UART eericarenee ein E N a SEEEN 25 alien o Oh MeO AAA ea O O O coc Sea O O O O O acer 26 F CMC AUG AE e A 26 A e e e 6 TIA 26 OO CHANGE TUS
14. TOR REM NE O TEETE 27 ARO o AA e e 00 E A O O O O O 27 ORECERENCO Sisa B 3 www ngxtechnologies com User Manual BlueBoard LPC1114 1 0 INTRODUCTION This document is the User Manual for the BLUEBOARD LPC1114 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 LPC1114 features and BLUEBOARD LPC1114 verification For BLUEBOARD LPC1114 Quick Start Guide Click here For the most updated information on the BLUEBOARD LPC1114 board please refer to NGX website 4 www ngxtechnologies com User Manual BlueBoard LPC1114 2 0 BLUEBOARD LPC1114 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 LPCXpresso version 4 2 2 275 while creating the User manual for this evaluation kit Please ensure that you are using LPCXpresso version 4 2 2_275 or
15. User Manual BlueBoard LPC1114 BlueBoard LPC1114 I N 1 www ngxtechnologies com User Manual BlueBoard LPC1114 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 MO 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 LPC1114 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 made to the
16. ctor Navigate Search Project Run Window Help 4 Ps A ES dy 6 zs G g A B m Suspend Q 4 Z bro y Terminate Ctrl F2 T So a Step Into F5 Project Ex 53 ate Core Regi 52 Periphera O ne e a O ep Over a 42 i N krg Step Return F7 gt ame b 6 DPI Le ny AA POONA H Includes Use Step Filters gt External Tools k blinkyh aia inky c n blinky h F ERARARRERARARRRARERARRARER RRA ARA e cr startup Ipcl1 c bo 4 Abstract bd int main void BB LPC1114 Led blinky Debug launch Y Quickstart 23 09 Variables Breakpoin while El Import and Export 23 Import archived projects zip 4 Import exisiting projects 25 Import project s from XML Description laa Import files into BB LPC1114 Led blinky Export projects to archive zip Project and File wizards gt led test mm E Console XS Bl EE 0 Memory Hl Red Trac zm BB LPC1114 Led blinky Debug C C MCU Application F BlueBoard I BX Ea EE rHEvri A v p Writable www ngxtechnologies com User Manual BlueBoard LPC1114 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 Zp k Add to archive
17. en Click on Import archived projects zip Develop Welcome s Je z M 4 2 File Edit Navigate Search Project Run Window Help ni 4 58 ey ms E y alle hb 3 ov Q v A v vi v SMA RS Project Ex xe _o101 Core Regi Periphera O Welcome z m E a El ages registered htm gt 5 LPCXpresso4 is fully activ Welcome to LPCXpresso 4 The software is now f i de oO N3 3S Quick Settings generate and download applications containing up 4 i j Project and File wizards y A PoR Bcn AA aa Sn a No consoles to display at this time Evriv Fig 5 7 www ngxtechnologies com User Manual BlueBoard LPC1114 Step 3 Click on Browse to select a archived project zip and Click on Open _ Bevelop Weler po ar E File Edit Navigate Search Import archived projects zip i Select a directory to search for existing Eclipse projects Vi e Select root directory Browse 65 O Da Q e A Y y v R Project Ex xM onon Core Reg Select archive file Select archive containing the projects to import OO JE BB L BB LPC1114 Xpresso Sa Search BB LPC1114 Xpresso S P E i NR Organize v New folder z m4 HZ Desktop Name f Date modified Je Downloads A JE metadat 19 06 2012 15 1 1 Recent Places W Quickstart 23 5
18. l BlueBoard LPC1114 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 o l gt ma LED_16X2 H0400000000000000 WAK EWP rm tu be H mm 5 NGX TECHNOLOGIES Ca 0 T C6 C4 melee E 1 3 E Di Risa Sea MEN n A LLI ore m CI 4 20 p mm TESTE R27 E UO Fig 37 26 www ngxtechnologies com User Manual BlueBoard LPC1114 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 LPC1114 product and can also be downloaded from www ngxtechnologies com E NGX BLUEBOARD LPC1114 schematic for the Development board Additional references include NGX BLUEBOARD LPC1114 DATASHEET Information on development tool being used LPCXpresso http lpexpresso code red tech com LPCXpresso Flash magic http www flashmagictool com About this document Revision History Version V1 0 author Veeresh Tumbaragi Company Terms amp Conditions Legal NGX Technologies Pvt Ltd provides the enclosed product s
19. lication hereof Trademarks All referenced trademarks product names brands and service names are the property of their respective owners 28 www ngxtechnologies com
20. own in below image New LPCXpresso C Project Select the target MCU Target selection NXP LPC1114 s02 LPC1113 303 LPC1114 201 LPC1114 20 LPC1114 203 LPC 301 LPc1114 303 LPC1114 323 LPl1114 333 LPCI114FD 102 o ae Ss Ne Step 10 Click Finish New LPCApresso C Project Select options for this project CMSS peripheral header files and initialization code CMSIS Library to link project td CMSISv2p00_LP 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 Enable CRP in the target image Code Read Protection selection places a CRP word into the appropriate memory location of the selected MCU See NXP documentation for your chip at http ics nxp com preducts Ipcl000 all for more information on CRP Other options User source directory src Cancel 15 www ngxtechnologies com User Manual BlueBoard LPC1114 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 al E o aed B by E a A Gr Au mu a Br Q ay wr a 7 TRS Project Ex 53 M Core Regi NCE gt TS CMSISv2p00_LPC11xx gt ES LPC1Loc drivers fib LPCXpresso4 is fully acti Quickstart 25 gt Variables e Breakpoin Welcome to LPCX
21. presso 4 The software is now generate and download applications containing up amp Start here 1 m E l New project j 2 Import project s ae iors ae No consoles to display at this time E Cj gt Build all projects Debug Build Blinky Debug of Clean Blinky Debug NAP LPc1114 502 Fig 21 Step 12 After double click the main c file will open in LPCXpresso as shown in below image File Edit Source Refactor Navigate Search Run Project Window Help G HGB ged 5 Br lef ki mee GO a O E BHB sla DI bier sie ae gt fal Includes a src i 3 E cr startup Ipcl1 c ff TODO insert code here p lun ff Enter an infinite loop gt Le CMSISv2p00 LPC 32 volatile static int i o t ES LPCIlxx drivers lib m whiletiy E i i uickstart Me Variables Breakpoin Quickstart 3 gt 6 Variables e Breakpo E Start here je New project Import project s s No consoles to display at this time EI FY Build all projects Debug EIA APARTAR PIAR Build Blinky Debug of Clean Blinky Debug 1 e Blinky sre main c Blinky MXP LPC1114 302 Fig 22 16 www ngxtechnologies com User Manual BlueBoard LPC1114 Na 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 LPC1114_Led_blinky example i R P A Bpr ero
22. s E Optimization E Debugging Warnings Miscellaneous E Target 3 MCU Assembler General Target 3 MCU Linker 2 General 2 Libraries Builders C C Build Build Variables Discovery Options Environment Logging MCU settings Settings Tool Chain Editor C C General Project References Run Debug Settings Include paths I S workspace_loc CMSISv2p00_LPC11xx inc Add directory path Directory S workspace_loc LP drivers lib incj Miscellaneous JAM ea 4 EL Step 18 To include BB LPC1114 Driver lib in blinky project right click on Blinky Project and click on Properties Import File Edit Export Build Project Clean Project Refresh Close Project Close Unrelated Projects Build Configurations Make Targets Index Debug As Profile As Team Compare With Restore from Local History Launch Configurations Smart update Utilities 19 Include files include Fig 27 Window Help PS EXETER E ERE EFE EE FEE EEE EEE EE EEE EE FF int main void t i A LPC GPIO1 gt DIR TEST_LED1 TES while i led test k E H e EFF p E EXETER EE E REE FEE EEE EEE EEE EE EEE EE E End of File Cee eee ee ee ee eee ee ee ee ee REE ER 4 mi E Alt Enter www ngxtechnologies com User Manual BlueBoard LPC1114 Step 19 Select C C Build gt Settings then Libraries click on Add enter the library
23. void Make Targets po i Ind 7 LPC GPIO1 gt DIR TEST LED1 TES la while 1 Convert To pa i jE led test Run As 0 pi Debug As t fo y M Profile As M 3 E RRR R RRR RR R R R RR REE R R R R RR EEE EEE ER Team k E End of File Compare With j lg ROR ROR ROR RR RO ROR RR EEEE EEEE EE Build Restore from Local History m amp Build Launch Configurations smart update Utilities Properties Alt Enter Fig 33 Step 24 After successful build click on Debug as shown in below image _ OS OE A File Edit Refactor Navigate Search Run Project Window Help i Hm ae ASE Gacy E LA Develop soso G G a E Debug Blinky Debus G F qa 7 hd 73 Prole r 43 rrr ee ee ee R R ee a R R ER ee oe 44 ru 45 int main void b e Binaries 46 4 gt ap Includes LPC GPIO1 gt DIR TEST LED1 TES b ES sre 48 while 1 49 50 led test 51 52 Start here pee 54 ee ee ee ee ee ee ee ee 2 EE ici New project E End of File Import project s 56 3 Build all projects Debug Build Blinky Debug T iS Blinky Blinky NXP LPC1114 302 Fig 34 22 www ngxtechnologies com User Manual BlueBoard LPC1114 MAA Step 25 Click Resume for free running the LED D3 and D4 are starts blinking on BB LPC1114 0 E Navigate Search ABunH Project Window Help 4 E E E Er of PEsumed FS mE Ea A Er Spend A Bar dir Cs M Terminate G Proje
24. ws the library path then click OK as shown below image LPC1114 Extlnt LPC1114 Gled LPC1114 Gled_driver_lib LPC1114 Led_blinky LPC1114 ps2 keyboard LPC1114 rte LPC1114 sdcard LPE1114_uart LPC1114 wakeup gt LS Blinky CM5I5w2 b gt src Fig 31 Step 22 Click OK and OK as shown below image type filter text Settings Resource Builders MCU C Compiler Libraries I C C Build Preprocessor S Build Variables 3 Symbols i Includes Discovery Options a Environment 3 Optimization i Debugging z i amp Warnings MCU settings g Settings Miscellaneous Tool Chain Editor Target S workspace_loc LPC11xx_drivers_lib Debug C C General MCU Assembler gt Project References General 155 Run Debug Settings MCU Linker pe Ec gt E Libraries Miscellaneous 3 Shared Library Settings CMSI5v2p00_LPC1 Lo LPClixx drivers lib Add directory path Directory Library search path L amp 2 3 Target fworkspace loc CMSISv2p00 LPCIbo Debug Fig 32 21 www ngxtechnologies com User Manual BlueBoard LPC1114 Step 23 Right Click on Blinky Project and click on Build Project build must be error free File Edit Window Help ef ny we amp A Be Refresh FS Close Project Close Unrelated Projects E eR EERE EERE RE RR R R RR R R E RR R RR EEE a Build Configurations k 5 int main
Download Pdf Manuals
Related Search
Related Contents
Worldwide Lighting W33010G20 Installation Guide Samsung Galaxy 5 manual do usuário(CLARO) Tricefy 3.6 User Manual San Diego, April 2015 Google Earth Lit Trips MITSUBISHI Minox BL Owner's Manual Mode d`emploi VIRMOS Mask Manufacturing Unit Maintenance Manual NOP Public Portal - User Guide Copyright © All rights reserved.
Failed to retrieve file