ECEN3000/3360 - Digital Design Lab  


Lab 1: Introduction to the LPCXpresso Code Red IDE and the Arm Cortex M0

2 lab periods

This lab assignment is to get you familiar with the development tools you'll be using this semester. This is the LPCXpresso LPC1114 development board with the Arm Cortex M0 32-bit microprocessor:

The LPCXpresso Development
        Board
Figure 1.  The LPCXpresso LPC1114 board.

Introduction

The goal of this laboratory exercise is to have your very first embedded software project successfully run on real embedded hardware.  To avoid watering down the experience, we will be starting from scratch, and doing all of the work by ourselves.  This means that to begin, we must install software!  This includes the integrated development environments (IDEs), software development kits (SDKs), and reference source code.  After it all works together, we'll change some code to get an effect we like.  If we can do that, then we have set a foundation for making an embedded device control or do anything we would like it to do!

Part 1 (Install Code Red)

Part 2 (The "Blinky" example)

Part 3 (Custom "Blinky" example)

Part 4 (Linking together the ADC (input) and GPIO (output) peripherals)

Filter Removal Image

Figure 2.  The gpio.c, gpio.h filter removal procedure (click to enlarge).

Reference Materials

LPCXpresso Information

Cortex-M0 Information