Posts

Showing posts with the label TM4C123G

I2C - Real Time Clock (RTC) DS1307 - Write/Read

Image
The following article walks you through a hands on exercise with a microcontroller and a real time clock IC to better understand and appreciate how the I2C Serial Communication Protocol is implemented. 

UART programing in the TI ARM Tiva TM4C123G

Image
The aim of the following exercise is to show how to make use of an UART port in the ARM Cortex-M4-based microcontroller Tiva TM4C123G LaunchPad. The ASIC character “ Yes ” will be send to a terminal emulator program on your PC as an example.

UART Serial Communication

Image
It’s a physical circuit integrated in a microcontroller, or a stand-alone IC, hardware interface that acts as a bridge between different devices such as a CPU, memory, or microcontroller. Is the port interface for serial communication. It performs parallel – to – serial data conversion at the transmitter side and serial – to – parallel data conversion at the receiver side.

Embedded C Programing w/ TM4C123G Microcontroller - 1.0 Register Addresses

Image
The aim of the following exercises is to build a foundational understanding of Embedded Systems programming. In this exercise, you will program the Tiva TM4C123G LaunchPad to toggle the green LED ON and OFF. More importantly, you will do so by directly accessing and manipulating hardware Register addresses . Working with raw register addresses can feel tedious, but it is essential for understanding how microcontrollers operate at the lowest level. This knowledge will make the upcoming sections on functions, macros, and header files much more meaningful To cover basic C Programing concept, the same code will be modify to include function , macros and/or header files to become conversant with Embedded System.

TI ARM Tiva TM4C123G - 1.3 Interrupts & the Vector Table.

Image
The aim of the following exercises is to:  Explain the concept of Interrupts . Explain the concept of a Vector Table . Provide an example to demonstrate how to t oggles the red LED ON & OFF by triggering an t imeout events interrupt and/or switches SW0 and SW1 from the TM4C123GH6PM.

TI ARM Tiva TM4C123G - 1.2 General Purpose Timer Module (GPTM)

Image
The following exercises will explain timers and how to configure them in the Texas Instrument Tiva TM4C123G LaunchPad for One-Shot or Periodic Mode. They will used to blink an LED at an specific delay time. 

TI ARM Tiva TM4C123G - 1.1 Pull-up resistor for SW

Image
In the following exercises the aim is to demonstrate how to configure the pull-up resistor in the Tiva TM4C123G microcontroller to make use of the SW1 or SW2. The pull-up resistor will enable a change in state every time you press the switch. And with that change you induce the expected behavior. In our cases, turn ON the red LED with a switch (SW1 or SW2).

System Timer (SysTick)

Image
  The System Timer (SysTick) is an integrated 24-bit counter available in all ARM Cortex-M microcontrollers that counts down to zero, useful for time delay and system interrupt application.