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. | Experiment | Topics |
|---|---|---|
| 1 | Measuring Time | Measure 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. |
| 2 | Periodic Sampling and a PC Dashboard | Sample 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. |
| 3 | I2C Sensors and Displays | Drive 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. |
| 4 | SPI, DMA and Waveform Synthesis | SSI, an external DAC, direct digital synthesis, µDMA |
| 5 | PWM and Motor Drive | PWM module, H-bridge, PWM frequency and resolution |
| 6 | Input Capture and the Quadrature Encoder | Edge-time mode, ultrasonic distance, QEI position and speed |
| 7 | Closed-Loop Speed Control | PI controller as a periodic task, step response, tuning |
| 8 | Scheduling Without an OS | Super-loop vs task table, NVIC priorities, CPU utilization, deadline misses |
| 9 | FreeRTOS Tasks and Queues | Tasks, rate-monotonic priorities, queues from interrupts |
| 10 | Shared Resources and Reliability | Mutexes, priority inversion and inheritance, watchdog recovery |
| 11 | Course Project: Remote Motor Station | Two 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.