FOR CORE AND IT JOBS · 7 CHAPTERS
Embedded Systems and Microcontrollers
For ECE, EE and AEIE students. Short chapters, in reading order: microcontroller architecture, embedded c, peripherals, interrupts, communication protocols and real-time design. Each one explains its ideas from first principles, with worked examples and questions to check yourself.
The chapters, in order
CHAPTER 1
What a microcontroller is made of
This chapter explains what sits inside a microcontroller, how its memory and buses are organised, why small 8-bit and larger 32-bit parts both exist, what happens between reset and main(), and how clock and supply voltage set power.
Builds on the GATE topics: Processors & memory (Digital Electronics) · Memory & cache (Computer Organization and Architecture)
CHAPTER 2
Embedded C: registers, bits and memory
This chapter shows how C code talks to a microcontroller's hardware: fixed-width integers, registers reached through pointers, the volatile keyword and bit masks.
Read first: Chapter 1, What it is made of
Builds on the GATE topics: C basics (Programming in C) · Pointers & arrays (Programming in C)
CHAPTER 3
GPIO, timers and PWM
This chapter explains how a microcontroller pin is driven and read, how a hardware timer turns a clock into exact delays, and how the same timer produces PWM and measures incoming signals.
Read first: Chapter 2, Registers, bits, memory
CHAPTER 4
Interrupts and program structure
This chapter explains how a microcontroller reacts to events without wasting time asking about them.
Read first: Chapter 3, GPIO, timers and PWM
Builds on the GATE topics: I/O, interrupts & DMA (Computer Organization and Architecture)
CHAPTER 5
Analog inputs and outputs: ADC, DAC and sensors
This chapter explains how a microcontroller turns a voltage into a number and back.
Read first: Chapter 3, GPIO, timers and PWM
Builds on the GATE topics: ADC & DAC (Digital Electronics) · Temperature (Sensors and Industrial Instrumentation)
CHAPTER 6
Serial communication: UART, SPI and I2C
This chapter explains how a microcontroller talks to other chips one bit at a time: the UART frame and baud divisor, SPI with its four clock modes, and I2C with its addressing and acknowledge.
Read first: Chapter 4, Interrupts and structure
CHAPTER 7
Real-time systems and an RTOS in outline
This chapter explains what a deadline is, how a small real-time kernel decides which task runs, how tasks share data and signal each other safely, and how a device sleeps and is debugged.
Read first: Chapter 4, Interrupts and structure
Builds on the GATE topics: Synchronisation (Operating Systems) · CPU scheduling (Operating Systems)
Who hires
What companies publish for students, by department: Core jobs for ECE · Core jobs for EE · Core jobs for AEIE
All subjects for core and IT jobs