Go Back   Home > Forums > Source & Line > Digital Source
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, 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 2nd August 2005, 09:03 AM   #1
mcuLuca is offline mcuLuca  Italy
diyAudio Member
 
Join Date: Jul 2005
Location: Italy
Default Help to Connect AD1851

Hi guys!
I 'm trying to connect AD1851 to a UC.( ATmega 128)
The I2S system is OK (I have see on scope that the Clock,Latch,Data signals are timing like figure 6 pag 7) but on PIN9 (VOUT) of AD1851 there is always +5v signal so I have thinked that there is a wrong thing in the scheme.

The Uc send to AD1851 a 800hz sine signal.
If I short Pin10(Rf) with Pin11(Sj) the +5V signal become a "strange" (-5v+5v) signal (like a sine but with noise).

I'm comfused or i'm a donkey

This is my scheme (Like fig3 pag 6 datasheet "POWER SUPPLIES AND DECOUPLNG")

Pin 1 -5V
Pin 2 0v (-5v+5v)
Pin3 +5V
Pin4 nc
Pin5 CLk to Uc (i2s)
Pin6 LE to Uc (i2s)
pin7 Data to Uc (i2s)
Pin 8 nc
Pin 9 to Input LW-BF Amp.
Pin 10 nc
Pin 11 nc
Pin12 0v (-5v+5v)
Pin13 nc
Pin14 msb adj ( like pag.6 fig 4 Datasheet)
Pin15 trim (like pag 6 fig 4 Datasheet)
Pin16 +5v

Where I am mistaking?

Tnx
McuLuca
  Reply With Quote
Old 2nd August 2005, 12:48 PM   #2
diyAudio Member
 
Join Date: Oct 2001
Location: .
Is the data in the correct format ?
  Reply With Quote
Old 2nd August 2005, 01:45 PM   #3
Netlist is offline Netlist  Belgium
diyAudio Moderator
 
Netlist's Avatar
 
Join Date: Jan 2003
McuLuca,
You accidentally hit the report button instead of the 'Post reply'.

Here is what you meant to post:
Quote:
Hi,
I think that the data format is correct ( i2s format )
This is the data streaming .
C = clock D= Data
Ldw= Latch Down
Lup= Latch Up
- C -- C -- C -- C -- C -- C -- C -- C -- C -- C -
Lup D15-D14-D13-D12-D11-D10-D9-D8-D7-D6-
- C -- C -- C -- C -- C
D5-D4-D3-D2-D1-D0
Quote:

ops..sorry ...error sending the post.
I send the data in i2s format
This is the data format.
C =clock
D=data
LUp=Latch Up
LDw=Latch Dw

I try describe you the format data:

Latch go up ,
Send Data(bit 5 to bit0) and Clock (16bit)
Latch go dw.

I try with a SPI system but there is pause of data and clock beetween 8data bit and 8 data bit(Spi register is 8 bit)
_C__C_C.....C_ Pause _C_C_C_C..._C
D15-14-13...D8 - Pause -D7-6-5-4......D0
LUP______________________________LDW

I try a whitout SPI whit my module
_C__C_C.....C_ C_C_C_C..._C
D15-14-13...D8 D7-6-5-4......D0
LUP_________________________LDW

I have a bmp of scope timing data,clock latch and vout ..but I'cant upload on forum because i'm under "post to a moderator :-( "

Tnx
McuLuca
/Hugo
  Reply With Quote
Old 2nd August 2005, 02:58 PM   #4
mcuLuca is offline mcuLuca  Italy
diyAudio Member
 
Join Date: Jul 2005
Location: Italy
Quote:
Originally posted by rfbrw
Is the data in the correct format ?
about my data format .

I send a wav file of 800hz for 1ms (I loop it so i have a continuos sound ) generate from a Software for Generate Tone I have cut the fist 44byte (according the wav format Header,time long etc etc ) so i send only the data byte.
This are the bytes of "data wav file"
char Str1[]={
0x00,0x00,0xC9,0x06,0x44,0x0D,0x23,0x13,0x24,0x18, 0x0C,0x1C,0xAD,0x1E,0xE9,0x1F,0xB1,0x1F,0x08,0x1E, 0x01,0x1B,0xC0,0x16,0x76,0x11,0x60,0x0B,0xC6,0x04, 0xF4,0xFD,0x3B,0xF7,0xE6,0xF0,0x42,0xEB,0x90,0xE6, 0x06,0xE3,0xCE,0xE0,0x01,0xE0,0xA8,0xE0,0xBD,0xE2, 0x26,0xE6,0xBD,0xEA,0x4C,0xF0,0x91,0xF6,0x44,0xFD, 0x16,0x04,0xBA,0x0A,0xE0,0x10,0x43,0x16,0xA1,0x1A, 0xC9,0x1D,0x97,0x1F,0xF4,0x1F,0xDD,0x1E,0x60,0x1C, 0x96,0x18,0xB0,0x13,0xE3,0x0D,0x76,0x07,0xB0,0x00} ;

In Scope2 the Pin11 is connect to Pin10 of AD1851 (Vout is -5v+5V)
In Scope1 the Pin11 and Pin 10 of Ad1851 are nc (Vout is +5V)

Yellow is the Clock (n°1)
Blue is the Data (n°2)
Red is the Latch (n°3)
Green is the Vout (n°4)
Attached Images
File Type: jpg scopesignal.jpg (64.0 KB, 296 views)
  Reply With Quote
Old 2nd August 2005, 10:12 PM   #5
Banned
 
Join Date: Dec 2001
Location: Zamboanga, City of Flowers, Mindanao
Send a message via Yahoo to Elso Kwak
Quote:
Originally posted by mcuLuca

about my data format .

I send a wav file of 800hz for 1ms (I loop it so i have a continuos sound ) generate from a Software for Generate Tone I have cut the fist 44byte (according the wav format Header,time long etc etc ) so i send only the data byte.
This are the bytes of "data wav file"
char Str1[]={
0x00,0x00,0xC9,0x06,0x44,0x0D,0x23,0x13,0x24,0x18, 0x0C,0x1C,0xAD,0x1E,0xE9,0x1F,0xB1,0x1F,0x08,0x1E, 0x01,0x1B,0xC0,0x16,0x76,0x11,0x60,0x0B,0xC6,0x04, 0xF4,0xFD,0x3B,0xF7,0xE6,0xF0,0x42,0xEB,0x90,0xE6, 0x06,0xE3,0xCE,0xE0,0x01,0xE0,0xA8,0xE0,0xBD,0xE2, 0x26,0xE6,0xBD,0xEA,0x4C,0xF0,0x91,0xF6,0x44,0xFD, 0x16,0x04,0xBA,0x0A,0xE0,0x10,0x43,0x16,0xA1,0x1A, 0xC9,0x1D,0x97,0x1F,0xF4,0x1F,0xDD,0x1E,0x60,0x1C, 0x96,0x18,0xB0,0x13,0xE3,0x0D,0x76,0x07,0xB0,0x00} ;

In Scope2 the Pin11 is connect to Pin10 of AD1851 (Vout is -5v+5V)
In Scope1 the Pin11 and Pin 10 of Ad1851 are nc (Vout is +5V)

Yellow is the Clock (n°1)
Blue is the Data (n°2)
Red is the Latch (n°3)
Green is the Vout (n°4)

asl please.
Connect the IV the proper way
  Reply With Quote
Old 3rd August 2005, 10:05 AM   #6
mcuLuca is offline mcuLuca  Italy
diyAudio Member
 
Join Date: Jul 2005
Location: Italy
Quote:
Originally posted by Elso Kwak

asl please.
Connect the IV the proper way
Sorry I don't understand
How I do Connect IV (Pin9-Vout).

Sorry but I'm confused.

Tnx
  Reply With Quote
Old 3rd August 2005, 10:26 AM   #7
Banned
 
Join Date: Dec 2001
Location: Zamboanga, City of Flowers, Mindanao
Send a message via Yahoo to Elso Kwak
Quote:
Originally posted by mcuLuca


Sorry I don't understand
How I do Connect IV (Pin9-Vout).

Sorry but I'm confused.

Tnx
age/sexe/location [joke]

As a genral rule for connecting an opamp as IV see f.a. the AD1865 datasheet. Admittingly it is not very clear in the AD1851 datasheet.
http://www.analog.com/en/prod/0%2C28...1865%2C00.html
  Reply With Quote
Old 3rd August 2005, 10:32 AM   #8
mcuLuca is offline mcuLuca  Italy
diyAudio Member
 
Join Date: Jul 2005
Location: Italy
Quote:
Originally posted by Elso Kwak

age/sexe/location [joke]

As a genral rule for connecting an opamp as IV see f.a. the AD1865 datasheet. Admittingly it is not very clear in the AD1851 datasheet.
http://www.analog.com/en/prod/0%2C28...1865%2C00.html
I hope that this is the end of history.

Tnx & Bye
McuLuca



(to be continued ?)
  Reply With Quote
Old 14th December 2007, 02:24 PM   #9
diyAudio Member
 
Join Date: Dec 2007
Default Hi Guy

I want to ask you some question.
1. I only use Atm16,AD1851,Amp to design circuit. do I have to add more component. Is that enough.
2. When I give the sound to Speaker. It is the distortion not a speak. How can I correct it.It means that : I want to ask about the pulse of clock and latch. How about the width of pulse you use
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
help with the AD1851 blazin961 Digital Source 1 10th December 2007 08:17 AM
AD1851 DAC PCBs for sale Kochkurov Maxim Swap Meet 10 27th May 2007 08:16 AM
My new AD1851 DAC Kochkurov Maxim Digital Source 0 31st March 2007 10:06 AM
PCM56J vs AD1851 N-J, which one is better? mat_one Digital Source 0 29th December 2006 10:17 AM
AD1851 16bit Audio slywolf Digital Source 0 12th March 2006 07:07 AM


New To Site? Need Help?

All times are GMT. The time now is 10:31 PM.

Page generated in 0.13222 seconds (84.90% PHP - 15.10% MySQL) with 11 queries

Copyright ©1999-2012 diyAudio