CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

DSPIC33 NEWBIE!

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
georpo



Joined: 18 Nov 2008
Posts: 278
Location: Athens, Greece.

View user's profile Send private message

DSPIC33 NEWBIE!
PostPosted: Tue Nov 18, 2008 4:48 pm     Reply with quote

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?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group