STM32F0 – Software capacitive touch

Capacitive touch is “rad”. By utilizing one of the simplest physical characteristics of an object – charge storage, one is able to measure the presence of a grounded object including touch and pressure. There are a couple of capacitive touch libraries that I’ve seen around but many require dedicated hardware, for example the TSC peripheral […]

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 […]

Enter the uHMCU…

It’s been a while since I’ve sat down to do some proper VHDL but today (after MASSIVE advances with the Phobass these past few days), I’ve decided to write a miniature version of the HMCU. I say miniature in the lightest sense. Features: MISC architecture featuring 9 Instructions 16bit processing capability (22bit program word length) […]

STM32F0 Software UART

Well it certainly has been a long time since I last posted! This however is something I’ve been wanting to try and implement for a long time, I just haven’t got round to it as of yet. So what is it you ask? How about: The ability to use UART on any pin with edge […]

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 […]

STM32F4 SPI VGA Controller

Well it seems all of my projects recently have been based around my LCD monitor! I think its just because its fun to actually be able to see the outcome of your work as opposed to just seeing a statement change in debug or an LED flash. This isn’t actually an original idea of mine, I […]