App note: Multiple time-bases from a single timer module in MPS430 devices

Posted on Saturday, June 30th, 2012 in app notes by DP

Here is an app note from Texas Instruments describing how to implement multiple time-base outputs from a single timer module on a MSP430 microcontroller.

The timer modules on MSP430™ ultra-low power microcontrollers often base several different outputs off of a single time base – a single timer period. This is especially true for the typical implementation of pulse width modulation (PWM) signals on the MSP430 devices, where one capture compare register (TxCCR0) sets the period, and the rest (TxCCRx) simply set different duty cycles. However, in some applications, multiple time bases are needed to generate multiple output frequencies. Normally this is done using multiple timer modules, but this might require upgrading to a part with many more extra features that may not be needed for the application. However, in exchange for a small amount of software overhead, multiple time bases can be implemented on a single MSP430 timer module, allowing for more features to be implemented on a simpler MSP430 device. This potentially can reduce cost and board space by allowing a smaller MSP430 device to be used and, on large MSP430 devices, allows for new applications requiring a large number of different output frequencies to be implemented.

This entry was posted on Saturday, June 30th, 2012 at 9:00 pm and is filed under app notes. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Edward Mallon: I've managed to get cheap thermistors calibrated to about to +/- 0.2C with 3.3v Arduinos. Instead of playing whack-a-mole with the various sources of...
  • Ja: What the keyer do? Sends random morse code or there is some input? If someone can point me to some source to read I would...
  • Sorin: Pleasure of free!
  • hli: Sunday++
  • Max: Jolly good stuff, although the "include 100 W resistors in series with the inputs and outputs" part is quite hilarious until one realizes* they meant...