| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NXP Xpresso LPC812 board

Documentation links
NXP Xpresso LPC812 board

Jumper configuration
There are no jumpers to configure on the NXP Xpresso 812 board.

Optional UART setup
Optionally, UART support can be added to the board by soldering a header strip onto the J7 connector pin holes. Once soldered, a UART to USB dongle such as the C232HD-DDHSP-0 can be used to provide an interface via UART for debug messages.

The image below shows the the TTL-232R-3V3 being used. If using the TTL-232R-3V3, be sure to isolate the power pin.

If receive isn't working, you might also need to isolate the CTS and RTS pins and center the potentiometer (which is shared with the UART pin).

Once the dongle is connected to the board, UART support can be enabled in the platform by enabling the DEBUG_ENABLE define in the sys_config.h file for the board. This allows the DEBUGOUT and DEBUGSTR macros to route data to the UART.

      /* Enable DEBUG for IO support via the UART */
      #define DEBUG_ENABLE

      /* Board UART used for debug output */
      #define DEBUG_UART LPC_USART0
    *

Board recovery using the ISP pin
If the board's FLASH can no longer be programmed, the image in FLASH may be corrupt. To recover the board, the board must be reset with the ISP pin held low. The easiest way to do this is to connect a jumper between the PIO0_1-ISP_EN signal on pins 16 and 1 (GND) on connector J6. Hold the pin in this state and program the board. Once the board is programmed, the jumper can be removed.