![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
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
Build procedures:
LPC17xx/40xx example quickstart for Keil uVision4
LPC17xx/40xx example quickstart for IAR EWARM
LPC17xx/40xx example quickstart for Code Red Xpresso
Supported boards and board setup:
Embedded Artists' LPC1788 Developer's Kit
Embedded Artists' LPC4088 Developer's Kit
Submitting LPCOpen issues:
Community support for LPCOpen
Modules | |
| Main definitions | |