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

time delay between power up and main function.

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



Joined: 13 Sep 2013
Posts: 3

View user's profile Send private message

time delay between power up and main function.
PostPosted: Tue Sep 17, 2013 5:44 am     Reply with quote

Hello my friends,

I have PIC18F8723 micro controller in my circuit, this MCU controls inhibit of main power supply. When MCU power supply is stand up, I could not control any ports earlier than 63msec. Minimum time delay of controlling a port in main function is 63msec as shown. In scope screen yellow signal is pin of MCU, green signal is MCU power supply.



How can i control any ports just after power up?I want to shorten this delay as soon as possible.

Fuses:
Code:
#FUSES NOWDT                    //No Watch Dog Timer
//#FUSES HS                     //Low power osc < 200 khz
#FUSES INTRC_IO                 //Internal Oscillator enabled  LEBC
#FUSES NOPROTECT                //Code not protected from reading
#FUSES NOBROWNOUT
//!#FUSES BROWNOUT                 //brownout reset enabled    LEBC
//!#FUSES BORV42                   // 4.2'de reset olacak
#FUSES NOPUT                    //Power Up Timer enabled
#FUSES NOCPD                    //No EE protection
#FUSES NODEBUG                  //No Debug mode for ICD
#FUSES NOLVP                    //No low voltage prgming, B3(PIC16) or B5(PIC18) used for I/O
#FUSES NOWRT                    //Program memory not write protected
#FUSES NOCPB                    //No Boot Block code protection
#FUSES MCLR                   //Master Clear pin enabled


Main function summary:
Code:
void main()
{

   set_tris_E(0x00);
   output_E(0x80);
...
}


Thanks.
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