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

CCS Compiler and DsPIC

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



Joined: 06 Dec 2009
Posts: 1

View user's profile Send private message

CCS Compiler and DsPIC
PostPosted: Sun Dec 06, 2009 6:00 pm     Reply with quote

Hi,

I have some problems with PCWHD and DsPIC30F3012. If the supply is +5V it works fine, but it the supply is +3.3V it does not work. It is a simple code, I think the problem is with the fuses...

If someone could help, thanks!
Code:

#FUSES NOWDT                    //No Watch Dog Timer
#FUSES FRC_PLL4               //Primary Oscillator with PLL
#FUSES NOCKSFSM                 //Clock Switching is disabled, fail Safe clock monitor is disabled
#FUSES WPSB1                   //Watch Dog Timer PreScalar B 1:1
#FUSES WPSA1                  //Watch Dog Timer PreScalar A 1:1
#FUSES PUT4                    //Power On Reset Timer value 4ms
#FUSES NOBROWNOUT               //No Brownout reset
#FUSES BORV20                   //Brownout reset at 2.0V
#FUSES LPOL_HIGH                //Low-Side Transistors Polarity is Active-High (PWM 0,2,4 and 6)
#FUSES HPOL_HIGH                //High-Side Transistors Polarity is Active-High (PWM 1,3,5 and 7)
#FUSES NOPWMPIN                 //PWM outputs drive active state upon Reset
#FUSES NOMCLR                   //Master Clear pin used for I/O
#FUSES NOPROTECT                //Code not protected from reading
#FUSES NOWRT                    //Program memory not write protected
#FUSES NODEBUG                  //No Debug mode for ICD
#FUSES NOCOE                    //Device will reset into operational mode
//#FUSES ICS0                     //ICD communication channel 0
#FUSES RESERVED                 //Used to set the reserved FUSE bits
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Dec 07, 2009 12:24 am     Reply with quote

This is more of a Microchip forum question.
http://www.microchip.com/forums/search.aspx

Search the "dsPIC30F Topics" forum over there for this:
Quote:
5v 3.3v


Then you get threads like this, which are directly about the topic:
http://www.microchip.com/forums/tm.aspx?m=412131
Quote:
Enabling 3.3V operation?
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