Schnittstellen (UART,I2C...)

Verschiedene Schnittstellen von Mikrocontrollern und Peripheriegeräten.

UART

Universal Asynchronous Receiver-Transmitter (UART) is an asynchronous serial communication interface.

Pins

  • Rx (Receive) connects to Tx
  • Tx (Transmit) connects to Rx

I2C

Inter-Integrated-Circuit (I2C) is a synchronous, multi-master, multi-slave serial communication bus. It uses two bidirectional open collector or open drain lines with pull-up resistors.

Pins

  • SDA (Serial Data) connects to SDA
  • SCL (Serial Clock) connects to SCL

SPI

Serial-Peripheral-Interface (SPI) is a synchronous serial communication interface.

Pins

  • SS (Slave Select) connects to SS, CS, CE on slave devices
  • SCLK (Serial Clock) connects to SCLK, SCK, CLK on slave devices
  • MOSI (Master Output to Slave Input) connects to MOSI, SDI, SI, DI, DIN on slave devices
  • MISO (Master Input to Slave Output) connects to MISO, SDO, SO, DO, DOUT on slave device

One-Wire / 1-Wire

1-Wire is a bus system (data rate 16.3 kbit/s) designed by Dallas Semiconductor (now Maxim Integrated).

Pins

  • OW (One-Wire) connects to OW

MIDI

Musical Instrument Digital Interface (MIDI) is a communication protocol/standard for musical instruments.

  • 2 wires, fully isolated current loop with opto-isolator on the receiver
  • 31250 baud, 8-N-1 format (UART)