In this second part of the MSP430 programming tutorial examples of GPIO register settings will be shown and explained. Additionally register examples for some of the internal peripherals will be demonstrated and explained. The first part of the tutorial can be found here.
Monthly Archives: August 2014
MSP430 Programming Tutorial Pt/1
In this MSP430 programming tutorial part 1 some of basic C operators used for programming the MSP430 will be looked at. The GPIO port registers will then be looked at in greater detail. In part 2 example code for the GPIO registers will be shown and explained, as well as examples for the the ADC peripheral register. The MSP430G2253 Launchpad will be used as the reference microcontroller, the primary IDE used is Code Composer Studio (CCS). The MSP430G series family guide, as well as other useful information can be downloaded directly from Texas Instruments webpage here.
MSP430 Timer PWM Tutorial
In this MSP430 timer PWM tutorial the basic workings of the on board timer peripheral will be explained, along with some C code examples which can be downloadable at the end of the tutorial. Additionally the video below demonstrates the examples ‘A picture paints a thousand words, a video displays a thousand pictures’.
C2000 Programming Model Guide
In this C2000 Programming Model Guide, the two basic approaches to programming on the C2000 will be over viewed using the C2000 Launchpad. Some code examples will be shown, as well as a code execution speed test comparing the two methods. All the code is written in Code Composer Studio (CCS) v5.5, with the latest version of ControlSuite released at the time of this article being posted.
EagleCad Tutorial Grid Size Unit Setting
The EagleCad Tutorial Grid Size Unit Setting will cover how to edit the EagleCad eagle.scr script file. If you use EagleCad and find you want to use Mils or mm, or simple want to change the default grid settings, then this tutorial will show you how. There is also some basic information on this on the EagleCad FAQ’s page located here.
C2000 Solar MPPT Tutorial Pt/4
In this fourth and final part of the C2000 Solar MPPT Tutorial, the system set-up and testing will be looked at. This will involve the overall hardware set-up for testing, ADC calibration, reduction of noise on the ADC sampling, efficiency test and some improvements for future iterations. The final C2000 solar MPPT tutorial C code is also downloadable at the bottom of the page.
C2000 Solar MPPT tutorial Pt/3
In this third part of the C2000 Solar MPPT Tutorial, the software will be looked at in greater detail. This will entail a look at the Perturb & Observe algorithm, ADC code and timing code to ensure everything operates in a controlled manner.