Go Back   Home > Forums > >

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

CM6631 usb audio interface .... any good?
CM6631 usb audio interface .... any good?
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
Old 11th March 2018, 07:02 PM   #641
MisterJones is offline MisterJones  United States
diyAudio Member
 
Join Date: Mar 2018
Location: Dallas Tx
CM6631 usb audio interface .... any good?
Default Firmware; Specific C_Media

Using C-Media has been a task. Even as a manufacturer I find information is faster through forums than through company channels. Is odd with them as this is not international secrets. Unlike Texas Instruments where all the information is almost spoon fed to you.

I am using the 6500 seriesand I am pretty sure the 6600 series is the same.
To produce loadable code I have found;

The majority of C-Media code process requires (yes) you find/ beg/ borrow/ use Keil compiler. C-Media does not support in it. They're base code is written using strictly Keil ops.

USE the provided or write one; Command line option MAKE FILE with all the compiler and linker options written in. Do not try to use the Keil HUI here. It is a lot of wasted time.

At the end of the MAKE file add the conversion for the HEX file to BIN with the distributed Hex2Ron.exe released.

Now; Sending the bin file. You have to use the EEProm either on board or external to I2C pins. Make sure your EEProm is larger than your file. There is a program loader that will send the file to the 6600 series. It writes to the EEProm. Then on "SAVE" moves the code to ROM.

Reboot, Test it, then play.

The EEProm is a good thing to have for memory storage of user based attributes too. It's cheap and easy to work with. Weather your using a home built board or (as we do) have several of the prototyping units, put a 256k chip on it. 8c memory beats days of lost time.

Paul
  Reply With Quote
Old 12th March 2018, 02:29 AM   #642
IVX is offline IVX  Ukraine
diyAudio Member
 
IVX's Avatar
 
Join Date: Jul 2003
Location: south of China
Oh man, Ti's staff are craze relaxed today as well. Check the tas5558 topic in their engineering zone, where people complains about tonnes mistakes in the tas5558.pdf since 2012 or so. And if you'll download that tas5558.pdf today, you'll still see the main schematic with tas5548 and Xtal, instead of tas5558 with 18k resistor. 5 years the same mistake!
I2C Problem with TAS5558 - Audio Amplifiers Forum - Audio Amplifiers - TI E2E Community
__________________
Let's do smth nearly impossible!
E1.
  Reply With Quote
Old 12th March 2018, 05:03 AM   #643
MisterJones is offline MisterJones  United States
diyAudio Member
 
Join Date: Mar 2018
Location: Dallas Tx
CM6631 usb audio interface .... any good?
Default TAS lookup? Why?

I have enough on my plate right now. If there are that many engineering and documentations issues. And you have already found them. And your telling me about them? all I can say is

THANK YOU!!!! You are KING in my book.

You saved me a lot of head ache. I hope I can reciprocate some.

Paul
  Reply With Quote
Old 12th March 2018, 06:02 AM   #644
IVX is offline IVX  Ukraine
diyAudio Member
 
IVX's Avatar
 
Join Date: Jul 2003
Location: south of China
Paul, u mean your current project is also about tas5558? I've replaced 5 or 6 pcs 5558 on my proto before realized, that problem is I2C ready time delay )) Ti claimed 5mS after RST, of course I set 20 times longer delay just in case, however, all 5pcs of 5558 didn't communicate with my MCU(cc2540). Only when I set that delay to 300-500mS, I noticed the acknowledge )) Yep, I'm stupid or rather my hands are much faster than my head, that's why I threw out 5pcs of tas5558
__________________
Let's do smth nearly impossible!
E1.
  Reply With Quote
Old 12th March 2018, 07:06 AM   #645
MisterJones is offline MisterJones  United States
diyAudio Member
 
Join Date: Mar 2018
Location: Dallas Tx
CM6631 usb audio interface .... any good?
It looks great. Without knowing the parts involved my first thought is how you arrived with minimal components. Also curious as to what PCB Cad you are using (?). I have been looking at upgrading our older build software.

About C-Media, as we have discussed; they are slow in delivery of information. I have found they do not answer calls from the US unless they have an English speaking person available. All that makes sense. My Chinese is a bit rusty and my friends tell me I sound like "Help! I am lost searching for a dead car". Linguistics; Go figure. I work with Taiwan, Shenzhen and Huizhou. Some have better English than Mine. I am in Texas.
  Reply With Quote
Old 12th March 2018, 07:52 AM   #646
tdtsai is offline tdtsai  Taiwan
diyAudio Member
 
