Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 26th June 2009, 01:58 AM   #31
Default

Oh okay. But what do you mean by "proper" initialization? It's going through the registers that control the oscillator and setting the values.
__________________
Tanaka Sensei (avatar) says: Please spell it "ridiculous" correctly! Not "rediculous". ^^
dknguyen is offline  
Old 26th June 2009, 02:08 AM   #32
Default

Quote:
Originally Posted by dknguyen View Post
Oh okay. But what do you mean by "proper" initialization? It's going through the registers that control the oscillator and setting the values.
That's what I mean. I just want a working example of an LED blinker for the dsPIC33. I just started with the dsPIC33 today. I usually use 8 bit devices.
solarwind is offline  
Old 26th June 2009, 05:43 AM   #33
Default

See my code in this thread.
__________________
Inside every little problem, is a big problem trying to get out.
kchriste is offline  
Old 26th June 2009, 06:39 AM   #34
Default

Quote:
Originally Posted by kchriste View Post
See my code in this thread.
Many thanks, human.
solarwind is offline  
Old 12th October 2009, 03:11 AM   #35
Default

hey guys need sum help. is there any difference in programming between the dspic30f and dspic33f? i am well versed with AVR family.recently started with PIC. plz cld sum1 giv me links to C tutorials for dspic33f. urgent....
dracoz is offline  
Old 12th October 2009, 05:57 AM   #36
Default

Not much difference; more to do with different PIC features and peripherals than anything else. I posted some very simple 30F starter code here where as the link above was for a 33F. Are you already familiar with C or not? If not, a generic C tutorial would help also.
__________________
Inside every little problem, is a big problem trying to get out.
kchriste is offline  
Old 13th October 2009, 07:18 AM   #37
Default

i am familiar with C . have done projects on Atmel microcontrollers. m goin to use the dsPIC33FJ128MC804. ya i saw ur code before already. thanks for it. i guess il hav 2 studythe datasheet more thouroughly. jst got confused with some of the header files... i can use MPLAB IDE v8.36 for programming rite..? is there a simulator also available with it...?

thanks much appreciate

Last edited by dracoz; 13th October 2009 at 07:20 AM.
dracoz is offline  
Old 13th October 2009, 09:44 PM   #38
Default

Wow, major resurrection of zombie thread.

The way you declare interrupts is different from other PICs. Also the way of declaring the setting for the config "fuse" bits is different.
MPLAB Sim (part of MPLAB) works for 33F just like any other PIC chip.

You need to select the Linker script for your specific part, select the device under MPLAB's Configure tab, and add "#include <p33fxxxx.h>" at the top of the file.
__________________
I thought what I'd do was I'd pretend I was one of those deaf-mutes.
Oznog is offline  
Reply

Tags
dspic33f, whoopie

Thread Tools
Display Modes




All times are GMT. The time now is 09:14 PM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker