Forums

Sigma delta audio dacs

Started by bitrex January 7, 2016
I'd like to drive 6 channels of 16 bit, 44.1 kHz audio out of an
 ARM Cortex M4 processor, using i2c I guess.

There are so many DACS out there...so this is another one of those
 "so what is cheap and worked good for you" kind of
 questions.

-- 


----Android NewsGroup Reader----
http://usenet.sinaapp.com/
On Thu, 7 Jan 2016 22:53:45 -0500 (EST), bitrex
<bitrex@de.lete.earthlink.net> wrote:

> >I'd like to drive 6 channels of 16 bit, 44.1 kHz audio out of an > ARM Cortex M4 processor, using i2c I guess.
I2C isn't going to cut it. You're going to want to use some variant of I2S (probably TDM-8). Atmel ARMs have two (one in, one out) I2S ports.
> >There are so many DACS out there...so this is another one of those > "so what is cheap and worked good for you" kind of > questions.
I use the Cirrus Logic CS4385A. It's 8-channel but you can just throw two away. It's the cheapest DAC I've been able to find and it's pretty good. Differential outputs (which I like), though.
krw <krw@nowhere.com> Wrote in message:
> On Thu, 7 Jan 2016 22:53:45 -0500 (EST), bitrex > <bitrex@de.lete.earthlink.net> wrote: > >> >>I'd like to drive 6 channels of 16 bit, 44.1 kHz audio out of an >> ARM Cortex M4 processor, using i2c I guess. > > I2C isn't going to cut it. You're going to want to use some variant > of I2S (probably TDM-8). Atmel ARMs have two (one in, one out) I2S > ports. >> >>There are so many DACS out there...so this is another one of those >> "so what is cheap and worked good for you" kind of >> questions. > > I use the Cirrus Logic CS4385A. It's 8-channel but you can just throw > two away. It's the cheapest DAC I've been able to find and it's > pretty good. Differential outputs (which I like), though. >
Thanks! -- ----Android NewsGroup Reader---- http://usenet.sinaapp.com/
On 1/7/2016 11:08 PM, bitrex wrote:
> krw <krw@nowhere.com> Wrote in message: >> On Thu, 7 Jan 2016 22:53:45 -0500 (EST), bitrex >> <bitrex@de.lete.earthlink.net> wrote: >> >>> >>> I'd like to drive 6 channels of 16 bit, 44.1 kHz audio out of an >>> ARM Cortex M4 processor, using i2c I guess. >> >> I2C isn't going to cut it. You're going to want to use some variant >> of I2S (probably TDM-8). Atmel ARMs have two (one in, one out) I2S >> ports. >>> >>> There are so many DACS out there...so this is another one of those >>> "so what is cheap and worked good for you" kind of >>> questions. >> >> I use the Cirrus Logic CS4385A. It's 8-channel but you can just throw >> two away. It's the cheapest DAC I've been able to find and it's >> pretty good. Differential outputs (which I like), though.
AKM is another vendor with decent audio chips. I don't know a part number for a DAC only part. I use the AK4556 stereo CODEC in a design and it works well. Sample rates up to 192 kHz. I run it at 8 kHz and 48 kHz. It does I2S in master or slave mode and will do slave mode SPI. -- Rick
krw <krw@nowhere.com> Wrote in message:
> On Thu, 7 Jan 2016 22:53:45 -0500 (EST), bitrex > <bitrex@de.lete.earthlink.net> wrote: > >> >>I'd like to drive 6 channels of 16 bit, 44.1 kHz audio out of an >> ARM Cortex M4 processor, using i2c I guess. > > I2C isn't going to cut it. You're going to want to use some variant > of I2S (probably TDM-8). Atmel ARMs have two (one in, one out) I2S > ports. >> >>There are so many DACS out there...so this is another one of those >> "so what is cheap and worked good for you" kind of >> questions. > > I use the Cirrus Logic CS4385A. It's 8-channel but you can just throw > two away. It's the cheapest DAC I've been able to find and it's > pretty good. Differential outputs (which I like), though. >
8 channels of 24 bit 192 kHz for under $5 in small quantities - we really have come a long way since I got my first PC and a Sound Blaster audio card back in 1994... -- ----Android NewsGroup Reader---- http://usenet.sinaapp.com/
bitrex <bitrex@de.lete.earthlink.net> wrote:
> 8 channels of 24 bit 192 kHz for under $5 in small quantities - we > really have come a long way since I got my first PC and a Sound > Blaster audio card back in 1994...
I had a Gravis Ultrasound (classic) card in late 1992, quite expensive hardware solution to offload wavetable based synthesis from the central processor. It could almost play MIDI files by itself.
Rob <nomail@example.com> Wrote in message:
> bitrex <bitrex@de.lete.earthlink.net> wrote: >> 8 channels of 24 bit 192 kHz for under $5 in small quantities - we >> really have come a long way since I got my first PC and a Sound >> Blaster audio card back in 1994... > > I had a Gravis Ultrasound (classic) card in late 1992, quite expensive > hardware solution to offload wavetable based synthesis from the central > processor. It could almost play MIDI files by itself. >
Nice! I was around 15 at that time and couldn't afford such luxury. IIRC the SB Pro could stream PCM audio (don't know if it was CD quality); it could also play MIDI files but I think the output was limited to 8 channels and synthesiszed by some Yamaha 4 operator FM synthesizer IC. It was pretty bad. To get decent sounding audio you had to use something called a "mod tracker" which used small samples streamed from main memory. It could do text to speech as well, there was a DOS program that was an ELIZA variant called DR. SBAITZO which would speak its responses. Good for hours of fun. Around that time I also had a Yamaha portable keyboard called the VSS-30 which could record short samples. It had a line out which I patched into the phone, and used the pitch shift to prank call my friends with a "demon voice". -- ----Android NewsGroup Reader---- http://usenet.sinaapp.com/
bitrex <bitrex@de.lete.earthlink.net> wrote:
> Rob <nomail@example.com> Wrote in message: >> bitrex <bitrex@de.lete.earthlink.net> wrote: >>> 8 channels of 24 bit 192 kHz for under $5 in small quantities - we >>> really have come a long way since I got my first PC and a Sound >>> Blaster audio card back in 1994... >> >> I had a Gravis Ultrasound (classic) card in late 1992, quite expensive >> hardware solution to offload wavetable based synthesis from the central >> processor. It could almost play MIDI files by itself. >> > > Nice! I was around 15 at that time and couldn't afford such > luxury. IIRC the SB Pro could stream PCM audio (don't know if it > was CD quality); it could also play MIDI files but I think the > output was limited to 8 channels and synthesiszed by some Yamaha > 4 operator FM synthesizer IC. It was pretty bad. To get decent > sounding audio you had to use something called a "mod tracker" > which used small samples streamed from main memory.
The Gravis Ultrasound had onboard memory where the samples were stored by the driver, and a dedicated chip that counted through the samples at the specified rate (32 channels I believe) and sent the output through a D/A. It was good at that, but not at outputting generic digital data from e.g. an MP3 decoder. However, in those days that was not really available anyway. I assembled that system from a mix of surplus and new components obtained on a computer fair, it was a 486DX/33 with 16MB RAM, Adaptec 1542B busmaster SCSI controller, 800MB SCSI harddisk with 2.5 MB/s transfer rate, 250MB tape streamer, the Gravis Ultrasound, 10 Mbit network card, an ET4000 video controller, and I had a 17" VGA monitor, keyboard and mouse. All this set me back about the equivalent of $4000. However, it ran Linux! (0.96 kernel) With X window system. This was quite something to have at home in those days, the performance and capability was comparable to workstations one would normally have only at work. And a true 32-bit OS with demand paged virtual memory. Remember Windows back then was a DOS program... and the big next thing was OS/2 which was only 16-bit segmented 286 code.
On 08/01/2016 05:55, rickman wrote:
> > AKM is another vendor with decent audio chips.
Agreed. AKM audio chips are just EXTRAORDINARY ! Hab.
Rob <nomail@example.com> Wrote in message:
> bitrex <bitrex@de.lete.earthlink.net> wrote: >> Rob <nomail@example.com> Wrote in message: >>> bitrex <bitrex@de.lete.earthlink.net> wrote: >>>> 8 channels of 24 bit 192 kHz for under $5 in small quantities - we >>>> really have come a long way since I got my first PC and a Sound >>>> Blaster audio card back in 1994... >>> >>> I had a Gravis Ultrasound (classic) card in late 1992, quite expensive >>> hardware solution to offload wavetable based synthesis from the central >>> processor. It could almost play MIDI files by itself. >>> >> >> Nice! I was around 15 at that time and couldn't afford such >> luxury. IIRC the SB Pro could stream PCM audio (don't know if it >> was CD quality); it could also play MIDI files but I think the >> output was limited to 8 channels and synthesiszed by some Yamaha >> 4 operator FM synthesizer IC. It was pretty bad. To get decent >> sounding audio you had to use something called a "mod tracker" >> which used small samples streamed from main memory. > > The Gravis Ultrasound had onboard memory where the samples were stored > by the driver, and a dedicated chip that counted through the samples > at the specified rate (32 channels I believe) and sent the output > through a D/A. > > It was good at that, but not at outputting generic digital data from > e.g. an MP3 decoder. However, in those days that was not really > available anyway. > > I assembled that system from a mix of surplus and new components obtained > on a computer fair, it was a 486DX/33 with 16MB RAM, Adaptec 1542B busmaster > SCSI controller, 800MB SCSI harddisk with 2.5 MB/s transfer rate, 250MB > tape streamer, the Gravis Ultrasound, 10 Mbit network card, an ET4000 video > controller, and I had a 17" VGA monitor, keyboard and mouse. > All this set me back about the equivalent of $4000. > > However, it ran Linux! (0.96 kernel) > With X window system. This was quite something to have at home in those > days, the performance and capability was comparable to workstations one > would normally have only at work. And a true 32-bit OS with demand paged > virtual memory. > > Remember Windows back then was a DOS program... and the big next thing > was OS/2 which was only 16-bit segmented 286 code. >
I think my first real PC was around 1991 - it was a 386SX at 16MHz. It originally came with a meg of RAM, and I installed a second meg at some point (that really hurt my pockets!) I think two was the max the mobo supported. I don't think I ever invested in the FPU coprocessor option. 44 megabyte hard drive. It ran Sim Earth, Shuttle Simulator, and Wolfenstein 3D really well. Sometimes I had to mess with the HIMEM settings and such to free up enough extended memory for certain programs to run. Unfortunately, I couldn't run Doom, as it needed a minimum of 4 megs to work. And the 16MHz 386 likely wasn't gutsy enough to run it at any decent resolution, even though the code was written with PCs that didn't have FPUs in mind. 386s with more ram and a 40 Mhz clock can pull it off IIRC. The fast inverse sqrt algorithm used in the follow up game to compute dot products between lighting vectors and surface normals is pretty cool. -- ----Android NewsGroup Reader---- http://usenet.sinaapp.com/