LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Audio Output Host

Detailed Description

Example description
This example implements an audio interface class host mode device that enumerates an audio interface class device (USB speakers) and sends samples to the device.

The samples are created by a simple square wave generator in a timer ISR and shipped out the streaming isochronous output pipe when a button is pressed on the board. When the example is first run the terminal window will display: Audio Output Host Demo running.

When the USB speakers are plugged in the terminal window will display: Audio Device Enumerated.

When the button is pressed on the board the USB speakers will produce a loud tone. When the button is not pressed the USB speakers will be silent.

When the USB speakers are unplugged the terminal window will display: Device Unattached.

Special connection requirements
For Keil 1858 and 4357 boards, the host examples requires an external power supply via the PWR power connector.

Build procedures:
LPC18xx/43xx example quickstart for Keil uVision4
LPC18xx/43xx example quickstart for IAR EWARM
LPC18xx/43xx example quickstart for Code Red Xpresso

Supported boards and board setup:
Hitex 1850 evaluation boards
Hitex 4350 evaluation boards
Keil 1857 evaluation boards
Keil 4357 evaluation boards
NGX 1830 Xplorer boards
NGX 4330 Xplorer boards

Submitting LPCOpen issues:
Community support for LPCOpen

Modules

 Main definitions