17CS563 Mod2
17CS563 Mod2
The sender along with the serial bits also sends the clock pulses SCLK (serial clock) to the receiver port pin.
The port synchronizes the serial data input bits with clock bits.
If clock period = T, then each byte at the port is received at input in period = 8T.
Each byte at input port separates by 8T and data transfer rate for the serial line bits is (1/T) bps. [1bps = 1 bit per s]
Asynchronous Communication
When a byte of data is received or transmitted at a variable time intervals then the communication is called asynchronous
Communication.
Characteristics of asynchronous communication are
Bytes need not maintain constant phase difference. Bytes can be sent at variable time intervals
The transmitter does not transmit any clock rate information along with serial stream of bits.
The data transmitted contains a start bit, data bits, p-bit (optional, parity bit) and stop bit.
Serial data communication using SPI (Synchronous Peripheral Interface) Port
SPI has full duplex synchronous communication.
SPI circuit is a synchronous serial data link that provides communication with external devices in Master or
Slave Mode.
SPI is programmable as master or slave using SS pin (Slave Select pin)
SPI is essentially a shift register that serially transmits data bits to other SPIs.
During a data transfer, one SPI system acts as the "master" which controls the data flow, while the other
devices act as "slaves" which have data shifted into and out by the master.
Serial data communication using SCI (Serial Connect Interface) Port
SCI is a UART asynchronous mode port.
Communication is full duplex mode for the SCI transmitter and receiver.
SCI baud rates are fixed as pre scaling bits.
SCI receiver has a wakeup feature and is programmable by RWU (Receiver Wakeup Unavailable) bit.