Googletest in Netbeans for Test Driven Development

Netbeans is my favoured IDE for C/C++ development. It has some support for test driven development but not for Googletest which I like for its simplicity. Find out how to use Googletest in Netbeans for embedded TDD. Continue reading

Posted in Software | Tagged , , | Leave a comment

PWM basics on the STM32 general purpose timers

The STM32 Family processors include general purpose timers that have a nice PWM function that can handle four channels of independently controlled duty cycles. In this article I will look at how to set these up for basic use suitable for the majority of applications that need PWM signals. Continue reading

Posted in ARM, STM32, STM32 TIM3 | Leave a comment

clock pulses with variable phase on STM32

The CCRx registers can be set to directly produce regular clock pulses on one or more of the output pins. Square waves are especially simple and up to four channels can have variable phase relationships. Continue reading

Posted in ARM, STM32, STM32 TIM3 | Leave a comment

TIM3 Output Compare on the STM32 Family

TIM3 is a general purpose timer found on all the STM32 family processors. Among other features, it has four capture compare channels that can be used to generate regular interrupts. In this article I will show you how to set up simple interrupt events based on these features. Continue reading

Posted in ARM, Hardware, STM32 TIM3 | Leave a comment

TIM3 ARR Gives Regular Interrupts on the STM32F4

The simplest way to produce regular interrupts from a timer like TIM3 on the STM32 family of processors is to set up the Auto Reload Register (ARR) to generate an update event. This article shows you how to correctly set up the clock source, prescaler and ARR to get regular events over a wide range of frequencies. Continue reading

Posted in ARM, Hardware, STM32 TIM3 | Leave a comment

TIM3 on the STM32 – an introduction

Timer 3 (TIM3) is a general purpose 16 bit timer found on every processor in the STM32 range. It is very flexible with a wide range of features. Many of these features are also present in other STM32 timers so familiarity with TIM3 means that you can get going with any STM32 processor and build knowledge that will be useful for all the other timer types. Continue reading

Posted in ARM, STM32, STM32 TIM3 | Leave a comment

Basic systick configuration on the STM32

The ARM cortex processors all come with a systick timer that is part of the core and so should be present on any ARM cortex. This timer is very useful for producing the main system event clock. Here I will show you how to set it up on the STM32F4xx processors to generate an interrupt every millisecond. Continue reading

Posted in ARM, STM32 | Leave a comment

Minos 2016 Advance Notice

Minos 2016 is announced! Minos will once more be run with the support of Birmingham City University at Millennium Point in Birmingham. Tis year’s event will be on April 16th and April 17th. Minos is still the event for catching up with goings on in the world of micromouse and small robots. Get the details

Posted in minos | Leave a comment

All Japan Micromouse 2015 Pictures

Some pictures from the All Japan Micromouse contest 2015. Continue reading

Posted in Japan, Micromouse | Leave a comment

All-Japan Micromouse 2015 Finals

Taking part in the finals of the all Japan micromouse contest can be a nerve-wracking experience. One Japanese contestant, whom I had barely spoken with before, and whom I thought was a certainty for a good place just walked up to me and said “I am so very nervous. I feel pain in my stomach”. He was far from alone. Continue reading

Posted in Japan, Micromouse, Uncategorized | 2 Comments