Getting Started with STM32 ARM Cortex-M Microcontroller using Keil IDE

In this tutorial we will learn how to blink an LED using STM32 ARM Cortex-M microcontroller STM32F103C8T6 and Keil IDE. This is a beginners hello world project. Here we use STM32CubeMx for generating basic startup code and Hardware Abstraction Layer (HAL) for Keil IDE.

Components Required

Hardware

STM32 Blue Pill Development Board STM32F103C8T6ST-Link-V2Jumper Wires

Software

Keil IDESTM32CubeMX

STM32 Development Board

This is one of the smallest and low-cost ARM Cortex development board available in the market. It uses STM32F103C8T6, an STM32 ARM...

What is a Microcontroller ?

A microcontroller is an integrated circuit (IC) which is small, low cost and self contained computer designed to handle a specific task in embedded systems. In simple words, a microcontroller (MCU or Microcontroller Unit) is a small computer integrated in to a single chip. We can also explain it as programmable silicon chip which is clock driven, register based, accepts input and provides output after processing it as per the instructions stored in the memory. A computer is a general...

Blinking LED using LPC2148 – ARM Microcontroller Tutorial – Part 3

Hello World

In this tutorial we will learn how to start programming an ARM microcontroller. This is a hello world project (blinking an LED) intended for beginners to ARM microcontroller programming. Here we are using LPC2148 ARM microcontroller and Keil IDE for programming.

Components Required

LPC2148 Development BoardLED220R Resistor

Registers

In this section we will learn about different registers used for configuring or controlling a pin of an ARM microcontroller. In microcontrollers, pins are divided in to different PORTS. Usually a 32-bit...

Flashing LPC2148 – ARM Microcontroller Tutorial – Part 2

In this tutorial we will learn how to flash an LPC2148 microcontroller using on-chip serial (UART) ISP bootloader with Flash Magic tool.

Components Required

LPC2148 ARM Microcontroller USB to UART converter with DTR and RTS outputs. You may also use ready to go boards like rhydoLABZ LPC2148 Stick.

Connections

LPC2148 ISP Serial UART Flashing Connections

Circuit Diagram

LPC2148 ISP Serial UART Flashing - Circuit Diagram

Using Flash Magic Tool

Above...

Installing Keil IDE – ARM Microcontroller Tutorial – Part 1

This is our first part of ARM microcontroller tutorial. In this article we will see how to setup development environment for ARM microcontroller LPC2148. We are using Keil IDE for this.

Downloading IDE

Go to "keil.com" Go to "Download" page Go to "Product Downloads" Go to MDK-Arm Fill the contact form and submit it. You will get the download link of Keil IDE Keil - Product Downloads

Downloading Keil Legacy Support

Go to legacy support's download page. Click...

ARM’s First 64-bit Processors

ARM will introduce its First 64-bit processors later in this year targeting on servers and high-end smart phones. They are also started to taking steps to build up software support for the s64-bit processor designs. Most of the smart phones and tablets that we use today use ARM processors. Now the company is trying to dominate its market as Intel dominate in server market. New ARM processors will be licensed to device makers and  based on the ARMv8 architecture. These will be in market by 2014, after it will...

>