NXP Semiconductors LPCXpresso804 Скачать руководство пользователя страница 7

UM11083

All information provided in this document is subject to legal disclaimers.

© NXP B.V. 2018. All rights reserved.

User Manual

Rev. 1.1 — 24 September 2018 

7 of 16

 

NXP Semiconductors

LPCXpresso804

User Manual

Follow the steps below to build and run a simple example from the LPC804 Code Bundles 
provided by NXP.

1. Code Bundles for the LPC8xx family are included in the MCUXpresso IDE installation. 

These can also be downloaded from nxp.com (in case of any updates between IDE 
releases): 
http://www.nxp.com/products/software-and-tools/software-development-tools/softwar
e-tools/lpc800-code-bundles:LPC800-Code-Bundles.

2. Open a new workspace in the IDE.
3. In the Quickstart panel of the IDE, click in “Import a new project from the file system”
4. In the “Import project(s) from file system...” dialog box that opens, click “Browse...” in 

the Project Archive (from zip) section, and select the LPC804 Code Bundle zip file 
from the Code Bundles directory in the MCUXpresso IDE installation (or select a 
version downloaded from nxp.com, as described in Step 1 above.) Click “Next >” on 
the “Import project(s) from file system...” dialog to continue.

5. You will see several projects listed in the Code Bundle; click “Finish” to import them 

all.

6. The dialog box will close, and you will see the imported projects in the Project tab at 

the upper left window of the IDE. Click on Example_Multi_Timer_Blinky to select it, 
then select Build from the Quickstart panel. You will see the build processing in the 
Console window to the right of the Quickstart panel. The projects are set up to include 
dependency checking, so the build process will automatically build the utility and 
peripheral libraries as well as the example program.

7. Ensuring the LPCXpresso804 is connected to the host computer, click Debug in the 

Quickstart panel. The IDE will search for available debug probes. Select the debug 
probe that appears for your board, then click OK. Note that the IDE will remember 
your selection for the next time you debug this project, so will not prompt for this 
again, unless it cannot find the board.

8. The code will execute to main. Press F8 to resume and run the program. You will now 

see the User LEDs light, each color in turn.

3.3  Using LPCXpresso804 with 3rd Party IDEs

Once the board device drivers have been installed (as described at the start of this 
section), the board can be used with 3rd party development tools. Set up will vary 
between Development Tools, but the board debug probe should supported as a 
CMSIS-DAP probe in all cases). 

Code Bundles, including sample projects for Keil MDK and IAR EWARM, are available 
from NXP’s website at 
http://www.nxp.com/products/software-and-tools/software-development-tools/software-to
ols/lpc800-code-bundles:LPC800-Code-Bundles. Refer to the readme files provided with 
each code bundle in order to build/debug.

When using Keil MDK, install the Device Pack for the LPC804 (available for download 
from within the Keil IDE) before attempting to use the board.

When using IAR EWARM, ensure that you have version 8.20.3 or later in order to have 
LPC804 device family support.

Содержание LPCXpresso804

Страница 1: ...LPCXpresso804 User Manual for LPCXpresso804 Board Rev 1 1 24 September 2018 User Manual Document information Info Content Keywords LPCXpresso804 OM40001 LPC804 Abstract LPCXpresso804 User Manual ...

Страница 2: ... 1 24 September 2018 2 of 16 Contact information For more information please visit http www nxp com For sales office addresses please send an email to salesaddresses nxp com NXP Semiconductors LPCXpresso804 User Manual Revision history Rev Date Description 1 0 20180209 First release 1 1 20182409 Corrected section 8 2 text PLU output ...

Страница 3: ...ng with the LPC804 MCU Figure 1 shows the LPCXpresso804 main board The board is also supplied with capacitive touch and PLU design prototyping shield boards The LPCXpresso804 board includes the following features Compatible with MCUXpresso IDE and other popular toolchains incl IAR and Keil LPC804 Arm Cortex M0 MCU running at up to 15MHz On board CMSIS DAP debug probe with VCOM port based on LPC11U...

Страница 4: ...JP4 JP22 JP21 JP4 JP23 JP3 JP5 JP8 VDD select S1 S2 S1 Pot User LEDs Debug probe LEDs JP7 VREF select JP1 Table 1 Jumpers and connectors LPCXpresso804 board Circuit reference Description Reference section JP1 On chip debug probe disable Insert a jumper on this header to disable the on board debug probe and use an external probe 4 JP2 and JP24 LPC804 UART connections to debug probe Remove these jum...

