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

 

 

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 

16 of 34 

 

audio: Audio codec test. In this test the board will operate as an USB audio 
device.  Connect the host computer to J3 and the will enumerate as a generic 
audio device. Audio playback from the host computer can be heard by plugging a 
powered speaker or headphones into J6. Press the User button to exit this test. 

 

rtc: Performs a test of the RTC crystal. Enter a time for the test to run (in 
seconds. After the timeout period the test will display a message to confirm the 
RTC worked correctly. 

5.  Link2 debug features 

This section describes the features provided by the on-board Link2 Debug Probe. See 
the 

Getting Started

 section for more information on how to program the device. 

The Link2 Debug Probe is implemented using an LPC432x MCU (circuit reference U21), 
which provides a high speed USB port interface to the host computer that runs the 
development tools. This device is not intended for developer use and should only be 
used with approved firmware images from NXP. The Link2 on-chip flash memory is 
factory programmed with a firmware image that supports CMSIS-DAP debug protocol, 
but also includes several other USB end point functions: 

  Virtual COM (VCOM) port: a serial device that can be used with any host computer 

application design for serial port communication (e.g. Teraterm, puTTY, etc.) Set the 
terminal program for baud rate to 115200, no 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 measurement probe: this virtual device is used by MCUXpresso to retrieve 

power measurement data from boards that support this feature (e.g. LPCXpresso V3 
boards, including the LPCXpresso546x8/540xx.) See Section 9 for more details on 
this feature. 

  I2S/SPI bridges: bridge device from I2C and SPI ports of the LPC54S018J4M target. 

All of these devices are independent of each other and of the CMSIS-DAP debug device 
that is enumerated when the board is connected to a host computer; for example, the 
VCOM port can be used if the board is running an application when no debugger is 
running.  

In order to correctly install and use the Link2 device on the LPCXpresso54S018M 
(required for any debugging purpose) for Windows host computers, install the drivers 
first. These drivers will automatically be installed when MCUXpresso IDE has already 
been installed. If these IDEs are not being used, it is recommended LPCScrypt be 
installed as this also includes the required drivers. All these tools and utilities are 
available for free download at 

https://ww.nxp.com

.  

The CMSIS-DAP firmware image installed at the factory (and by LPCScrypt) will uniquely 
identify itself to the host computer so that more than one board can be connected to that 
host computer at any time. Some toolchains cannot discern between multiple debug 
devices; refer to your toolchain documentation for more information (note the 
MCUXpresso does support multiple LPCXpresso board targets.) It is recommended that 
LPCScrypt be used to update the Debug Probe firmware in order to ensure the latest 
version is being used (see Section 5.2.) 

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

Отзывы: