MCUXpresso_MIMXRT1052xxxxB/boards/evkbimxrt1050/audio_examples/maestro_usb_speaker
Yilin Sun ded8674389
Updated to v2.12.1
Signed-off-by: Yilin Sun <imi415@imi.moe>
2022-12-08 23:33:41 +08:00
..
armgcc Updated to v2.12.1 2022-12-08 23:33:41 +08:00
FreeRTOSConfig.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
app_definitions.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
app_streamer.c Updated to v2.12.0 2022-08-24 23:30:23 +08:00
app_streamer.h Updated to v2.12.0 2022-08-24 23:30:23 +08:00
audio_speaker.c Updated to v2.12.0 2022-08-24 23:30:23 +08:00
audio_speaker.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
board.c Updated to v2.12.0 2022-08-24 23:30:23 +08:00
board.h Updated to v2.12.0 2022-08-24 23:30:23 +08:00
clock_config.c SDK v2.11.1 2022-04-08 22:46:35 +08:00
clock_config.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
cmd.c Updated to v2.12.0 2022-08-24 23:30:23 +08:00
cmd.h Updated to v2.12.0 2022-08-24 23:30:23 +08:00
dcd.c SDK v2.11.1 2022-04-08 22:46:35 +08:00
dcd.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
ffconf.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
maestro_usb_speaker_v3_10.xml Updated to v2.12.1 2022-12-08 23:33:41 +08:00
main.c Updated to v2.12.1 2022-12-08 23:33:41 +08:00
main.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
pin_mux.c SDK v2.11.1 2022-04-08 22:46:35 +08:00
pin_mux.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
readme.txt Updated to v2.12.0 2022-08-24 23:30:23 +08:00
startup_armgcc.c SDK v2.11.1 2022-04-08 22:46:35 +08:00
streamer_pcm.c Updated to v2.12.1 2022-12-08 23:33:41 +08:00
streamer_pcm_app.h Updated to v2.12.1 2022-12-08 23:33:41 +08:00
usb_device_audio.c Updated to v2.12.0 2022-08-24 23:30:23 +08:00
usb_device_audio.h Updated to v2.12.0 2022-08-24 23:30:23 +08:00
usb_device_ch9.c Updated to v2.12.1 2022-12-08 23:33:41 +08:00
usb_device_ch9.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
usb_device_class.c SDK v2.11.1 2022-04-08 22:46:35 +08:00
usb_device_class.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
usb_device_config.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
usb_device_descriptor.c SDK v2.11.1 2022-04-08 22:46:35 +08:00
usb_device_descriptor.h SDK v2.11.1 2022-04-08 22:46:35 +08:00

readme.txt

Overview
========
The maestro_demo application demonstrates audio processing on the ARM cortex core
utilizing the Maestro Audio Solutions library.

The application is controlled by commands from a shell interface using serial console.

Type "help" to see the command list.

After running the "usb_speaker" command, the USB device will be enumerated on your host.
User will see the volume levels obtained from the USB host as in the example below.
This is just an example application. To leverage the values, the demo has to be modified.


Toolchain supported
===================
- IAR embedded Workbench  9.30.1
- GCC ARM Embedded  10.3.1
- MCUXpresso  11.6.0

Hardware requirements
=====================
- 2x Micro USB cable
- JTAG/SWD debugger
- EVKB-IMXRT1050 board
- Personal Computer
- Headphones with 3.5 mm stereo jack

Board settings
==============
1. Set the hardware jumpers (Tower system/base module) to default settings.

Prepare the Demo
================
1. Connect the first micro USB cable between the PC host and the debug USB port on the board.
2. Open a serial terminal with the following settings:
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3. Download the program to the target board.
4. Connect the second micro USB cable between the PC host and the USB port on the board.
5. Connect the earphone/headphone at Audio Line Out port of target board.
6. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Note
1. If the USB device audio speaker example uses an ISO IN feedback endpoint, please attach the device to a host like
   PC which supports feedback function. Otherwise, there might be attachment issue or other problems.
2. This example supports UAC 5.1 and UAC 5.1 is disabled by default, this feature can be enabled by set macro
   USB_AUDIO_CHANNEL5_1 as 1U.
3. When device functionality is changed, such as UAC 5.1, please uninstall the previous PC driver to make sure
   the device with changed functionality can run normally.
Running the demo
================
When the example runs successfully, you should see similar output on the serial terminal as below:

*************************************************
Maestro audio USB speaker solutions demo start
*************************************************

[APP_SDCARD_Task] start
[APP_Shell_Task] start

SHELL build: Nov  5 2020
Copyright  2020  NXP

>>
>> usb_speaker -1

Starting maestro usb speaker application
The application will run until the board restarts
[STREAMER] Message Task started
Starting playing
[STREAMER] start usb speaker
Set Cur Volume : 0
Set Cur Mute : 0
Set Cur Volume : 9e
Set Cur Volume : 144
Set Cur Volume : 199
Set Cur Volume : 1f1
Set Cur Volume : 24a
Set Cur Volume : 2a6