NXP Semiconductors LPC8N04 User Manual

UM11082 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
User Manual Rev. 1.1 — 12 January 2018 1 of 18
NXP Semiconductors
LPC8N04 Development Board
User Manual
User Manual for LPC8N04 Development Board
Rev. 1.1 — 12 January 2018 User Manual
Document information
Info Content
Keywords LPC8N04 Development Board, OM40002, LPC8N04, NFC, NTAG
Abstract LPC8N04 Development Board User Manual
UM11082 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
User Manual Rev. 1.1 — 12 January 2018 2 of 18
NXP Semiconductors
LPC8N04 Development Board
User Manual
Revision history
Rev Date Description
1.0 20171218 First draft
1.1 20180112 Corrected SWD/LED jumpers. Added information about SWD pins at start up.
UM11082 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
User Manual Rev. 1.1 — 12 January 2018 3 of 18
NXP Semiconductors
LPC8N04 Development Board
User Manual
1. Introduction
The LPC8N04 Development Board board is developed by NXP to enable evaluation of and prototyping with the LPC8N04 MCU. Figure 1 shows each side of LPC8N04 Development Board. The LPC8N04 device, buttons, jumpers and debug probe circuitry are on the top side (along with the board name). On the bottom side is a 5x7 array of LEDs, plus a surface mount speaker (LS1).
The LPC8N04 Development Board board includes the following features:
Compatible with MCUXpresso IDE and other popular toolchains (incl. IAR and Keil)
Detachable, two-section board featuring minimal LPC8N04 system and debug probe /
demo circuitry (LEDs and speaker)
LPC8N04 Arm Cortex-M0+ MCU running at up to 8MHz
Integrated NFC antenna
Dual coin cell battery holders for
On-board CMSIS-DAP (debug probe) with VCOM port, based on LPC11U35 MCU
Debug connector to allow debug of target LPC8N04 MCU using an external probe
LPC8N04 User button
LPC8N04 Reset button
5x7 LED array for user applications
Surface mounted speaker with amplifier
Expansion connections with pin-outs compatible with I
2
C Grove and Pmod
connectors for easy connection of sensors
Fig 1. LPC8N04 Development Board
UM11082 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
User Manual Rev. 1.1 — 12 January 2018 4 of 18
NXP Semiconductors
LPC8N04 Development Board
User Manual
Pre-programmed with demo message scrolling / tune playing application (requires
NFC-enabled phone to use; iOS 11 phones only support limited functionality)
The Board is divided into two parts - the Debug Probe (DP) and Main Processor (MP) Sections. The two sections may be snapped apart by scoring the row of holes between them using a knife, then applying firm pressure to this region of the board. Once separated, the MP board may be used as a standalone target, either powered via a button cell or via the P4 expansion connector. The boards can be reconnected by soldering 0.1” pitch right angled connectors(not supplied) in the P3/P4 and P5/P6 header locations.
2. Board Layout
Figure 2 below shows the layout of the LPC8N04 Development Board board, indicating
location of jumpers, buttons and connectors/expansion options.
Table 1 below shows the layout of the LPC8N04 Development Board board, indicating
location of jumpers, buttons, connectors/expansion options and MCU devices.
Fig 2. Board layout (top silkscreen)
SWD/LED jumpers
(P8/P7)
SPKR/LED jumper (P9)
External debug probe
Connector (J1)
Debug probe
disable (P1)
Debug probe firmware update (P2)
USB
connector
Tar ge t
Reset
Button (S3)
Tar ge t Power Switch (S1)
User Button
(S2)
Table 1. Jumpers and connectors
Circuit reference Description Reference section
P1 Inserting a jumper on P1 holds the LPC11U35 debug probe in reset.
Install P1 when using an external debug probe.
[4.1]
P2 Inserting a jumper on P2 forces the LPC11U35 debug probe into Device
Firmware Update (DFU) mode when the board is power cycled, allowing its on-board firmware to be updated.
[4.1]
P3, P4, P5, P6 These connectors provide access to the PIO lines of the LPC8N04, plus
power and reset.
[5.1]
P7, P8 PIO0_11 and PIO0_10 from the LPC8N04 can be used as SWD pins or
GPIOs. P7 (for PIO0_11) and P8 (for PIO0_10) are used to determine whether those signals are routed to the SWD header and LPC11U35 debug probe, or to the 3rd and 4th columns of the LED array.
[4], [7.2]
P9 P9 is use to selected whether PIO0_3 from the LPC8N04 is routed to the
speaker amplifier input of row 6 of the LED array.
[7.2], [7.3]
UM11082 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
User Manual Rev. 1.1 — 12 January 2018 5 of 18
NXP Semiconductors
LPC8N04 Development Board
User Manual
P10 P10 is provided in order to connect a piezo-type speaker (after first
removing the on-board SMD speaker). This jumper is bypassed by R2 (zero ohm resistor) by default.
[7.3]
J1 External debug probe connector. Install P1 when using this header.
[4.1]
S1 LPC8N04 power on/off switch. When the switch is open the power is
disconnected from the LPC8N04. This switch is provided to prevent accidental draining of the batteries.
[6]
S2 User button. This resistor is connected to the PIO0_3 pin of the LPC8N04
and can be used in user applications. When S2 is pressed, PIO0_3 is pulled to ground via a 1k ohm resistor. Note that PIO0_3 also drives row 5 of the LED array.
[7.1]
S3 LPC8N04 reset button. This button resets the LPC8N04 (note that no
other circuitry is reset by this button.
n/a
Table 1. Jumpers and connectors
Circuit reference Description Reference section
UM11082 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2018. All rights reserved.
User Manual Rev. 1.1 — 12 January 2018 6 of 18
NXP Semiconductors
LPC8N04 Development Board
User Manual
3. Getting Started
The LPC8N04 device flash is pre-programmed with an example application, which scrolls a message across the LED array on the bottom side of the board and plays a tune through the micro speaker. The jumpers are positioned for that demonstration by default. This section describes how to run the demonstration, and how to re-configure the board to start code development. If using Windows 7 or 8, before powering up the board, you will need to install device drivers for the VCOM port.
3.1 Installing device drivers (Windows 7 and 8 only)
The firmware for the on-board debug probe and Windows 7/8 driver for the virtual com (VCOM) port are available from http://nxp.com/demoboard/OM40002 under the Software and Tools tab (look under “Software” download types). The debug probe firmware is factory installed so should not normally need updating, but if using Window 7 or 8, you will need to install the VCOM driver by running the installer program before attempting to use the board. After downloading and unzipping the package, run the installer program provided to install the driver (see installation notes included in the package for further information.)
3.2 Running the out-of-box demo
The LPC8N04 on the Development Board is pre-programmed with a demonstration program, which designed illustrate the features of the device by working with an NFC-enabled smartphone running a free App from NXP. For best results, an smart phone running Android Nougat or later is recommended. The demonstration program (in conjunction with the App) shows two way communication between a smartphone and the LPC8N04, passing messages, temperature and tune selection information between the two devices. Some aspects of the demonstration application can be used without any power being supplied to the Development Board; these are mentioned in this section below.
The LPC8N04 supports SWD debug, requiring two I/O pins. Alternatively, these pins can be used as GPIOs. On the Board these two SWD/GPIO signals are connected to two of the LED array columns via jumpers P7 and P8. To use the full number of LED columns, the P8 and P7 jumpers need to be set as shown in Figure 3.
On GPIO from the LPC8N04 is shared between a row of the LED array and the speaker, using a jumper (P9) to select which function is used, as shown in Figure 3. If no jumper is fitted then neither the LED row nor the speaker will be enabled.
On the Target (right) side of the board, there is a power switch. This is to prevent accidental running down of the battery, when used. The switch should be in the up position to provide power to the LPC8N04.
Loading...
+ 12 hidden pages