Communication Flashcards
UART, SPI, I^2C, CAN
What do two conductors isolated from each other form
A Capacitor
What does the Capacitive Reactance Formula imply about capacitors
That capacitors act as resistors, and at higher frequencys this resistance is higher
For embedded communication, this means that higher frequencies will result in more degradation in the signal
If the quantification of information is entropy, how can we measure the information content of a message
We can measure the surprise value of the message
Parallel preceded Serial, what can the challenge of this be at high speeds
For parallel to work correctly all signals need to arrive at the same time, this can be challenging at higher speeds
What does Baud rate describe
The number of bits per second, i.e. 9600 Baud = 9600 pulses per second
How can the Baud rate be recognised automatically
Make the first character always the same. such as 0x55
What simple hardware can be used when implementing SPI, what does this mean
A shift register, this makes them cheap
To connect one master with 2 slaves for SPI, how many wires are required and what are they (Assume a common ground)
5:
- SCLK - Serial Clock driven by the master
- MOSI - Master Out, Slave In
- MISO - Master In, Slave Out
- CS1 - Chip Select for the first slave (Active Low)
- CS2 - Chip Select for the second slave (Active Low)
What does it mean for communication to be Full-Duplex
Full-Duplex means that devices can send and receive signals simultaneously
What does it mean for communication to be Half-Duplex
It means devices can either be sending OR receiving, but not both (at one time)
I2C uses two wires pulled to high, what do chips need to do to send a signal on this
Pull the line to low with a transistor
Where is I2C used
On PCB’s due to the capacitance of the lines
What should you use as the pull up resistor if you want fast com’s on an I2C bus
What is the drawback of this
A Low resistance resistor such that the line charges faster,
This will result in higher power usage
What should you use as the pull up resistor if you want low power usage on an I2C bus
What is the drawback of this
A high resistance resistor such that less power is lost charging the line
This will result in slower communications
Who assigns the addresses of I2C devices, what issue can arise as a result of this
The device manufacturers, this can cause issues as addresses may clash