Question: Assume the processor consumes 3 2 mA during normal operation, 8 mA at the idle mode, and 3 0 uA at the sleep mode. Consider
Assume the processor consumes mA during normal operation, mA at the idle mode, and
uA at the sleep mode. Consider the following code:
main
SWDTEN ; Enable watchdog timer
while
asmpwrsav#; idle mode
task;
Assumptions :
The Watchdog Timer WDT prescaler NWDTPRE divides by and postscaler N
WDTPOST divides by
The time taken by the function task is us
a Compute the WDT timeout
WDT timeout N N s
b Compute the approximate percentage of time in which the processor is in the sleep
mode and normal mode
Normal mode time percentage us us
Sleep mode time percentage s us
c Compute the average current consumption.
Average current uA mA uA
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
