- 8/16 bit datapath
- hardware multiply (8x8 ok, more bits the merrier)
- 20+ MHZ instruction execution
- onboard flash/SRAM (8kbytes+ FLASH, 1kbyte+ SRAM)
- UART
- onboard DAC (mono ok, stereo better)
- free build tools
- cheap!
right now i'm looking at the SI Labs C8051F330. it's right at the low
end of most of my criteria, but it's the only inexpensive uC ($4.27
quantity 100) i've seen with an onboard DAC. does anyone out there
have experience with this part? also, is there something else i should
be looking at? SI Labs have some larger FLASH variants (for example
the C8051F017) but they sell for $12 in similar quantities, so that's
out. the atmel AVRs are appealing for a number of reasons, but they
don't have a DAC. anyone aware of a cheaper option than the C8051F330
for a full uC/flash/DAC system? is there a good very cheap DAC one
could easily interface with an AVR?
i'd love to use a DSP, but i believe they're just too pricy and don't
come with the level of integration i need. feel free to prove me wrong
on this assumption.
thanks a lot for the help!
ethan
I use some of the higher end SI-Labs parts and am relatively happy with
them. One thing to watch out for: The 'free' compiler that comes with the
development kit is only good up to 4K of code. The uncrippled version is
over a KBuck.
Bob
>hi, i'm looking for a uC for a simple portable audio project. the
>basic specifications i'm looking for are:
>
>- 8/16 bit datapath
>- hardware multiply (8x8 ok, more bits the merrier)
>- 20+ MHZ instruction execution
>- onboard flash/SRAM (8kbytes+ FLASH, 1kbyte+ SRAM)
>- UART
>- onboard DAC (mono ok, stereo better)
>- free build tools
>- cheap!
Theres a huge choice out there. What resolution DAC were you looking
for? 16 bit audio grade might be pushing it a bit!
TI have their MSC series, 33MHz 32KB Flash, 1.2KB RAM. Not sure what
their dev tools are like though, and I think the DACs are only 8 bit.
What about Analog Devices ADUC841? 20MIPS 62KB Flash, 2304bytes RAM,
built in 12 bit ADCs and DACs $6:56
I'm not sure that an 8052-based system will have enough power for an
audio app, so something like the the Analog Devices ADUC702x ARM based
chips might be better: 45MIPS 62KB Flash 8KB RAM, 32 bit Multiply
(also has 12 bit ADCs and DACs).
They seem to be having production problems with this family though, as
it was announced in August but production quantities aren't yet
available.
Continuing on up the ARM scale, Atmel have a wide choice of devices,
most of which have more horsepower and memory than you specify. Not
many have a ADC/DAC built in, but there is a huge range of converters
out there to choose from.
Mike
DAC resolution: basically just something that matches the native
datatype of the processor. since i'm pretty sure i'll be using an 8
bitter, 8+ bits of precision should be fine.
TI MSC: hmmm, this might be worth looking into. the MSC1202Y3 is
pretty similar to the SI Labs part i'm considering. that said, i'd
rather not pick a TI part since i work for analog devices. ;)
ADUC841: speaking of analog devices, that one looks pretty good. lots
of memory for the price. if 8k FLASH won't cut it, this looks like a
viable option.
ADUC702x: those look great, but i bet the price is going to be too
high. plus there's that whole not existing thing to contend with.
atmel ARM7 uC: i like these, but i think they were going to be too
pricy. plus there's no integrated DAC and i'm trying to keep this as
simple as possible.
as for whether an 8052 will have the power for an audio app, i suppose
that really remains to be seen. i have some synthesis code written for
an ADSP-218x DSP, need to try porting a bit of it to find out just much
i'll be able to get done.
<snip>
I think more useful information could be given if you said what this
'simple audio project' was. What exactly does your micro need to
do with audio?
ttyl,
--buddy
The code to drive such a D/A is a few lines of C
w..
May not meet you price tharget but the AT89C51SND2
has both MP3 player decompression and a DAC.
If you store lots of audio,
then the compression may allow you to save on memory.
You can use rsiastors or PWM to generate a DAC.
The new AT90PWM parts (which are hard to get) have
12 bit Resolution enhanced PWM from a 64 MHz input source
which could be useful to generate a DAC.
The high frequency allows you to use small components..
The 5V ATmega88 should meet your requirements if you use an 8 bit port
and an external resistor ladder.
--
Best Regards,
Ulf Samuelsson
u...@a-t-m-e-l.com
> ethan
>
the atmel AVRs are appealing for a number of reasons, i guess i need to
figure out if the DAC is a requirement or not...
The output sample rate is then limited by the timer clock rate and
the number of bits resolution. For a timer with an 8MHz clock and
8 bits output resolution, the PWM period is 256 cycles, or
about 31,250 steps per second. That, and the acceptable
distortion, will limit your maximum output frequency.
If you only need 5KHz output response, you could use a
slower clock speed or more bits of resolution. The PWM
generation will probably not be the limiting factor in
determining your maximum frequency. It will take only
a microsecond or two to adjust the output. You still
have to calculate the next output before the next
output sampling point.
Mark Borgerson
Then start with the F330, and get it operating. If you have some time
headroom, but need more flash, the ADI family has obvious appeal to you...
If when you are finished, you find more speed would help,
look at the upcomming C8051F410. 66MHz core, Dual 12 bit DACs,
up to 32K Flash, wide Vcc
http://www.eltis.kiev.ua/pdf/C8051F410_short.pdf
Perhaps include a SO8 SPI memory option, as the newest ones can read
continually up to 50MHz, and give some MBytes of storage.
-jg
>thanks for the reply!
Just in case you aren't aware, Circuit Cellar issue 174 has an article
on using the 1MIP ADuC812 as a digital filter. Unfortunately their
single channel FIR/IIR filter has a Nyquist limit of 250Hz. The slow
multiply instruction seems to cripple it somewhat.
Mike
wow the 410 looks great! too bad it doesn't seem to exist quite yet.
any idea when this will be in production? the advance datasheet is
dated almost a year ago (assuming they use DD/MM/YYYY nomenclature) -
not that that really means anything in the world of microprocessor
design!
Somewhere ( Fujitsu ? ) was application note about using 2 PWM channels to
get 16 bit resolution,
"extra" hardware has 2 resistors, R for high byte pwm channel and 256*R for
low byte.
r.