Verified Answers.
A. (2 points) (True | False) I2C is a serial synchronous communication protocol relying on a
twowire bus connecting multiple devices. correct answers T
B. (2 points) (True | False) SPI (Serial Peripheral Interface) requires the total of two wires
running between the master and a slave. correct answers F(False - requires 3 or 4 wires, plus
common ground).
D. (2 points) (True | False) UART message starts with a START bit which a logic '0'. correct
answers T
E. (2 points) A serial communication interface is sending a character '0' in UART mode
(ascii('0')=0x30). It is configured as follows: 8-bit data, a parity bit (odd), 1 stop bit. How many
bits are sent and what is the value of the parity bit? N = __ P =_______ correct answers
11(8+1start+1parit+1stop) and 1
A. (2 points) (True | False) I2C is a serial asynchronous communication protocol relying on a
two-wire bus connecting multiple devices. correct answers F(False - it is synchronous).
C. (2 points) (True | False) UART type of serial connection requires a shared clock between the
receiver and transmitter. correct answers F(False - the UART is asynchronous link, no shared
clock exists).
E. (2 points) (True | False) Two MSP430 experimenter boards can be configured in software two
exchange data in a full-duplex mode. correct answers T
A. (4 points) A serial communication interface is sending a character '0' in UART mode
(ascii('0')=0x30). It is configured as follows: 8-bit data, MSB bit is sent first, a parity bit is preset
to odd parity, and 2 stop bits are used at the end. How many bits are sent and what is the value of
the parity bit? Sketch the format of the character as seen on the TxD line of the communication
interface. N = _- P =_______ correct answers 12(8 + 1(start)+1(parity)+2(stop)) and 1
2.B (4 points). List 4 signals used in SPI (Serial Peripheral Interface) communication and
describe their function and direction. correct answers MOSI - Master Out Slave In; MISO -
Master In Slave Out, SCLK - Clock, SS - Slave Select
2.B (4 points). Two boards are connected in the simplex mode: the board A periodically sends 4-
bit of data to the board B through a parallel port. How many wires is used to connect two boards
(including the common ground and handshaking signals). Sketch the boards as black boxes and
give the name of signals needed to support this communication. correct answers (4 (data) + 1
(rdy) + 1 (ack) + 1 (gnd) )7 wires
1.A. (True | False) The watchdog timer configured to operate in the interval mode poses a regular
interrupt request at the end of the specified time interval. correct answers T