SDK 2.8.2 - LPC55S28 usb audio speaker example fails

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

SDK 2.8.2 - LPC55S28 usb audio speaker example fails

跳至解决方案
2,762 次查看
neilberesford
Contributor II

SDK 2.8.2 - LPC55S28 usb audio speaker example fails. - PC USB connection fails with the USB AUDIO CLASS 2 driver.

Using the imported SDK example  'USB audio speaker bm' with 2.8.2 release of the SDK for the LPC55S28 evaluation board. When flashed and running the USB audio driver fails on the PC, composite device is fine. This happens on multiple machine.

When reverting back to 2.7.1 SDK and building the imported SDK example from that version, it works.

Is this a known issue and could anyone help resolve this issue linked to the latest release of the SDK for the LPC55S28?

Regards, Neil

 

 

 

0 项奖励
回复
1 解答
2,701 次查看
FelipeGarcia
NXP Employee
NXP Employee

Hi Neil,

I have received feedback from SDK team. It seems there is an issue with the example and Windows 10 that it is mentioned in the readme file.

image.png
Please set USB_DEVICE_WORKAROUND_AUDIO_20_WINDOWS as 1 and have a test again. I did it in my board and it enumerates correctly when using latest SDK.

Best regards,

Felipe

-------------------------------------------------------------------------------

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.

------------------------------------------------------------------------------ 

在原帖中查看解决方案

6 回复数
2,749 次查看
FelipeGarcia
NXP Employee
NXP Employee

Hi Neil,

Please give me some time to test this on my board. If there is an issue with the example project I will let you know and I will report it to the SDK team.

Regards,

Felipe

2,730 次查看
neilberesford
Contributor II

Good morning Felipe,

Have you had a chance to look into this issue?

I have narrowed it down I feel, in the USB device source. Once I added this to the working project and defined the following, the USB audio driver failed to initialize correctly.

#define USBCFG_AUDIO_CLASS_2_0 (1U)
#define USB_DEVICE_CONFIG_AUDIO_CLASS_2_0 (1U)

This is critical to proving the M33 with future products.

many thanks in advance, Neil

 

0 项奖励
回复
2,702 次查看
FelipeGarcia
NXP Employee
NXP Employee

Hi Neil,

I have received feedback from SDK team. It seems there is an issue with the example and Windows 10 that it is mentioned in the readme file.

image.png
Please set USB_DEVICE_WORKAROUND_AUDIO_20_WINDOWS as 1 and have a test again. I did it in my board and it enumerates correctly when using latest SDK.

Best regards,

Felipe

-------------------------------------------------------------------------------

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,696 次查看
neilberesford
Contributor II

Many thanks Felipe,

 

  that's got the driver initializede and the board is working fine.

  A very good spot with regards the workaround define.

 

Regards, Neil

 

标记 (1)
0 项奖励
回复
2,721 次查看
FelipeGarcia
NXP Employee
NXP Employee

Hi Neil,

I have tried to run this example on my board and I can confirm that it is not working correctly using SDK 2.8.2 version. I am going to send this feedback to the SDK team so we can fix it for the next release. Thank you very much for bringing this to our attention.

In the meantime, the recommendation will be to use previous version of the SDK where the example works correctly.

Best regards,

Felipe

0 项奖励
回复
2,742 次查看
neilberesford
Contributor II

Thank you Felipe,

any help here wouild be extremely helpful,

regards, Neil

 

0 项奖励
回复