Hardware requirements
Micro USB cable
LPC845 Breakout board
Personal Computer
Board settings
Please connect the USART1_CLK(P0_26) pin to USART2_CLK(P0_27) pin directly. No need to connect other pins. The data pins are shared.
Prepare the demo
Connect a micro USB cable between the PC host and the CMSIS DAP USB port on the board.
Open a serial terminal with the following settings:
9600 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
The log below shows the output of the USART transfer using sync mode driver example in the terminal window:
Usart synchronous transfer example.
Master USART will send data to slave on one board.
All data matched, data transfer success!