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

 

 

NXP Semiconductors 

UM11192 

 

User Manual for LPCXpresso54S018M Development Board 

UM11192 

All information provided in this document is subject to legal disclaimers. 

© NXP B.V. 2019. All rights reserved. 

User manual 

Rev. 1.0 

— 13th February 2019 

12 of 34 

3.  Getting Started 

The LPCXpresso54S018M board is pre-programmed with a spirit level demonstration 
and self-test diagnostic program. The spirit level demonstration uses the User LEDs and 
on-board accelerometer. Connect a micro USB cable from connector J1 to a power 
source (computer or power supply), place the board on a flat surface, and the 3 User 
LEDs will all light; tilting the board (rotating about the axis of the horizontal center of the 
board) will cause the LED pattern to change to illustrate the angle of tilt.  

The pre-programmed application also includes a suite of self-test functions. Please see 
Section 4 for full details of that application. 

3.1  Starting a debug session using the on-board (Link2) Debug Probe 

By default, the LPCXpresso54S018M is configured to use the on-board Debug Probe 
(Link2) to debug the on-board target (LPC54S018J4M), using the CMSIS-DAP debug 
protocol pre-programmed into the Link2 Flash memory. The MCUXpresso IDE or other 
development tools that support the CMSIS-DAP protocol can be used in the default 
configuration.  

Note that when using the MCUXpresso IDE, the on-board Link2 can also be booted in 
DFU mode by installing a jumper on JP5; if this is done then the IDE will download 
CMSIS-DAP to the probe as needed. Using DFU boot mode will ensure that the most up-
to-date / compatible firmware image is used with the MCUXpresso IDE. Note that spare 
jumpers are provided in the board packaging. 

NOTE: if the Debug Probe is set up to boot in DFU mode, the USB bridge functions 
(virtual comm port) and Debug Probe features will not be available if the board is not first 
initialized by the MCUXpresso IDE.  

For further information and tutorial videos please visit the Getting Started tab on the 

https://www.nxp.com/demoboard/LPC54S018M-EVK

 board page. 

 

3.1.1  Installation steps for use with MCUXpresso IDE 

1.  Download and install the MCUXpresso IDE. 

2.  Configure and download an SDK package (with the MCUXpresso IDE tool chain 

option selected) from the MCUXpresso SDK Builder utility 
(

http://mcuxpresso.nxp.com

), or use the pre-built example available in the online 

Getting Started Guide tutorial.  

3.  Start the IDE, using a new or already created workspace. Drag and drop the SDK 

package zip file into the Installed SDK panel at the bottom right of the IDE. 

4. 

In the Quickstart panel at the bottom right of the IDE, select “Import SDK 
example(s)…”. Select the board you are using in the dialog that appears, click Next 
then select example(s) from the demo_apps or driver_examples, then click Finish. 

5.  Click on the project you imported in the Project Explorer at the left panel in the IDE, 

the click “Build” in the Quickstart panel. Monitor the Console window at the bottom 
right panel of the IDE to see the build process complete. 

6.  Recommended: Install JP5 to force the Link2 Debug Probe to boot in DFU mode 

before powering the board (see notes above). 

Содержание LPCXpresso54S018M

Страница 1: ...sso54S018M Board User Manual Rev 1 0 13th February 2019 User manual Document information Info Content Keywords LPC54S018M EVK LPC54S018J2M LPC54S018J4M LPC54018J2M LPC54018J4M Abstract LPCXpresso54S01...

Страница 2: ...t is subject to legal disclaimers NXP B V 2019 All rights reserved User manual Rev 1 0 13th February 2019 2 of 34 Contact information For more information please visit http www nxp com For sales offic...

Страница 3: ...rd has been developed by NXP to enable development with the LPC54S018JxM and LPC54018JxM family devices It is very similar to the LPCXpresso54S018 design with only a few minor modifications to accommo...

Страница 4: ...duino UNO compatible expansion site with additional LPCXpresso V3 standard connections PMod compatible expansion port Host connection general purpose expansion port On board 3 3V regulator with extern...

Страница 5: ...CXpresso54S018M main feature layout The optional LCD panel is mounted on the reverse side of the board connected to the circuitry via two flex cable connectors 4 double sided adhesive pads are provide...

Страница 6: ...ng mode where the Target SWD is connected to either the on board Link2 Debug Probe or an external Debug Probe Jumper shunted the LPC54S018J4M Target SWD interface is disabled Use this setting only whe...

Страница 7: ...programmed with a version of CMSIS DAP firmware by default 4 JP6 When open default the Bridge UART and SPI connections from the Link2 probe are driven to the LPC54S018J4M target Install JP6 when using...

Страница 8: ...o sharing of pin functionality on the 180 pin LPC54S018J4M package on this board port pin P1_16 must routed via JP14 to either be used as the Ethernet MDC signal or EMC address line A10 Place in locat...

Страница 9: ...3th February 2019 9 of 34 Circuit Ref Description Section D14 Target power This LED illuminates when the 3 3V supply to the LPC54S018J4M is present n a D15 Reset LED This LED illuminates when reset is...

