background image

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 

8 of 16

 

NXP Semiconductors

LPCXpresso804

User Manual

3.4  Debugger firmware update (optional)

The MP board comes pre-programmed with a CMSIS-DAP firmware image; it is not 
normally necessary to update the debugger firmware image, but this can be done by 
following the steps below.

1. Hold down the reset button and keep it held down while applying power to the board. 

Release reset. Using File Explorer (or equivalent on Mac/Linux platforms), look at the 
available drives on your system. A device called CRP_DISABLED will appear.

2. Delete the firmware.bin file on the CRP_DISABLED drive.
3. Drag and drop the firmware.bin file you downloaded from nxp.com on to the 

CRP_DISABLED drive.

4. Repower the board.
5. The board should now enumerate on your system - allow 20-30 seconds for this to 

complete.

4. Debug 

Probe 

LPCXpresso804 boards are factory programmed with a CMSIS-DAP compatible firmware 
image, and a standard UART VCOM port. It should not be required to update the 
LPC11U35 firmware, but 

Section 3.4

 provides information on how to update the debug 

probe firmware.

The CMSIS, DISK and COMM LEDs are connected to the 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 board. The external probe must 
be connected to header CN1. When an external debug probe is used, the on-board probe 
must be held in reset by placing a jumper on JP1. It is recommended that JP1 is fitted 
before powering the board.

5. Expansion 

connectors/headers

The LPCXpresso804 board provides an Arduino UNO R3 shield site and a Grove I

2

connector to add additional peripherals, sensors or other circuitry, including off-the-shelf 
expansion boards; this section describes these options. All LPC804 signals are also 
available on breakout headers CN6 and CN7. For further details please refer to the board 
schematics.

5.1  Arduino UNO Rev 3 expansion connectors

The Arduino UNO Rev 3 compatible connectors provided on the LPCXpresso804 board 
provide I

2

C, SPI, UART, PWM and analog function connections to shield boards that are 

available from various 3rd part suppliers, or for customer use. The pin mappings are 
shown in the tables below. Some connections are shared with other board features, as 
shown (in addition to being available on breakout headers C6 and CN7.) 

Summary of Contents for LPCXpresso804

Page 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 ...

Page 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 ...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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 ...

Page 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...

Page 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...

Reviews: