Posts

Showing posts with the label Embedded

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. 

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).

Setting Up your IAR Development Environment Tool

Image
The following documentation is divided in two parts. First part, walk through the process to install IAR Embedded Workbench on your computer. The second part provides the steps to have ready your workbench development environment and start programming with a microcontroller. The ARM based TI Tiva TM4C123GH6PM is the one to be used as an example for this exercise.