ZuLu
 
 
  Joined: 13 Sep 2013 Posts: 3
  
			
			 
			 
			
			
			
			
			
			
			
  
		  | 
		
			
				| time delay between power up and main function. | 
			 
			
				 Posted: Tue Sep 17, 2013 5:44 am     | 
				     | 
			 
			
				
  | 
			 
			
				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. | 
			 
		  |