User`s guide
MPLAB Starter Kit for dsPIC
®
DSCs User’s Guide
DS51700A-page 14 © 2008 Microchip Technology Inc.
2.4 OTHER DEMO CODE EXAMPLES
The starter kit software CD includes other demo code examples.
The SASK Record Play Demo with Intro Code Example demonstrates the low-cost
speech capture and playback option. It uses the dsPIC DSC 12-bit ADC to capture
speech samples. The data is stored in the serial Flash memory. The application then
uses the Output Compare module in Pulse-Width Modulation (PWM) mode to generate
a PWM signal representing the speech signal.
The SASK Intro Speech Prog code example can be used to program the introductory
message into the serial Flash. This is useful in a case where the entire serial Flash has
been erased and it is desirable to set up the introductory message again.
Note: Jumper J6 should in the OCPWM position to use this demo.
Note: The SASK Intro Speech Prog code example performs a full chip erase on
the serial Flash. In order to prevent accidental serial Flash chip erase when
the board is taken in and out of Reset, erase the dsPIC33F program Flash
via MPLAB IDE after the running the SASK Intro Speech Prog code
example. Refer to the readme.txt files in the project folder for more
details.