Home

"user manual"

image

Contents

1. Use default location Location Gi Test lpc4330_Aplorer_LPCApresso Blinky Fig 21 Step 9 Select the target MCU is LPC4330 and click Next New LPCXpresso C Project Select the target MCU Target selection NXP LPC4330 b LPCLI8x b LPC2000 gt LPC2900 gt LPC3000 4 LPC43x LPC4310 LPC4310 MO LPC4320 LPC4320 MO gt LPC4330 MO LPC4350 LPC4350 MO Finish Cancel Fig 22 15 www nextechnologies com User Manual LPC4330 Xplorer Step 10 Click Next New LPCXpresso C Project Select options for this project Library projects Select standard library projects that you want your application to link with Any selected library project s must already exist in your workspace they can be imported from the Examples subdirectory of your IDE installation CMSIS peripheral header files initialization code and DSP library CMSIS Library to link project to CMSISV2p10 LPC43x DriverLib CMSIS DSP Library to link project to None x 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 products Ip 1000 a3ll for more information on CRP Fig 23 Step 11 Click Finish New LPCXpresso C Project Select options for this project External memory configuration External memory configuration file
2. Make Targets x Index gt return c entry Co ba coe e ifdef DEBUG PANA Convert To Run As gt Debug As A Profile As g Team Compare With gt t W WR IA brief Repo onsole NR Problems O inated gt Blinky Debug C C K Restore from Local History Launch Configurations gt Smart update gt Utilities Properties 18 www nextechnologies com User Manual LPC4330 Xplorer Na Step 16 Select C C Build gt MCU settings and click Edit as shown in the following image type filter text MCU settings Resource Builders build Variables Discovery Options Environment Lo stellate Settings Tool Chain Editor C C General Project References Run Debug Settings LFL DIU LPC4350 MO Target architecture cortex m4 Memory details Flash driver Name RamLoc128 RamLoc72 RamAHB32 RamAHB16 RamAHB_E Location 0x1000 0x1008 0x2000 02000 02000 Size 0x20000 0x1 2000 0x8000 0x4000 0x4000 Restore Defaults ER Fig 29 E Step 17 Click Add Flash Rename new Flash to SPIFlash edit Location to 0x14000000 and size to 0x40000 then click Browse as shown in the following image gt a Memory configuration editor Edit configuration for LPC4330 Flash driver selection Flash driver Memory configur
3. Step 3 Unzip the downloaded binary zip file select the Bin files folder and select bin extension E Select amp file ST us nna o _ i i Organize v New folder Jz v By Appearance Name Clock Langu Ease of Acces No items match your search a Hardware ant Network and gt gt Programs System and S 3 User Account E Recycle Bin x all in one 1 Bin files Be Desktop 4 T axf lt a DIF Date modified Type Fig 41 Step 4 Select LPC4330 Xplorer PeripheralTest bin file and click Open Select amp file Organize v New folder Hr v Seance Bin files Be Appearancee Name Date modified Type D Clock Langu x ao i _ LPC4330_Xplorer_Audio bin 29 05 2012 PM 04 BIN File Ease of Acces LPC4330 Xplorer Blinky bin 29 05 2012 PM 04 BIN File neuen LPC4330 Xplorer Ethernet bin 29 05 2012 PM 04 BIN File E LPC4330 Xplorer Extlnt bin 29 05 2012 PM 04 BIN File e om mee i MEP C4330_Xplorer_PeripheralTest bin 18 06 2012 PM 12 BIN Pies _ LPC4330_Xplorer_ gt ct bin 9 09 2012 PM 04 BIN File me thet pn LPC4330 Xplorer Sdcard bin 29 05 2012 PM 04 BIN File g wee LPC4330_Xplorer_Uartint bin 29 05 2012 PM04 BIN File mnong LPC4330_Xplorer_UartPolling bin 29 05 2012 PM 04 BIN File Jy Desktop Se File name LPC4330_Xplorer_PeripheralTes
4. ae ae New Alt Shift N Fi Project 7 Om iA OPEN Ter F Other Ctrl N Close Ctrl W Close All Ctrl Shift W Save Ctrl 5 Save As Save All Ctri Shift Revert Move Rename F2 2 Refresh F5 Print Ctrl P Switch Workspace gt Restart Fig 18 13 www nextechnologies com User Manual LPC4330 Xplorer Step 6 Select LPCX presso C Project and click Next as shown in the following image F New Project LE Select a wizard Wizards type filter text b 53 General a 5 G C Project C Proje lt j LPCXpresso C i PUSH Troject Makefile Project with Existing Code b te CVS Fig 19 Step 7 Select NXP LPC4300 projects gt C Project Cortex M4 and click Next as shown in the following image New LPCXpresso C Project NXP LPC4300 projects gt C Project Cortex M4 Wizard gt NXP LPC177x 8x projects gt NXP LPC1800 projects NXP LPC2000 projects gt NXP LPC2900 projects gt NXP LPC3100 projects gt NXP LPC3200 projects C Project Cortex M0 Cree Project Cortex M4 es C Static Library Project Cortex M0 C Static Library Project Cortex M4 Semihosting C Project Cortex M0 Semihosting C Project Cortex M4 Cancel 14 www nextechnologies com User Manual LPC4330 Xplorer Step 8 Give project name example Blinky and click Next New LPCXpresso C Project NAP LPC4300 projects C Project Cortex M4 Project nam Blinky Blinky
5. Compare Troubleshoot compatibility Open file location TortoiseSVN Run as administrator Edit with HHD Hex Editor Neo 7 Zip Fig 14 www nextechnologies com User Manual LPC4330 Xplorer Step 2 Click Browse as show below e Workspace Launcher Select a workspace LPCXpresso stores your projects in a folder called a workspace Choose a workspace folder to use for this session Workspace Use this as the default and do not ask again Fig 15 Step 3 Please select Ipc4330_Xplorer_LPCXpresso folder which downloaded from website and click OK as shown in the following image Select Workspace Directory Coxe Select the workspace directory to use a Test b x Ipc1830 Xplorer LPCXpresso vent b kx metadata gt CMSISV2p10 LPC43xx DriverLib gt CMSISV2p10 LPC43xx DriverLib MO gt Dual4 MO Folder Tu0C1330 Xplorer LPCXpresso OM Fig 16 12 www nextechnologies com User Manual LPC4330 Xplorer Step 4 Click OK Workspace Launcher velect a workspace LPCApresso stores your projects in a folder called a workspace Choose a workspace folder to use for this session Workspace nc4330 Xplorer LPCXpresso Use this as the default and do not ask again Fig 17 Step 5 Click on File gt New gt Project as shown in the following image Develop PCX press Edit Navigate Search Run Project Window Help
6. M Computer Gia Network 1pc4330 Xplorer LPCXpresso zip VYJ jar zip tar tar gz tgz Fig 7 Step 4 Click Finish Import archived projects zip Import archived projects zip Select a directory to search for existing Eclipse projects Select root directory Select archive file Projects CMSISv2p10_LPC43xx_DriverLib CMSISv2p10_LPC43xx_DriverLi CMSISV2p10 LPC43xx DriverLib MO CMSISV2p10 LPC43xx Dr gt Dual4 MO Dual4 MO Dual4 M4 SPIFI Dual4 M4 SPIF LPC4330_Xplorer_Audio LPC4330 Xplorer Audio LPC4330 Xplorer Blinky LPC4330 Xplorer Blinky LPC4330 Xplorer Ethernet LPC4330 Xplorer Ethernet LPC4330 Xplorer Extlnt LPC4330 Xplorer Extlnt LPC4330 Xplorer PeripheralTest LPC4330 Xplorer PeripheralT wal INCANA VI C i ANCADA VI CAY II J Copy projects into workspace Fig 8 8 www nextechnologies com User Manual LPC4330 Xplorer Step 5 Right click on LPC4330 Xplorer Blinky and left click on Build Project E Develop Welcome page LPCXpresso le gt File Edit Navigate Search Project Run Window Help rye ea CR ESOP A Ey BY Kik prav BKK dace Go Into Open in New Window a Copy Ctrl C C nxp LPCXpresso_4 2 2_275 lpcxpresso pages registered htm vb i b i CMSISv2p10_DSPLIB_ B Paste Ctrl V b S CMSIS2PI0 LPCAA 5 Delete Ddk b E LPC4330_Xplorer Aud Move gt ES LPC4330_Xplorer
7. inelude LPC43xx h gt LPC4330 Xplorer Blinky 13 endif E LPC4330 Xplorer Ethernet 14 es LPC4330 Xplorer Extlnt 15 include lt cr section macros h gt e LPC4330 Xplorer PeripheralTest 16 inolude lt NXP crp h gt LNCAIIN Valaene C 17 Quickstart 53 69 Variables 9 Breakpoin 18 Variable to store CRP value in Will be placed automatically 19 by the linker when Enable Code Read Protect selected 20 See crp h header for more information 21 _ CRP const unsigned int CRP WORD CRP NO CRP 4 gt oja Start here i New project 2 Import project s Build all projects Debug amp Build Blinky Debug Console 23 B Problems g Memory M Red Trace Preview 4 Search ofl JA v ae o No consoles to display at this time of Clean Blinky Debug 5 Debug Blinky Debug Quick Settings v Project and File wizards y UH Import and Export y Build and Settings mn v O Writable Smart Insert Ta Blinky NXP LPC4330 Fig 26 17 www ngxtechnologies com User Manual LPC4330 Xplorer Step 14 Implement the C instructions need to blink a LED on Xplorer and click on Save Note Please refer Downloaded LPC4330 Xplorer Blinky example E Develop Blinky sre main c LPCXpr 8550 File Edit Source Refactor Navigate Search Run Window Help atd e ger B GH BO E Es E Swe
8. A A O gt ict tet zn M Ai m set sla 1 ty m m oS ct H a Tj O H int main void aoe ee U COl Be gt a be b iS LPC4330_Xplorer_Blinky 7 b tS LPC4330_Xplorer_Ethernet z return c entry 22 www nextechnologies com User Manual LPC4330 Xplorer Step 23 For first time debugging the JTAG Configuration Option appears we needs to select M4 core 1 e 0x4ba00477 and click OK JTAG Configuration 2 JTAG targets found Choose which target to use Device Name TAP Id IR Length Scanchai Coresight JTAG DP 0x4ba00477 4 gt TDO Ox0ba01477 Fig 37 Step 24 Click Resume for free running the LED D2 and D3 are starts blinking on Xplorer E Develop Blnky sremin LPCKpresso O File Edit Source Refactor Navigate Search Run Project Window Help n EGED Berke w Project Ex 23 gt M1 Core Regi Z Periphera SO Cd A Suspend Terminate Ctri F2 Suspended Breakpoint hit SE Blinky Sa D F5 fj main c 88 0214000300 HP Binaries Step Over F6 f gdb 12 06 12 11 53 AM a SE ea Step Return F7 brer LPCXpresso v4 2 Blink ES src Run to Line Ctrl R cr startup Ipc43xx c Use Step Filters HU GND LUULSELS L ej main c linker to generate gt Debug rema Tools and initialize am Blinky Debug launch 34 toolsets the entry point is Blinky Release launch 85 file and that startup code tS CMSISv2p10_LPC43xx_DriverLib 36 int main void tS CM
9. Blink j NO PRESSO b ES LPCH330 Xplorer Ethe Rename R powered by code red gt eS LPC4330_Xplorer_ Extlr by Import z gt ES PORRO Xplore Peil gt pon LPCXpresso4 is fully activated gt E LPC4330_Xplorer_Sdc 3 S LPC4330 Xplorer Uart Welcome to LPCXpresso 4 The software is now fully activated and can be used for production LPCXpresso can be used to A peia Y rt an generate and download applications containing up to 128KB of code into an LPC target pk Aplorer Ua A Clean Project E LPC4330 Xplorer Usbl Getting Started gt I LPC4330_Xplrer_UsbVe Refresh 6 Please read the getting started guide for step by step instructions to build your first LPCXpresso project Close Project LPCXpresso Getting Started Guide Close Unrelated Projects The Red State Guide provides information on using Red State state machine generator within LPCXpresso Qui i We S O Quickstart Var Build Configurations gt LPCXpresso Resources E Start here Make Targets Check the LPCXpresso Support page for new LPCXpresso software releases more example projects and announcements E Project and File wizards Index Visit www nxp comllpexpresso support E Import and Export Convert To LPCXpresso Forum y Import archived projects Run As The LPCXpresso Forum community is exclusively built for LPCXpresso users and is an invaluable resource for getting help and Debug As gt advice on use of the LPCXpresso tools and
10. Debug As gt advice on use of the LP 4 Import exisiti So get connected and jc a Profile As gt 235 Import projec To view the forum al Team gt E a ania x C Import files it Compare With p ple 3 Bi Problems Memory iil Red Trace Export projec Restore from Local History PC4330_Xplorer_Blinky o E a nn Export projec Launch Configurations gt Open Current Launch Configuration Smart Import Smart update gt Delete Launch Configurations Build and Sd Utilities gt W Create Launch Configurations n Sl Properties Alt Enter Fig 10 9 www nextechnologies com User Manual LPC4330 Xplorer Step 7 Select LPC4330 Xplorer Blinky Debug then select Debugger and select NXP LPC43xx SWD option and click on Apply Debug Configurations Create manage and run configurations by x A Name LPC4330 Xplorer Blinky Debug type filter text OIA Ey Source Common Application Attach to Application MCU Application Audio_loopback Release EMAC Release GPIO Release GPIO_Ext Release Stop on startup at main Debugger Options Target configuration Debugger configuration NXP LPC43xx SWD E Show all 77 NXP LPC43xx JTAG G 320 Xplorer Binky Debu NXP LPC43xx SWD iii NXP LPC43xx JTAG SDIO Release SS UJAN Uart_Interrupt Release abt Crystal XTAL frequency and PLL value Uart_Polling Release USBDEV Debug USBDEV R
11. F8 to start debugging the project The two LED s D2 and D3 start blinking on Xplorer Project Ex 3 ri v GB Bee amp B 3101 Core Regi Z Periphera a gt E CMSISv2p10_LPC43xx_DriverLib 4 E LPC4330_Xplorer_Blinky gt 32 Binaries gt al Includes b Debug b gt Keil b i cr startup Ipe4Bax c b Le Gpio LedBlinky c abstract bd GPIO Debug launch GPIO Release launch B LPC4330 Xplorer Blinky Debug launch B LPC4330_Xplorer_Blinky Release launch tra alenfila 11 eer gt tS LPC4330_Xplorer_Audio E X Develop Suspend E Develop LPC4330 Xplorer Blinky Gpio LedBlink oe j So File Edit Source Refactor Navigate Search Project Run Window Help 3 2 3 RV IO mj Terminate Ctrl F2 ug C C MCU Application ja Te lt FS ho4 126 13 PM Suspended E gt Step Over F6 d Breakpoint hit Step Return F7 GBlinky c 113 0x140003bc Run to Line Ctrl R p s l SF Use Step Filters to generate wrapper code to setup stacks allocate mitialize and copy code and data segments For GNU Quickstart 3 69 Variables Breakpoin O Start here Project and File wizards y 5 g Import and Export Import archived projects zip Import exisiting projects 285 Import project s from XML Description Import files into LPC4330_Xplorer_Blinky Export projects to
12. OSES ONLY and 1s 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 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 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
13. Optionally allows an existing memory configuration file to be selected This allows for the details of external flash to be defined or for the layout of internal RAM to be reconfigured In addition it allows a flash driver to be allocated for use with parts with no internal flash but where an external flash part is connected Use of hardware Floating Point Unit Floating point unit SSE Compiler language dialect C Dialect Default Other options 16 www nextechnologies com User Manual LPC4330 Xplorer Step 12 The new blinky project is created double click on main c E Develop linky 7 POTE TY File Edit Source Refactor Navigate Search Run Projec CI Bal Ber S ye eee pp R Project Ex 2N iN Core Regi Periphera gem Be gt es CMSISv2p10_LPC43xx_DriverLib M0 Fig 25 Step 13 After double click the main c file will open in LPCXpresso E Develop Blin File Edit Source Refactor Search Run Project Window Help DI gt SB AVS B CMR iu BG Ca A E BY H 4e Br zelania sr io 9 E X Develop R Project Ex 3 5 i Core Regi 7 Periphera A e main e es Blinky 4 il Includes ren e 5 Version l c startup polia 6 Copyright Copyright C MARE 7 Description main definition m 1S CMSISV2p10 LPC43xx DriverLib ES CMSISv2p10_LPC43xx_DriverLib MO tS Dual4 MO Dual4 M4 SPIH 11 ifdef USE CMSIS E LPC4330 Xplorer Audio 12
14. SISv2p10_LPC43x_DriverLib M0 371 ES Dual MO return c entry E Dual4 M4 SPIFI RA 23 www ngxtechnologies com User Manual LPC4330 Xplorer 4 0 Restoring Xplorer to Factory Defaults 4 1 LPCLink and LPCX presso Download the Binary files from the NGX website unzip file to restore the factory defaults for the Xplorer the user needs to flash LPC4330 Xplorer PeripheralTest bin file in Xplorer and RESET the board Steps to restore the factory defaults for Xplorer Step 1 Open LPCXpresso and click on Program Flash Develop LPCXpresso m File Edit Navigate Search Run Project Window Help 3 v im ee S SB v 0101 Core Regi Periphera JAN gt ES Blinky a ES CMSISV2p10 LPC43 x DriverLib y gt tS CMSISV2p10 LPC43 x DriverLib MO Z Dual4 MO Z Dual4 M4 SPIFI gt 13 LPCA330 Xplorer Audio gt tS LPC4330 Xplorer Blinky 11 Fig 39 Step 2 Click on Browse Program Flash Program target flash LPC4ox Options L Display progress log Reopen on completion Reset target on completion l Repeat on completion Connection Options Speed 250 Use JTAG interface Flash Driver Flash driver LPC1850A 4350A SPIFI cfx Code Read protect CRP selection None memory Erase flash memory Select file Base address Erase Options Mass erase Erase only required pages Fig 40 24 www nextechnologies com User Manual LPC4330 Xplorer
15. User Manual LPC4330 Xplorer I PU4330 X plorer le 6 6 4 8 eri 9 a TPATPSj Ces cez Ti J m a t Designed by NGX ond nNxp R23 www nextechnologies com User Manual LPC4330 X plorer TECHNOLOGIES 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 LPC4330 Xplorer board has 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 w
16. a Project Ex Save All Ctrl Shift S p Periphera O c maine 3 ha 73 GPIO SetValue LED1 PORT 1 lt lt LED1 BIT Blinky A i nag een am B s m includ r a GPIO SetValue LEDZ PORT 1 lt lt LED2 BIT d 5 ec 77 ej cr startup Ipodda c 181 main c s CMSISv2p10_LPC43 0_DriverLib a0 CMSISv2pl0_LPC4 _DriverLib M0 81 With ARM and GHS toolsets the entry point is m ual MU a2 allow the linker to generate wrapper code to se gt Dual4_M4_SPIFI a3 heap area and initialize and copy code and dat LPC4330_Xplorer_Audio 34 toolsets the entry point is through start LPC4330_ Aplorer Blinky 85 File and that startup code will setup stacks a ini Includes 26int main void BA src BT cr startup Iped3a c 38 return c entry T i 29 ni a 7 oe x i UJ Quickstart Variables a Breakpoin O m En 91 ifdef DEBUG E Start here a PRP RRR RRR Re eee EE ee Ee ee ssa ls los sa lo os ae 93 Bbrief Reports the name of the source fil je New project ees or j Fig 27 Step 15 To add an External SPIFI Flash Driver right click on blinky project and click on properties ain c Dg Aa WALI ARE allu who Build Project Clean Project gt Refresh F5 Close Project allow the linker heap area and in in 5 U AD ect 0 O a w fp ct zW 1 jm m D E ct Close Unrelated Projects M L int main void Build Configurations gt
17. archive zip Export projects and references to archive zip Smart Import wizard Build and Settings Q Eternal Tools gt ry point is through start in the crtO gnu asm file and that startup code will setup stacks and data 116 ifdef DEBUG 117 h k RR HR HR H K H HK HK HK HK KKK HK KKK RR KKK KK kk 118 Gbrief Reports the name of the source file and the source line number 119 where the CHECK PARAM error has occurred 120 param in file Pointer to the source file name 121 param in line assert_param error line source number 122 return None 123 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk 124 void check _failed uint8 t file uint32 t line 125 126 User can add his own implementation to report the file name and line number 127 ex printf Wrong parameters value file s on line td r n file line 4 b Console E Problems g Memory T Red Trace Preview EE X RAAFECE ME rie ca LPC4330 Xplorer Blinky Debug C C MCU Application F Xplorer_release LP C4330_Xplorer_Examples_V1 LPC4330_Xplorer_Blinky Debug LPC4330_Xplorer_Blinky axf 09 04 12 6 13 PM a LPC4330 Xplorer Blink NXP LPC4330 icon 7 a Me 7 4 PMO06 14 Fig 13 3 2 Creating the sample Blinky project in LPCXpresso Step 1 Open an LPCXpresso v4 2 3_292 IDE or higher version 11 elect Left File for
18. ation Name Ramloc72 RamAHB32 RamAHB16 TELE RamAHB ETB16 Cran Location 0x10080000 0x20000000 0x20008000 0x2000 000 Fig 30 Size 0x1 2000 0x8000 0x4000 0x4000 o 19 www nextechnologies com User Manual LPC4330 Xplorer Nixa Step 18 Select LPC1850A_4350A_SPIFI cfx file The LPC1850A_4350A_SPIFI cfx file is normally found at LPCXpresso installation folder here is the path C nxp LPCXpresso_4 2 3_292 lpcxpresso bin Flash click Open Flash driver can Tv A 7 11 Ipexpresso bin Flash v Organize v New folder Ww Favorites Date modified 30 05 2012 AM 04 MI Desktop 30 05 2012 AM 04 a Libraries 30 05 2012 AM 04 B Documents SST39VF3201x_Hitex_LPC1850A 43504 cfx 30 05 2012 AM 04 a Music k Pictures F Videos B Nagaraj M Computer th Network M ARHISHFK 11 v 54 U File name LPC18504A 43504 SPIFI cfx z Fig 31 Memory configuration editor Edit configuration for LPC4330 Flash driver selection Flash driver LPC1850A 43504 SPIH cfx Memory configuration Name Location Size SPIFlash 044000000 0x40000 RamLoc128 0x10000000 0x20000 RamLoc 2 0x10080000 0x12000 RamAHB32 0x20000000 0x8000 RamAHB16 0x20008000 0x4000 RamAHB_ETB16 0x2000c000 0x4000 20 www nextechnologies com User Manual LPC4330 Xplorer Step 20 Click Apply OK and OK to completing SPIFI flash driver Memor
19. boards Import exisiting projects So get connected and join the LPCXpresso community R Profile As Fig 9 Step 6 The default debug option will be JTAG If the user needs to debug from JTAG skip following steps and continue from Step 8 for selecting a SWD debug option right click on LPC4330_Xplorer_Blinky project go to Lunch Configurations then select Open Current Launch Configurations Develop Welcome page File Edit Navigate Search Project Run Window Help 3 a Be eh a dBC H we 5 Golnto 2 Open in New Window a Copy Ctrl C file C nxp LPCXpresso 4 2 2 275 lpexprt aa TE S p p pop Z CMSISv2p Paste Ctrl V gt gt CMSISv2p X Delete Delete b ES LPC4330 X ee 5 TE j gt ES LPCA4330 Rename F2 D s LPC4330_ sy ES LPCA330 3 F ES LPC4A330 J I LPC4330 gt Build Project gt ES LPCA330 LPCXpresso4 Welcome to LPCXpressc generate and download Import Export ES LPC4330_ Clean Project Getting Started fe J b TES LPC4330_ 2 Refresh F5 Please read the getting s Close Project LPCXpresso Getting Close Unrelated Projects The Red State Guic ci i 52 Quickstart 2 Build Configurations gt LPCXpresso Resources Start here Make Targets gt Check the LPCXpresso Project and Siz Visit www nxp com Import and Convert To LPCXpresso Forum g Import archiv Run As gt The LPCXpresso Forum
20. e 2 3 Setup for NXP LPC Link and LPC4330 Xplorer Board The Xplorer board has on board 10 pin SWD JTAG box the 10 pin ribbon cable is not a part of the LPC4330 Xplorer package and the user needs to buy 10 pin ribbon cable separately To run the LPCXpresso examples you will need the following and the image shows the each components NXP LPC Link 10 pin ribbon cable LPC4330 Xplorer Board One USB AM to Micro B cable Xplorer 10 pin Cable USB AM toMlicro B cable Fig 1 5 www nextechnologies com User Manual LPC4330 Xplorer TATA Steps to setup the LPC Link and LPC4330 Xplorer Board Note Please refer keil knowledgebase article for connecting 10 pin ribbon cable to NGX Xplorer Step 1 Connect one end of 10 pin ribbon cable to LPCLink 10 pin connector the 10 pin ribbon cable header notch should facing towards the NXP LPCLink Mark as shown in the following image Header Notch LPCLink Mark Fig 2 10 pin Cable 0 O V O UO6OVO6 V V IS P o OA app za Fig 3 Step 2 Connect other end of 10 pin ribbon cable to 10 pin box header of the LPC4330 Xplorer board and connect one end of USB AM to Micro B cable to LPC4330 Xplorer board and other end to computer connect one end of USB type mini B to LPC Link and other end to computer NXP LPCLink 10 pin Cable Xplore Fig 4 Step 4 The setup is now ready to be used for development with LPCXpr
21. e owners 30 www nextechnologies com
22. elease Postmortem Debugger 1 Debug interface inch Group Maximum wire speed Miscellaneous Verbose console mode Edit scriots Edit JTAG confiauration 4 1 Filter matched 17 of 24 items Fig 11 Step 8 After building project click on Debug Develop Welcome gt page LI File Edit Navigate Search Project Run Window Help ci D dy GEN ESAD A Ey BW H A r Are g E X Develop a amp file C nxp LPCXpresso 4 2 2 275 lpexpresso pages registered htm gt E gt Z CMSISV2p10 DSPLIB CM4 NoFP S gt B CMSISV2p10 LPC43xx DriverLib E gt tS LPC4330_Xplorer_Audio b EZ LPC4330_Xplorer_Blinky PRESSO gt ES LPCA330 Xplorer Ethernet powered by dicode red gt tS LPC4330 Xplorer Extlnt gt ES LPC4330_Xplorer_PeripheralTest LPCXpresso4 is fully activated gt tS LPC4330_Xplorer_Sdcard r G Welcome to LPCXpresso 4 The software is now fully activated and can be used for production LPCXpresso can be used to i amp ee een et 7 generate and download applications containing up to 128KB of code into an LPC target gt tS LPC4330_Xplorer_UartPolling f M gt tS LPC4330_Xplorer_UsbDevice Getting Started gt E LPC4330_Xplrer_UsbVcomLib Please read the getting started guide for step by step instructions to build your first LPCXpresso project LPCXpresso Getting Started Guide The Red State Gu
23. esso and NXP LPCLink 6 www nextechnologies com User Manual LPC4330 Xplorer 3 0 LPC4330 Xplorer firmware Development 3 1 Executing the sample projects in LPCX presso Please note that the sample programs are available to download once the product 1s registered Steps to execute the sample project Step 1 Open LPCXpresso browse the folder which contains Ipc4330 Xplorer LPCXpresso zip project and click OK LPCXpresso stores your Choose a workspace fo Workspace ATE x Browse 3 Ipc4330 Xplorer LPCXpresso x Test KEp Use this as the default gt ThermalPrinter b i usbbootloader Ipc1768 gt User Manual Fig 5 Step 2 Click on Import and Export then click on Import archived projects zip gt W icom LPO File Edit Navigate Search Project Run Window Help A HOr FB Gch BO Che A Er 88 U WH fl obd Project Ex 82 ort Core Regi Periphera O Welcome 58 e i ze 7 i m S file C nxp LPCXpresso_4 2 2_275 Ipcxpresso pages registered htm v b a 6 7 LPCXpresso4 is fully activated Welcome to LPCXpresso 4 The software is now fully activated and can be used for production LPCXpresso can be used to generate and download applications containing up to 128KB of code into an LPC target E powered by dlicode red f Getting Started Please read the getting started guide for step by step instructions to build you
24. ide provides information on using Red State state machine generator within LPCXpresso i Qui 52 Variables CI Quickstart 23 as Variables Breakpoin LPCXpresso Resources 24 Start here a Check the LPCXpresso Support page for new LPCXpresso software releases more example projects and announcements Project and File wizards Visit www nxp com ipcxpresso support E E Import and Export LPCXpresso Forum Py Import archived projects zip The LPCXpresso Forum community is exclusively built for LPCXpresso users and is an invaluable resource for getting help and M advice on use of the LPCXpresso tools and boards i Import exisiting projects 1 So get connected and join the LPCXpresso community 235 Import project s from XML Description To view the forum and to register so that you can post visit www nxp comllpexpresso forum X C Import files into LPC4330_Xplorer_Blinky E Console 53 E Problems G Memory M Red Trace Preview 4 5 GE AB Ex MH ry FT C Export projects to archive zip C Build LP C4330 Xplorer Blinky a 2a PA TA AE SAE TN COEN net Export projects and references to archive zip text data bss dec hex filename 7 x 4948 72 12 5032 13a8 LPC4330 Xplorer Blinky axf u Smart Import wizard T 7 1 Build and Settinas zij 1 s LPC4330 Xplorer Blinky LPC4330 Xplorer BlinkNXP LPC4330 Fig 12 10 www nextechnologies com User Manual LPC4330 Xplorer Step 9 Click Run and select Resume
25. ith the ports like USB Serial and Power excluding the GPIO ports Any external connection made to the GPIO ports may alter the EMC behavior 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 LPC4330 Xplorer TECHNOLOGIES Table of Contents KOINITFRODUCTI I i ist sn B n Z Sa HO OE BAS KOHO oo Oh 4 2 0 LPC4330 Xplorer Development Tool Setup cccececcccccccsssssseeececececeaeesseeceeceseaeaeaeeecceseessaaeaeeeeeeess 5 2A LPC k and LPCAA eS SO ereire E EAEE EE E E 3 2 2 Installation amp Configuration of LPCX presso software ccccccccccecceesseseeeeceececeaaeeseeceeeeseeaaaanseeees 3 2 3 Setup for NXP LPC Link and LPC4330 Xplorer Board ccsseessseeececceeeeeeeesececeeeeeaaaaseeeeees 5 3 0 LPC4330 Xplorer firmware Development soscscsssrccssedcossacsaelecticnessiasmandecdaestosaassantecteeeaaomacecdseioausaseks 7 3 1 Executing the sample projects in LPCXpresso seessseeeeenssssssssoeersssssssscerrrssssssscererssssssseereressssssees 7 3 2 Creating the sample Blinky project in LPCXpresso nneessseeeennsssssssseerrssssssssseeressssssseeeressssss 11 4 0 Restonne Xplorer to Factory ETANOL nr 24 Ash EC iii and EE EC SOR zo
26. na nan eae ae a i 24 Sl Ch mA S BOM AV OU son n za ostudia kto n lada E E ori By Sl en a pas On 27 I BOn D ea E E A A E E E E A E E A E A 27 O CTA PING HISTOR I or E E E E E 28 Ot GAS TNS CO AEE E E EE E E 28 3 www ngxtechnologies com User Manual LPC4330 Xplorer TECHNOLOGIES 1 0 INTRODUCTION This document is the User Manual for LPC4330 X plorer a cost effective evaluation platform for NXP s LPC43xx dual core Cortex M4 and MO MCUs 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 Xplorer features Xplorer Unboxing and Xplorer verification Kindly refer to the product page for the latest information Note To restore the Factory Default for LPC4330 Xplorer Board kindly refer to section 4 0 4 www nextechnologies com User Manual LPC4330 Xplorer TATA 2 0 LPC4330 Xplorer Development Tool Setup 2 1 LPC link and LPCX presso NG 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 LPCX presso Click her
27. r first LPCXpresso project LPCXpresso Getting Started Guide The Red State Guide provides information on using Red State state machine generator within LPCXpresso 235 Import project s from XML Description Import exisiting projects CI Import files into s Smart Import wizard m LPCXpresso Resources a A Check the LPCXpresso Support page for new LPCXpresso software releases more example projects and announcements Visit www nxp com ipcxpresso support LPCXpresso Forum The LPCXpresso Forum community is exclusively built for LPCXpresso users and is an invaluable resource for getting help an advice on use of the LPCXpresso tools and boards mm inithe gt m Errian Sn net rnnnerted and inin the Pr 28 a Problems J Memory M Red Trace Preview No consoles to display at this time Fig 6 7 www nextechnologies com User Manual LPC4330 Xplorer Step 3 Click on Browse to select an archived project zip and click on Open a Import archived projects zip o ia Import archived projects zip Select a directory to search for existing Eclipse projects Select root directory Select archive file Organize v New folder sr AE Name Date modified Type d metadata 26 06 2012 PM12 File folder E eskop KE oe POED 062012 M06 WinRAR ZI a Libraries i Ea Documents cm Git a Music Pictures E Videos A Nagaraj i
28. s 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 BO RESET Re g i NM nts IF s 1111 1111 u3 TA FB2 Ta oon US N o s o 3 A ta a FB Feson g TP 1 ress CTP U EET ie IM 3o m East giae T yei Designed by NGX and NXP SILKSCREEN TOP SIDE Fig 45 R26 ME s NR o 2D w w a 10 0000000000000000000000000 a a aje a m S 5 T 8 0 D w ME 21 www nextechnologies com User Manual LPC4330 Xplorer 6 0 CHANGE HISTORY 6 1 Change History Rev Changes Date dd mm yy By Initial release of the manual 29 03 2012 Ashwin Athani e Added section for Restoring 10 04 2012 Nagaraj Baddi Xplorer to factory defaults in LPCXpresso e Added section for setting up LPCXpresso for LPC4330 1 2 e Creating a sample Blinky 12 06 2012 Nagaraj Baddi Project is added 28 www nextechnologies com User Manual LPC4330 X plorer TECHNOLOGIES About this document Revision History Version V1 1 author Nagaraj Baddi Company Terms amp Conditions Legal NGX Technologies Pvt Ltd provides the enclosed product s under the following conditions This evaluation board kit 1s intended for use for ENGINEERING DEVELOPMENT DEMONSTRATION and EDUCATION OR EVALUATION PURP
29. t b v lt gt Fig 42 25 www ngxtechnologies com User Manual LPC4330 Xplorer Step 5 The base address should be 0x 14000000 and click OK Program Flash Program target flash LPC4 0x Options Display progress log Reopen on completion Reset target on completion Repeat on completion Connection Options Speed 250 Use JTAG interface Flash Driver Flash driver LPC18504 43504 SPIFI cfx Code Read protect CRP selection None Erase flash memory Select file C Users Nagaraj Desktop LPC4330_Xplorer_upload Binaries LPC Erase Options Mass erase Erase only required pages Fig 43 Step 6 Wait till the download process is completed then RESET Xplorer board twice to restore the Xplorer factory defaults a mi r 4 5 User can add his own implementation to report the fil 6 Quickstart 23 69 Variables Breakpoin m lt 2 ex printf Wrong parameters value file s on line d Import and Export 3 Import archived projects zip Import exisiting projects 243 Import project s from XML De C Import files into LPC4330 Xplord on F Xplorer_release Expo rt proje cts to archive Zip m r 2 Export projects and references t Sx 29 Smart Import wizard TE we Fig 44 26 www nextechnologies com User Manual LPC4330 Xplorer 5 0 Schematic amp Board Layout 5 1 Schematic Thi
30. 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 29 www nextechnologies com User Manual LPC4330 Xplorer FAZA TECHNOLOGIES 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 publication hereof Trademarks All referenced trademarks product names brands and service names are the property of their respectiv
31. y details Flash driver LPC1850A 43504 SPIFI cfx Memory Type Name Location Size SPIFlash 0x14000000 0x40000 namLocl z RamLoc72 0x10080000 RamAHB32 0x20000000 RamAHB16 0x20008000 RamAHB_ETB16 0x2000c000 Restore Defaults Fig 33 om D M ad i For your changes to fully take effect you must press OK on the Properties Dialog Fig 34 21 www nextechnologies com User Manual LPC4330 Xplorer Step 21 Right click on blinky project and click on Build Project build must be error free Develop Blinky sre n File Edit Source Refactor Navigate Search Run Project Windo Go Into Open in New Window Ctrl C Ctrl V Delete F2 Build Project Clean Project F5 Close Proiect Fig 35 Step 22 After successful build click on debug as shown in the following image Develop Blinky sr TO l m File Edit Source Refactor Navigate Search Run Project Window Help GGE a s W i BG la j 62 11 Core Regi Z Perip sr GPIO SetValue LED1 timer delay ms 50 GPIO SetValue LED2 a cS Blinky b 3 Binaries gt I Includes 4 B src gt 8 cr_startup_lpc43xx c b e main c gt E Debug b tS CMSISV2p10 LPC43xx DriverLib gt LS CMSISV2p10 LPC43xx DriverLib MO gt Z Dual4 MO gt tS Dual4 M4 SPIH b Z LPC4330 Xplorer Audio J m U b Ww J wy lt i syt 11 1 O O

Download Pdf Manuals

image

Related Search

Related Contents

Brother MW-145BT Printer User Manual    もくじ ポータブルトイレ FX-1/FX  Acme United BH-01    Sapphire RADEON X800 PRO VIVO 256MB(21034-01-40)  i-GOVERNOR SYSTEM Instruction manual I G S 取扱説明書  Criterion™ Blotter Instruction Manual  TG-H - マックス  

Copyright © All rights reserved.
Failed to retrieve file