foundation Estimated learning time: 10 h

EC-9.1 What a Microcontroller Is

You can say how a microcontroller differs from a processor, read its memory map, name the kinds of memory it holds and what each is for, and follow the path from applying power to the first instruction of your own code.

Before:S5-2. Computer Architecture and MicroprocessorsEC-7. Signals and SystemsUnlocks:PE1-4. Embedded C ProgrammingEC-13. Laboratory Practice, in Sequence

Every board module in this area begins by making a light blink, which works and teaches nothing about the part doing the work. This topic is the missing first hour: one chip, one address space, and everything the chip can do sitting somewhere inside that space. After it, a datasheet stops being a wall of tables and becomes a map.

Work through these

  • A microcontroller against a microprocessor

    A processor expects memory and peripherals to be outside it and needs a supporting board. A microcontroller holds program memory, working memory and peripherals on one piece of silicon, which is what lets it run from a battery in a product.

    NPTEL: Introduction to Embedded System Design (NSUT and IIT Jammu) · Course
  • The memory map, and one address space for everything

    Program memory, working memory and every peripheral register sit at different addresses in a single space. Reading the map at the front of a datasheet tells you where each of those regions begins and how large it is.

    NPTEL: Embedded Systems Design (IIT Kharagpur) · Course
  • Flash, static memory and the register file

    Flash keeps your program when power is removed and is slow to write. Static memory holds variables and forgets everything at power-off, and the register file is the handful of locations the processor works in directly.

    NPTEL: Microcontrollers and Applications (IIT Kanpur) · Course
  • The clock, and where every timing figure comes from

    One oscillator, divided and multiplied, sets the rate of the processor and of every peripheral. Almost every timing number you will later calculate is that frequency divided by something, so it is worth knowing which source is running.

    NPTEL: Microcontrollers and Applications (IIT Kanpur) · Course
  • Reset, and the path from power-on to your first instruction

    On reset the part holds itself still until the supply is stable, then reads a fixed location for the address of the first instruction. Startup code sets up memory and the clock before your own function is ever called.

    NPTEL: Embedded Systems Design (IIT Kharagpur) · Course
  • Reading the part number, and what a family means

    A part number encodes the family, the memory size, the package and the temperature rating. Parts in one family share their peripherals and their code, which is what makes moving to a larger member cheap.

    NPTEL: Introduction to Embedded System Design (NSUT and IIT Jammu) · Course

Sign in to keep your progress.

Free resources

Links last checked 3 Sept 2026.

Stuck here?

Ask a mentor. A real person answers, and they can see exactly which topic you're on. Usually within a couple of working days.

Checking your session…

Topics shown in module order.