Timer Interrupt TM4C123 – Generate Delay with GPTM Interrupt Service Routine

Timer Interrupt TM4C123 Tiva C microcontroller

In this tutorial, we will discuss TM4C123 Timer interrupt programming ARM Cortex M4 microcontrollers. Firstly, we will discuss applications of timer interrupt with one example. We will use a TM4C123 Tiva C launchpad for demonstration purposes. It comes with a TM4C123GH6PM microcontroller. The general purpose timer module TimerA module will be configured and initialized to … Read more

Interrupt Processing ARM Cortex-M Microcontrollers

ARM Cortex M4 Interrupt vector table to relocate interrupt addresses

Interrupt processing in ARM Cortex-M microcontrollers is a critical aspect of how these devices manage real-time tasks efficiently. In this tutorial, we will discuss the sequences of steps that are performed by ARM Cortex M processor during interrupt processing. In other words, how ARM Cortex-M microcontroller handles interrupt or exceptions. Recommended Components The following components … Read more

ADC TM4C123G Tiva C Launchpad – Measure Analog Voltage Signal

Analog voltage measurement using TM4C123G Tiva C Launchpad microcontroller

In this tutorial, we will learn how to use the analog to digital module (ADC) of TM4C123GH6PM Microcontroller using TM4C123G Tiva C Launchpad. Firstly, we will learn to configure ADC modules and sample sequencer of TM4C123 using configuration registers. For demonstration purposes, we will measure analog voltage by using one of the analog input pins … Read more

MPU6050 Gyroscope Accelerometer sensor interfacing with TM4C123G Tiva C Launchpad

MPU6050 Interfacing with TM4C123G Tiva C Launchpad and PC

In this tutorial, we will learn to interface MPU6050 gyroscope and accelerometer sensor with TM4C123G Tiva C microcontroller. MPU6050 sensor module has 6-axis motion tracking sensors integrated inside the single-chip such as 3-axis measurement for gyroscope and 3-axis measurement for acceleration. Hence, we can use this sensor to measure acceleration, velocity, displacement, and many other … Read more

UART Interrupt TM4C123G Tiva C LaunchPad – ARM Cortex M4

UART interrupt TM4C123 Tiva C launchpad

In the last tutorial, we learned to use UART communication modules of TM4C123G Tiva C Launchpad. We have seen a demo to transmit and receive data between the computer and TM4C123G Tiva C on UART5 port using a busy-wait or polling method. In this tutorial, we will see how to make the UART receiver port … Read more

ARM Cortex-M4 Architecture

ARM Cortex-M4 Architecture block diagram

Every microcontroller out there contains a processor which is responsible for performing all the actions on that microcontroller. Each processor is designed, based on a certain instruction set Architecture architecture. That architecture can be based on any type, for instance, ARM. Being our topic of discussion today let’s explore ARM Cortex-M4 microcontrollers architecture in detail. … Read more

UART Communication TM4C123 Tiva C LaunchPad with Example Codes

UART Port pins TM4C123 Tiva C launchpad

In this tutorial, we will learn to use the UART communication module of TM4C123GH6PM microcontroller by using TM4C123G Tiva LaunchPad. This tutorial will help you understand how TM4C123G MCUs communicate with external devices or with each other over UART based serial communication protocol. First, we will discuss the UART module of TM4C123GH6PM microcontroller and its … Read more

Nested Vectored Interrupt Controller (NVIC) ARM Cortex-M Microcontrollers

Nested vectored interrupt controller NVIC ARM CortexM microcontrollers

NVIC is an on-chip controller that provides fast and low latency response to interrupt-driven events in ARM Cortex-M MCUs. In this tutorial, We will explain the role of the nested vectored interrupt controller (NVIC) in interrupt handling requests of ARM Cortex-M microcontrollers. At the start, we will explain the exception and interrupt concepts that are … Read more