Keil Logo


The USBAudio example program enables the MCB2140 board to act as a sound card on a PC.

Loading USBAudio

To load the Audio project, select Open Project from the Project menu, and open the AUDIO.UV2 project from the root\BOARDS\KEIL\MCB2140\USBAUDIO folder.

Select Project File Dialog

Project Workspace

When the Audio project opens, the µVision Project Workspace window displays the source files that make up the project.

  • Startup.s: CPU startup file for the NXP LPC214x devices.
  • USBcfg.h: USB custom configuration file for several USB features.
  • USBhw.c: USB hardware layer for NXP LPC2148.
  • USBcore.c: USB core module that implements the basic USB communication layer.
  • USBdesc.c: USB device description.
  • USBuser.c: HID custom module.
  • adcuser.c: Audio Device Class user module.
  • demo.c: contains the main program and the HID report functions.

The Abstract.txt file contains documentation about the project.

Editing USBAudio

You may edit or review the source code files. Double click on the selected file in the Files page of the Project Workspace window. µVision loads and displays the contents in an editor window.

Running USBAudio

Perform the following three steps to run the USBAudio program example on the MCB2140 Evaluation Board:

  1. Building USBAudio
  2. Downloading USBAudio
  3. Running USBAudio
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.