This preview has intentionally blurred sections. Sign up to view the full version.
Unformatted text preview: (Points : 5) Concatenation Combination Concurrency Connectivity Question 4. 4. (TCO 3) A PWM is to be programmed to output a signal with a pulse high width of 150 usec and a pulse low width of 250 usec. What are the values required for prescale (if any) PWMPER and PWMDTY? An 8-bit configuration is used and the E-clock is 24 MHz. (Points : 10) Total time of cycle=150+250=400 usec Hence total number of counts minimum required=(400*10^-6)/(1/24*10^(-8))=9600 1198009323 MultipleChoice 4 1198009324 MultipleChoice 12 1198009325 MultipleChoice 15 However maximum count possible =2^8=256 Since 9600/256=37.5 Thus value of PRESCALER required=64...
View Full Document
- Spring '12
- Pulse-width modulation, usec, 8-bit PWM counters, timer overflow flag, Free-running TCNT TOF