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

 

 

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 

18 of 34 

 

 

Fig 5. 

Identifying the VCOM port 

If the J-Link firmware image has been programmed into the Debug Probe and DFU boot 
mode is not being used, then a VCOM device called Jlink CDC UART port will appear 
instead of the LPC-LinkII UCom port. 

5.4  Configuring the LPCXpresso54S018M to debug an external target 

The LPCXpresso54S018M 

board’s Link2 Debug Probe may be used to debug an off-

board target MCU.  The on-board Link2 Debug Probe is capable of debugging target 
MCU’s with a VDDIO range of 1.6V to 3.6V.  To keep the on-board target 
LPC54S018J4M MCU from interfering with the SWD interface, JP1 must be fitted.  The 
Link2 Debug Probe SWD should be connected by a ribbon cable between the P1 
connector to the off-board target MCU SWD interface.  Power the LPCXpresso54S018M 
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 lost due to the LPC54xxx 
target running code that does not allow the host debugger system to gain control of it. 
Some reasons for this can be: 

 

Application code causing a hard fault 

 

Application code disabling the SWD debug port pins 

 

The boot image has an invalid header 

In many cases, the board can be put back in a state where the debugger can gain control 
by using the ISP buttons and pressing and releasing the reset button (for example, 
holding down ISP0 to force the device into the serial ISP boot mode). If problems persist 
with ISP mode entry being required, try mass erasing the flash; this can be done using 
the MCUXpresso IDE device programming utility. 

 

LPC54S018JxM devices do not have any pull-ups enabled at reset, and in cases where 
an application is using the SDRAM this could cause the EMC_D2 through EMC_D4 
signals to be driven by that device (since the P1_12 port of the target could be floating). 
Since these signals are shared with the ISP0-2 pins, an undesired ISP boot mode could 

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

Отзывы: