Configuring & Programming ADC10 of MSP430G2x Launchpad
In this section we will learn how to configure and use the ADC10 of MSP430G2XX3 microcontroller that comes with the TI Launchpad development board. Later we will configure the internal temperature sensor of MSP430 and display the value on a 16X2 LCD module.
Serial Communication using MSP430G2x UART (USCI_A) Module
In MSP430, serial communication is handled by an on chip peripheral called USCI (Universal Serial Communications Interface​).The peripheral is designed in such a way that it can handle multiple serial communication formats ,synchronous as well as asynchronous like SPI,I2C,IrDA,UART etc.
Understanding Watch Dog Timer (WDT+) of MSP430G2x
Main function of a watch dog timer is to reset the microcontroller when it gets trapped in an infinite loop or experience a software fault .It is basically a hardware timer which counts up and resets the controller after the specified time has passed.
During normal operation,the running program has to periodically clear the counter so that it doesnt reset the microcontroller .When the program gets stuck in a software loop,WDT is not cleared at the proper time as a result it counts up and resets the controller.
Configuring the I/O Ports of MSP430G2x Microcontroller
MSP430 microcontroller series usually has 8 bit ports numbered as Port 1, Port 2, Port 3 etc.
Ports 1 and 2 have interrupt capabilities and can have internal pullup resistors. Please note that there is no Port 0.
Ports of MSP430G2xxx
In the case of MSP430G2553, two 8 bit ports Port1 and Port 2 are available.
Introduction to MSP430 MicroController Programming using Launchpad Dev Board
MSP430 is developed by Texas Instruments as an extremely low power 16 bit architecture for use in low power, low cost, energy constrained embedded applications. The Hardware used is the MSP430 Launchpad from TI which contains a programmer/Debugger.
Please note that this tutorial is a work in progress so new info will be added as it becomes available.
Clock System and Low Power Modes of MSP430
This is a brief introduction into the clock system and low power modes supported by MSP430x2xxx series microcontrollers (like MSP430G2553).
- Read more about Clock System and Low Power Modes of MSP430
- Log in to post comments
Timer A of MSP430
MSP430 series chips have two types of Timers known as Timer_A and Timer_B. Both of them are 16 bit timers with several capture compare channels and selectable clock sources. Timer_B is slightly complex than Timer_A and offers more extensive interrupt capabilities and capture compare channels.
- Read more about Timer A of MSP430
- Log in to post comments