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

 

 

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 

17 of 34 

Note: The Link2 only boots when the board is power cycled; the reset button on the 
board does not reset the Link2.  

When using MCUXpresso IDE, the Link2 can be automatically booted with the latest / 
most appropriate firmware for that IDE version by installing JP5 before powering up the 
board. This is the recommended approach for the MCUXpresso IDE. Note that if JP5 is 
installed the VCOM port (and other devices mentioned above) device will not appear until 
the IDE boots the Debug Probe. The Debug Probe is booted once a debug session is 
started (that is, the IDE attempts to download code to the target). 

5.1  What the Link2 boot LED indicates 

LED D10 is the Link2 MCU BOOT0_LED indicator. This LED reflects the state of Link2 
MCU pin P1_1.  When the boot process fails, D1 will toggle at a 1 Hz rate for 60 
seconds. After 60 seconds, the Link2 MCU is reset. 

5.2  Programming the Link2 firmware 

As mentioned earlier in this section, it is not normally necessary to program 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 valid image in the flash, it will need to be forced into DFU mode by 
placing a jumper on JP5, and power cycling (disconnecting then reconnecting power via 
J8.)  Link2 MCU programming is performed using the LPCScrypt utility (see 

http://www.nxp.com/lpcutilities

). After installing the utility, run either of the Program LPC-

Link2 with CMSIS-DAP or Program LPC-Link2 with Segger J-link utilities to program the 
firmware, and follow the on-screen instructions. Further instructions for using the tool are 
located on the utility web page. 

 

5.3  VCOM port 

The identifier of the VCOM port will vary between boards and hosts. To determine the 
COM port, open the Windows operating system Device Manager. This can be achieved 
by going to 

the Windows operating system Start menu and typing “Device Manager” in 

the search bar

. In the device manager look under “Ports”; the LPC-LinkII UCom Port 

device and its name should be visible. NOTE: this VCOM port will only appear if (a) the 
Debug Probe has been programmed with the CMSIS-DAP firmware and the Debug 
Probe DFU link is removed at power up, or (b) if the Debug Probe has been configured 
for DFU boot (JP5 installed) at power up and MCUXpresso IDE has booted it (by starting 
a debug session.) 

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

Отзывы: