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

how write eeprom during power off time

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



Joined: 09 Aug 2007
Posts: 82
Location: TN, India

View user's profile Send private message Send e-mail

how write eeprom during power off time
PostPosted: Fri Sep 14, 2007 10:31 am     Reply with quote

hai,

i want to write my data during power off time. i try interrupt coding but it not work. interrupt coding is work only low to high. pls give solution for problem. i use 16F873A


by
E.karthic
Ttelmah
Guest







PostPosted: Fri Sep 14, 2007 3:22 pm     Reply with quote

Direct use of the ordinary interrupt input, generally won't work, because it's detection level will actually start to drop as the supply rail falls. You need an external chip to do the detection, and trigger the interrupt. It can be done with a cheap comparator, or a monitoring IC, or (better), if the supply comes through a regulator, using a simple resistive divider, from the incoming supply before the regulator.

Best Wishes
karthickiw



Joined: 09 Aug 2007
Posts: 82
Location: TN, India

View user's profile Send private message Send e-mail

thank u,
PostPosted: Fri Sep 14, 2007 7:50 pm     Reply with quote

sir,

give any circuit for produce the interrupts during supply off time.

by
E.karthic
Ttelmah
Guest







PostPosted: Sat Sep 15, 2007 2:26 am     Reply with quote

It is going to depend totally, on the nature of _your_ supply.
How is the regulated supply generated?.
What voltage is being used?.
What PIC is involved?.
What are it's operating voltage limits?.
How much data needs to be written?.
How frequent are interruptions likely to be?.
What ripple is present normally on the supply?.

Best Wishes
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