Page 1 of 1

MACBOOK USB C not detect audio device

Posted: Fri Oct 28, 2022 2:06 pm
by mmar
We use cable USB C to USB B (tested more types and length) and found new issue on MACBOOK Air (Core2 and M1 tested).
Xmos usb audio device isnt detected if:

1. DAC USB B is connected first, MAC USB C is connected second Result no audio device. Ofcourse oposite order works ok.
2. XS1 U8 all lib xud tested v 2.3.2 2.4.1 2.6.1 same result (bus powered device)
3. XS2 XUF208 all tested but here only 2.6.1 have issue (self powered device)
4. XUF216 lib 2.6.1 no issue (self powered)

Any info appr...

Re: MACBOOK USB C not detect audio device

Posted: Sun Nov 06, 2022 9:59 am
by mmar
FYI fixed with SELF POWERED define 0 1

Re: MACBOOK USB C not detect audio device

Posted: Tue Nov 08, 2022 4:26 pm
by Ross
Thanks for the update. SELF_POWERED will cause the xCORE to wait for vBus to be present before asserting it's pull up, this is important for compliance. For bus-powered devices this is not required since the xCORE is not on if there is no vBus... This setting just allows some BOM optimisations for bus-powered devices (don't have to wire up xCORE vBus and have to protect from bad vBus voltages etc).

Note, this is handle differently in xCORE.ai where a regular IO is used for vBUS detect with some external components (xCORE.ai USB phy doesn't have a vBUS comparator)

Re: MACBOOK USB C not detect audio device

Posted: Wed Nov 09, 2022 7:30 pm
by mmar
Thanks Ross, all this not explain why
1. DAC USB B is connected first, MAC USB C is connected second Result no audio device. Ofcourse oposite order works ok.