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 CCS Technical Support

Search found 5 matches
CCS Forum Index
Author Message
  Topic: Power consumption in SLEEP mode
hcalex

Replies: 12
Views: 19761

PostForum: General CCS C Discussion   Posted: Tue May 24, 2011 2:30 pm   Subject: Power consumption in SLEEP mode
I found the solution, I needed to add the following configuration parameter:

#FUSES NOFCMEN //Fail-safe clock monitor disabled
  Topic: Power consumption in SLEEP mode
hcalex

Replies: 12
Views: 19761

PostForum: General CCS C Discussion   Posted: Thu May 19, 2011 2:37 am   Subject: Power consumption in SLEEP mode
At the moment the above posted code IS my test code. I compile exactly this code and program my target with that. I measure the current between the battery and the PIC. The only pins of the PIC which ...
  Topic: Power consumption in SLEEP mode
hcalex

Replies: 12
Views: 19761

PostForum: General CCS C Discussion   Posted: Wed May 18, 2011 11:43 pm   Subject: Power consumption in SLEEP mode
Another comment. I global interrupts stay apparently disabled, otherwise it would matter that the external interrupt isn't preceeded by a pin initialization. Also, there's no IRQ handler.

Yes, I di ...
  Topic: Power consumption in SLEEP mode
hcalex

Replies: 12
Views: 19761

PostForum: General CCS C Discussion   Posted: Wed May 18, 2011 2:18 pm   Subject: Power consumption in SLEEP mode
No, to find the reason for the leakage i removed the pull-ups from my circuit. Now, I also removed the #use I2C line in my code.
But now it is very strange... I measure a power consumption over 1.2mA ...
  Topic: Power consumption in SLEEP mode
hcalex

Replies: 12
Views: 19761

PostForum: General CCS C Discussion   Posted: Wed May 18, 2011 1:40 pm   Subject: Power consumption in SLEEP mode
Hey,

my first post here Smile.

I use the CCS compiler 4.109 and a PIC 18F1320. My problem is that the current (160µA) is too high in sleep mode and I can't find the reason :(.
At the moment my ci ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group