Ground Embedded KO Subscribe

Roadmap / Firmware

Communication Protocols

Hardly any device works alone today. Communication is the system.

Goal Choose and implement links between chips, PCs and other controllers.

  • IntermediateLevel
  • about 5 weeksat one hour a day
  • 12topics
  • 7labs
  1. 01
    Serial basics3D lab

    Synchronous and asynchronous, full and half duplex, single-ended and differential.

    Read the note →

  2. 02
    UART3D lab

    Communication at an agreed speed without a clock. Frame structure and baud-rate error.

    Read the note KR

  3. 03
    RS-232, RS-422, RS-4853D lab

    Voltage levels and differential signalling that carry UART over distance.

    Read the note →

  4. 04
    SPI3D lab

    Exchanging data on a shared clock. Four modes and multiple slaves.

    Read the note →

  5. 05
    I2C3D lab

    Many chips on two wires. Addresses, ACK and choosing pull-up resistors.

    Read the note →

  6. 06
    CAN3D lab

    The automotive bus where the lowest ID wins on two differential wires.

    Read the note →

  7. 07
    CAN FD3D lab

    Up to 64 data bytes, with a faster data phase.

    Read the note →

  8. 08
    LIN

    A low-cost vehicle network where one master polls in turn.

    Read the note →

  9. 09
    USB basics

    Descriptors, endpoints, and a virtual serial port with CDC.

    Read the note →

  10. 10
    Ethernet and TCP/IP

    MAC, PHY, IP, TCP: networking from an MCU.

    Read the note →

  11. 11
    Wireless

    Range, speed and power of BLE, Wi-Fi and LoRa.

    Read the note →

  12. 12
    Protocol design

    Header, length, CRC, retransmission: writing your own rules.

    Read the note →

CHECK TASK

Send an I2C sensor value out over UART

Read a sensor register over I2C, compute the value and send it to a PC line by line over UART.

If you can tick all three, move on to the next subject. Ticks are saved in this browser only.