UAC audio intermittent.

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

UAC audio intermittent.

Jump to solution
5,253 Views
SeenFan
Contributor II

Trying to develop a USB DAC application with RT1160. 

Build project from SDK example:

evkmimxrt1160_dev_composite_hid_audio_unified_freertos_cm7

SDK version: 2.13.0
Test device:

- iPhone 13 Pro Max.
  - iOS 16.4.1
- iPhone 12 mini.
  - iOS 16.4.1
 

While connecting with iPhone. Run into a situation where audio playback become intermittent.
Reproduce steps:

 

  1. Open the Apple Podcast app.
  2. Connect the EVK. The audio will switch to the headphone jack output.
  3. Open YouTube and play any video. The audio should be normal at this point.
  4. Exit YouTube. The audio will stop. Wait for approximately 10 seconds.
  5. Reopen Podcasts/YouTube/Spotify, etc. The audio may become intermittent.

 

Attaching a sniffer tool. I found that iPhone is always sending setInterface request after step4.snap.png

Control Groups:

- Yamaha AG-03
- Shure X2U

don't not have this issue.

 

0 Kudos
Reply
1 Solution
4,827 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @SeenFan ,

  I have finished your 1KHz audio testing on my side, my wave is good:

kerryzhou_0-1688108118412.png

My test method is:

Board USB J20 connect to the PC will emute USB AUDIO+HID DEMO interface.

1. Use window media player play your 1Khz

kerryzhou_1-1688108240082.png

Then the board speaker will output the 1KHZ sound

 

2. Use the Audacity to record the sound from the PC mic, my surrounding is quite, so, it can record the board speaker sound, then I check the wave, totally OK.

kerryzhou_2-1688108351112.png

kerryzhou_4-1688108374064.png

You can see:

kerryzhou_5-1688108555269.png

The original one and the record one are the same.

What's the code you are testing?

Use my previous project release version:

kerryzhou_6-1688108915797.png

If you use the debug version to work, set the symbols NDEBUG.

kerryzhou_0-1688112895797.png

 

I attach the new project again.

What's the product you want to use, if you also want to play in the PC and iphone for long time, do you mind to change to the Full speed instead of the High speed, then both PC and the iphone will stable, as my iphone 7 is full speed, no issues.

Best Regards,

Kerry

 

 

 

 

 

 

 

 

 

 

View solution in original post

0 Kudos
Reply
25 Replies
656 Views
SeenFan
Contributor II

Hi Kerry,

I don't see any difference right now. Attached my source FYI.

 

Regards

Seen

629 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @SeenFan ,

  If you still have issues, please test my new project which I share you right now:

https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/imxrt/25757/1/evkmimxrt1160_dev_composit...

 

Any updated information, kindly let us know.

Best Regards,

Kerry

0 Kudos
Reply
436 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @SeenFan ,

  So, your issue is resolved, right?

  Please do more long time testing, if it is really resolved, please let me know, and our expert Tim Wang who help you do the deep research also very concerned your cases, do you mind also tell us, what's the product you are design?

 

Best Regards,

Kerry

0 Kudos
Reply
784 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Seen,

We will do another test next week and update test result later.

Thanks for the patience.

best regards,

Mike

0 Kudos
Reply
848 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

I try to regenerate this issue with iphone, while looks like iphone could not recognize RT1160-EVK board as USB audio device.

I use a iMac PC works with RT1160-EVK board normally.

Hui_Ma_0-1686668126351.png

Could you show us how do you connect iphone with RT1160-EVK board?

If we need to install any APP to make USB device be recognized? Thanks.

best regards,

Mike

 

0 Kudos
Reply