Hardware requirements

  • Mini/micro USB cable

  • LPCXpresso51U68 board

  • Personal Computer

Board settings

This example project does not call for any special hardware configurations. Although not required, the recommendation is to leave the development board’s jumper settings and configurations in default state when running this example.

Prepare the Demo

Connect a serial cable from the debug UART port of the board to the PC. Start Tera Term (http://ttssh2.osdn.jp) and make a connection to the virtual serial port.

  1. Start Tera Term

  2. New connection -> Serial

  3. Set appropriate COMx port (x is port number) in Port context menu. Number is provided by operation system and could be different from computer to computer. Select COM number related to virtual serial port. Confirm selected port by OK button.

  4. Set following connection parameters in menu Setup->Serial port… Baud rate: 115200 Data: 8 Parity: none Stop: 1 Flow control: none

  5. Confirm selected parameters by OK button.

Running the demo

After the board is flashed the Tera Term will print message on terminal.

Example output:

 GPIO Driver example

 The LED is taking turns to shine.

 Standard port read: fffdffff

 Masked port read: fffdffff

 Port state: fffdffff

 Port state: fffdffff

 Port state: fffdffff

 Port state: fffdffff
 ...
  • When press sw1 the LED GREEN will turn to shine and you can Probe oscilloscope at J1-14 to see output signal.

Note: maybe exist different output log for different board configurations.