nxp-mcuxpresso/mcux-sdk

[BUG] evkbmimxrt1170_dev_composite_hid_audio_unified_freertos_cm7 works in 2.14, does not work in 2.15

Opened this issue · 3 comments

Describe the bug
with 2.14, this example just works
with 2.15, the device appears on usb as an audio device, and apps can play to it, but no sound

To Reproduce
try the example in 2.14 and 2.15 and listen to the headphone output.

  • Environment (please complete the following information):
    vscode on mac m silicon, rt1170 evkb

Additional context
I did a folder compare and even pushed every difference in the .h and .c files from 2.14 onto 2.15. even all the other files (build related) were ensured to be the same aside from path differences as files were reorganized from sdk 2.14 to 2.15
Because of this, I believe the issue lies in the sdk, not in the example, not clear to me yet where.

Thanks for reporting this, already forwarded to development team for check. Appreciate your patience since reply could be delayed.

Hi @orlyprofili,
Something need to confirm with you.

  1. Do you have any code change for dev_composite_hid_audio_unified_freertos demo in SDK?
  2. Which host do you use? Do you try to test this case under different USB host?
  3. Which toolchain do you use? MCUXpresso or IAR?

@AidenHu

  • take example as is

  • same result in macos and linux

  • vscode+mcux extension+cmake

  • to test this problem:

    • west update to 2.14 and get the mentioned example. you will hear audio in the headphone jack of the rt1170 evkb
    • west update to 2.15, 2.16 or main and you will not hear audio
    • in all cases, the device will enumerate
    • it doesn't matter if you delete the example and get fresh when you switch sdk, except for a spelling error issue in 2.14. the result is the same

Aside: it seems debugging the multicore RT MCU with vscode is quite awkward with vscode, is there any documentation or guidance for debugging across cores?