georpo
Joined: 18 Nov 2008 Posts: 281 Location: Athens, Greece.
|
DSPIC33 NEWBIE! |
Posted: Tue Nov 18, 2008 4:48 pm |
|
|
Hi all!
I have been working with pic micros for many years now in assembly
and I recently decided to start C. Everything is well and CCS is easy to learn.
Now, about DSpics. I assembled a dspic33fj64gp802 on a breadboard, connected successfully to ICD2 and I am trying to output a pulse to the oscilloscope. I know that it is not supported by the 4.068 version but I included the header file from DSPIC33FJ64GP708. It is the same.
Ok. I am totally confused about the fuses and there are no examples on
the net. My fuses are:
Code: | #fuses FRC,NOWDT,NOJTAG,NODEBUG. |
ICD2 programs and verifies successfully but there is no pulse on the B2 pin.
My code is simple:
Code: | while(1)
{
output_high(PIN_B2);
delay_us(500);
output_low(PIN_B2);
delay_us(500);
}
} |
All vss and avss connected to ground, all vdd and avdd connected to +3.3volts.
MCLR with 10k pullup to vdd.
100n caps close to the vdd pins.
there is no crystal because I am supposed to use the internal FRC.
Any suggestions? |
|