Join Date: Feb 2011
Hi
I am very sorry to hear this about support of C-Media is very slow, by the way if you use CM6631A or CM6632A you can get firmware source code to develop your own firmware. It also include some doc to address it. The firmware source code is in follow URL:
Dropbox - CM6631A SDK
It contain some doc to guide you how the firmware work.
First you should read "CM66xx-A Source Code Programming Guide.doc", it guide you how to build firmware and how to customize it for your device.
second you should read "CM66xx-A Register Spec_1.0.doc" and compare to the source code then you can know how to operate those register.
If you just want to use I2C slave to communicate with external MCU, then you should read "CM66xx-A USB DAC I2C Slave Spec.doc" in folder "6631A_6632A_UsbDAC".
The reference design schematic of CM6631A and CM6632A is in follow URL:
Dropbox - CM6631A SDK
Dropbox - CM6631A SDK
The firmware update tools you can find in follow URL:
CM6631 usb audio interface .... any good?
The firmware configuration tool you can find in follow URL:
CM6631 usb audio interface .... any good?
I hope those information can help you guys.

Quote:
Originally Posted by neptunes4you View Post
Wow, this looks good. Had the same experience with CMEDIA, the support team is very slow, and they never ever answer my questions properly.

Did you build this? How is it that you have left the microcontroller connected to the I2C out from the design?
  Reply With Quote
Old 12th March 2018, 08:23 AM   #647
IVX is offline IVX  Ukraine
diyAudio Member
 
IVX's Avatar
 
Join Date: Jul 2003
Location: south of China
tdtsai, I just curious, is there any reason to not upload simply all info about products on Don Waldron's Home Page What they afraid for? If someone in china will copy a secret weapon 8051, and the cost will drop from $5 to $0.3? Is that strategy is profitable, or ..?
PS: cmedia didn't tell me anything when I asked more details regarding their products. However, after couple months some cmedia distributor from SHZ(Pantek) called me and recommended to replace 6631A for 6642, and they sent to me 6642.pdf, from where I realized that IC has no I2S )) Totally at this morning I have 10 emails with pantek and 4 with cmedia but I still got zero info or help or prices/lead time. Is this what we can call a support yet?
__________________
Let's do smth nearly impossible!
E1.
  Reply With Quote
Old 12th March 2018, 09:18 AM   #648
tdtsai is offline tdtsai  Taiwan
diyAudio Member
 
Join Date: Feb 2011
Hi IVX:
I am sorry I don't know how to answer your question. Because I am not in charge this. I am software engineer in charge in Windows, Mac and Linux driver develop. My team also write some tools for USB devices. I want to make website to help anyone who interested CM6631A or CM6632A develop their own firmware, but it was rejected by C-Media PM. C-Media PM just say this is strategy
By the way if you need I2S you should use CM6631A or CM6645. The CM6645 has one I2S for playback or recording.

Last edited by tdtsai; 12th March 2018 at 09:25 AM.
  Reply With Quote
Old 12th March 2018, 10:26 AM   #649
IVX is offline IVX  Ukraine
diyAudio Member
 
IVX's Avatar
 
Join Date: Jul 2003
Location: south of China
Right, I asked Cmedia's distributors give me 6645 docs. About the strategy, well, hard to believe if it is better than way used Ti, ST, AD, and others big companies, which promotes their new products very actively. Probably the reason is technology level, in fact 6631 it is maybe more about SW(your drivers), than HW(8051+DMA and state machine, and even flash is external, like original DISCO 8051 from 1980). Anyway, thank you for your stuff.
__________________
Let's do smth nearly impossible!
E1.
  Reply With Quote
Old 12th March 2018, 11:01 AM   #650
Kuba_eM is offline Kuba_eM  Poland
diyAudio Member
 
Kuba_eM's Avatar
 
Join Date: Jun 2004
Location: Warsaw
Dear tdtsai, regarding the firmware configuration tool: do you have a simple tool that in the same device can also configure line-in parameters in addition to the output? I'm familiar with the source code you have made available but a simple tool for generating a comprehensive firmware would be very useful.
__________________
Best regards,
Kuba
  Reply With Quote

Reply


CM6631 usb audio interface .... any good?Hide this!Advertise here!
Thread Tools

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
USB Audio Interface oodi Digital Source 6 30th December 2011 08:59 PM
usb audio interface david12 Equipment & Tools 14 10th October 2010 03:58 AM
Recommendation on good USB-SPDIF interface? kop89 Digital Source 13 2nd August 2008 08:51 AM
Cheap Audio Interface (USB?) to PC agm2003 Instruments and Amps 11 16th September 2007 08:48 AM
USB Interface Perfect?- Computer Audio fmak Digital Source 3 4th December 2004 11:24 PM


New To Site? Need Help?

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


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