Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Embed Ed

Embed Ed

Ratings: (0)|Views: 1|Likes:
Published by Nayana Merida Jacob

More info:

Published by: Nayana Merida Jacob on Jul 04, 2012
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less





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
master. An SPI feature is programmable rate forclock bits. It is also programmable for definingthe occurrence of negative and positive edgeswith in an interval of bits at serial data out or in.It is also programmable for device selection formaster or slave.Serial connect interface port (SCI) : it is a UARTasynchronous mode port. Communication is inthe full duplex mode for the SCI transmission andreceiver. SCI baud rates are fixed. The SCIreceiver has a wake up feature and isprogrammable by RWU (Receiver WakeupUnavailable) bit. It is enabled if RWU bit is set. If RWU is set, then the receiver of a slave is notinterrupted by the succeeding bytes. RWUfeature helps in inter-processor communication.SCI has 2 control register bits TB8 and RB8.Serial interface port (SI) : it is a USART port. Itsfeatures include a programmable rates register.SI operates in half duplex synchronous mode of operation called mode0 and full duplexasynchronous mode of operation called mode1,mode2 or mode3.Secure Digital Input Output (SDIO)SDIO is an SD card with programmable IOfunctionalities such that it(a)can be used up to eight logical functions
(b)can provide additional memory storage inSD format(c)can provide IOs using protocols insystems.It supports SPI and SD formats. Both SPI andSD formats specify that there should beinterrupt handling for the IOs and the CRCchecks on transferred data. SDIO is an SPIbased 9 pin connector card. Six pins are usedfor communication.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->