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

 

 

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 

14 of 34 

3.2  Starting a debug session using an external Debug Probe 

Code running on the LPC54S018J4M target can be debugged using an external Debug 
Probe that conforms to the standard ARM debug connector. To use an external Debug 
Probe connect the probe to the SWD connector (P1) and connect power via the micro 
USB connector J1.  

Note: The Debug link connector J8 must be left unconnected so that the Link2 Debug 
Probe is left unpowered and does not contend with the SWD interface signals from the 
external Debug Probe. 

4.  Self-test demo application 

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 (as described earlier in this manual). The self-test application is 
available for download from the LPCXpresso54S018M board page under the software 
and tools tab. 

4.1  Self-test application and VCOM driver installation 

The self-test application uses the VCOM port for control and to report self-test results. 
For Windows 7 or 8 host platforms, the LPC-Link2 serial port driver must be installed 
before attempting to use this feature (unless previously installed). If MCUXpresso 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/LPCScrypt

. Note that it is not necessary to install these drivers 

when using Window 10, MacOS or Linux. 

4.1.1  Serial terminal setup 

The self-test application is controlled via a serial link to a host computer. You may either 
use the VCOM port or attach a serial to USB cable to header P4 and installing a jumper 
on JP6.  

When using the VCOM option, after completing any necessary VCOM driver installation, 
connect the board to a host computer over USB using connector J8 on the Board. The 
Board should enumerate on the host computer as several devices, including a VCOM 
device called LPC-LinkII VCOM. Note the port number of this device using your host 
computer device manager (see Section 5.3 for more details).  

Use a serial terminal emulation program (such as PuTTY or TeraTerm), open a 
connection to the VCOM port or USB serial cable and set the baud rate to 115200, 8 bits, 
not parity and no flow control.  

4.1.2  Running self-tests 

When the board powers up or reset, the spirit level demo will run. To enter self test 
mode, press the User button (SW5). The spirit level demo will stop running, the test 
menu will be displayed on the serial terminal and a prompt to enter the test name will be 
displayed, as shown in Fig 4. Type the name of the test you wish to run, then press 
enter. Tests will return to the prompt after running in most cases, but some tests require 
the User button to be pressed to be terminated. Reset can also be pressed to exit test 
mode.  

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

Отзывы: