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.

dsPIC vs PIC and C question

Status
Not open for further replies.

epp

Full Member level 5
Joined
Mar 4, 2004
Messages
243
Helped
12
Reputation
24
Reaction score
4
Trophy points
1,298
Activity points
1,847
Hi!
I will have to work with dsPIC and I am interested what's the difference between it and PIC controller (never worked with any)? I konw that first one is better and still cheap.

Is there any difference in programming language (C) for dsPIC compared to PIC? I suppose that asembler is little different.

How can I start to learn C? Is some classic undergraduate course in C enough to understand C for some microcontroller or I will have to learn specific C for dsPIC?

Thanks.
Regards.
 

alexz

Full Member level 5
Joined
Nov 19, 2004
Messages
283
Helped
6
Reputation
12
Reaction score
3
Trophy points
1,298
Location
UK
Activity points
2,246
It is better starting from the basic C, and then look at the actual compiler you are going to use.
I am taking you are going to use C30 compiler
 

    epp

    Points: 2
    Helpful Answer Positive Rating

mwmmboy

Full Member level 2
Joined
May 18, 2001
Messages
134
Helped
8
Reputation
16
Reaction score
2
Trophy points
1,298
Activity points
978
hi,
I think you need first to know the hardware and then to have a small knowledge of C programming. Usualiy It is C programming but often in Assembler style..

bye
 

    epp

    Points: 2
    Helpful Answer Positive Rating

4MD

Newbie level 4
Joined
Jul 1, 2005
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,335
Can you tell me Hi-Tech dsPIC v9.50 and Microchip C30? I don't known which i shoud use to progam. I will have to work with dsPIC about Speech Recognition.
thanks you
 

btbass

Advanced Member level 5
Joined
Jul 20, 2001
Messages
1,896
Helped
438
Reputation
880
Reaction score
288
Trophy points
1,363
Location
Oberon
Activity points
12,887
I would use the Microchip C30, it is a port of the GCC compiler which knocks spots off the other offerings. I am using the dsPic in my work and it is a very nice Micro for embedded. True 16 Bit.

C is a powerful and expressive language, and like any language, it takes time and experience to get the best out of it. The only way to learn is by using it in real world applications. Books like 'Learn C in 21' days are bullshit! You might as well publish,
'Learn Swedish in 21 days'. You will get about the same from both.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top