Category Archives: STM32

Determine STM32 reset source

When your STM32 processor starts up from a reset, there are a number of possible sources for that reset. You may want to perform different initialisations depending on the exact source of the reset.

Posted in Hardware, STM32 | 4 Comments

Decimus 4 Begins

It has been more than two years since I promised myself that I would move on and build a new micromouse using the STM32 processor. Finally, I have done something about it. The new mouse is Decimus 4.

Posted in Micromouse, STM32 | 1 Comment

Adding DMA to the SPI driver with the STM32F4

Sending data over SPI with the STM32 using polling is simple and reliable but your processor is blocked, unable to do anything else until the transfer is complete. Direct Memory Access (DMA) allows you to initiate a transfer of a … Continue reading

Posted in STM32 | Tagged , , | 2 Comments

STM32F4 uses SPI for the MAX6966 LED driver

The STM32F4xx devices are not short of pins and they can be more flexibly used than on the STM32F1xx types. On a micromouse though, there is not a lot of physical space and I am not good at routing lots … Continue reading

Posted in STM32 | 5 Comments

Using the STM32F4 internal oscillator

In an effort to minimise the amount of space taken up on my micromouse board, I wanted to use the internal oscillator (HSI) built in to the STM32F4 device I am using. As ever, working out how to set that … Continue reading

Posted in STM32 | Tagged | Leave a comment

STLINK SWD for STM32

The standard JTAG connector for ARM processors is the huge 20 pin IDC header. It has a whole bunch of unused pins and takes up a lot of board space. There are a several alternatives that reduce the pin count … Continue reading

Posted in STM32 | Tagged , | 5 Comments

STM32F4 – the first taste of speed

The recently announced STM32F4 series of processors using the ARM Cortex M4 are very attractive. High speeds, large memory space and a floating point unit are among the obvious benefits although there are many other architectural changes in the ST … Continue reading

Posted in STM32 | Tagged , , | 8 Comments

Worlds Most Powerful Cortex Microcontrollers

STMicroelectronics, today announced the introduction of its new STM32 F4 series of microcontrollers. This extension to the STM32 platform is based on the latest ARM Cortex-M4 core, which adds signal-processing capabilities and faster operations to the already outstanding portfolio of … Continue reading

Posted in STM32 | Leave a comment

STM32 internal oscillator

The internal oscillator on the STM32 processors can be tuned so that an external crystal or oscillator isn’t necessary.

Posted in STM32 | Tagged , | 6 Comments

Bit Banding in the STM32

Wondrous though the STM32 (ARM Cortex M3) might be, it makes something of a meal of atomic access to individual bits in memory. The technique used is called bit-banding. Although it is simple enough in concept and pretty friendly to … Continue reading

Posted in STM32 | Tagged | 12 Comments