Страница 10: ...ve on board SPI flash but the SPI port signals to support this are available on connectors J9 and J13 High Low High Reserved High Low Low SPIFI boot Boot from internal flash memory If no valid image i...

Страница 11: ...provides a 10 100Mbps connection to the Ethernet PHY being driven by the LPC546x8 540xx J5 Audio line input jack 3 5mm audio input jack for the audio codec J6 Audio line output jack 3 5mm audio input...

Страница 12: ...ll download CMSIS DAP to the probe as needed Using DFU boot mode will ensure that the most up to date compatible firmware image is used with the MCUXpresso IDE Note that spare jumpers are provided in...

Страница 13: ...C port it is recommended to force the LPC54S018J4M target into a known state by performing an ISP boot before attempting to run your first example code This can be achieved by pressing and holding dow...

Страница 14: ...Xpresso IDE or LPCScrypt has been used on the Host system being employed then this driver will already have been installed if not then please download and install LPCScrypt from https www nxp com LPCS...

Страница 15: ...running a simple touch draw application Press the User button to exit this test led Tests the ISP buttons and LEDs Holding down ISP0 will cause light LED3 to blink ISP1 for LED2 and ISP0 for LED0 Pres...

Страница 16: ...parity 8 bit data 1 stop bit no flow control SWO trace end point this virtual device is used by MCUXpresso to retrieve SWO trace data See the MCUXpresso IDE documentation for more information Power m...

Страница 17: ...the Link2 firmware However this can easily be accomplished using the supporting utility LPCScrypt To program the Link2 Flash the Link2 device LPC432x must be in DFU mode If the Link2 already has a val...

Страница 18: ...CXpresso54S018M board from the Link USB connector J8 and fit jumper JP2 across pins 2 3 External Target 6 Troubleshooting debug sessions In some cases the ability to make a debug connection can be los...

Страница 19: ...nitored by the current measurement circuit The LPC54S018J4M BGA package has the core and IO power both sourced from the same VDD pins When a shield board is attached attempting to measure the lowest p...

Страница 20: ...1 if JP4 jumper 3 4 is installed The MAX9634 multiplies the sense voltage by 25 to provide a voltage range suitable for the ADC to measure A 2 input analog mux selects between the LPC54S018J4M curren...

Страница 21: ...When using the P4 connector JP6 must be installed note that when JP6 is installed the VCOM port functionality is disabled The factory default CMSIS DAP Link2 image includes UART bridge functionality...

Страница 22: ...per in position 2 3 Use of a micro AB adaptor to connect an external USB device may be required as most USB device have either a type A or micro B connector Note The Ethernet and HS USB Host functions...

Страница 23: ...ections with the SPI bridge function i e connection from the LPC54S018J4M to the Link2 Debug Probe only one of these functions may be used at once By default jumper JP6 is open connection the Flexcomm...

Страница 24: ...those other functions are being used Table 6 shows the connector circuit references and purposes Table 6 Expansion connectors Reference Description J9 The odd number pins are compatible with Arduino U...

Страница 25: ...n can be used Due to sharing of pin functionality on the 180 pin LPC54S018J4M package on this board port pins P1_16 and P1_23 must routed via jumpers JP14 and JP15 respectively to either be used for E...

Страница 26: ...etween these configurations see section 10 5 for more details On board voltage pump circuitry is provided to drive the LCD backlight using an AP5724WG device This is enabled using PIO3 31 The MCUXpres...

Страница 27: ...ne out from the codec via the circuit shown in Fig 8 Fig 8 Headphone line output circuitry The MCUXpresso SDK includes drivers and example code for the audio codec 10 3 SD card The full size SD card J...

Страница 28: ...onnectors but due to signal sharing with this function and LCD data lines 14 and 15 solder jumpers JS33 and JS36 need to be moved to the 2 3 position to enable this function thus disabling correct LCD...

Страница 29: ...to be unsoldered in order for P2 to be fitted Note that header P4 is provided to allow convenient access to ground 11 2 Jumper settings Jumper settings are described in Table 8 Table 8 CAN FD Shield J...

Страница 30: ...ll the Shield board carefully align the J1 pin 1 of the Shield board with J9 pin 1 of the LPCXpresso board and J3 pin 1 of the Shield board with J10 pin 2 of the LPCXpresso board ensuring that all lea...

Страница 31: ...bility for any assistance with applications or customer product design It is customer s sole responsibility to determine whether the NXP Semiconductors product is suitable and fit for the customer s a...

Страница 32: ...erved User manual Rev 1 0 13th February 2019 32 of 34 13 List of figures Fig 1 LPCXpresso54S018M underside view 3 Fig 2 LPCXpresso54S018M main feature layout 5 Fig 3 Jumper locations 6 Fig 4 Self test...

Страница 33: ...All rights reserved User manual Rev 1 0 13th February 2019 33 of 34 14 List of tables Table 1 Jumpers 6 Table 2 LEDs buttons and connectors 8 Table 3 P4 connections 21 Table 4 Host Expansion Header si...

Страница 34: ...Xpresso54S018M to debug an external target 18 6 Troubleshooting debug sessions 18 7 Board power connections measurement 19 7 1 LPCXpresso54S018M current measurement 19 7 1 1 LPC54S018J4M Vsense resist...

Отзывы: