UM11035 LPCXpresso546x8/540xx/54S0xx Board User Manual Rev. 2.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs Revision history Rev Date Description 2.1 20190719 Added LPCXpresso54S018, modified title. Added Troubleshooting section, added links to various sections in Table 1. 2.0 20180112 Added LPCXpresso54018, modified title 1.2 20170525 Added LPCXpresso54628, included reference to OM13099. 1.1 20170407 Updated for MCUXpresso and CAN-FD Kit/Shield information 1.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs 1. Introduction The LPCXpresso™ family of boards provides a powerful and flexible development system for NXP's LPC Cortex®-M family of MCUs. They can be used with a wide range of development tools, including NXP’s MCUXpresso IDE.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs Fig 1. LPCXpresso546x8/540xx/54S0xx underside view This document describes the hardware of the LPCXpresso546x8/540xx/54S0xx boards, plus information on the CAN-FD shield supplied in the OM13094 kit (this shield board is also available as a standalone product, order code OM13099.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs • 3 x user LEDs • Target Reset, ISP (3) and user buttons • Expansion options based on popular standards: Arduino 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 external power supply options.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs Power (micro B) High speed USB port (micro AB) Full speed USB port (micro AB) SD/MMC socket Ethernet (RJ45) Audio jacks In Out Debug probe (micro B) Audio codec Ext.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs JP9 JP1 JP2 JP10 JP11 JP12 JP4 Link2 boot LED JP13 Debug probe DFU boot JP5 SD/MMC card Power LED JP6 JP3 JP7 Power LED Fig 3. Reset LED Jumper and LED locations Table 1 lists the function of each jumper. Table 1. Jumpers Circuit ref Description Section JP1 Target processor selection for the on-board Debug Probe.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs Circuit ref Description Section JP2 Buffer Power Selection 3, 4 For On-board Target place in position 1-2 (default) For Off-board Target place in position 2-3 JP3 This header (not installed by default) provides a convenient connection point to provide external ADC positive and negative voltages.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs Circuit ref Description Section JP7 (not installed by default) JP7 may be fitted to provide a convenient way to enable/disable the reset signal to/from the expansion connectors. Solder jumper JS28 should be removed if JP7 is to be used. See schematic JP8 This set of jumpers is used to configure 3.3V vs 1.8V board configurations. OM13092 boards are all 3.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs Table 2 describes the board LED and button functions, and connectors. Table 2. LEDs, buttons and connectors Circuit Ref Description Section D7 SD card slot power enable n/a This LED illuminates when power is enabled to the SD card slot (controlled by LPC546x8/540xx/54S0xx port P2-5.) D9, D11, D12 User LEDs D10 Link2 boot mode n/a These LEDs are for application use.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs SW2, SW3, SW4 ISP / User buttons These switches can be used to force the LPC546x8/540xx/54S0xx in to ISP boot modes, as shown below. Note that ISP boot is also affected by OTP bit settings, and behavior will also be modified based on port activity as the boot ROM executes. Refer to the device User Manual for more information. Signal is low when the button is pressed.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs Circuit Ref Description Section pins when the EMC bus has been initialized, since these pins are shared with the EMC D2-D3 pins, and the SDRAM chip select may float at reset. SW5 User button This button is connected to LPC546x8/540xx/54S0xx port pin P1-1, and is provided for user applications. Port P1-1 is pulled to ground when the button is pressed.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs Circuit Ref Description Section J14 Host/peripheral expansion connector 7.3 0.1” pitch 2x6 connector for host connection / expansion. This connector is primarily intended for connection and external host using I2C and/or SPI bus, but is also suitable for general purpose I/O connections or peripherals. J15 Host reset control 7.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs flash utility or Flash Magic). The demo binary packages mentioned earlier include instructions on using these tools. 3.1 Loading applications using USB mass storage boot (MSC class) mode (LPCXpresso546x8 boards only) The LPC546xx device family supports mass storage boot mode, enabling “drag and drop” programming of on-chip flash.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs For further information and tutorial videos please visit the Getting Started tab on the landing page for the board being used. Each board’s landing page can be found at the URL https://www.nxp.com/demoboard/ where is the board’s orderable part number (OM13092, OM13098, OM13094, OM40003 or LPC54S018-EVK.) 3.2.1 Installation steps for use with MCUXpresso IDE 1.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs 3.2.2 Installation steps to use Keil and IAR tools 1. Download and install LPCScrypt or the Windows drivers for LPCXpresso boards (http://www.nxp.com/lpcutilities). This will install required drivers for the board. 2. Ensure JP5 is open to force the Link2 Debug Probe to boot from internal flash. 3. Ensure jumper JP2 is fitted in position 1-2 (local target powered), and JP1 is not installed (target SWD enabled).
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs 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.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs 4.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. 4.2 Programming the Link2 firmware As mentioned earlier in this section, it is not normally necessary to program the Link2 firmware.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs 4.4 Configuring the LPCXpresso546x8/540xx/54S0xx to debug an external target The LPCXpresso546x8/540xx/54S0xx 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 LPC546x8/540xx/54S0xx MCU from interfering with the SWD interface, JP1 must be fitted.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs 6.1 LPCXpresso546x8/540xx/54S0xx current measurement The LPC546x8/540xx/54S0xx current can be measured by measuring the voltage across a sense resistor in series with the supply, a current meter or using the on board current measurement circuit. Each of these methods will be described in subsections below. There is no current monitoring of the Link2 section circuits on the board.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs the Link2 processor and is not user programmable. Power measurement utilities to use this feature are available in LPCXpresso and IDE MCUXpresso IDE installations. Due to input offset voltage variations in the MAX9634, the current measurement circuit is not recommended for measuring current below 150 uA. See Fig 5 as a guideline for measurement error versus measured current.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs On LPCXpresso546x8/540xx/54S0xx boards the USART from Flexcomm0 supports ISP UART mode booting and is used by default for semi-hosting debug messages. This USART is connected to a serial port on the Link2 Debug Probe, which provides a bridging function to USB to a virtual com port (or “VCOM” port) on a host computer connected to the debug link connector, J8.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs this mode press and hold down the ISP1 button while pressing and releasing the reset button (or power cycling the board). See Section 3.1 for further information on how to use this mode. 7.2.1.2 Device mode The FS port supports USB device mode operation; no jumper settings are needed to configure this mode. When using the port in device mode, a standard micro USB cable can be used. 7.2.1.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs (Note: Although not required for the HS USB port operation, it is recommended to check JP11, JP12 and JP13 have a jumper in position 1-2 to enable Ethernet operation and availability of the I/O at the Expansion connector D8.) 7.3 Host Expansion Header (J14) This header provides connectivity from the LPC546x8/540xx/54S0xx target to a remote Host, peripherals or other devices. Table 4 shows the connections.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs Pin PMod standard connection J11 signal Flexcomm # / Port 2 GPIO/SPI-MOSI out / UART TXD out GPIO/SPI-MOSI in/out 9 / PIO3-21 3 GPIO/SPI-MISO in / UART RXD in GPIO/SPI-MISO out/in 9 / PIO3-22 4 GPIO/SPI-SCK out / UART RTS out GPIO/SPI-SCK in/out 9 / PIO3-20 5 GND GND 6 VCC (3.3V) VDD (3.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs Below shows the sharing of signals between the expansion connectors and other connectors or circuit functions. Refer to the board schematics for more details. Table 7.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs being used (these are included in the MCUXpresso IDE). Refer to your tool chain vendor for more information. SEGGER J-link includes drivers for both of these devices. Note that the LPCXpresso546x8/540xx/54S0xx board is also designed to accommodate a Macronix MX25R6435FM2IL0 quad SPI flash as a reference for customers considering a 1.8V based design. 9.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs Fig 6. Line input circuitry A second 3.5 mm stereo jack socket (J6) provides a headphone / line out from the codec, via the circuit shown in Fig 7. Fig 7. Headphone / line output circuitry The MCUXpresso SDK includes drivers and example code for the audio codec. 9.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs 9.4 Accelerometer The board includes an NXP MMA8652FCR1 accelerometer, interfaced to Flexcomm 2 (ports PIO3-23/PIO3-24) of the LPC546x8/540xx. The accelerometer has an I2C address of 0b0011101. 9.5 Digital Microphone The LPC546x8/540xx/54S0xx device incorporates dual digital microphone interfaces.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs (1) Fig 8. CAN-FD Shield Layout The CAN-FD Shield has a double-height DB9 connector installed by default (P3) for CAN/CAN-FD connections. The Shield board layout includes provision for a DB9 connector to be installed (P2) but a standard 0.1” header (P1) is installed by default; P1 would need to be unsoldered in order for P2 to be fitted. Note that header P4 is provided to allow convenient access to ground.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs Circuit ref Description Default LPCXpresso546x8/540xx/54S0xx boards A4 is connected to pin PIO2_17. JP3 & JP4 Install these jumpers to provide termination on CAN/CAN-FD connection 2. Installed JP5 & JP6 Install these jumpers to provide termination on CAN/CAN-FD connection 2. Installed 10.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs 11. Legal information provide appropriate design and operating safeguards to minimize the risks associated with their applications and products. 11.1 Disclaimers Limited warranty and liability — Information in this document is believed to be accurate and reliable.
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs 12. List of figures Fig 1. Fig 2. Fig 3. Fig 4. Fig 5. Fig 6. Fig 7. Fig 8. LPCXpresso546x8/540xx/54S0xx underside view ................................................................... 4 LPCXpresso546x8/540xx/54S0xx main feature layout ................................................................ 6 Jumper and LED locations ................................ 7 Identifying the VCOM port ......................
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs 13. List of tables Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table 8. Jumpers ............................................................ 7 LEDs, buttons and connectors ........................ 10 P4 connections ............................................... 22 Host Expansion Header signals ...................... 24 PMod Slave Expansion Header signals .......... 24 Expansion connectors ..
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs 14. Contents 1. 2. 2.1 3. 3.1 3.2 3.2.1 3.2.2 3.3 4. 4.1 4.2 4.3 4.4 5. 6. 6.1 6.1.1 6.1.2 6.1.3 6.1.4 7. 7.1 Introduction ......................................................... 3 Feature summary ................................................ 4 Board layout and settings ................................... 5 Getting Started ..................................................
UM11035 NXP Semiconductors LPCXpresso boards for LPC546xx/LPC540xx/LPC54S0xx families of MCUs 11.2 12. 13. 14. Trademarks ...................................................... 32 List of figures..................................................... 33 List of tables ...................................................... 34 Contents .............................................................