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

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 

7 of 18

 

NXP Semiconductors

LPC8N04 Development Board

User Manual

 

3.2.1 Starting the application

The LPC8N04 demo application can be downloaded for free from the Google Play Store. 
Search for “NXP LPC8N04 NFC Demo.”

Power up the LPC8N04 Board and press the reset (S3) button (note that the RESET label 
on Rev A boards is adjacent to S2, but S3 is the reset switch). Turn the board over so the 
LED array is on top and oriented to the left. The center column of LEDs will light in turn in 
a repeating pattern. Note that after 100 seconds of inactivity, the demonstration firmware 
will go into a low power state, and the center LED will blink approximately once every 
second. This is to prevent accidentally draining a battery (if fitted). If this occurs, press the 
reset button to re-activate the demo.

Ensure NFC is 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 phone close to the antenna section of the board, to the right of the antenna 
section of the Board. As the smartphone detects the Board it will either vibrate and/or play 
a tone (depending on its settings). Once this happens, a message will start scrolling 
across the LED array, and the message content will appear in the text box. This message 
is stored in the EEPROM, along with the current temperature of the LPC8N04 and will 
have been read over NFC. The default message is “The LPC Experience; Your World 
Reimagined Temp is 78.9F” (although the temperature value will vary). The read 
performance will also be read, and the currently set scroll speed will be shown.

Fig 3.

SWD/Speaker/LED selection jumpers

PIO0_11_SWDIO

PIO0_10_SWCLK

LED_COL_4

LED_COL_3

BUZZER_CTL1

LED_ROW_6

PIO0_3

TARGET_SWCLK

TARGET_SWDIO

1

Position

Function

LED

SWD

Position

Function

LED

SWD

Function

LED

Speaker

1

1

2

2

3

3

4

4

P7

1

1

2

2

3

3

4

4

P8

1

1

2

2

3

3

4

4

P9

2

4

3

1

2

4

3

1

2

4

3

Содержание 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...

Отзывы: