STM32F0 – AnyPinServo Library

Servos are great. They generally work really well and contain all the control and drive circuitry for reasonably precise error free position keeping. Servos are interfaced through PPM with the standard generally being deemed as a pulse between 1ms – 2ms and a period of 20ms. I’ve written code before for the STM32F0 discovery boards to allow servos to […]

uHMCU FPGA Implementation

Having already designed the microcontroller in a simulation environment, I wanted to take it to the implementation phase. I’d previously shown an implementation of a timer in simulation so keeping the same test program, I wanted to make sure it worked in implementation! Firstly, I decided to replace the simulation ROM and RAM for IP […]

Return of the HMCU…

Well! It turns out I’m coming to the end of my work placement (booo!) but boy have I learnt a lot. A lot of my work consisted of writing VHDL, along with testing its functionality in a simulation environment. I’ve learnt about text file parsing, different methods of structuring your VHDL code, along with good […]

MSP430 Value Line – TI Launchpad

Well after feeling quite happy at my current level with the ST microcontrollers, I decided to learn a completely new and upcoming architecture – the MSP430 series of microcontrollers, designed by TI for low power applications. They have loads of features, including advanced timers, ADCs and a 16bit architecture. More info can be found on […]

STM32F0 Tutorial 1 – GPIO

So I’ve finally got round to writing my first tutorial! This first tutorial will be on using the STM32F0 with simple GPIO ports. I’ve set it up so that the LED’s will alternate depending on whether the push button is pressed or not. I’m using Coocox for my IDE and there are loads of other […]