Supported Demo Boards
The matrix of which demos are supported on a specific board can be found in the Release Notes demo board support section. Verify that the board you wish to use will work with this demo. This table also describes some of the limitations that the board might have while running this demo.
Demo Board I/O Mapping
Each demo board has a different number of push buttons, LEDs, and other features with various different names for these components. To determine which board features are used for which demo features, please refer to the io_mapping.h file in the demo folder under the system_config folder. Each demo board will have a corresponding folder with an io_mapping.h file in it. For example, for the PIC18F46J50 PIM this would be the following file:
<install_directory>/apps/usb/device/audio_microphone/firmware/src/system_config/pic18f46j50_pim/io_mapping.h
For more information about each demo board, please refer to the Demo Board Information section.
Demo Operation
This demo uses the selected hardware platform as a USB Microphone Device. The demo emulates a PCM, 16 bits/Sample, 8000 Samples/ second, mono Microphone. Connect the device to the computer. Open a sound recording software package. Each sound recording software interface is different so the following instructions may not apply the to software package you are using. Please refer to the user’s manual for the software package you are using for more details of how to configure that tool for Sound recording.
Using Sound Recorder [Windows Computers]
Open Sound Recorder from Start->Programs->Accessories->Entertainement->Sound Recorder. Click on File-> Properties.
Now the ‘Properties for Sound’ Window gets opened as shown below. Click on ‘Convert Now’ button.
This opens up the ‘Sound Selection’ window as shown below.
Change the ‘Attributes’ to “8.00kHz, 16 Bit, Mono 15kb/sec” in the ‘Sound Selection’ Window.
Click on OK button on the ‘Sound Selection’ Window. Click OK button on the ‘Properties for Sound’ Window.
Click on the Record Button on the Sound Recorder.
At this point you can press the pushbutton on the demo board and it will record a voice that is stored in the USB device. Once you finish with the recording click on the ‘Play’ button to play the recorded voice which can be heard through your computer Speaker.
MLA - USB Library Help Version : 2.16
![]() |