NOTICE: The Processors Wiki will End-of-Life in December of 2020. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

SYS/BIOS Training Lab: Timer App

From Texas Instruments Wiki
Jump to: navigation, search

This lab is designed to introduce users to some of the concepts of using the SYS/BIOS RTOS.

Overview

The project set available for download from this page is called Timer. This includes an incomplete project for users to add code per the lab's instructions, and a completed solution project in which all of the code has already been added. To get the most out of using this material, we suggest you start with the incomplete project and attempt to walk through the exercise yourself, using the completed solution project to check your work at the end.

These labs are designed to work on the MSP430 using:

  • MSP430F5438A device
  • MSP-EXP430F5438 Experimenter Board
  • Code Composer Studio v4.x
  • MSP-FET430UIF emulator

Timer Lab

Goals

  1. Build and run a simple app that uses SYS/BIOS Timer services to flash an LED
  2. Inspect the basic SYS/BIOS state with the Runtime Object Viewer (ROV)

Tasks

  1. Open, inspect, build, run the timer example project
  2. Open ROV, inspect SYS/BIOS state
  3. Extra credit: Change Timer configuration to flash LED ten times faster

Questions

  1. Which timer peripheral is used by SYS/BIOS?
  2. What interrupt number is used by the Timer?
  3. How many Hwi objects are used by the app?
  4. What is the peak Hwi stack usage?
  5. How much FLASH is used by the app? And RAM? How much of this is stack?


Download

Timer Lab

Timer Lab Solution