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

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.

Содержание LPC8N04

Страница 1: ...anual Rev 1 1 12 January 2018 1 of 18 NXP Semiconductors LPC8N04 Development Board User Manual UM11082 User Manual for LPC8N04 Development Board Rev 1 1 12 January 2018 User Manual Document informatio...

Страница 2: ...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...

Страница 3: ...ker 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...

Страница 4: ...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 j...

Страница 5: ...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: ...r 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 desig...

Страница 7: ...enabled on the smartphone then activate the App Tap on the LED TEXT AND MUSIC tab at the top left then the Read NDEF button 3 2 2 Enabling and reading the and scrolling message temperature Bring the p...

Страница 8: ...essage in the Text box then tap Write NDEF to write the message to the LPC8N04 The message TAG successfully written should appear along with the speed at which the write took place The LED array will...

Страница 9: ...instead of the top row of LEDs see Figure 3 By default the firmware will assume this GPIO is being used for the LED row but will switch to driving the speaker once a push of button S2 is detected Beca...

Страница 10: ...Semiconductors LPC8N04 Development Board User Manual 3 2 5 Running demos using energy harvesting If a smart phone with sufficient NFC reader power is used a demo can be run using energy harvesting to...

Страница 11: ...DAP protocol This protocol is supported by MCUXpresso IDE and other popular IDEs such as Keil MDK and IAR EWARM It is not normally necessary to update the debug probe firmware but this can be done by...

Страница 12: ...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 LPC8N04 code zi...

Страница 13: ...File Explorer or equivalent on Mac Linux platforms look at the available drives on your system A device called CRP_DISABLED will appear 4 Delete the firmware bin file on the CRP_DISABLED drive 5 Drag...

Страница 14: ...signals PIO0_11 and PIO0_10 and PIO0_3 which is shared with the speaker driver These three signal may be disconnected for all these functions using P7 P8 and P9 for other I Os to be used the MP and DP...

Страница 15: ...that energy harvesting can still operate when the power switch is set in the off position Protection diodes are provided to prevent reverse powering of the coin cell batteries or external debug probe...

Страница 16: ...th a scanning technique is provided in the app_demo example code mentioned in Section 3 3 7 3 Speaker and Speaker Driver A surface mount speaker LS1 is provided on the reverse side of the DP section o...

Страница 17: ...be 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 equip...

Страница 18: ...7 3 2 3 Updating the scrolling message 8 3 2 4 Playing a tune 9 3 2 5 Running demos using energy harvesting 10 3 3 Setting up the board for Development 11 3 3 1 Using MCUXpresso IDE using on board de...

Отзывы: