cs3318 and arduino - Page 3 - diyAudio
Go Back   Home > Forums > Source & Line > Analog Line Level

Analog Line Level Preamplifiers , Passive Pre-amps, Crossovers, 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 9th March 2012, 08:24 PM   #21
diyAudio Member
 
linuxworks's Avatar
 
Join Date: Jul 2008
Location: santa clara, CA
very nice. what code are you using (if you don't mind my asking). anything special for the PSU?

any lessons learned along the way?

I have yet to power my chip up. other things jumped ahead of it but I really should return to the CS chip project.
__________________
My Photostream:http://www.flickr.com/photos/linux-works/
  Reply With Quote
Old 9th March 2012, 08:34 PM   #22
AAK is offline AAK  United States
diyAudio Member
 
Join Date: Jul 2004
Location: Florida
I modified some old assembly code that I wrote up for a Wolfson WM8741 DAC last year. For the PS I'm using a simple LM337/317 pair running at +/-8.5V. Connected the +8.5V to a 3.3V LDO for VD. No real surprises, pretty much followed the data sheets and it came right up. I did include the errata register settings as recommended.
__________________
Love when you can, Cry when you have to, be who you must, that's part of the plan.

Last edited by AAK; 9th March 2012 at 08:42 PM.
  Reply With Quote
Old 11th March 2012, 10:17 PM   #23
maxw is offline maxw  United Kingdom
diyAudio Member
 
maxw's Avatar
 
Join Date: Jun 2004
Location: London
Interesting, I hadn't heard of this IC before, looks promising!

I have some questions for those who have used it...

The datasheet says zero crossing detection applies to start-up and shut-down. Does this mean it is silent when powering on/off, unlike the PGA2310?

Apart from the number of channels, most of the specs look pretty similar to the PGA. Has anyone noticed any advantages the CS3318 has over the TI PGA?
  Reply With Quote
Old 20th March 2012, 06:43 PM   #24
fualcr is offline fualcr  Canada
diyAudio Member
 
Join Date: Sep 2011
Location: Canada
It seems absolutely INSANE that the errata quoted in post #6 of this thread concerning the CS3318 is not in the data sheet (or ANYWHERE to be found on the Cirrus website)! It is either:
  1. A HUGE oversight by Cirrus
  2. The bug has been fixed and thus the document is no longer valid
  3. Something else?
BTW compared to the PGA2310 and PGA2320, and PGA4311, the CS3318 has better noise performance.
  Reply With Quote
Old 21st March 2012, 01:14 PM   #25
AAK is offline AAK  United States
diyAudio Member
 
Join Date: Jul 2004
Location: Florida
Hi fualcar,

I removed the errata registers from my code, it appears to make no difference. But I agree with you, Cirrus in their most current data sheets should write in detail why it was necessary and has the bug been totally fixed. I'll call tech support later today and let you know what's the latest.

Best Regards,

Al
__________________
Love when you can, Cry when you have to, be who you must, that's part of the plan.
  Reply With Quote
Old 21st March 2012, 01:21 PM   #26
maxw is offline maxw  United Kingdom
diyAudio Member
 
maxw's Avatar
 
Join Date: Jun 2004
Location: London
Does anyone know if the cs3318 is silent when powering on/off, unlike the PGA2310?
  Reply With Quote
Old 21st March 2012, 02:33 PM   #27
diyAudio Member
 
linuxworks's Avatar
 
Join Date: Jul 2008
Location: santa clara, CA
I plan to use muting relays on mine, that much I know.

almost no electronics is graceful on up/down's, these days.

maybe its a cop-out but I'll just have output muting relays that protect against power ons and offs.

I did read a thread about some magic spells you can do on the pga to quiet it down but again, the relay is the conclusion the other author came to, as well, iirc.
__________________
My Photostream:http://www.flickr.com/photos/linux-works/
  Reply With Quote
Old 11th October 2012, 10:33 PM   #28
diyAudio Member
 
linuxworks's Avatar
 
Join Date: Jul 2008
Location: santa clara, CA
finally, an update!

and.....

it works

some pics attached. note that the one marked 10khz is actually 20khz, I mislabled it.

this board took me about a week to build. this was the proof-of-concept phase. its not something I would want to build a second time by hand, though

now begins the testing phase. trying differing PSUs, buffers and so on.

oh, and software. lots more software. I'm making a CLI for it so that you can console in over serial, enter either people-friendly or machine-friendly commands and the arduino will translate to cirrus-talk, over the spi bus.

when I get the CLI working to the point where its useful, I'll post the whole driver and app set for the arduino (standard C++).
Attached Images
File Type: jpg 8076071368_59bb4efe58_b.jpg (359.6 KB, 362 views)
File Type: jpg 8076114447_0f694000a7_b.jpg (407.7 KB, 348 views)
File Type: jpg 8078166511_68dc1be237_b.jpg (355.3 KB, 278 views)
File Type: jpg 8077881864_c5284421df_b.jpg (166.5 KB, 267 views)
File Type: jpg 8077881384_1567b7a1d1_b.jpg (163.9 KB, 255 views)
__________________
My Photostream:http://www.flickr.com/photos/linux-works/
  Reply With Quote
Old 12th October 2012, 08:12 AM   #29
ds23man is offline ds23man  Netherlands
diyAudio Member
 
Join Date: Oct 2006
  Reply With Quote
Old 12th October 2012, 02:04 PM   #30
diyAudio Member
 
linuxworks's Avatar
 
Join Date: Jul 2008
Location: santa clara, CA
ds23man was working with me on this and I thank him for all the emails and ideas we exchanged during the development and design.
__________________
My Photostream:http://www.flickr.com/photos/linux-works/
  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
Digital Volume Contol - CS3318 - MAX5440 Ridin '24'z Digital Source 5 8th June 2011 01:36 PM
Sylonex and Arduino preamp oenboek Analog Line Level 17 12th March 2011 12:50 AM
Arduino for audio projects? glt Parts 5 9th March 2011 05:28 PM
Cooling fans with Arduino seahuston Chip Amps 10 23rd October 2010 05:58 AM
Can DIY audio be like Arduino glt Everything Else 1 3rd April 2009 03:57 PM


New To Site? Need Help?

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