ChipCenter Questlink
SEARCH CHIPCENTER
Search Type:
Search for:




Knowledge Centers
Product Reviews
Data Sheets
Guides & Experts
News
International
Ask Us
Circuit Cellar Online
App Notes
NetSeminars
Careers
Resources
FAQ
EE Times Network
Electronics Group Sites

A COMPARISON OF MICROCONTROLLERS AND DSPs


Circuit Cellar Online
THE MAGAZINE FOR COMPUTER APPLICATIONS
Circuit Cellar Online offers articles illustrating creative solutions
and unique applications through complete projects, practical
tutorials, and useful design techniques.

A COMPARISON OF MICROCONTROLLERS AND DSPs

Lessons from the Trenches A Case Study
by
Jerry Horn

Start ý Fine Tuning ý Turn Up the Volume ý Timing is Everything ý Storage ý Pricing ý Encore ý Sources and PDF

PRICING

Table 3 shows a bill of materials for the three different system configurations. Prices generally consist of a single unit when purchased in lots of 100 (except for the DSP56364, for which I could only find a single unit price). The SRAM is overkill for this application, but all the configurations use it. Also, the DSP56364 works with only a single SRAM device even though it operates on 24-bit data internally. The DSP hardware can be programmed to save data as 8-, 16-, or 24-bit words, storing and retrieving the data in successive addresses automatically (if larger than 8 bits).

SX28AC + Non-audio ADC/DAC

SX28AC + Audio
ADC/DAC

DSP56364 + Audio ADC/DAC

Device

Cost (US$)

Device

Cost (US$)

Device

Cost (US$)

SX28AC

4.05

SX28AC

4.05

DSP56364

11.00

128k ý 8 SRAM

4.05

128k ý 8 SRAM

4.05

128k ý 8 SRAM

4.05

ADS8320ECT

14.10

PCM1800

3.25

PCM1800

3.25

PCM56

8.25

PCM1744

2.45

PCM1744

2.45

Glue Logic

?

Glue Logic

?

27C256

2.00

Total:

30.45 + glue

Total:

13.30 + glue

Total:

22.75

Table 3ýHere you can see a basic bill of materials for the different possible designs.

Unlike the SX28AC, which can be programmed by the end user, the DSP56364 requires an external EPROM to store its program (in quantities of approximately 10k units or more, the DSP56364 can be manufactured with a specific program in mask ROM, removing the need for the EPROMýI am assuming that is not an option).

Of course, the unit would also require pedals, knobs, sliders, a case, jacks, and so on. However, these should be approximately the same regardless of the design approach to the effects circuitry. One difference would be power consumption. It seems like the DSP would require more power. Although it is possible that the DSP might be able to enter a sleep mode for a significant amount of time, it is unlikely that the SX28AC would be able to sleep.

A Scenix microcontroller, along with an audio ADC and DAC, would provide the lowest cost, but the savings might only be minimal. I do not honestly believe that the Scenix microcontroller can perform the necessary functions for all of the guitar effects unless they are severely limited in functionality. It is possible to get a useable system, but I would be concerned about the amount of work required to put 10 lbs of stuff in a 5-lb bag. You would have to be creative, careful, and meticulous in solving a large number of problems.

It is also my opinion that the DSP will make the whole design simpler and straightforward, leaving considerably more time to play with the actual effects and allowing different types of effects to be implemented, which is the real goal here.

I have used the Motorola DSP56x and DSP563x family of DSPs for almost 10 years. Do not let the number of pins fool you, the circuitry is straightforward, and these devices are more like microcontrollers on steroids than mysterious DSPs. They are not for every application, but where they are needed, they shine.

In addition, I typically program them just like microcontrollers. That is, the code is simple and does not use the signal processing hardware at all. This type of code probably makes up 95% to 99% of the program and is generally the user interface software and initialization code. The actual digital signal processing routines are a little more difficult to code, but those routines are usually small. And, after everything has been set up, you can play with the signal processing code, endlessly trying almost any type of signal processing you can think of.

PREVIOUSNEXT

 


Circuit Cellar provides up-to-date information for engineers. Visit www.circuitcellar.com for more information and additional articles.
For subscription information, call (860) 875-2199, subscribe@circuitcellar.com or subscribe online. ýCircuit Cellar, the Magazine for Computer Applications. Posted with permission.
Click here to get your listing up.

Copyright © 2003 ChipCenter-QuestLink
About ChipCenter-Questlink  Contact Us  Privacy Statement   Advertising Information  FAQ