Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Digital Line Level DACs, Digital Crossovers, Equalizers, etc.

Raspberry PI ZERO as USB to I2S Bridge
Raspberry PI ZERO as USB to I2S Bridge
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 28th December 2017, 01:51 PM   #1
JayShoe is offline JayShoe  United States
diyAudio Member
 
Join Date: Oct 2011
Default Raspberry PI ZERO as USB to I2S Bridge

Hello,

Has anyone successfully turned the Raspberry Pi Zero into a USB to I2S Bridge? It most certainly has all the right hardware components to do it. One of the two USB ports can be a USB OTG, and Linux can be configured to be a "Gadget" so that it would be a USB Audio Device.

There is a very interesting article about linux gadgets and ConfigFS (the new "gadget" framework) here: Raspberry Pi Zero as Multiple USB Gadgets << irq5.io

My goal is to use this to send USB Audio signals to the PiDSP... I've posted about this in other threads but I think this warrants a discussion. Any thoughts?

Jay
  Reply With Quote
Old 28th December 2017, 02:18 PM   #2
alonper is offline alonper  Israel
diyAudio Member
 
Join Date: Aug 2013
Hi Jay!

I think that link may help you
http://www.peteronion.org.uk/I2S/
I2S Success (at last) ! - Raspberry Pi Forums
Indeed thats not the Pi Zero but I think that we can learn from that project..

BTW I will be happy to collaborate with you,
I am tyring to create a tiny USB-I2S board to operate as a sound card that receives 4 instruments input (high impedance) and stream them to the PC...
So for that point i was just looking for a USB-I2S gate to interface with some ADC,Currently I have the Sparkfun PCM1803A breakout..
  Reply With Quote
Old 31st December 2017, 10:18 PM   #3
JayShoe is offline JayShoe  United States
diyAudio Member
 
Join Date: Oct 2011
I think that these are helpful for this.

Linux USB gadget configured through configfs


Kernel USB Gadget Configfs Interface by Matt Porter at Linaro
  Reply With Quote
Old 21st July 2018, 04:06 AM   #4
JayShoe is offline JayShoe  United States
diyAudio Member
 
Join Date: Oct 2011
FYI, this is possible as described here.

lucadentella.it – Raspberry Pi Zero, audio output via I2S

And here
YouTube
  Reply With Quote
Old 21st July 2018, 05:17 AM   #5
DRONE7 is offline DRONE7  New Zealand
diyAudio Member
 
Join Date: Aug 2008
@JayShoe Your links describe a Pi as a player via i2s....yep..they can all do it...easy.

What the o/p wants is a Pi that emulates a usb to i2s bridge.
An xmos or amanero substitute.

Totally different fettle of kish...
  Reply With Quote
Old 21st July 2018, 05:40 AM   #6
JMF11 is offline JMF11  France
diyAudio Member
 
Join Date: Dec 2013
For your interest, a different possible hardware are the stm32 nucleo controller boards. They have USB is, multi I2S or SPDIF out...



I did that (with some DSP filtering) in that project Can low jitter be achieved with STM32 microcontroller


For me, this is a quite good hardware for that task



JMF
  Reply With Quote
Old 22nd July 2018, 02:01 AM   #7
JayShoe is offline JayShoe  United States
diyAudio Member
 
Join Date: Oct 2011
Quote:
@JayShoe Your links describe a Pi as a player via i2s....yep..they can all do it...easy.

What the o/p wants is a Pi that emulates a usb to i2s bridge.
An xmos or amanero substitute.

Totally different fettle of kish...
Lol, I'm the original poster and I just didn't catch the fact that it wasn't to my spec. Yes I'm looking for a "USB Device". This is just playing music on the device itself...

Quote:
For your interest, a different possible hardware are the stm32 nucleo controller boards. They have USB is, multi I2S or SPDIF out...
I might have to revisit that in the near future. My original intention was to connect the PI Zero to a PiDSP from FreeDSP. The PiZero would be control/usbaudio, and the PiDSP would... DSP. I also had looked into the STM32 NucleoF767ZI development board. In fact, I have one on my desk. I might have to look into Audio Weaver again.

At this point in time what is working for me is the Teensy Audio Bridge Concept. It's much more open than Audio Weaver - which scarred me away with exorbitant commitments.

Last edited by JayShoe; 22nd July 2018 at 02:03 AM.
  Reply With Quote
Old 22nd July 2018, 06:47 AM   #8
JMF11 is offline JMF11  France
diyAudio Member
 
Join Date: Dec 2013
Hi,

I see that you have done your homework extensively. STm32 is a really good platform with their many audio digital ouputs. Nucleo boards are cool because they expose all pins. I didn't digged Audioweaver deep as it was not free at that time. So great prower, but bare metal: you have to code everything on your own.


JMF
  Reply With Quote

Reply


Raspberry PI ZERO as USB to I2S BridgeHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Full-bridge vs half-bridge Class D amplifier? eem2am Class D 10 28th October 2011 05:02 PM
Reopening an unfinished debate: Dual bridge vs. Single Bridge xiphmont Chip Amps 15 26th February 2008 07:22 PM
The difference of Push-pull,Half-bridge,Full-bridge digi01 Chip Amps 0 8th September 2006 02:10 AM
Whats the difference between full bridge and half-bridge SMPS ? skaara Class D 6 3rd February 2005 07:23 PM


New To Site? Need Help?

All times are GMT. The time now is 06:11 PM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.79%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
Copyright ©1999-2019 diyAudio
Wiki