Save this video free

EECS 373 - Fall 2026 - Lecture 4: “Memory Mapped IO / APB Bus

Interactive Sensing and Computing Lab · 1:20:00 · Watch on YouTube

Part of University of Michigan EECS 373. See all 17 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

The lecture explains memory-mapped I/O in ARMv7-M systems: the core uses ordinary loads and stores to access peripheral registers, while hardware decodes addresses and routes transactions to the correct device. It develops the APB bus protocol, including shared address and data signals, per-peripheral selection, setup and access phases, and PREADY handshaking, then shows how address decoding and enabled registers can implement GPIO outputs.

Key takeaways

Chapters

0:00 Voltage Regulators Stabilize Embedded-System Power
4:00 ARM Memory Regions Include Peripheral Address Space
5:00 MMIO Uses Loads and Stores to Control GPIO
12:00 External Memory Uses Address-Forwarding Hardware
24:00 Peripheral Registers Represent Tasks, Not General Storage
25:00 On-Chip Buses Move Data Between Multiple Destinations
32:00 APB Requesters Address Peripheral Completers
34:00 APB Trades Throughput for Simplicity Compared with AHB
37:00 APB Signals Carry Address, Direction, Data, and Selection
41:00 APB Transactions Separate Setup from Access
44:30 Shared APB Signals and Per-Peripheral Select Lines
49:00 Exercise: Translate a Store Instruction into APB Signals
1:02:00 Worked Store Example Selects One Peripheral
1:10:00 PREADY Completes Access and Allows Wait States
1:14:00 GPIO Peripheral Logic Captures APB Writes for an LED
1:17:00 Address Decoding Distinguishes Registers Within a Peripheral

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:00 begin. Uh let's see. So today we're going to be talking about memory mapped IO, which is kind of like a new concept you probably haven't seen in 370 before. Uh some announcements. So homework's due today. Homework 3 was posted and it's due next week. And then office hours are today right after class from 3 to 4. If people need extra office hours, they can let me know. Um yes pro to normal lab schedules right all right so talk about component of the day how many people know what voltage regulators are then you'll actually learn something fantastic for the rest of you so last time we talked about batteries why can't you just connect up a battery straight to your device what's the problem.

0:55 You got your microcontroller. Oh, here we go. >> Drains drains over time. Which what is that? What's the implication for the electronics? Let's say it could tolerate that voltage range. What's the what's the challenge if it's changing its voltage over time? I saw I saw a hand. Somebody take a guess. You could be wrong. It's okay. Yes. >> Too low. >> Might get too low. Uh so yeah, it might get too low. So your uh electronics have a certain happy range which it was designed for. Usually your microcontrollers here are about 3.3. They might go up to like 3.5 maybe down to 2.7. Depends on the microcontroller. But internally, sometimes there's uh

1:43 analog components that are expecting a certain voltage and especially like uh oscillators or digital oscillators, they're all expecting a certain voltage so that the timing works out. And if all of a sudden you give it some weird voltage, this might have some unexpected behavior or at least that behavior might change over time. So sometimes your

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Interactive Sensing and Computing Lab.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.