![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #31 |
|
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". ^^ | |
| |
| | #32 |
| 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.
| |
| |
| | #33 |
|
See my code in this thread.
__________________ Inside every little problem, is a big problem trying to get out. | |
| |
| | #34 | |
| Quote:
| ||
| |
| | #35 |
|
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....
| |
| |
| | #36 |
|
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. | |
| |
| | #37 |
|
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. | |
| |
| | #38 |
|
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. | |
| |
|
| Tags |
| dspic33f, whoopie |
| Thread Tools | |
| Display Modes | |
| |