USB audio battery powered device

Discussions about USB Audio on XMOS devices
Audma_lm
Member
Posts: 9
Joined: Thu Oct 05, 2023 3:14 pm

USB audio battery powered device

Post by Audma_lm »

Hi everyone,

We're developing a device that will use XMOS XU316 running usb audio library.
This device will be powered by battery and should be able to charge using FAST CHARGE (up to 15watt) while streaming music.
There's any example/documentation regarding this kind of device?

Thanks.

Best regards.
vladimir593
Member++
Posts: 20
Joined: Tue Dec 12, 2023 11:33 pm

Post by vladimir593 »

Hi,

For charging you need a few things:
Battery controller, USB-C controller, and protection circuit.
to stream music while charging you should make two USB ports - one for charging and one for streaming.
For PD charging you can take FUSB302B ic. For anything else google "USB power delivery circuit" or "battery charging circuit" etc.

all information about reset, USB, and powering of Xmos can be found in the datasheet for your Xmos ic.

Best regards,
Vladimir
Audma_lm
Member
Posts: 9
Joined: Thu Oct 05, 2023 3:14 pm

Post by Audma_lm »

Using USB-TYPE C isn't possible to stream music while charging with a single usb port?
Does the charger use D+/-?