EmbeddedRelated.com
Forums
Memfault Beyond the Launch

PIC vs DSP

Started by AMIT KAPOOR January 7, 2005
Hifriends/seniors

HAPPY NEW YEAR !!!!

Well, thisnew year i would like to make some major changes ....NoCHANGE No FUTURE ...haha ...just kidding ....actually till now i was working with PIC ..n i think ( just i think!..lol) i have quite good hold on PIC's ......but but i dont knw much abt DSP's..but i REALLY want towork on DSP's ..so here goes my questions .....
1. As far as i knw , dsp's have higher processing speed(hmm...100 mhz n above too) where as PICS have around 40 mhz ...so question comes is : can DSP do all what PIC can do ...i mean it also has ADC , PWM, INTERRUPTS ,SERIAL COMMUNICATION,CAN,I2C,N SO ON...????...IN short , can dsp replace pic or other microcontroller....
2. pros n cons of dsp over pic ....

lets discuss it .....Please do spare some time to discuss about it ..

Thanx alot
Amit
No PICs will run at 40 MHz, the clock is divided by four. I have an ADI
Blackfin DSP board that runs at nearly 500 MHz.

DSPs are designed to perform operations like MAC (multiply and accumulate,
commonly used for convolution) in a single cycle. They are available with
ADCs, DACs, serial I/O etc. but they typically have limited I/O capability,
and aren't as suitable as a conventional MCU for general use. They often
come with floating-point capability. They also take large amounts of power.

2. pros n cons of dsp over pic ....

Can't really compare them, they are so different.

Leon
Amit,

DSPs are highly specialized devices for carrying out digital signal
processing operations like fast fourier transforms, convolutions,
filtering, signal compression, etc. They are very good at carrying
out large complex mathematical computation in real-time, but
generally do not have ADCs, UARTs, CAN, etc.

A DSP is not a good substitute for a PIC anymore than a math
coprocessor would be a good substitute for a PIC.

I don't mean to discourage you from learning about DSPs though. It's
been years since I've worked with them, and I'm sure they are much
more complex these days, but they are fascinating devices with their
own native instuction sets. Their application in all kinds of
communication devices is indeed also fascinating.

Take Care,
Maybe the dsPIC would be a good place to start?


http://www.microchip.com/stellent/idcplg?
IdcService=SS_GET_PAGE&nodeIdu

HangGlider
Thanx for ur reply....
so for example if i want to use DSP for motion control..can i? In past i controlled it using PIC as it is having PWM ,etc.....actually in my project i have a analog sensor ,depending upon sensor value captured by PIC I controlled two motors(x & y axis)...so is possible to implement it using DSP......secondly the data need to be transfered to PLC also using protocol....i implemented it usig PIC...but to increase the speed and getting experince with DSP ...I WANT TO implement it using DSP ....so please let me know from where should i start...i mean
1.. which dsp sould i choose ?
2. which compiler ...
3. how programming is done ....
4. PDIP ,DIP type dsp are available( i love testing on breadboards from scratch)....?i understand more if i make circuit myself rather than using the ready made boards.....
5 please send me any tutorial weblinks to learn from basics about DSP....

THANX ALOT
Amit
None of the current DSPs are made in DIL packages, they are all
surface-mount.

Have a look at the ADI web site for info on DSP:

http://www.analog.com

There is also the TI web site:

http://www.ti.com

ADI DSPs are easier to use than TI's, IMHO

The Blackfin EZ-Kit is very good value, and comes with a compiler. I only
paid $80 for mine, when they were on special offer.

Leon
Leon Heller wrote:
>None of the current DSPs are made in DIL packages, they are all
>surface-mount.
>
>Have a look at the ADI web site for info on DSP:
>
>http://www.analog.com
>
>There is also the TI web site:
>
>http://www.ti.com
>
>ADI DSPs are easier to use than TI's, IMHO
>
>The Blackfin EZ-Kit is very good value, and comes with a compiler. I only
>paid $80 for mine, when they were on special offer.
>
>Leon

Hi. You could take a look at:

http://ww1.microchip.com/downloads/en/DeviceDoc/dspbrochure_70095G.pdf

It is a 1790 Kb brochure about the DSPic. It says there are a few in DIL
package. In fact I got some DSPIC30F4011-30I/P (this is the complete
code for ordering) which are DIL from microchip as samples.

Regards,

*Carlos Marcano*
-Guri, Venezuela-

Memfault Beyond the Launch