ES9018 I2C controller - Page 19 - diyAudio
Go Back   Home > Forums > Source & Line > Digital Line Level

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

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 1st April 2013, 09:12 PM   #181
Corpius is offline Corpius  Netherlands
diyAudio Member
 
Corpius's Avatar
 
Join Date: Jan 2011
Hi Mike,

Yes the level conversion is also achieved by using the isolated I2C outbreak. You have to connect per the manual.
The I2C pins of the DAC are supposed to be 5V tolerant, but to be on the safe side it is best to use a level converter. For that reason I updated the manual.

I don't know if you are using one or more of the controller's pin's to switch sources without any form of isolation? If so, then the controller and DAC/modules need to have a common ground.
__________________
CE-Designs.net
  Reply With Quote
Old 22nd April 2014, 07:54 PM   #182
asdiasx is offline asdiasx  Brazil
diyAudio Member
 
asdiasx's Avatar
 
Join Date: Sep 2008
Location: Curitiba - PR - Brazil
Send a message via MSN to asdiasx
Hi Corpius, sorry for re-opening this topic, as I don't know if this is the correct channel to use for CE644 support...
I have a Buffalo III (stereo) and the inputs are from a 4 spdif level converter (no mux), and a sidecar.
I also have the CE644 v1.2. Is it possible to address the inputs (3 to 6) without the 2 adress lines used by the Mux in the manual?

Thanks and regards,
__________________
Adriano Dias
  Reply With Quote
Old 23rd April 2014, 05:46 PM   #183
Corpius is offline Corpius  Netherlands
diyAudio Member
 
Corpius's Avatar
 
Join Date: Jan 2011
Hi Adrianos,

Yes, you can address all spdif inputs (1 to 8).

The easiest way to address inputs 3-6, without having to re-write large parts of the code, is to replace the next function:

Code:
void setInputChannel(byte value){
	//This register set the input channel to get the desired input. Note: This code is dedicated to my own Buffalo 3
	switch (value){
	  case 1:	// SPDIF1
			writeSabreReg(0x12,0x01);        // Reg 18: Set SPDIF to input #1
			break;
	  case 2:	// SPDIF2
			writeSabreReg(0x12,0x02);        // Reg 18: Set SPDIF to input #2
			break;
	  case 3:	// SPDIF3
			writeSabreReg(0x12,0x04);        // Reg 18: Set SPDIF to input #3
			break;
	  case 4:	// SPDIF4
			writeSabreReg(0x12,0x08);        // Reg 18: Set SPDIF to input #4
			break;
	  case 5:	// SPDIF5
			writeSabreReg(0x12,0x10);        // Reg 18: Set SPDIF to input #5
			break;
	  case 6:	// SPDIF6
			writeSabreReg(0x12,0x20);        // Reg 18: Set SPDIF to input #6
			break;
	  case 7:	// SPDIF7
			writeSabreReg(0x12,0x40);        // Reg 18: Set SPDIF to input #7
			break;
	  case 8:	// SPDIF8
			writeSabreReg(0x12,0x80);        // Reg 18: Set SPDIF to input #8
			break;
	}
}
into this function:

Code:
void setInputChannel(byte value){
	//This register set the input channel to get the desired input. Note: This code is dedicated to my own Buffalo 3
	value += 2;
	switch (value){
	  case 1:	// SPDIF1
			writeSabreReg(0x12,0x01);        // Reg 18: Set SPDIF to input #1
			break;
	  case 2:	// SPDIF2
			writeSabreReg(0x12,0x02);        // Reg 18: Set SPDIF to input #2
			break;
	  case 3:	// SPDIF3
			writeSabreReg(0x12,0x04);        // Reg 18: Set SPDIF to input #3
			break;
	  case 4:	// SPDIF4
			writeSabreReg(0x12,0x08);        // Reg 18: Set SPDIF to input #4
			break;
	  case 5:	// SPDIF5
			writeSabreReg(0x12,0x10);        // Reg 18: Set SPDIF to input #5
			break;
	  case 6:	// SPDIF6
			writeSabreReg(0x12,0x20);        // Reg 18: Set SPDIF to input #6
			break;
	  case 7:	// SPDIF7
			writeSabreReg(0x12,0x40);        // Reg 18: Set SPDIF to input #7
			break;
	  case 8:	// SPDIF8
			writeSabreReg(0x12,0x80);        // Reg 18: Set SPDIF to input #8
			break;
	}
}
The only difference is this line
Code:
value += 2;
Input 1 becomes input 3, input 2 becomes input 4 and so on.

I'm not sure how you want to connect the spdif channels using the sidecar, because the sidecar connects the four spdif channels comming from the spdif level converter to inputs 1 to 4.
__________________
CE-Designs.net
  Reply With Quote
Old 23rd April 2014, 06:29 PM   #184
asdiasx is offline asdiasx  Brazil
diyAudio Member
 
asdiasx's Avatar
 
