Hardware requirements
Mini/micro USB cable
LPCXpresso804 board
Personal Computer
Board settings
No special settings are required.
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 example output of the CTimer simple PWM demo in the terminal window:
CTimer example to generate a PWM signal
Connect Pin P0_20(CAN3-10) to an oscilloscope, Users can observe a 20Khz PWM signal with 20% dutycycle.