Connection standards Flashcards
RS-232:
Synchronous or Asynchronous?
Asynchronous transmission
RS-232:
Full duplex or Half duplex or Simplex?
Full duplex
RS-232:
How do the clock signals operate?
Each device has an independent clock
RS-232:
What are the baud rates?
> 14.4 kbits/s
28.8 kbits/s
56 kbits/s
RS-232:
What defines the speed it operates at?
Speeds are greater when the connection distance is shorter
RS-232:
What is the data transfer protocol?
> Data is sent in 8-bit frames (packets)
To start a transmission a 1 bit is sent
A stop 0 bit is sent at the end of each byte followed by a pause
RS-232:
What are the voltage levels?
+15V > Logic - 0 > +5V
-15V < Logic - 1 < -5V
What is the difference between RS-232 and UART?
> They are the same but a lot of the RS-232 standards are ignored for UART
Voltage levels are flexible
Longer frames/packets are allowed
Can connect to USBs
RS-232:
What are the data lines?
Tx - Transmission
Rx - Recieving
I2C:
Synchronous or Asynchronous?
Synchronous
I2C:
Full duplex or Half duplex or Simplex?
Half-duplex
I2C:
What are the data lines?
> SCL = Clock
SDA = Data line
GND = Ground
I2C:
What type of outputs Circuits are used? How does this work?
> Open-collector bus digital outputs.
> Any device can pull the data line low
I2C:
How many devices can be connected to the bus?
More than 2
I2C:
What is the device higherarchy?
> One master device
> Multiple slave devices
I2C:
What are the transmission speeds?
> Standard mode: 100 kbits/s
Fast mode: 400 kbits/s
Fast mode+: 1 Mbits/s
High speed mode: 3.4 Mbits/s
I2C:
What is the transmission sequence?
- During an idle period, a device that wished to take control can initiate the process the pulling the data line low.
- All devices wait for the data that follows which consists of a 7-bit address and a direction bit.
> The direction identifies if the device should transmit data or wait and listen for more data.
> If two devices attempt to initiate communication at the same time and arbitration process commences
I2C:
How does addressing work?
> Address identifies the intended slave device.
This is predetermined by device manufacturers
Duplication of device addresses is done using a central register of IC addresses
ICs often allow the address to be varied
I2C:
How does clock signals work?
> New data is only transmitted on the rising edge of the clock signal (SCL)
If a device is struggling to keep up with the incoming data it can slow down the transfer by holding the clock line low momentarily to prevent the transmitting device from moving on to the next bit.
I2C:
What are the rise times for different transmission speeds?
> Standard mode: < 1μs
Fast Mode: < 300ns
Fast + Mode: < 120ns
SPI:
Full duplex or Half duplex or Simplex?
Full-duplex transmission
SPI:
What type of outputs Circuits are used?
Tri-state push-pull digital outputs
SPI:
What is the maximum speed transfer?
100Mbits/s
SPI:
What are the bus lines?
> SCLK = Serial Clock
MOSI = Master Out Slave In
MISO = Master In Slave Out
SS/CS = Slave Select / Chip Select