Microcontrollers have on-board timers that are free running that can be used for various things. It is very useful for executing code that needs to be run at a constant interval.
[Read More]
MSP430 Lab 3: Interrupts
Learning about how to configure interrupts, what they do and how to use them.
Interrupts are events that stops the microcontroller from going further into the program and executes code that handles the interrupt. Afterwards, it returns to the next line of code that it was previously running.
[Read More]
MSP430 Lab 2: IO
Using memory maps and internal registers to control GPIO ports.
Microcontrollers use memory maps in order to control the various ports it has on the board. Each pin has multiple registers that controls its behavior such as whether it’s an input/output, whether the internal resistor is enabled and if it’s a pull-up/down resistor.
[Read More]
MSP430 Lab 1: Blinky
A simple program to make an LED blink.
Blinky is the go-to first project for any microcontroller. This lab verifies that the toolchain is working, that the microcontroller is functional and the process of programming it is familiarized.
[Read More]
MSP430 Lab 0: Introduction
A brief introduction to the MSP430 microcontroller and its specifications.
The MSP430 is a low-cost microcontroller from Texas Instruments that is suitable for getting your feet wet into embedded work. The one I purchased for my own learning, experiments and testing is the MSP430G2452IN20.
[Read More]