STM32F0 CubeMX Tutorial 1 – GPIO

It’s certainly been a while since I wrote a tutorial, a lot of the STM32 ecosystem has changed and its probably time I changed with it. CubeMX was developed by ST to streamline application design and creation. It allows for a visual method of generating initialization code without needing to know the ins and outs […]

The Neon Clock

Building a clock really is about as textbook as it gets when it comes to electronics projects – especially on the internet. I however have never build a clock (not intentionally anyway… I wouldn’t count the measily effort of my smartwatch!) so I’ve decided to have a go at one. Instead of doing one of […]

Ochi – Version 1

A couple of weeks back, I posted about designing a pair of smart glasses. Now that university has finished for the year (results tomorrow!), I’ve had a lot more time to work on my glasses – though I started employment on Monday so I’m not completely free. I have however been developing both an app […]

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

uHMCU Alpha 0.1 – Interrupts and improved assembly

Term is over! I’m free for another Easter so hopefully I can get a couple of blog posts done though I’m taking a trip to visit Chernobyl so my levels of irradiation might end up screwing up everything electronic… (lol.) Assembler The assembler I’ve been using previously had been written quite a while ago and […]

uHMCU – Alpha 0.1

After a pretty large redesign, I can now safely say that the uHMCU is in alpha stage! I’ve ironed out most of the bugs for my USART module and can now both send and receive data. I tested it up to 115200 baud with the USB <-> USART bridge on my FPGA board and after […]

uHMCU 7 – USART

I posted about my microcontroller design a couple of posts back. As it turns out, I had actually designed it wrong! I didn’t have the pipeline fully sorted meaning I couldn’t properly execute some instructions and some things weren’t working properly. After a quick stack overflow¬†question, I realised the error of my ways and figured […]

HMCU V1…2…3…6?

Its been a long time since I’ve written VHDL and I’ve since forgotten which version of my microcontroller I’m on – my filing system says 6 but I’m feeling a bit sceptical, 6 rewrites seems a bit extreme! Regardless, I’ve since been deciding what I should do for my final year project and one of […]

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