ARM

ARM Cortex text book

The Definitive Guide to the ARM Cortex-M3
Joseph Yiu
This 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 to grips with this elegant and powerful core and concentrates mostly on the core itself. While several manufacturers, such as ST, Luminary, Atmel and Philips among others, implement Cortex-M3 based processors, they differ in the range of peripherals connected to the core. At its heart, each uses the same logic, registers and instruction set to get the job done.

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 usual asynchronous modes plus IrDA, LIN, Smartcard Emulation and the ability to function as an SPI port…

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 to look at how projects are organised, how the code gets onto the target and how it is started up…

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 result being a 20MHz system clock. Now, what happens if the PLL multiplier is increased to make the system run faster…

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 and the systick timer…