Join Date: Sep 2008
Location: Curitiba - PR - Brazil
Send a message via MSN to asdiasx
Thanks for your answer!!!
Let me try to explain a bit more...
Actually I have the BIII (stereo mode) and intend to use the followuing inputs (no matter the sequence):
1- DSD (from amanero)
2- I2S (from teleporter)
3- Spdif 1 (RCA)
4- Spdif 2 (RCA)
5- Spdif 3 (BNC)
6- Spdif 5 (AES) maybe TOS adapter.

I have a sidecar, an OTTO II anda a 4channel SPDIF adapter (not a mux).

By the manual, I figured out how to connect the CE644 to control the sidecar (switch pcm/DSD x SPDIF), the OTTO (to switch between DSD/PCM and Teleporter inputs).

But the manual mentions 2 address lines (D23 and D24) to control the 4:1 MUX... As I'm not using this board, only the 4 ch level converter, I believe the spdif input switch should be done by FW, programing Sabre's register 18 (thanks for your site explanation, I'm really a newbie on this...).

So, the main doubt is:
- May I dont use the 4:1MUX (use the converter only) without any change to the FW?
- Once not using the 4:1MUX, may I leave the 2 address lines (D23/D24) open (not connect to anywhere)?

I also may give a try on the weekend, as I have all the stuff but if we can get this point clear I could increase the chances to a "happy end"!

Thanks again for your support!
__________________
Adriano Dias

Last edited by asdiasx; 23rd April 2014 at 06:55 PM.
  Reply With Quote
Old 23rd April 2014, 07:01 PM   #185
Corpius is offline Corpius  Netherlands
diyAudio Member
 
Corpius's Avatar
 
Join Date: Jan 2011
I think that I understand you now. No need to re-write the code .

The spdif input switching is done by the firmware (register 18) indeed. You don't need to use the 4:1 mux, just connect the 4 channel spdif converter board to the sidecar and connect pin D21 (controller) to the sidecar input "B". The controller will take care of switching the sidecar when you select one of the four spdif inputs. It will also take care of register 18 by making sure that the correct spdif input is being selected at te DAC chip.
You can set the inputs as desired at the "input settings menu" by setting the input format (INF), as explained on page 10 of the manual. You'll need to do this for each of your six inputs.

You can leave D23 and D24 floating. They're only needed when using the 4:1 mux instead of the 4-ch spdif level converter board. Besides, the 4:1 mux ouputs I2S, not spdif.
__________________
CE-Designs.net

Last edited by Corpius; 23rd April 2014 at 07:03 PM.
  Reply With Quote
Old 23rd April 2014, 07:06 PM   #186
asdiasx is offline asdiasx  Brazil
diyAudio Member
 
asdiasx's Avatar
 
Join Date: Sep 2008
Location: Curitiba - PR - Brazil
Send a message via MSN to asdiasx
GREAT!!!

What a PERFECT solution to control the BIII!!!

Thanks and regards!
__________________
Adriano Dias
  Reply With Quote
Old 23rd April 2014, 07:18 PM   #187
Corpius is offline Corpius  Netherlands
diyAudio Member
 
Corpius's Avatar
 
Join Date: Jan 2011
You're welcome! Let me know if I can be of any more help and how your project works out.
__________________
CE-Designs.net
  Reply With Quote
Old 26th April 2014, 01:33 PM   #188
drone is offline drone  Germany
diyAudio Member
 
Join Date: Jan 2006
Location: Germany Rheinarea
Default CE644/CE328

Hi,

i have CE 644 and Ce 328 boards from you. but with both the LCD display is way to dark. now i have seen on the LCD extra i0 from electro fun there is a resitor (R2) on the backlight line. can i remove R2 as there is still the mcp42010 on the shield which give me a max of 4.9 V and the resistor brings this down to 2.8 V.

thx

branko

Last edited by drone; 26th April 2014 at 01:35 PM. Reason: typo
  Reply With Quote
Old 27th April 2014, 03:55 PM   #189
Corpius is offline Corpius  Netherlands
diyAudio Member
 
Corpius's Avatar
 
Join Date: Jan 2011
Hi Branko,

You can jumper the resistor on the LCD extra IO, but I wouldn't advise to set the MCP42010 to zero ohm resistance. You can also replace the resistor with a lower value. That would be a saver solution in my opinion.
__________________
CE-Designs.net
  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
ES9018 - I2C interface vt4c Digital Line Level 0 4th August 2012 01:12 AM
Samsung 1602VFD For CDROM Controller & Remote Volume Controller slowgay Swap Meet 2 22nd November 2008 02:44 PM
I2C controller for Audio DSP elnec Digital Source 6 15th February 2008 10:58 AM
I2c Amdio Digital Source 9 29th April 2007 12:05 AM
I2C Controller abid_rehan Digital Source 1 21st October 2004 10:02 AM


New To Site? Need Help?

All times are GMT. The time now is 11:27 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