NGX Technologies LPC4330-Xplorer User Manual

Hide thumbs Also See for LPC4330-Xplorer:

Advertisement

Quick Links

User Manual: LPC4330-Xplorer
LPC4330-Xplorer
Page | 1

Advertisement

Table of Contents
loading

Summary of Contents for NGX Technologies LPC4330-Xplorer

  • Page 1 User Manual: LPC4330-Xplorer LPC4330-Xplorer Page | 1...
  • Page 2 User Manual: LPC4330-Xplorer About NGX Technologies NGX Technologies is a premier supplier of development tools for the ARM7, ARM Cortex M0, 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-M0, M3 & M4 microcontrollers.
  • Page 3: Table Of Contents

    3.0 LPC4330-Xplorer verification ........................ 8 3.1 Board Image with pointers to the peripherals ..................8 3.2 Powering the Board ..........................9 3.3 Verifying all the peripherals on LPC4330-Xplorer ................9 3.3.1 LEDs .............................. 15 3.3.2 USB1 (Virtual COM port) ......................15 3.3.3 User Input Switch ...........................
  • Page 4: Introduction

    2.0 LPC4330-Xplorer Overview 2.1 Introduction The NGX LPC4330-Xplorer is a compact and versatile evaluation platform for the NXP's Cortex-M4 based MCUS. NGX's evaluation platforms are generally not tied up to any particular debugger or compiler/IDE. However it is not practical to test and ensure that the solution would work out of box with all the available debuggers and compilers/IDE.
  • Page 5: Block Diagram

    User Manual: LPC4330-Xplorer 2.3 BLOCK DIAGRAM Fig. 1 2.4 LPC4330-Xplorer pin out Fig.2 Page | 5...
  • Page 6: Lpc4330 Description

    User Manual: LPC4330-Xplorer 2.5 LPC4330 description The LPC4330 is an ARM Cortex-M4 based digital signal controller with an ARM Cortex-M0 coprocessor designed for embedded applications requiring signal processing. The ARM Cortex-M4 core offers single- cycle Multiply-Accumulate and SIMD instructions and a hardware floating-point unit to support signal processing while the M0 coprocessor handles I/O and digital control processing.
  • Page 7 User Manual: LPC4330-Xplorer • One 10-bit DAC with DMA support and a data conversion rate of 400 kSamples/s • Two 10-bit ADCs with DMA support and a data conversion rate of 400 kSamples/s • Two 128-bit secure OTP memories for AES key storage and customer use •...
  • Page 8: Lpc4330-Xplorer Verification

    User Manual: LPC4330-Xplorer 3.0 LPC4330-Xplorer verification NGX's evaluation platforms ship with a factory-programmed test firmware that verifies all the on-board peripherals. It is highly recommended that you verify the board, before you start programming. Also this exercise helps you get acclimatized with the board quickly.
  • Page 9: Powering The Board

    3.2 Powering the Board The LPC4330-Xplorer can be powered through USB; we can either power it from USB0 port or USB1 port. It is highly recommended that the user tests all the peripherals as soon as the board is received. A regulated supply can be supplied to the 5V pin on the Xplorer-LPC4330 header.
  • Page 10 User Manual: LPC4330-Xplorer Steps to install the VCOM 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 LPC18xx VCOM and then left click on Update Driver Software.
  • Page 11 User Manual: LPC4330-Xplorer 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 | 11...
  • Page 12 User Manual: LPC4330-Xplorer Step 5: Click on Next to continue driver installation. Fig.8 Step 6: Click on Install this driver software anyway. Fig.9 Page | 12...
  • Page 13 User Manual: LPC4330-Xplorer Step 7: The LPC18xx USB VCom driver is successfully installed. Click on close. Fig.10 Step 8: Now LPC18xx USB VCom Port (COM12) is ready to use. Fig.11 Note: The Virtual COM is listed under the device manager. Please note that the COM port list under the Device Manager is automatically updated with the COM port number for the Virtual COM.
  • Page 14 User Manual: LPC4330-Xplorer The order in which the on-board peripherals are verified by the firmware are as follows: Test Firmware Flowchart: START Ethernet PHY Verification Is VCOM Enumeration Completed? Audio codec Verification Xplorer peripheral initialization Wait for user input flag == 1?
  • Page 15: Leds

    User Manual: LPC4330-Xplorer 3.3.1 LEDs Test setup and verification: As soon as the Xplorer is turned ON or reset; the test LEDs go ON & OFF for a couple of times, this simple test validates the LEDs. The Xplorer has one Green LED and one Blue LED. These LEDs are also connected to the outputs of the SCT lines.
  • Page 16 User Manual: LPC4330-Xplorer 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 | 16...
  • Page 17 User Manual: LPC4330-Xplorer 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 enumerate as VCOM port.
  • Page 18: User Input Switch

    User Manual: LPC4330-Xplorer 3.3.3 User Input Switch Test setup and verification: Once the VCOM drivers are installed the Xplorer waits for the User Input Switch to be pressed. Only after detecting a 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 the test.
  • Page 19: Usb0 (Hid Device)

    User Manual: LPC4330-Xplorer 3.3.4 USB0 (HID device) Test setup and verification: Connect the USB cable to USB0 connector. The USB enumeration can be checked in device manager. The Xplorer enumerates as a Human Interface Device (HID). On a Windows machine this can be confirmed by looking in to the ‘Device Manager’...
  • Page 20: Ethernet

    User Manual: LPC4330-Xplorer 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 windows command prompt. Fig.19 Page | 20...
  • Page 21 User Manual: LPC4330-Xplorer 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 | 21...
  • Page 22: Micro Sd Connector

    User Manual: LPC4330-Xplorer 3.3.6 Micro SD connector Test setup and verification: The firmware validates the micro SD card interface by writing and reading a sector of the SD card connected. Please note that we need to use a micro SD card with FAT file system. The result of this test is displayed over the VCOM port.
  • Page 23: Lpc4330-Xplorer Development Tool Setup

    User Manual: LPC4330-Xplorer 4.0 LPC4330-Xplorer Development Tool Setup 4.1 IDE and debugger 4.1.1 LPC-link and 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/microcontrollers/pdf/lpcxpresso.getting.started.pdf For details on how to use LPCXpresso with Xplorer kindly refer to section 5.1...
  • Page 24: Ulink And Keil

    User Manual: LPC4330-Xplorer 4.1.2 ULINK and KEIL 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 KEIL and ULINK as the IDE and debugger respectively.
  • Page 25 User Manual: LPC4330-Xplorer Step 2: Click on Next. Fig.24 Step 3: Select Terms & conditions check box and click on Next Fig.25 Page | 25...
  • Page 26 User Manual: LPC4330-Xplorer 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 | 26...
  • Page 27 User Manual: LPC4330-Xplorer Step 6: Click on Next Fig.28 Step 6: Keil µVision4.23 setup is completed. Click on Finish. Fig.29 Page | 27...
  • Page 28: Configuration Of Ulink Debugger

    User Manual: LPC4330-Xplorer 4.1.2.2 Configuration of ULINK Debugger The configuration flow of ULINK Debugger is explained below: Step 1: Open the Keil Workspace, 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.
  • Page 29: Configuring External Quad Flash

    User Manual: LPC4330-Xplorer Note : The Cortex M4 can be programed using SW or JTAG, while the Cortex M0 is visible through JTAG port. 4.1.2.3 Configuring External Quad Flash Step 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...
  • Page 30: Lpc4330 Xplorer Firmware Development

    User Manual: LPC4330-Xplorer 5.0 LPC4330 Xplorer firmware Development 5.1 Executing the sample projects in LPCXpresso 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_Examples_V1.zip project and Click Ok.
  • Page 31 User Manual: LPC4330-Xplorer 3. Click on Browse to select a archived project (zip) and Click on Open Fig.36 4. Click Finish. Fig.37 Page | 31...
  • Page 32 User Manual: LPC4330-Xplorer 5. 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 Open Current Launch Configurations. Fig.39 Page | 32...
  • Page 33 User Manual: LPC4330-Xplorer 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 | 33...
  • Page 34 User Manual: LPC4330-Xplorer 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 | 34...
  • Page 35: Executing The Sample Projects In Keil

    User Manual: LPC4330-Xplorer 5.2 Executing the sample projects in KEIL 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.uvproj (Example: Gpio_LedBlinky.uvproj.) Fig.43...
  • Page 36 User Manual: LPC4330-Xplorer 4. If you are using ulink debugger, click Debug on menu bar then click on start/stop debug session, click Run (F5) to execute from the Internal SRAM, two LED’s (D2 and D3) on Xplorer should blink. Steps to execute the sample project in External Quad Flash (SPIFI 32MB Debug): Step 1: Select SPIFI 32MB Debug option as shown in the below image.
  • Page 37: Restoring Xplorer To Factory Defaults

    User Manual: LPC4330-Xplorer 6.0 Restoring Xplorer to Factory Defaults 6.1 LPC-link and LPCXpresso To restore the factory 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.
  • Page 38 User Manual: LPC4330-Xplorer 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 0x14000000 and click OK. Fig.50 Page | 38...
  • Page 39 User Manual: LPC4330-Xplorer 5. Wait till the download process is completed then RESET the Xplorer board twice, to restore the Xplorer to factory defaults. Fig.51 Page | 39...
  • Page 40: Ulink And Keil

    User Manual: LPC4330-Xplorer 6.2 ULINK and KEIL To restore the factory defaults for the Xplorer, User needs the ulink to program the Xplorer to default firmware (i.e. LPC4330_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_PeripheralTest.uvproj project.
  • Page 41: Schematic & Board Layout

    User Manual: LPC4330-Xplorer 7.0 Schematic & Board Layout 7.1 Schematic This manual will be periodically updated, but for the latest documentations please check our website the latest documents. The Board schematic and sample code are available after the product has been registered on our website.
  • Page 42: Change History

    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,...
  • Page 43 User Manual: LPC4330-Xplorer 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.

Table of Contents