Loading

The New Alison App has just launched Download Now

Embedded Systems: Time and Event Measurement

Discover the major functions of a timer and other components of the MSP430 microcontroller in this free online course.

IT
Free Course
This free online course will discuss most of the important features of the embedded systems, such as the ability to count and measure time and events, create analog waveforms using digital controls, the ability to read external analog voltages, etc. Take this course to gain an understanding of the functionalities of the timer, pulse width modulation signals, analog-digital converters, and communication protocols in the MSP430 microcontroller.
  • Duration

    3-4 Hours
  • Certification

    Yes
  • Mobile Friendly

    Yes
  • Publisher

    NPTEL
  • Accreditation

    CPD

Description

Modules

Outcome

Certification

View course modules

Description

This free online course on Time and Events Measurement of the Embedded Systems will discuss most of the important features of the embedded systems, such as the ability to count and measure time and events, create analog waveforms using digital controls, the ability to read external analog voltages, etc. This course begins with an overview of the TIMER_A, the primary timer module found in the MSP430 microcontrollers. You will study the uses, as well as the features of the timer. With the MSP430G2553 as an example, the major components and sources of the timer will be explained. Then, with a sample code in this section, you will run a program to illustrate what can be achieved with a timer. The four modes of a timer, which are Stop, Up, Continuous, and Up/Down, will be examined. The various methods of generating Pulse Width Modulation (PWM) signals as well as the software and hardware approaches to generate analog voltages with PWM signals will be discussed.

Next, you will learn how to read external analog voltages with the Analog to Digital Converter (ADC). The sample and hold circuit, and the encoding processes of the ADC will be highlighted. You will also consider the types of ADCs from the most common, which is the Successive Approximation Register Type ADC as used by MSP430 microcontrollers, to the fastest which is the Flash Type ADC. Three sample codes on how to initialize ADCs will be demonstrated in this section. Then, you will study how the microcontrollers can generate random numbers, which is a very important aspect of the embedded systems. A Random Number Generator generates a sequence of numbers or symbols in a random order, that cannot be reasonably predicted. The two types of random number generators namely, the True Hardware Random Number Generators (HRNG) and the Pseudo-Random Number Generator (PRNG) will be assessed.

Furthermore, you will discover how a microcontroller can communicate by sending and serially receiving data using the various MSP430 communication protocol methods. The three types of communication protocols available in MSP430 along with their merits and demerits will be clarified. Thereafter, you will learn how to use a timer to capture internal and external events and measure store the value of the timers, this is called the MSP430 timer in a capture mode. The Timer_A Registers of the MSP430 microcontroller will be discussed further. TA clock which is an external pin of the MSP430 will be introduced. This pin will be clocking, incrementing, as well as setting the timer in a counter mode. Learning about the timer, event measurements, and MSP430 communication protocols will help you gain skills and understanding of most of the internal features of the MSP430 microcontroller. So, do not delay, start this course today.

Start Course Now

Careers