background image

User Manual:  LPC4330-Xplorer                                                      

 

 

Page | 1 

 

 

 

 

 

LPC4330-Xplorer

 

 

 

 

 

 

 

 

 

 

 

 

  

  

 
 
 
 
 
 
 
 
 
 
 
 
 
 

 

 

Summary of Contents for LPC4330-Xplorer

Page 1: ...User Manual LPC4330 Xplorer Page 1 LPC4330 Xplorer...

Page 2: ...rocontrollers 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 d...

Page 3: ...connector 22 3 3 7 Audio Interface 22 4 0 LPC4330 Xplorer Development Tool Setup 23 4 1 IDE and debugger 23 4 1 1 LPC link and LPCXpresso 23 4 1 1 1 Installation Configuration of LPCXpresso software 2...

Page 4: ...d KEIL as the debugger and compiler IDE respectively The board is supported by extensive sample examples allowing you to focus on the application development 2 2 Board Features Following are the salie...

Page 5: ...User Manual LPC4330 Xplorer Page 5 2 3 BLOCK DIAGRAM Fig 1 2 4 LPC4330 Xplorer pin out Fig 2...

Page 6: ...ks with separate bus access 32 kB ROM containing boot code and on chip software drivers 32 bit One Time Programmable OTP memory for customer use Serial GPIO SGPIO interface State Configurable Timer SC...

Page 7: ...illator trimmed to 1 accuracy Ultra low power Real Time Clock RTC crystal oscillator Three PLLs allow CPU operation up to the maximum CPU rate Clock output Single 3 3 V 2 2 V to 3 6 V power supply wit...

Page 8: ...ickly To run the tests you will need the following LPC4330 Xplorer Power USB cable you can power it through either port we recommend to use USB1 for the verification or external power supply Alternati...

Page 9: ...be changed in due course Generally these are only cosmetic changes so that the usage is easier If you observe a different message than the one mentioned in the Manual do not worry and please proceed...

Page 10: ...M drivers on Windows 7 machine Step 1 Connect USB1 to the computer Open Device Manager You can find NXP LPC18xx VCOM new device listed under Other devices Fig 4 Step 2 Next Right click on the NXP LPC1...

Page 11: ...User Manual LPC4330 Xplorer Page 11 Step 3 Click on Browse my computer for driver software Fig 6 Step 4 Left click on Browse Select lpc18xx vcom inf driver folder and then click on OK Fig 7...

Page 12: ...User Manual LPC4330 Xplorer Page 12 Step 5 Click on Next to continue driver installation Fig 8 Step 6 Click on Install this driver software anyway Fig 9...

Page 13: ...lease note that the COM port list under the Device Manager is automatically updated with the COM port number for the Virtual COM On our test machine we see two COM ports listed COM1 and COM12 COM1 is...

Page 14: ...ed by the firmware are as follows Test Firmware Flowchart NO YES NO YES START Is VCOM Enumeration Completed Xplorer peripheral initialization Wait for user input flag 1 USB0 HID Enumeration SD card Ve...

Page 15: ...and one Blue LED These LEDs are also connected to the outputs of the SCT lines Please refer to the schematics for more details 3 3 2 USB1 Virtual COM port Test setup and verification For the very firs...

Page 16: ...User Manual LPC4330 Xplorer Page 16 Step 2 Select USB1 Vcom Port COM12 and then click on OK Fig 13 Step 3 Click on Restore Defaults and then click on OK Fig 14...

Page 17: ...orer Page 17 Step 4 Now the USB1 VCom is ready to use Fig 15 Note You would not be able to proceed with the verification unless the Virtual COM drivers are installed The firmware waits for the USB1 to...

Page 18: ...user button SW2 press the test firmware proceeds with validating other peripherals This synchronization is necessary to ensure that the debug messages on the VCOM port can be viewed from the start of...

Page 19: ...plorer enumerates as a Human Interface Device HID On a Windows machine this can be confirmed by looking in to the Device Manager under Human Interface Devices Fig 17 Note The Xplorer is shipped with o...

Page 20: ...Page 20 3 3 5 Ethernet Test setup and verification The test firmware configures the Xplorer board as a Webserver Fig 18 The Ethernet interface can be verified by either using a PING command in the wi...

