Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Whats the difference between DSPIC and PIC ?

Status
Not open for further replies.

pouchito

Full Member level 2
Joined
May 29, 2006
Messages
126
Helped
22
Reputation
44
Reaction score
9
Trophy points
1,298
Activity points
1,835
DsPIC vs. PIC

can anyone tell me the difference between the DSPIC and the PIC?

I know that the DSPIC is a high-performance 16-bit microcontroller with the high computation speed of a fully implemented digital signal processor (DSP).

while the PIC Is 8-bit microcontroller.

is that true?

concerning the programming,is it the same?
same instructions?

thanks in advance
 

DsPIC vs. PIC

Not same instructions, but similar. Can use same IDE, source written in C can be ported...
If you need high spped, go dsPIC, otherwise, stay with 8-bit PICs.
 

    pouchito

    Points: 2
    Helpful Answer Positive Rating
DsPIC vs. PIC

dspic is for signal conditioning too. there r motor control facility and some features and peripherals in dspic to facilitate signal processing and control applications
 

    pouchito

    Points: 2
    Helpful Answer Positive Rating
DsPIC vs. PIC

thanks :)
so if i want to start working on the dspic from A-Z, from where i should start?

n.b: i know assembly, MPlab
 

DsPIC vs. PIC

Microchip site, there are free libs there.
In general, you should write code in C. Use ASM only for time sensitive operations. With 16 registers and more complex ALU and pointer architecture, it is hard to write pure ASM code.
 

    pouchito

    Points: 2
    Helpful Answer Positive Rating
Re: DsPIC vs. PIC

My opinion: if you are an intermediate or advanced PIC user do not spend your time with DSPIC. Is the worse DSP (as MIPS) available on the market (ok, maybe there are more). Start learning a true DSP:
https://focus.ti.com/lit/ml/sprt415/sprt415.pdf
 

DsPIC vs. PIC

so it is too hard to use the asm :( ?
 

DsPIC vs. PIC

Well, here is the way I see it: Write hw interface subroutines in asm when time is critical, use ready to use libs as much as possible, but write main program and complex algorithms in C.

With more complex programs (and that is the reason you want to use dsPIC, or you would still use 16F84 :) ) writing MMI (man machine interface) becomes an suicide mission.

And I too don't see dsPICs as a true DSP, only as PIC on steroides :D
 

Re: DsPIC vs. PIC

pouchito said:
thanks :)
so if i want to start working on the dspic from A-Z, from where i should start?

n.b: i know assembly, MPlab


Hi,

You could start right here:

https://www.mikroe.com/en/books/dspicbook/00.htm

Online comprehensive manual for programming dsPIC microcontrollers in Pascal


"Learn how to write your own program, debug it, and use it to start the microcontroller. We have provided plenty of practical examples with necessary connection schemes: temperature sensors, AD and DA converters, LCD and LED displays, relays, communications, and the book is constantly being updated with fresh examples. All code is commented in details to make it easier for beginners. Instruction set, operators, control structures, and other elements of PASCAL are thoroughly explained with many examples. Also, the book includes a useful appendix on mikroPascal for dsPIC development environment: how to install it and how to use it to its full potential."
 

    pouchito

    Points: 2
    Helpful Answer Positive Rating
DsPIC vs. PIC

Pascal is very old language, and as i see nobody is still using it, is this true?
 

DsPIC vs. PIC

I think that C is even older...
Pascal is good, I use Delphi when I program in Windows..
 

Re: DsPIC vs. PIC

Beowolf said:
I think that C is even older...
Pascal is good, I use Delphi when I program in Windows..

Not agree with you.

C/C++ is still best for hardware programming.

I usually do everything in C, unless I have time sensitive application then Assembly

Back to topic.

Dspic is far more powerful. But I think most of the application can be done in 18F family.
 

    pouchito

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top