Can't start usb_device_audio_speaker example for LPC55S69 MCU devboard

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can't start usb_device_audio_speaker example for LPC55S69 MCU devboard

2,284 Views
sergey_shidlovs
Contributor II

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.

Labels (2)
8 Replies

2,204 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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. 

0 Kudos

2,204 Views
sergey_shidlovs
Contributor II

I don't use an IDE, just compiling and uploading from the command line.

0 Kudos

2,204 Views
jc
Contributor II

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

0 Kudos

2,204 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

I tested the default demo code lpcxpresso55s69_dev_audio_speaker_bm with MCUXpresso v11.1.1. there is no issue.

pastedImage_1.png

after download the code. restart,  USB AUDIO DEMO can be recognized by windows as below

pastedImage_2.pngpastedImage_3.png

pastedImage_4.png


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.
-------------------------------------------------------------------------------

2,204 Views
sergey_shidlovs
Contributor II

Hi, Zhang!

Thanks, will give it a try.

--

Best regards,

Sergii

0 Kudos

2,204 Views
jc
Contributor II

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)

2,204 Views
sergey_shidlovs
Contributor II

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

0 Kudos

2,201 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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

0 Kudos