Page 21: ...User Manual LPC4330 Xplorer Page 21 The IP address of the Xplorer board is configured as 192 168 1 123 Type the same IP address in the browser Fig 20...

Page 22: ...t setup and verification For the audio interface the LPC4330 Xplorer incorporates external audio codec from NXP The codec is interfaced to the MCU over I2S0 for data and over I2C0 for command interfac...

Page 23: ...d LPCXpresso 4 1 1 1 Installation Configuration of LPCXpresso software Please refer the following link for installation and configuration of LPCXpresso http ics nxp com support documents microcontroll...

Page 24: ...ular combination of IDE and debugger The following sections will explain the setup for KEIL and ULINK as the IDE and debugger respectively Other tool options that could be considered are Red_Probe and...

Page 25: ...User Manual LPC4330 Xplorer Page 25 Step 2 Click on Next Fig 24 Step 3 Select Terms conditions check box and click on Next Fig 25...

Page 26: ...User Manual LPC4330 Xplorer Page 26 Step 4 Provide the destination path and Click on Next Fig 26 Step 5 Fill your Personal information and Click on Next Fig 27...

Page 27: ...User Manual LPC4330 Xplorer Page 27 Step 6 Click on Next Fig 28 Step 6 Keil Vision4 23 setup is completed Click on Finish Fig 29...

Page 28: ...ce then by clicking on the target option the window opens as shown below Next click on Debug and then select the ULINK2 ME Cortex Debugger as shown in the image Fig 30 Step 2 Next Click on the setting...

Page 29: ...p 1 Open the Keil Workspace then by clicking on the target option the widow opens as shown below click on Utilities and select ULINK2 ME Cortex Debugger Fig 32 Step 2 Now Click on Settings then in Cor...

Page 30: ...CXpresso Please note that the sample programs are available once the product is registered Steps to execute the sample project 1 Open LPCXpresso Browse the folder which contains LPC4330_Xplorer_Exampl...

Page 31: ...User Manual LPC4330 Xplorer Page 31 3 Click on Browse to select a archived project zip and Click on Open Fig 36 4 Click Finish Fig 37...

Page 32: ...Right click on LPC4330_Xplorer_Blinky and left click on Build Project Fig 38 6 For selecting a SWD debug option right click on LPC4330_Xplorer_Blinky project go to Lunch Configurations then select Ope...

Page 33: ...ser Manual LPC4330 Xplorer Page 33 7 Select LPC4330_Xplorer_Blinky Debug then select Debugger and select NXP LPC43xx SWD option and click on Apply Fig 40 8 After building project Click on Debug Fig 41...

Page 34: ...User Manual LPC4330 Xplorer Page 34 9 Click on Run and select Resume F8 to start debugging the project Here the two LED s D2 and D3 start blinking Fig 42...

Page 35: ...EIL Please note that the sample programs are available once the product is registered Steps to execute the sample project in Internal SRAM 1 Open the project folder 2 Then open the file project_name u...

Page 36: ...xecute the sample project in External Quad Flash SPIFI 32MB Debug Step 1 Select SPIFI 32MB Debug option as shown in the below image Fig 45 Step 2 Click on LOAD the executable is loaded into SPIFI 32MB...

Page 37: ...y defaults for the Xplorer the user needs the LPC link to flash LPC4330_Xplorer_PeripheralTest bin file in LPCXpresso Steps to restore the factory defaults for Xplorer 1 Open LPCXpresso Import the LPC...

Page 38: ...orer Page 38 3 Select bin and then select the following path Binaries LPCXpresso LPCXpresso_binary_files LPC4330_Xplorer_PeripheralTe st bin and click open Fig 49 4 The Base address should be 0x140000...

Page 39: ...User Manual LPC4330 Xplorer Page 39 5 Wait till the download process is completed then RESET the Xplorer board twice to restore the Xplorer to factory defaults Fig 51...

Page 40: ...4330_Xplorer_PeripheralTest uvproj Steps to restore the factory defaults for Xplorer 1 Open a LPC4330_Xplorer_Examples_V1 LPC4330_Xplorer_Default_Setting folder and selcet LPC4330_Xplorer_PeripheralTe...

Page 41: ...chematic 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 produc...

Page 42: ...lectromagnetic 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 assum...

Page 43: ...y 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...

Reviews: