hw4.s10 - CPE/EE 323 Introduction to Embedded Computer...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the 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 6-9) 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

This note was uploaded on 12/04/2011 for the course CPE 323 taught by Professor Milenkovic during the Spring '10 term at University of Alabama - Huntsville.

Page1 / 9

hw4.s10 - CPE/EE 323 Introduction to Embedded Computer...

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