prac_exam2_A08 - ECE2801PRACTICEEXAM#2ATerm2008...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE2801  PRACTICE EXAM #2 –  A Term 2008 Clocks, Timers, ADC and SPI  Study HW3, HW4, Bonuz Quizes 3&4, Class Notes, User's Guide Ch 4, 13, 20, 15 Work all problems with your note sheet first THEN look at solutions! 1)  Answer the questions below completely. (25 pts)   a)  Explain one advantage and one disadvantage of parallel interfaces between a CPU      and its peripherals.      b)  Explain one advantage and one disadvantage of serial interfaces between a CPU             and its peripherals.     c) Explain the operation of a Timer in “up mode”.      d)  True or False:  Using Timers causes a big drain on CPU speed.  Explain     e)  What is the dynamic range of a 10 bit ADC?
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2)   Answer the questions using the Timer B configuration code below.  Assume that the  MSP430F449's system clocks are running in their default configuration.  (25 pts) void runtimerb(void) {   TBCTL = TBSSEL_1 + CNTL_0 + MC_1 + ID_0;    TBCCR0 = 16384;   TBCCTL0 = CCIE;       }     a)  Explain exactly how TimerB0 is configured to run.  Specifically what is the counter           clock frequency, the counting mode,  the counter size (bits), the value of the           maximum count?  Is counter's interrupt enabled?  Explain the operation of the           counter when the program is executing 
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.
  • Fall '08
  • Jarvis
  • Serial Peripheral Interface Bus, Serial communication, asynchronous communication, SMCLK, Timer mode control, Timer input divider

{[ snackBarMessage ]}

Page1 / 7

prac_exam2_A08 - ECE2801PRACTICEEXAM#2ATerm2008...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online