Skip to content

Experiment Navigator ​

Each guide covers one lab session: the background you need, an Activity you build step by step, and a Task you write yourself. Every experiment ends with numbers you measure. Set up the tools in the Setup Guide before your first lab.

No.ExperimentTopics
1Measuring TimeMeasure execution time, interrupt latency and jitter on the TM4C123 with debug pins, a logic analyzer and the Cortex-M4 cycle counter, then build a profiler that every later experiment reuses.
2Periodic Sampling and a PC DashboardSample a signal at a fixed rate with a timer-triggered ADC, see aliasing when the rate is too low, filter in a fixed time budget, and stream the data to a live plot on the PC.
3I2C Sensors and DisplaysDrive the TM4C123's I2C master at register level, scan the bus, read an LM75B temperature sensor with a repeated start, show it on an I2C LCD, and measure what each bus transaction costs in time.
4SPI, DMA and Waveform SynthesisSSI, an external DAC, direct digital synthesis, µDMA
5PWM and Motor DrivePWM module, H-bridge, PWM frequency and resolution
6Input Capture and the Quadrature EncoderEdge-time mode, ultrasonic distance, QEI position and speed
7Closed-Loop Speed ControlPI controller as a periodic task, step response, tuning
8Scheduling Without an OSSuper-loop vs task table, NVIC priorities, CPU utilization, deadline misses
9FreeRTOS Tasks and QueuesTasks, rate-monotonic priorities, queues from interrupts
10Shared Resources and ReliabilityMutexes, priority inversion and inheritance, watchdog recovery
11Course Project: Remote Motor StationTwo boards, framed packets with CRC, safe stop on link loss

INFO

The Task at the end of each guide is graded by your TA during the session. The Tasks build on each other, so keep your code.

ENCS5140 · Real-Time and Interfacing Techniques Laboratory