Category Archives: Stellaris

Stellaris LM3S

Code Composer Studio Graphing Tool Tutorial banner MSP430 C2000 Tiva C

Code Composer Studio Graphing Tool Tutorial

  In this Code Composer Studio graphing tool tutorial, graphing variables will be demonstrated in Texas Instruments IDE.  The process is fairly straightforward and will be shown in a video as well as some screenshots so it can be easily replicated. Introduction For the demonstration a program running on the MSP430G Launchpad was used, with View more…

Switch Debouncing Tutorial

Switch Debouncing Tutorial Pt/2

  In this switch debouncing tutorial part 2 C code debounce algorithms will be looked at further, and their effectiveness.  All the software solutions shown will be demonstrated on the MSP430G Launchpad.  However the basic principle of operation shown in the examples, can be applied to all microcontrollers, particularly the last example which is based on some View more…

Switch Debouncing Tutorial

Switch Debouncing Tutorial Pt/1

  In this switch debouncing tutorial part 1 the cause and effect of switch bounce will be explained and demonstrated, then a cost effective hardware debouncing solution will be discussed, with oscilloscope captures to demonstrate the results.  The last section of part 1 will show a simple program based on the MSP430 , this can be used to see the View more…

PID tutorial C code example using a Stellaris LM3S6965

PID Tutorial C code Example Pt/2

In this PID tutorial C code example Pt/2, the basic concept of a Boost PID controller will be explored.  All the PID controller C code is stepped through, as well as some basic concepts for testing and tuning the controller.  The final C code example can be downloaded via the link at the end of View more…

PID tutorial C code example using a Stellaris LM3S6965

PID Tutorial C code Example Pt/1

In this PID tutorial C code example Pt/1, the basic concept of a PID controller will be explored. The full example code is implemented on a Stellaris LM3S6965 microcontroller, and is used to control a simple boost converter circuit, regulating the voltage with a change in load resistance. The boost circuit is not covered in-depth View more…

Stellaris timer example frequency counter

Stellaris Timer Example

In this Stellaris timer example two timers are used to code a basic frequency counter. The code process is quite simple to implement, and as mentioned previously with other stellaris examples I would recommend using the StellarisWare Peripheral Driver Library PDF as a reference, which can be found here. The first timer is configured to View more…

Stellaris DAC7571

Stellaris DAC7571 Tutorial

The Stellaris DAC7571 tutorial will show how a LM3S6965 evaluation board is interfaced to the DAC7571 using the I2C bus. DAC7571 Hardware The DAC7571 is manufactured by Texas Instruments, and has the following key features which make it ideal for experimenting with: 6 pins IC in a SOT23 package 12 bit buffered voltage output, therefore View more…