Страница 5: ...is 3 3V See schematic JP8 LPC804 VDD selection Used to select between 3 3V and 1 8V supplies default 3 3V See schematic JP21 JP22 and JP5 These jumpers are provided to allow the user LEDs to be disconnected from their respective LPC804 pins enabling low power measurements and for those signals to be used for other purposes JP21 JP22 and JP25 enabled disable PIO11 PIO_12 and PIO0_13 respectively Se...

Страница 6: ...et the serial port for 9600 baud 8 bits no parity The Blue user LED will flash 3 times then the green LED will flash 3 times and the terminal will display HelloWorld followed by Press key to start LED test Press the ISP button S2 The green and blue user LEDs will flash then each LED will be lit in turn twice before all three blink 3 times The terminal will show DONE The terminal will show Press ke...

Страница 7: ...e the build processing in the Console window to the right of the Quickstart panel The projects are set up to include dependency checking so the build process will automatically build the utility and peripheral libraries as well as the example program 7 Ensuring the LPCXpresso804 is connected to the host computer click Debug in the Quickstart panel The IDE will search for available debug probes Sel...

Страница 8: ...e LPC11U35 device The behavior of the LEDs will vary depending on firmware used typically the CMSIS LED will blink when debug communication is occurring and the COMM LED will blink when data is being transferred over the VCOMM port 4 1 Using an external debug probe An external debug probe that supports ARM s SWD interface such as a SEGGER J Link or PE Micro probe can be used with the LPCXpresso804...

Страница 9: ...tor pin mappings CN5 Pin Arduino signal LPC804 pin Shared with 1 A0 PIO0_10 CN6 potentiometer 2 A1 PIO0_16 CN6 SPI flash chip select 3 A2 PIO0_17 CN6 4 A3 PIO0_7 CN7 CN3 Grove connector LM75 5 A4 PIO0_4 CN6 CN8 6 A5 PIO0_1 CN7 SPI Flash clk Table 4 Arduino expansion connector pin mappings CN3 Pin Arduino signal LPC804 pin Shared with 1 SCL PIO0_14 CN7 Grove connector LM75 2 SDA PIO0_7 CN7 CN5 Grov...

Страница 10: ... an ammeter is not being used a jumper should be installed on JP5 7 Other board features This section describes other board features not detailed elsewhere in this document 7 1 ISP booting and the ISP button The LPC804 can be forced into ISP boot mode by holding down the ISP button S2 and then holding and releasing the Reset button S3 The ISP button is connected to LPC804 pin PIO0_12 which is also...

Страница 11: ...to be connected to VDD marked as VCC on the Shield or GND through a resistor to set those inputs to a logic 1 or zero 8 LEDs with jumpers to connect disconnect possible PLU outputs for visual status indication Push button option for momentary edge signal inputs Low frequency oscillator with 1024Hz and 8Hz outputs The PLU shield also includes a test circuit that can be used to implement a simple co...

Страница 12: ...at some connections are shared so require other configurations settings before use see Notes column in the table 8 3 DAC ADC continuity tester circuit The PLU shield includes a simple circuit to implement a continuity tester as shown below Table 7 PLU input on off switches Switch LPC804 signal Notes S1 PIO0_0 Also connected to debug UART Remove JP2 to avoid conflicts S2 PIO0_10 Shared with potenti...

Страница 13: ...ications typically to indicate a button press The connections for the capacitive touch buttons are shown in Table 9 As some signals are shared with other functions the jumpers shown in the table should be removed from the LPCXpresso804 board when using the capacitive touch shield The five user LEDs are active low on when control signal is at logic 0 The signal assignments are shown in Table 10 Not...

Страница 14: ...miconductors LPCXpresso804 User Manual The LPC804 Code Bundle available under the Software and Tools tab of the OM40001 board web page http www nxp com demoboard OM40001 includes driver and example code to show how to use the capacitive touch feature of the board Table 10 Capacitive touch LED signals LED LPC804 I O D1 PIO0_20 D2 PIO0_18 D3 PIO0_15 D4 PIO0_8 D5 PIO0_9 ...

Страница 15: ... expected to result in personal injury death or severe property or environmental damage NXP Semiconductors accepts no liability for inclusion and or use of NXP Semiconductors products in such equipment or applications and therefore such inclusion and or use is at the customer s own risk Applications Applications that are described herein for any of these products are for illustrative purposes only...

Страница 16: ... 1 Using an external debug probe 8 5 Expansion connectors headers 8 5 1 Arduino UNO Rev 3 expansion connectors 9 5 2 Grove connector 10 6 Power supplies and supply current measurement 10 6 1 Board powering options 10 6 2 LPC804 supply current measurement 10 7 Other board features 10 7 1 ISP booting and the ISP button 10 7 2 User button 11 7 3 User LEDs 11 7 4 Temperature sensor LM75 circuit ref U7...

Отзывы: