Interfacing I2S/SPI to USB - diyAudio
Go Back   Home > Forums > Source & Line > PC Based

PC Based Computer music servers, crossovers, and equalization

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 3rd December 2009, 01:32 AM   #1
fatspan is offline fatspan  United Kingdom
diyAudio Member
 
Join Date: Dec 2009
Default Interfacing I2S/SPI to USB

Hi

I am currently working on a USB signal acquisition module which has to be able to have at least two input and two output channels. I am working under the assumption that I will need ADC's, DAC's and a USB interfacing chip. So far I have found that the majority of data converters in the high quality 24 bit sampling region use I2S bus. I was wandering if anyone knew how these data converters normally communicate with PC's. I currently have access to a USB interface with SPI and UART ports, although I am finding it hard to find a DAC with an SPI data port.

Just wandering if anyone knows the norm for this kind of system?

Any help greatly appreciated

Dan
  Reply With Quote
Old 3rd December 2009, 02:21 AM   #2
diyAudio Moderator Emeritus
 
Iain McNeill's Avatar
 
Join Date: Oct 2007
Location: Santa Cruz, California
Micronas has a wide range of USB ADC/DAC's I would guess TI and AD do also.

Failing that, you need to set up a buffer and then serial stream the data out onto I2S. Buffer management is the problem with USB. Are you using isochronous USB or bulk?
  Reply With Quote
Old 3rd December 2009, 05:24 PM   #3
fatspan is offline fatspan  United Kingdom
diyAudio Member
 
Join Date: Dec 2009
Hey
Thanks for the swift reply, I'm having trouble locating any kind of product list from Micronas, would it be possible to post a link maybe, I only came across their MAP-M device which does have many nice features but no USB connectivity.

As for streaming the data onto I2S I'm not sure I quite understand your point. The USB interface that I have can communicate only via SPI or UART (or I2C but I understand that this is even more useless for this application) I think this is synchronous communication but I could be wrong....

Analog and TI certainly have a wide range of A/D's but anything near audio quality seems to use this I2S format which I can't find out how to interface with USB.
I did find a suitable A/D from Analog which uses SPI (AD7764) but there is no equivalent quality D/A.

Thanks again for the help

Dan
  Reply With Quote
Old 3rd December 2009, 11:07 PM   #4
star882 is offline star882  United States
diyAudio Member
 
star882's Avatar
 
Join Date: Mar 2007
Use a small CPLD or FPGA to convert SPI to I2S.
__________________
"Fully on MOSFET = closed switch, Fully off MOSFET = open switch, Half on MOSFET = poor imitation of Tiffany Yep." - also applies to IGBTs!
  Reply With Quote
Old 4th December 2009, 06:30 AM   #5
gooki is offline gooki  New Zealand
diyAudio Member
 
Join Date: Dec 2008
Quote:
Originally Posted by fatspan View Post
Analog and TI certainly have a wide range of A/D's but anything near audio quality seems to use this I2S format which I can't find out how to interface with USB.
CMedia has sound chips that will interface between USB and I2S in/out.
  Reply With Quote
Old 8th December 2009, 10:22 PM   #6
diyAudio Member
 
Join Date: Jan 2008
Search TI's site for USB Streaming Controllers.
  Reply With Quote
Old 9th December 2009, 12:37 AM   #7
fatspan is offline fatspan  United Kingdom
diyAudio Member
 
Join Date: Dec 2009
Thank you everyone for your suggestions. I have researched into the FPGA, CPLD approach although I'm thinking it might be a little out of my skill rang, I know a little VHDL but I don't know how far this will get me and I also noticed Altera have posted a solution with their Max II CPLDs. As for Cmedia, that was a very helpful find, although I'm thinking the sound quality of the devices may be a little low for my needs.
Can anyone suggest a suitable CPLD/FPGA that would be able to be programmed to give me multiple channels to convert I2S to SPI, so basically for example 4 I2S bus in and 4 SPI out, all independent?
Thanks again evryone
Dan
  Reply With Quote

Reply


Hide 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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
24 bit ADC interfacing with ARM using I2S sukhdeep Digital Line Level 2 20th June 2009 03:37 PM
Interfacing the I2S bus to an Atmel Daryl Digital Line Level 15 25th January 2009 09:39 AM
3.3v to 5v CMOS interfacing Zodiac Digital Source 9 15th May 2006 10:11 PM
PCM1733 Interfacing poynton Digital Source 6 3rd February 2006 06:29 PM
Interfacing to TDA1543A Ian Wilson Parts 0 13th November 2004 09:17 PM


New To Site? Need Help?

All times are GMT. The time now is 08:01 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2