9.2.6 Usage
Build the program and download it into the evaluation board.
- On the computer, open, and configure a terminal application. (e.g., HyperTerminal on Microsoft® Windows®) with these settings:
115200 baud
8 bits of data
No parity
1 stop bit
No flow control
Start the application.
- In the terminal window, the following text should appear:
* -- TC capture waveform example xxx --
* -- xxxxxx-xx
* -- Compiled: xxx xx xxxx xx:xx:xx --
- Choose the item from the following menu to test:
* Menu :
* ------
* Output waveform
property
:
* 0: Set Frequency = 178 Hz, Duty Cycle = 30%
* 1: Set Frequency = 375 Hz, Duty Cycle = 50%
* 2: Set Frequency = 800 Hz, Duty Cycle = 75%
* 3: Set Frequency = 1000 Hz, Duty Cycle = 80%
* 4: Set Frequency = 4000 Hz, Duty Cycle = 55%
* -------------------------------------------
* c: Capture waveform from TC(TC_PERIPHERAL) channel(TC_CHANNEL_CAPTURE)
* s: Stop capture and display captured information
* h: Display menu
* ------