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 

10 of 16

 

NXP Semiconductors

LPCXpresso804

User Manual

6.  Power supplies and supply current measurement

This section describes available power options for the board, and how current 
consumption of the LPC804 can be measured.

6.1  Board powering options

The Board may be powered by the USB connector (CN2), via the Arduino connector (5V 
input pin) or by a coin cell battery inserted into the holder on the underside of the board. 
When using the coin cell battery switch S4 must be closed to connect the battery. 
Protection diodes are provided to prevent any of the possible power sources from back 
powering another. Note that the LPC11U3x debug probe can only be powered by USB.

The LPC804 is powered from either a 1.8V or 3.3V (default) regulator, the selection of the 
voltage used is made using JP8. The remaining circuitry on the board is always powered 
by the 3.3V regulator, with the LPC11U3x debug probe having its own 3.3V regulator.

6.2  LPC804 supply current measurement

JP5 is provided as an insertion point for an ammeter to measure current flow to that MCU. 
This jumper is inserted in line between the center pin of JP8 and the VDD supply of the 
LPC804. When 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 routed to the Arduino expansion connector and to the cathode 
of the green user LED3. LPC804 pin PIO0_12 can be reconfigured by software so that the 
button can be used by an application as a general purpose button (refer to the LPC804 
User Manual).

7.2 User button

The User button (S1) is for general purpose use by LPC804 applications. It is connected 
to a 10K ohm pullup to 3.3V, and to the LPC804 PIO0_13 pin. It is also shared with the red 
User LED1.

7.3 User LEDs

Three users LEDs are provided on the board, one blue, one green and one red. The 
anodes of the LEDs are connected together, then through a zero ohm resistor to the 3.3V 
regulator output (each has its own current limit resistor in-line). Each LED has a jumper in 
series with it (JP21, JP22 and JP25) to prevent leakage from the LPC804 pins through the 
diodes if accurate power measurement measurements are being performed. All the PIOs 
used for these LEDs are also shared with the Arduino expansion connector, but those 
connections to the expansion connectors are not routed via the jumpers. The LEDs are 
connected to the LPC804 as shown in the table below.

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: