Enrico Garante Blog on EmbeddedRelated.comhttps://www.embeddedrelated.com/blogs-1/nf/Enrico_Garante.php
Enrico Garante Blog on EmbeddedRelated.comhttps://www.embeddedrelated.com/blogs-1/nf/Enrico_Garante.php
https://d23s79tivgl8me.cloudfront.net/user/profilepictures/91007.jpgen-USThu, 14 Dec 2017 00:21:43 +00001513210903MSP430 LaunchPad Tutorial - Part 4 - UART Transmissionhttps://www.embeddedrelated.com/showarticle/420.php
Today we are going to learn how to communicate using UART with the Launchpad. For this purpose I will replace the default microcontroller that comes with the board with the MSP430G2553. It is the most powerful device in the MSP430 Value Line and it comes with an integrated hardware UART module, along with 16 Kb of Flash memory, 512 bytes of SRAM and an 8-channel, 10 bit...]]>Wed, 03 Jul 2013 15:49:00 +0000Enrico GaranteMSP430 LaunchPad Tutorial - Part 3 - ADChttps://www.embeddedrelated.com/showarticle/199.php
In this new episode of our journey into MSP430 I will explain the basics of Analog to Digital Conversion on the MSP430G2231.We will write a program that will read an ADC channel and will toggle some leds based on the result of the conversion.

We start as usual with the inclusion of the header file for the MSP430G2231, the leds stuff and with the definition of a variable...]]>

Tue, 25 Jun 2013 10:46:11 +0000Enrico GaranteMSP430 Launchpad Tutorial - Part 2 - Interrupts and timershttps://www.embeddedrelated.com/showarticle/182.php
What is an "interrupt"? It is a signal that informs our MCU that a certain event has happened, causing the interruption of the normal flow of the main program and the execution of an "interrupt routine", that handles the event and takes a specified action.

Interrupts are essential to avoid wasting the processor's valuable time in polling loops, waiting for external events (in...]]>

Mon, 17 Jun 2013 12:11:39 +0000Enrico GaranteMSP430 Launchpad Tutorial - Part 1 - Basicshttps://www.embeddedrelated.com/showarticle/179.php
TI's LaunchPad is a complete MSP430 development environment: all you have to do is download and install CCS IDE (login required), connect your G2231-ready LaunchPad to your computer with the included mini-usb cable, and you are ready to code!

Texas Instrument MSP430 LaunchPad

So, let's see how to start a new project in Code Composer Studio. This IDE is derived from Eclipse,...]]>