Hi to you all.
This is my first post but the last two years I got a lot of information from DIYAudio.
I am working to a project I call " DΣPino" and it is a modular design around the ADAU1701 DSP. It will be released as an open project when it will be ready but if anyone is interested I can give you the progress so far.
Using an CM6631A board from ebay and the CM6631A Configuration Tool , I manage to feed I2S data in to the DSP , and it works fine , but now , as I design my own hardware, I would like to go further .
So,
A) I would like to use both I2S output channels of CM6631A.
B) I would like to use also the I2S input channels of CM6631A if its possible.
I know that the A is doable , but i didn't find any info about how to do it.
I didn't find anything about B.
I believe that the CM6631A firmware framework is the answer but how can I get it ?
I will appreciate any help and information
Thanks
This is my first post but the last two years I got a lot of information from DIYAudio.
I am working to a project I call " DΣPino" and it is a modular design around the ADAU1701 DSP. It will be released as an open project when it will be ready but if anyone is interested I can give you the progress so far.
Using an CM6631A board from ebay and the CM6631A Configuration Tool , I manage to feed I2S data in to the DSP , and it works fine , but now , as I design my own hardware, I would like to go further .
So,
A) I would like to use both I2S output channels of CM6631A.
B) I would like to use also the I2S input channels of CM6631A if its possible.
I know that the A is doable , but i didn't find any info about how to do it.
I didn't find anything about B.
I believe that the CM6631A firmware framework is the answer but how can I get it ?
I will appreciate any help and information
Thanks
I have this board LJ CM6631A V 1.3 Digital interface USB to I2S / SPDIF 24bit/192kHz - Audiophonics with 45/49 crystal pairs. I think I have to replace them by 22/24 but I'm not sure.
http://www.audiophonics.fr/en/inter...face-usb-to-i2s-spdif-24bit192khz-p-8272.html
http://www.audiophonics.fr/en/inter...face-usb-to-i2s-spdif-24bit192khz-p-8272.html
You don't need to replace anything. I am using the same board .
If i understand correct you have troubles with the master clock frequency.
If that's the problem then you have two options.
A. If you know the master clock frequency of the CM6631A (depends of the firmware you use) then you need to set the PLLMODE0 and PLLMODE1 pins of the ADAU1701.
see here for details
https://ez.analog.com/docs/DOC-3167
B. If your are not able to change the PLLMODE0 and PLLMODE1 pins at your ADAU1701 board , then find out the state they are . That will show you the master clock frequency that the ADAU1701 expect . (Logically it will be the frequency of the ADAU1701 board's crystal. )
Then you can use the CM6631A Firmware Configuration Tool to generate a firmware with the master clock frequency you need.
CM6631A Firmware Configuration Tool:
http://www.diyaudio.com/forums/digital-line-level/217764-cm6631-usb-audio-interface-any-good-46.html
CM6631A FW Update Tool:
http://www.diyaudio.com/forums/digital-line-level/217764-cm6631-usb-audio-interface-any-good-22.html
If you need more help please let me know. also i need to know the ADAU1701 board you use.
Good Luck !
If i understand correct you have troubles with the master clock frequency.
If that's the problem then you have two options.
A. If you know the master clock frequency of the CM6631A (depends of the firmware you use) then you need to set the PLLMODE0 and PLLMODE1 pins of the ADAU1701.
see here for details
https://ez.analog.com/docs/DOC-3167
B. If your are not able to change the PLLMODE0 and PLLMODE1 pins at your ADAU1701 board , then find out the state they are . That will show you the master clock frequency that the ADAU1701 expect . (Logically it will be the frequency of the ADAU1701 board's crystal. )
Then you can use the CM6631A Firmware Configuration Tool to generate a firmware with the master clock frequency you need.
CM6631A Firmware Configuration Tool:
http://www.diyaudio.com/forums/digital-line-level/217764-cm6631-usb-audio-interface-any-good-46.html
CM6631A FW Update Tool:
http://www.diyaudio.com/forums/digital-line-level/217764-cm6631-usb-audio-interface-any-good-22.html
If you need more help please let me know. also i need to know the ADAU1701 board you use.
Good Luck !
B) I would like to use also the I2S input channels of CM6631A if its possible.
Did you get any information?
These Chinese boards do not have the i2s input pins exposed.
So we have to make our own pcb.
But the main question is: Just using the firmware configurator setting for i2s is enough? Or would it require a fully customized firmware?
I find nothing about it.
Unfortunately i don't have any additional info.
I am pretty sure that the firmware configurator is not enough because the driver don't show any audio inputs on the sound configuration panel of Windows.
What i did, is that i designed a PCB with all I2S I/O available so i will test the I2S outputs with the firmware configurator and then i will see what i can do with the inputs.
I can send you the schematics and pcb of my design if you want ( it will published as part as the DSPino open project when it's ready ) but it has not been tested yet.
I hope i will manage to test it in the next 5-6 weeks if you can wait .
I am pretty sure that the firmware configurator is not enough because the driver don't show any audio inputs on the sound configuration panel of Windows.
What i did, is that i designed a PCB with all I2S I/O available so i will test the I2S outputs with the firmware configurator and then i will see what i can do with the inputs.
I can send you the schematics and pcb of my design if you want ( it will published as part as the DSPino open project when it's ready ) but it has not been tested yet.
I hope i will manage to test it in the next 5-6 weeks if you can wait .
A plate with all the necessary pins is available:
Buy CM6631/6631 a fully functional daughter card USB interface of HiFi DAC ADC SPDIF MIDI, 384 100% New Free Shipping from madeinchina wholesaler on ShopMadeInChina
or price 2x more on ebay.
I wonder if the flash is already programmed and both i2s in and i2s out is active and will be "visible" in operational system
Buy CM6631/6631 a fully functional daughter card USB interface of HiFi DAC ADC SPDIF MIDI, 384 100% New Free Shipping from madeinchina wholesaler on ShopMadeInChina
or price 2x more on ebay.
I wonder if the flash is already programmed and both i2s in and i2s out is active and will be "visible" in operational system
I am pretty sure that the firmware configurator is not enough because the driver don't show any audio inputs on the sound configuration panel of Windows.
So we have a big problem, depending on a custom firmware.
I can send you the schematics and pcb of my design if you want ( it will published as part as the DSPino open project when it's ready ) but it has not been tested yet.
I hope i will manage to test it in the next 5-6 weeks if you can wait .
Nice! This would save a lot of time by developing layout.
Yep, I'll keep following!
I wonder if the flash is already programmed and both i2s in and i2s out is active and will be "visible" in operational system
There really is not much information.
With XMOS it is already found more easily. miniDSP - USBStreamer Kit.
This does provide firmware as well as the necessary drivers for Windows.
But I think it's expensive ... $95
Is there any DAC or kit with CM6632A except SMSL..I've been using the CM6632A
I've been using the CM6632A on a couple of my 8ch SSM3582 amps. I can possibly expose all pins on a little card if you wish?
Do you have firmware and driver that enables all the features of the CM6632A?
If you want to develop you own firmware for customize. You can find firmware code in below URL:
Dropbox - CM6631A SDK
You can write firmware for CM6631A and CM6632A.
Dropbox - CM6631A SDK
You can write firmware for CM6631A and CM6632A.
So we have a big problem, depending on a custom firmware.
Nice! This would save a lot of time by developing layout.
Yep, I'll keep following!
There really is not much information.
With XMOS it is already found more easily. miniDSP - USBStreamer Kit.
This does provide firmware as well as the necessary drivers for Windows.
But I think it's expensive ... $95
What firmware feature and driver feature you need?
Do you have firmware and driver that enables all the features of the CM6632A?
What firmware feature and driver feature you need?
Dear tdtsai , the SDK that you published above is exactly what I need. Thank you so mach!!!!!!!!!
What firmware feature and driver feature you need?
is there any free compiler that i can use to compile the SDK's source code? the Keil uVision evaluation version can compile only 2Kb of code...
Hi
Sorry the project only can compile by Keil C. I try to rewrite it by use SDCC but still in plan stage. I have no time to do it.
Sorry the project only can compile by Keil C. I try to rewrite it by use SDCC but still in plan stage. I have no time to do it.
is there any free compiler that i can use to compile the SDK's source code? the Keil uVision evaluation version can compile only 2Kb of code...
Hi
Sorry the project only can compile by Keil C. I try to rewrite it by use SDCC but still in plan stage. I have no time to do it.
thanks tdtsai
The problem with the compiler Keil C was solved in a "irregular way" (if someone wants help with the compiler Keil C can send me a PM) I have some problems with the build ... I will see it again tomorrow. I want to ask, should we be "discreet" with the SDK ? or we can start a thread for support
CM6510B reference firmware SDK
Hello tdtsai,
thanx for the effort to improve Cmedia usefulness on different use-cases.
me, i'm using a different chip anyway, a CM6510B. could you provide also the SDK for it too?
this is my use case: i'm using it as "USB to Analog Audio" converter, but the default binary FW i found exposes, on the USB side, the descriptors for LineOut and both Mic and LineIn and i would like to trim the former, because i'm just using LineIn & LineOut.
Hello tdtsai,
thanx for the effort to improve Cmedia usefulness on different use-cases.
me, i'm using a different chip anyway, a CM6510B. could you provide also the SDK for it too?
this is my use case: i'm using it as "USB to Analog Audio" converter, but the default binary FW i found exposes, on the USB side, the descriptors for LineOut and both Mic and LineIn and i would like to trim the former, because i'm just using LineIn & LineOut.
Hi
Sorry the project only can compile by Keil C. I try to rewrite it by use SDCC but still in plan stage. I have no time to do it.
- Status
- This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
- Home
- Source & Line
- Digital Line Level
- CM6631A I2S I/O