This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: CPE/EE 323 Introduction to Embedded Computer Systems Homework IV 1(25) 2(25) 3(25) 4(25) Total __ __ __ ____ Problem #1 (25 points) Microcontroller MSP430 is using 32KHz crystal connected to LFXT1 Oscillator, 8MHz crystal connected to XT2 Oscillator, and 3V power supply. See Appendix (pages 69) for necessary information. Datasheet specifications: f Rsel+1 / f Rsel = 1.65, f DCO+1 / f DCO = 1.12, DCOR: use internal R osc Set the following modes of operation (If the bit can be either 0 or 1, put X): A. (5 points) processor clock (MCLK) to 8MHz, ACLK to 8KHz, SMCLK to 750 KHz. BCSCTL1: ____ XT2Off XTS DIVA.1 DIVA.0 XT5V Rsel2 Rsel1 Rsel0 BCSCTL2: ____ SELM.1 SELM.0 DIVM.1 DIVM.0 SELS DIVS.1 DIVS.0 DCOR DCOCTL: ____ DCO.2 DCO.1 DCO.0 MOD.4 MOD.3 MOD.2 MOD.1 MOD.0 B. (5 points) processor clock to 840KHz, SMCLK to 420KHz, and ACLK to 32KHz. BCSCTL1:____ XT2Off XTS DIVA.1 DIVA.0 XT5V Rsel2 Rsel1 Rsel0 BCSCTL2:____ SELM.1 SELM.0 DIVM.1 DIVM.0 SELS DIVS.1 DIVS.0 DCOR DCOCTL: ____ DCO.2 DCO.1 DCO.0 MOD.4 MOD.3 MOD.2 MOD.1 MOD.0 Nominal period (1/frequency) for a given Rsel C. (5 points) processor clock to 2MHz, ACLK to 32 KHz, SMCLK to 1MHz. BCSCTL1: _____ XT2Off XTS DIVA.1 DIVA.0 XT5V Rsel2 Rsel1 Rsel0 BCSCTL2: _____ SELM.1 SELM.0 DIVM.1 DIVM.0 SELS DIVS.1 DIVS.0 DCOR DCOCTL: _____ DCO.2 DCO.1 DCO.0 MOD.4 MOD.3 MOD.2 MOD.1 MOD.0 D. (5 points) processor clock and SMCLK to 787 KHz and ACLK to 32KHz....
View
Full Document
 Spring '10
 Milenkovic
 Interrupt, Programmable Interrupt Controller, DCO

Click to edit the document details