Serial communication of devices
Synchronous communication: when abyte/character or frame of data is received ortransmitted at constant time intervals withuniform phase differences, the communication iscalled synchronous. Bits of a data frame are sentin a fixed maximum time interval. When themaximum time interval varies, it is a special caseknown as
Asynchronous communication: when abyte/character or frame of data is received ortransmitted at variable time intervals, thecommunication is called asynchronous. Voicedata on line is sent on asynchronous mode. Telephone line communication is asynchronous.
Serial Data Communication using the ports
Microcontrollers have internal devices for SPI, SCIor SI. Each device has separate registers forcontrol, status, serially received data bits andtransmitting serial bits. Each device isprogrammable. These devices can be used inprogrammed IO modes or interrupt drivenreception or transmission.Synchronous peripheral interface port (SPI) : ithas full duplex feature for synchronouscommunication. There are signals SCLK for serialclock, MOSI and MISO output from and input to