Category Archives: STM32

ARM Cortex text book

The Definitive Guide to the ARM Cortex-M3Joseph YiuThis is one of a very small number of books about the relatively new ARM processor, the Cortex-M3. Now in a second edition, the book covers all the essential information required to get … Continue reading

Posted in STM32 | Tagged | Leave a comment

STM32 USART basics

A USART is a universal synchronous asynchronous receiver transmitter. A serial port if you like. On the STM32 however, it really is universal. This peripheral has a raft of features for a huge range of serial protocols including all the … Continue reading

Posted in STM32 | Tagged , , | 7 Comments

ARM STM32 JTAG

JTAG is a common standard for communicating with modern electronic devices like FPGAs and microcontrollers. A JTAG connection will allow you to do in-circuit debugging in a bewildering variety of ways and will generally allow you to program your device. … Continue reading

Posted in STM32 | 9 Comments

Crossworks projects startup and debugging

Crossworks or, more accurately, CrossStudio for the Arm, running on a mac is probably one of the better development environments. It has its quirky side but, so far, I am really happy with it. Now might be a good time … Continue reading

Posted in STM32 | 7 Comments

Crossworks Blinky Project 3 – PLL and HSE

Last time, the STM32 was set up to use the Internal RC oscillator, HSI. This runs at 8MHz. The PLL multiplier was told to use the HSI/2 as its input and the multiplier value was set to x 5. The … Continue reading

Posted in STM32 | Tagged , , | 4 Comments

Crossworks Blinky Project 2 – RCC and Systick

In the previous post, the STM32 development board was turning a LED on and off in response to a button press. Not very exciting but satisfying anyway. Next, I want to have a look at setting up the system oscillator … Continue reading

Posted in STM32 | Tagged | 12 Comments

Crossworks Blinky Project 1

With the Rowley Crossworks software set up, it is time to make some code. As usual, it is easiest to start out with a simple LED flasher. Why break with tradition. The target board for this project is the IAR … Continue reading

Posted in STM32 | Tagged | 23 Comments

Crossworks for the ARM on a mac

After much messing about, I finally decided how to do my STM32 ARM development. While there is a certain amount of appeal in the DIY approach, in the end I just want to write code for my processor and not … Continue reading

Posted in STM32 | Tagged , , | 3 Comments

Another STM32 Project Template

Earlier this year, I wrote about the fun I had setting up the GCC ARM compiler to run under MAC OS X. This kept me occupied for a few days and, eventually, I got it all working. Francois Gervais read … Continue reading

Posted in STM32 | 3 Comments

Simple ADC use on the STM32

Here is a bit of a look at how to use the ADC on the STM32 for simple applications. The ADC peripheral on the STM32 processor is a flexible but complex beast. The peripheral driver library should make it relatively … Continue reading

Posted in STM32 | Tagged | 42 Comments