Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: AT91Sam7128 shutdown problem
PostPosted: Mon May 10, 2010 1:11 pm 
Offline

Joined: Fri Jan 08, 2010 12:00 am
Posts: 10
Hello all,

I am using following code to shutdown the ARM7 AT91Sam7128 chip. If i do not give much delay(i.e. more then 1sec lets say) and apply the power source again. The microcontroller seems to be halt some how. If any one can help me to get through this problem i will be very grateful.

(void) AT91F_RSTSetMode( AT91C_BASE_RSTC, 0);
// Sets the a pin low, for shutdown, this pin disables the vcc source
GPIOOutputPortLow(AT91GPIO_SHUTDOWN);
//
while(1)
{
TimersWatchdogReset();
}

Regards
Dani


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Jump to: