Example description
Overview
========
This example is a reference application to produce a waveform with a
fixed frequency of 200Hz and duty cycle ratio of 50%
-This example does not require FreeRTOS
Hardware requirements
=====================
- LinkIt 2523 HDK
- Personal Computer
- Type-A to micro-B USB
Board settings
==============
Default board settings
- PWM module channel mapping is listed below.
|GPIOx | PINx |
|-------|---------|
| 35 |J1004.2 |
Prepare the Demo
================
1. Connect a micro USB cable between the host PC and the MK20 USB port on the target board.
2. Build the project and Download the program to the target board.
3. Open a serial terminal with the following settings:
- 115200 baud rate
- 8 data bits
- No parity
- One stop bit
- No flow control
Running the demo
================
1. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Use oscilloscope to observe the waveform generated by
PWM. A waveform with 200Hz frequency and duty cycle ratio of 50% indicates a successful operation
Customization options
=====================