Hi!
I'm having trouble with the app mentioned in the topic.
I need to make a project based on a USB audio device. I have decided to base it on the SDK example.
When I build and load the app on the board (LPC55S69), Windows shows a new audio device, but it can't be used as output. In the device properties, there's status "The device can't start (Code 10)". I didn't make any additional changes in the code so far.
Any ideas what can be wrong with it?
Thanks in advance for helping.
Which MCUXpresso IDE version do yo work with?
SDK2.8 was compiled and tested with MCUXpresso IDE v11.2.0. it's not for IDE v11.1.x.
I don't use an IDE, just compiling and uploading from the command line.
The problem exists when:
- SDK Version 2.8.0 is used ( Enabled the audio2.0 defaultly for device audio demos.)
and
- PC (Host side) use system version (Win7 for example) that don't have native support for USB Audio 2.0
Regards
Jarek
I tested the default demo code lpcxpresso55s69_dev_audio_speaker_bm with MCUXpresso v11.1.1. there is no issue.
after download the code. restart, USB AUDIO DEMO can be recognized by windows as below
Have a great day,
Jun Zhang
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi, Zhang!
Thanks, will give it a try.
--
Best regards,
Sergii
In file "usb_device_config.h" change:
from
#define USB_DEVICE_CONFIG_AUDIO_CLASS_2_0 (1U)
to
#define USB_DEVICE_CONFIG_AUDIO_CLASS_2_0 (0U)
Hi, Jaroslaw!
Thank you for the reply, will be able to check this as soon as I resolve a flashing issue with my development board.
--
Best regards,
Sergii
On windows 10, enable demo code macro
USB_DEVICE_WORKAROUND_AUDIO_20_WINDOWS
can fix this issue.
this is documented in readme file of this demo project folder.
Best Regards
Jun Zhang