|
| 1 | +.. _lpcxpresso54114: |
| 2 | + |
| 3 | +NXP LPCXPRESSO54114 |
| 4 | +##################### |
| 5 | + |
| 6 | +Overview |
| 7 | +******** |
| 8 | + |
| 9 | +The LPCXpresso54114 board has been developed by NXP to enable evaluation of and |
| 10 | +prototyping with the LPC54110 family of MCUs and with the low-power LPC54110 |
| 11 | +family of MCUs. LPCXpresso* is a low-cost development platform available from |
| 12 | +NXP supporting NXP's ARM-based microcontrollers. LPCXpresso is an end-to-end |
| 13 | +solution enabling embedded engineers to develop their applications from initial |
| 14 | +evaluation to final production. |
| 15 | + |
| 16 | +.. image:: lpcxpresso54114.png |
| 17 | + :width: 720px |
| 18 | + :align: center |
| 19 | + :alt: LPCXPRESSO54114 |
| 20 | + |
| 21 | +Hardware |
| 22 | +******** |
| 23 | + |
| 24 | +- LPC54114 dual-core (M4F and dual M0) MCU running at up to 100 MHz |
| 25 | +- On-board high-speed USB based debug probe with CMSIS-DAP and J-Link protocol |
| 26 | + support, can debug the on-board LPC54114 or an external target |
| 27 | +- External debug probe option |
| 28 | +- Tri-color LED, target Reset, ISP & interrupt/user buttons for easy testing of |
| 29 | + software functionality |
| 30 | +- Expansion options based on Arduino UNO and Pmod™, plus additional expansion |
| 31 | + port pins |
| 32 | +- On-board 1.8 V and 3.3 V regulators plus external power supply option |
| 33 | +- 8 Mb Macronix MX25R SPI flash |
| 34 | +- Built-in MCU power consumption and supply voltage measurement |
| 35 | +- UART, I²C and SPI port bridging from LPC54114 target to USB via the on-board |
| 36 | + debug probe |
| 37 | +- FTDI UART connector |
| 38 | + |
| 39 | +For more information about the LPC54114 SoC and LPCXPRESSO54114 board: |
| 40 | + |
| 41 | +- `LPC54114 SoC Website`_ |
| 42 | +- `LPC54114 Datasheet`_ |
| 43 | +- `LPC54114 Reference Manual`_ |
| 44 | +- `LPCXPRESSO54114 Website`_ |
| 45 | +- `LPCXPRESSO54114 User Guide`_ |
| 46 | +- `LPCXPRESSO54114 Schematics`_ |
| 47 | + |
| 48 | +Supported Features |
| 49 | +================== |
| 50 | + |
| 51 | +The lpcxpresso54114 board configuration supports the following hardware |
| 52 | +features: |
| 53 | + |
| 54 | ++-----------+------------+-------------------------------------+ |
| 55 | +| Interface | Controller | Driver/Component | |
| 56 | ++===========+============+=====================================+ |
| 57 | +| NVIC | on-chip | nested vector interrupt controller | |
| 58 | ++-----------+------------+-------------------------------------+ |
| 59 | +| SYSTICK | on-chip | systick | |
| 60 | ++-----------+------------+-------------------------------------+ |
| 61 | +| IOCON | on-chip | pinmux | |
| 62 | ++-----------+------------+-------------------------------------+ |
| 63 | +| GPIO | on-chip | gpio | |
| 64 | ++-----------+------------+-------------------------------------+ |
| 65 | +| USART | on-chip | serial port-polling | |
| 66 | ++-----------+------------+-------------------------------------+ |
| 67 | + |
| 68 | +The default configuration can be found in the defconfig file: |
| 69 | + |
| 70 | + ``boards/arm/lpcxpresso54114/lpcxpresso54114_defconfig`` |
| 71 | + |
| 72 | +Other hardware features are not currently supported by the port. |
| 73 | + |
| 74 | +Connections and IOs |
| 75 | +=================== |
| 76 | + |
| 77 | +The LPC54114 SoC has IOCON registers, which can be used to configure the |
| 78 | +functionality of a pin. |
| 79 | + |
| 80 | ++---------+-----------------+----------------------------+ |
| 81 | +| Name | Function | Usage | |
| 82 | ++=========+=================+============================+ |
| 83 | +| PIO0_0 | USART | USART RX | |
| 84 | ++---------+-----------------+----------------------------+ |
| 85 | +| PIO0_1 | USART | USART TX | |
| 86 | ++---------+-----------------+----------------------------+ |
| 87 | +| PIO0_29 | GPIO | RED LED | |
| 88 | ++---------+-----------------+----------------------------+ |
| 89 | +| PIO1_9 | GPIO | BLUE_LED | |
| 90 | ++---------+-----------------+----------------------------+ |
| 91 | +| PIO1_10 | GPIO | GREEN LED | |
| 92 | ++---------+-----------------+----------------------------+ |
| 93 | + |
| 94 | +System Clock |
| 95 | +============ |
| 96 | + |
| 97 | +The LPC54114 SoC is configured to use the internal FRO at 48MHz as a source for |
| 98 | +the system clock. Other sources for the system clock are provided in the SOC, |
| 99 | +depending on your system requirements. |
| 100 | + |
| 101 | +Serial Port |
| 102 | +=========== |
| 103 | + |
| 104 | +The LPC54114 SoC has 8 FLEXCOMM interfaces for serial communication. One is |
| 105 | +configured as USART for the console and the remaining are not used. |
| 106 | + |
| 107 | +Programming and Debugging |
| 108 | +************************* |
| 109 | + |
| 110 | +The LPCXpresso54114 includes the LPC-Link2 serial and debug adapter built into |
| 111 | +the board to provide debugging, flash programming, and serial communication |
| 112 | +over USB. LPC-Link2 can be configured with Segger J-Link or CMSIS-DAP firmware |
| 113 | +variants to support corresponding debug tools. Currently only the Segger J-Link |
| 114 | +tools are supported for this board in Zephyr, therefore you should use the |
| 115 | +Segger J-Link firmware variant. |
| 116 | + |
| 117 | +Before you start using Zephyr on the LPCXpresso54114, download and run |
| 118 | +`LPCScrypt`_ to update the LPC-Link2 firmware to the latest version, currently |
| 119 | +``Firmware_JLink_LPC-Link2_20160923.bin``. Serial communication problems, such |
| 120 | +as dropping characters, have been observed with older versions of the firmware. |
| 121 | + |
| 122 | +Debugging |
| 123 | +========= |
| 124 | + |
| 125 | +You can debug an application in the usual way. Here is an example for the |
| 126 | +:ref:`hello_world` application. |
| 127 | + |
| 128 | +.. zephyr-app-commands:: |
| 129 | + :zephyr-app: samples/hello_world |
| 130 | + :board: lpcxpresso54114 |
| 131 | + :goals: debug |
| 132 | + |
| 133 | +Open a serial terminal (minicom, putty, etc.) and connect the board with the |
| 134 | +following settings: |
| 135 | + |
| 136 | +- Speed: 115200 |
| 137 | +- Data: 8 bits |
| 138 | +- Parity: None |
| 139 | +- Stop bits: 1 |
| 140 | + |
| 141 | +Reset the board and the following message will appear on the corresponding |
| 142 | +serial port: |
| 143 | + |
| 144 | +.. code-block:: console |
| 145 | +
|
| 146 | + Hello World! arm |
| 147 | +
|
| 148 | +
|
| 149 | +.. _LPC54114 SoC Website: |
| 150 | + http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/lpc-cortex-m-mcus/lpc54000-series-cortex-m4-mcus/low-power-microcontrollers-mcus-based-on-arm-cortex-m4-cores-with-optional-cortex-m0-plus-co-processor:LPC541XX |
| 151 | + |
| 152 | +.. _LPC54114 Datasheet: |
| 153 | + http://www.nxp.com/docs/en/data-sheet/LPC5411X.pdf |
| 154 | + |
| 155 | +.. _LPC54114 Reference Manual: |
| 156 | + http://www.nxp.com/docs/en/user-guide/UM10914.pdf |
| 157 | + |
| 158 | +.. _LPCXPRESSO54114 Website: |
| 159 | + http://www.nxp.com/products/developer-resources/software-development-tools/software-tools/lpcxpresso-boards/lpcxpresso54114-board:OM13089 |
| 160 | + |
| 161 | +.. _LPCXPRESSO54114 User Guide: |
| 162 | + http://www.nxp.com/docs/en/user-guide/UM10973.pdf |
| 163 | + |
| 164 | +.. _LPCXPRESSO54114 Schematics: |
| 165 | + http://www.nxp.com/downloads/en/design-support/LPCX5411x_Schematic_Rev_A1.pdf |
| 166 | + |
| 167 | +.. _LPCScrypt: |
| 168 | + https://www.nxp.com/support/developer-resources/software-development-tools/lpc-developer-resources-/lpc-microcontroller-utilities/lpcscrypt-v1.8.2:LPCSCRYPT?&tab=Design_Tools_Tab |
0 commit comments