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

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 

16 of 18

 

NXP Semiconductors

LPC8N04 Development Board

User Manual

7.2 LED 

Array

An array of 35 LEDs, arrange as 5 columns by 7 rows, is provided on the reverse side of 
the DP section of the board. Connections are shown in 

Table 3

 and 

Table 4

. The row 

signals connect to the anode of all 5 LEDs in that row, and the cathodes of each LED are 
connected to the column signals. To turn on an LED, the row signal should be driven high 
and the column signal driven low. The LEDs are low current devices, with a nominal 
current draw of around 5mA, but the LED array is intended to be used with a row scanning 
technique, so only one row is driven at a time. If all LEDs are driven continuously this may 
lead to damage to the LPC8N04 device. An example of driving the LEDs with 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 of the 
Board. The speaker is driven by a driver built from discrete transistors in a Class B 
topology, with PIO0_3 used to provide the input signal. P9 must be set to connect PIO0_3 
to the driver circuit (see 

Figure 3

). An 820 resistor to ground is connected at the amplifier 

input in order to avoid excessive current draw when the amplifier is not being used (i.e. 
when PIO0_3 is not driven or is disconnected at P3.)

Note that the amplifier current draw is relatively high, so it is not recommended to use the 
speaker with Coin cell B, and energy harvesting will not support speaker operation.

Table 3.

LED array row connections

LED row

LPC8N04 pin

Shared with

0

PIO0_2

1

PIO0_7

2

PIO0_8

3

PIO0_9

4

PIO0_1

5

PIO0_0

6

PIO0_3

Speaker (selected using P9)

Table 4.

LED array column connections

LED column LPC8N04 pin

Shared with

0

PIO0_6

1

PIO0_5

2

PIO0_4

3

PIO0_10

SWCLK (selected using P8)

4

PIO0_11

SWDIO (selected using P7)

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

Отзывы: