• Welcome to ASR. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

RPi + CamillaDSP Tutorial

Yeah, I need to update the tutorial for V4.

Did you use the import config functionality with your old config? I think if you use that it should correct the sample format, but obviously I need to update my default configs to V4 formatting as well.

Michael
I tried that when updating from 3 to 4, but for some reason it did not work. I manually modified the files by error messages it gave. I cannot remember if there was any other than the format, but it didn't take to long
 
Does anyone have a source for the USB-C power / data splitter that works with the RPI 5? They seem to be eternally out of stock at the pi shop, plenty available for the PI 4 but I'm assuming those won't work. I've been using the PI 5 in USB gadget mode as this allows lossless streaming with Spotify.
 
Does anyone have a source for the USB-C power / data splitter that works with the RPI 5? They seem to be eternally out of stock at the pi shop, plenty available for the PI 4 but I'm assuming those won't work. I've been using the PI 5 in USB gadget mode as this allows lossless streaming with Spotify.
I use this one with my Pi 5:

 
Does anyone have a source for the USB-C power / data splitter that works with the RPI 5? They seem to be eternally out of stock at the pi shop, plenty available for the PI 4 but I'm assuming those won't work. I've been using the PI 5 in USB gadget mode as this allows lossless streaming with Spotify.

The splitters from Aliexpress work for me on a Pi5, search for USB Power Splitter for Raspberry Pi Board
 
Maybe the official one allows 5A while the generics don't? I understand that the rpi5 with its official charger uses a proprietary protocol to avoid the 3A limitation, but don't know the details. I power mine from the header to avoid those issues.
 
Maybe the official one allows 5A while the generics don't? I understand that the rpi5 with its official charger uses a proprietary protocol to avoid the 3A limitation, but don't know the details. I power mine from the header to avoid those issues.
When in doubt you can override the USB Power Limits in config.txt adding
usb_max_current_enable=1
 
When in doubt you can override the USB Power Limits in config.txt adding
usb_max_current_enable=1
Does that work when there is something between the official charger and the rpi? I don't know, it is a question. Take into account usb-pd does not allow more than 3A at 5V.
+ Wasn't that instruction to increase the current the RPI supplies via its USBs to peripherials?
 
Last edited:
Maybe the official one allows 5A while the generics don't? I understand that the rpi5 with its official charger uses a proprietary protocol to avoid the 3A limitation, but don't know the details. I power mine from the header to avoid those issues.

Cables rated for currents higher than 3A contain an e-Marker chip that indicates to the power adapter how much current the cable can safely handle.

Whether it matters depends on your use case. I am using my Pi 5 only to run CamillaDSP on Raspberry Pi OS Lite. My CPU usage stays less than 7% when using CamillaDSP, bouncing around mostly between 0.7% and 4.8%. It might go higher when doing an update, I have not checked, but I never have had a single issue with the generic splitter from Amazon. If you will be stressing your Pi 5 a lot more, maybe it will matter.
 
Cables rated for currents higher than 3A contain an e-Marker chip that indicates to the power adapter how much current the cable can safely handle.

Whether it matters depends on your use case. I am using my Pi 5 only to run CamillaDSP on Raspberry Pi OS Lite. My CPU usage stays less than 7% when using CamillaDSP, bouncing around mostly between 0.7% and 4.8%. It might go higher when doing an update, I have not checked, but I never have had a single issue with the generic splitter from Amazon. If you will be stressing your Pi 5 a lot more, maybe it will matter.
sure, if you dont plug crazy fans, HHDs and bus powered dacs you should be fine. But still, even if the cable is rated for 5A, at 5V, a emarked cable might only allow 3A as per USB-PD specs. 5A is reserved for higher voltages.
 
Does that work when there is something between the official charger and the rpi? I don't know, it is a question. Take into account usb-pd does not allow more than 3A at 5V.
+ Wasn't that instruction to increase the current the RPI supplies via its USBs to peripherials?
You are quite right!! That is for usb devices.
I confused it with this in the Raspberry Pi bootloader configuration
see https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#PSU_MAX_CURRENT
which you can set to 5000:

PSU_MAX_CURRENT​

Raspberry Pi 5 only.
If set, this property instructions the firmware to skip USB power-delivery negotiation and assume that it is connected to a power supply with the given current rating. Typically, this is either set to 3000 or 5000 for either a low- or high-current capable power supply.
Default: ""
 
  • Like
Reactions: MCH
That's the point isn't it? Special PSUs violate the standard to allow higher current?
 
  • Like
Reactions: MCH
Are you sure about that?

Yes, I am sure, that's why they made an specific power supply for raspberry pi 5 that does not follow the USB PD standard as I mentioned in my first post, and that's why I think a regular cable or adapter in the middle, if it is embarked, might not allow the 5A. But as said, I don't know, it is just my hypothesis, and if the cable/adapter is not embarked, it might work perfectly fine, or not,I have no idea how the communication between RPI charger and RPI works. Mine is just a message of awareness.

pag 43 of
Universal Serial Bus Power Delivery Specification
Release 3.2, Version 1.2
May 20, 2026


1782279222762.png
 
Last edited:
Yes, I am sure, that's why they made an specific power supply for raspberry pi 5 that does not follow the USB PD standard as I mentioned in my first post, and that's why I think a regular cable or adapter in the middle, if it is embarked, might not allow the 5A. But as said, I don't know, it is just my hypothesis, and if the cable/adapter is not embarked, itight work perfectly fine.

EDITED

Reading through the specification, 3A appears to be a minimum current for a rated power over 15W. Under Table 3.2 the maximum current is defined as:

• 5V, 9V, and 15V SPR Fixed PDOs
• PDO Maximum Current = Minimum( 3A, Port Present PDP ÷ Fixed PDO Voltage )

If the Port Present PDP is 25W and the Fixed PDO Voltage is 5V, the maximum current is 3A or 5A.


Also, using a Variable power data object (PDO) or a Battery PDO, higher current capacity is allowed. (Higher current capacity also is allowed for a Fixed PDO, but 3.2.5.1.4.a seemingly still limits 5V to the above calculation.)

Specifically, section 3.2.5.1 states the following:

________________________________________________________________________________________________________________________

In addition to the voltages and currents specified in Section 3.2.4, an SPR Source May Optionally supply additional voltages and increased currents.

While allowed, the use of Optional voltages and currents is strongly discouraged to avoid user confusion. Optional voltages or currents allow Sinks that might perform differently with a Source with an Optional voltage or current than with a Source with an equivalent Port Maximum PDP but without the Optional voltage or current.

The following are Requirements apply to Optional Fixed, Variable, and Battery PDOs:

...

4. A Source May offer a Variable PDO, a Battery PDO, or a higher Maximum Current in a Fixed PDO than that found in Table 3.1 and Table 3.2. The following Requirements apply:

...

c. A Source Shall Not Advertise a Maximum Current for a Variable PDO that would result in the maximum power for that PDO (Maximum Voltage × Maximum Current) exceeding the maximum power (1.05 × Voltage × Maximum Current) of the next higher voltage required Fixed PDO (5V, 9V, 15V, or 20V) as specified in Table 3.1 and Table 3.2. The 1.05 factor accounts for the ±5% voltage tolerance of Fixed PDOs.

d. A Source Shall Not Advertise a Maximum Power for a Battery PDO that would result in the maximum power for that PDO exceeding the maximum power (1.05 × Voltage × Maximum Current) of the next higher voltage required Fixed PDO (5V, 9V, 15V, or 20V) as specified in Table 3.1 and Table 3.2. The 1.05 factor accounts for the ±5% voltage tolerance of Fixed PDOs.

________________________________________________________________________________________________________________________

The next higher voltage following 5V is 9V. For 9V, let's make it easy and use the 3A minimum current instead of the 9V maximum current. 1.05 x 9 x 3 = 28.35W. 5V at 5A is 25W, which does not exceed 28.35W, and thus is acceptable.

All that being said, I doubt there is a suitable power supply other than the specific one offered and, if there is one, it probably is unique and very expensive. I think that is why there is a specific power supply for the Pi 5, but I don't see why it wouldn't comply with the USB PD - I don't know whether it does or doesn't.
 
Last edited:
EDITED

Reading through the specification, 3A appears to be a minimum current for a rated power over 15W. Under Table 3.2 the maximum current is defined as:

• 5V, 9V, and 15V SPR Fixed PDOs
• PDO Maximum Current = Minimum( 3A, Port Present PDP ÷ Fixed PDO Voltage )

If the Port Present PDP is 25W and the Fixed PDO Voltage is 5V, the maximum current is the minimum of 3A or 5A.


Also, using a Variable power data object (PDO) or a Battery PDO, higher current capacity is allowed. (Higher current capacity also is allowed for a Fixed PDO, but 3.2.5.1.4.a seemingly still limits 5V to the above calculation.)

Specifically, section 3.2.5.1 states the following:

________________________________________________________________________________________________________________________

In addition to the voltages and currents specified in Section 3.2.4, an SPR Source May Optionally supply additional voltages and increased currents.

While allowed, the use of Optional voltages and currents is strongly discouraged to avoid user confusion. Optional voltages or currents allow Sinks that might perform differently with a Source with an Optional voltage or current than with a Source with an equivalent Port Maximum PDP but without the Optional voltage or current.

The following are Requirements apply to Optional Fixed, Variable, and Battery PDOs:

...

4. A Source May offer a Variable PDO, a Battery PDO, or a higher Maximum Current in a Fixed PDO than that found in Table 3.1 and Table 3.2. The following Requirements apply:

...

c. A Source Shall Not Advertise a Maximum Current for a Variable PDO that would result in the maximum power for that PDO (Maximum Voltage × Maximum Current) exceeding the maximum power (1.05 × Voltage × Maximum Current) of the next higher voltage required Fixed PDO (5V, 9V, 15V, or 20V) as specified in Table 3.1 and Table 3.2. The 1.05 factor accounts for the ±5% voltage tolerance of Fixed PDOs.

________________________________________________________________________________________________________________________

The next higher voltage following 5V is 9V. For 9V, let's make it easy and use the 3A minimum current instead of the 9V maximum current. 1.05 x 9 x 3 = 28.35W. 5V at 5A is 25W, which does not exceed 28.35W, and thus is acceptable.

All that being said, I doubt there is a suitable power supply other than the specific one offered and, if there is one, it probably is unique and very expensive. I think that is why there is a specific power supply for the Pi 5, but I don't see why it wouldn't comply with the USB PD - I don't know whether it does or doesn't.
You are right, thanks. The question remains if a cable or adapter in between, especially if emarked, will allow the 5V 5A mode. Regarding USB PSUs that provide 5V 5A besides the official one, when I checked a couple of years ago I could find none.
 
Last edited:
Guys, those are all valid reasons to choose smaller power SKU. RPi 4B requires less power and heats up less. Zero 2 draws only a Watt (5 V, <200 mA), but has micro USB ports (works with adapter to USB-C, I'm using that right now) and basically supports only a HAT because there are no USB host ports. If you go with this, be sure to get one with GPIO header pins (WH variant). Both can do millions of taps.

If you insist using 5B, there are config.txt configurations that allow to reduce power draw, like disabling hardware features (GPU, HDMI, onboard audio, leds, Ethernet or Wifi, USB ports, if you are using it headless, you have plenty to save on) and also disable Linux services that are not needed (saves on bootup time too). You could disable a couple of CPU cores for starters and maybe underclock and drop voltages (RPi OS has automatic underclocking, but to reduce peaks, you should do something). I tried them, but they made my 4B system unstable at times. I think I posted on this thread previously. I ended up using a stock Zero 2 W instead, no power problems at all.

I have tried power splitter from Amazon, but that required also a funny USB cable (male A to male A) and I put a power blocker to data line (my splitter shares power to data) to be sure that power isn't pushed where it shouldn't (like 2 power sources pushing onto the same line). I also got myself one of those USB power testers, that's very handy, almost necessary, if you work with USB devices and their power budget. That will tell you how many amps your device is drawing so you need not guess.
 
Last edited:
Hello guys i have an little Problem with using 2 HDMI on RPI 4 at once on MOODE

I use an Intel Platform for CamillaDSP with an RME HDSPe AES Card and build an RPI 4 into the same Enclosure with Power connected to PC PSU 5V Line Display at PSU 12V Line

Display is an 16,2" 2608x720 Pixel with Touch.

https://www.amazon.de/dp/B0GL2DPKQM?ref=ppx_pop_dt_b_asin_title&th=1

If i used it only on HDMI 0 it works perfect and Moode detected it with the right Resolution and i don't needed to change anything on RPI Config.txt.
Also the Touch works fine.

After i setuped on Moode the Audio to HDMI 2 (RPI HDMI 1) with an HDMI to 7.1 I2S (Aliexpress PCB) mentioned here already some Time ago.

The Screen on HDMI 1 (RPI HDMI 0) will not be detected anymore with the right Resolution.

The Screen is using only the left Half of it and Moode detected it as an 4k(3xxx) x 720 Display and not as nativ 2608x720 anymore.

I tried some Google AI sugestions for the config.txt on RPI but was not helping right now!

I guess it has something to do with the Resolution on that HDMI to I2S DYI PCB because HDMI has always an Videostreem on it even if you are useing Audio only.

Tried to find some Info on different Forum but was not Helping me.

Fist thing is always use HDMI 0 for Display with or without Audio and always use HDMI 1 for Audio only and connect Display on HDMI 0 like i did!

Any suggestions?

My Project dokumention is here:

https://www.diyaudio.com/community/...or-full-surround-digital-aktive-setup.440807/

If i can't geting it running on RPI 4 like it should i could still use it on the Intel Platform with CamillaDSP and open Moode there with Webconnection so i could see both at once CamillaDSP and Moode ;) So i don't need to use the TV for Musik streeming.
 
Last edited:
Back
Top Bottom