Chapter 04 Appendix
Chapter 04 Appendix
Chapter 4 Worksheet (1)
Hints:
The MSP430 DriverLib Users Guide will be useful in helping to answer these
workshop questions. Find it in your MSP430ware DriverLib doc folder:
e.g. \MSP430ware_1_60_01_11\driverlib\doc\
Maybe even more helpful is to reference the actual DriverLib source code –
that is, the .h/.c files for each module you are using. For example:
\MSP430ware_1_60_01_11\driverlib\driverlib\MSP430F5xx_6xx\ucs.h
Finally, we recommend you also reference the DriverLib UCS example #4:
\msp430\MSP430ware_1_60_01_11\driverlib\examples\MSP430F5xx_6xx\ucs\ucs_ex4_XTSourcesDCOInternal.c
Reset and Operating Modes & Watchdog Timers
1. Name all 3 types of resets:
______________________________________________________
2. If the Watchdog (WDT) times out, which reset does it invoke?
______________________________________________________
3. Write the DriverLib function that stops (halts) the watchdog timer:
________________________( WDT_A_BASE );
BOR, POR, PUC
PUC
WDT_A_hold
Chapter 4 Worksheet (2)
Power Management
4. (‘F5529 Launchpad users only)
Write the DriverLib function that sets the core voltage needed to run
MCLK at 8MHz.
_______________________( PMM_BASE,
_________________________);
Clocking
5. Why does MSP430 provide 3 different types of internal clocks?
______________________________________________________
______________________________________________________
______________________________________________________
Name them:
____________ ____________ ____________
initPowerMgmt
PMM_CORE_LEVEL_1
To meet the varying demands of performance, accuracy, and power.
One clock runs the CPU, while the other two provide fast and
slow/low-power clocking to the peripherals
MCLK SMCLK ACLK
4 - 60 MSP430 Workshop - MSP430 Clocks & Initialization