Skip to content
Menu

INSIDE EMBEDDED ACADEMY

Free Resources

Complete illustrated ebooks on CAN, RS-485, Modbus RTU and op amps, with the diagrams from the videos, and the STM32 practice code with its lecture PDF. Open a card to see what's inside.

One free account opens everything here. No card needed.

CAN Bus Explained ebook cover: three nodes on a terminated CAN_H and CAN_L bus

CAN Bus Explained

Classical CAN · CAN FD · STM32 FDCAN · DBC

15 chapters · 141 figures · 146 pages · PDF

One motor-status message followed from two wires to working STM32 FDCAN code: differential signaling, arbitration, the data frame, error handling, bit timing, CAN FD and DBC files.

Contents
  1. 0Introduction
  2. 1Why CAN
  3. 2Inside a CAN Node
  4. 3Two Wires: Differential Signaling
  5. 4Dominant and Recessive
  6. 5Arbitration
  7. 6The Data Frame
  8. 7Bit Stuffing, CRC and ACK
  9. 8Error Handling
  10. 9Bit Timing
  11. 10CAN FD
  12. 11STM32 FDCAN Code
  13. 12DBC Files
  14. 13Real-World Workflow and Tools
  15. 14Higher-Layer Protocols and Recap
Get the free PDF
RS-485 Explained ebook cover: two MCUs linked by RS-485 transceivers over a terminated 100 m bus

RS-232, RS-422 and RS-485 Explained

Differential signaling · termination · biasing · DE timing

11 chapters · 90 figures · 92 pages · PDF

One 8-byte request followed from a UART on the desk to a 100 m bus: why 120 Ω, fail-safe bias resistors at 5 V and 3.3 V, and releasing DE at TC on an STM32.

Contents
  1. 0Introduction
  2. 1UART Review
  3. 2Why UART Fails over Long Wires
  4. 3RS-232
  5. 4Differential Signaling
  6. 5RS-422
  7. 6RS-485
  8. 7Making an RS-485 Bus Work
  9. 8When to Turn the Driver Off: DE Timing
  10. 9Verifying the Link in Simulation
  11. 10Comparison and What Comes Next
Get the free PDF
Modbus RTU, Byte by Byte ebook cover: a request and its response decoded to 25.0 °C and 30.0%

Modbus RTU, Byte by Byte

Frames · function codes · CRC-16 · timing · STM32

14 chapters · 72 figures · 123 pages · PDF

One 8-byte request and its 9-byte response read byte by byte: register 40001 versus address 0, CRC-16 worked by hand, the 3.5-character rule, and a complete STM32 slave with its source code.

Contents
  1. 0Introduction
  2. 1From Bits to Messages: Why a Protocol
  3. 2Where Modbus Sits
  4. 3Master and Slaves
  5. 4Anatomy of an RTU Frame
  6. 5The Data Model and the Register Map
  7. 6Function Codes and Exception Responses
  8. 7CRC-16
  9. 8Where a Frame Starts and Ends
  10. 9When No Response Comes
  11. 10A Modbus Slave on the STM32
  12. 11Two Slaves in Simulation
  13. 12A Debugging Order
  14. 13Modbus TCP and the Whole Path
Get the free PDF
The Op Amp Complete Guide ebook cover: the twelve op-amp circuits of Chapter 3 and the four analysis steps

The Op Amp Complete Guide

Virtual short · twelve circuits · real limits · current sensing · PCB

6 chapters · 72 figures · 100 pages · PDF

Feedback and the virtual short, twelve circuits derived step by step, the four limits of a real op amp, and a bidirectional current-sense amplifier with its PCB layout, all on 3.3 V and checked in LTspice.

Contents
  1. PPreface
  2. 1What an Op Amp Does
  3. 2Feedback and the Virtual Short
  4. 3Twelve Circuits You Will Actually Use
  5. 4Four Limits of a Real Op Amp
  6. 5A Practical Circuit: Bidirectional Current Sensing
  7. 6PCB Design Guide
  8. AEquations and Design Numbers
Get the free PDF
STM32 Starter Pack cover: an STM32 chip wired to GPIO, timer, EXTI, UART and ADC

STM32 Starter Pack

GPIO · timers and counters · interrupts · UART · ADC

Code for 5 peripherals · lecture PDF

Hands-on STM32 practice code for each peripheral, with the lecture materials as a PDF. Verify your email once and the downloads open.

What's inside
  1. 1GPIO practice code
  2. 2Timer and counter practice code
  3. 3Interrupt practice code
  4. 4UART communication practice code
  5. 5ADC practice code
  6. 6STM32 lecture materials (PDF)
Get the free files

From the same engineer

Each of these covers one topic. My course follows one complete board: a 36 V / 350 W BLDC motor controller, from component choice and a 4-layer PCB to STM32 register-level firmware and PI speed control.

Watch the free previews
Extended launch price $245 (regular $350) ends inExtended $245 ends in   Mon, Nov 30 · 11:59 PM PT · Tue, Dec 1, 2:59 AM ET Enrollnow