ManyPICmicro
®
microcontrollerdeviceshaveabuilt-
inUSARTanditisoneofthemostcommonlyused
serialinterfaceperipherals.Itisalsoknownasthe
SerialCommunicationsInterface,orSCI.Themost
commonuseoftheUSARTistocommunicatetoaPC
serialportusingtheRS-232protocol.Ithasavarietyof
otheruseshowever,aswewilldiscussinthisApplica-
tionNote.AN774AsynchronousCommunicationswiththePICmicroUSARTOVERVIEWAuthor:MikeGarbuttMicrochipTechnologyInc.TheUSARTcantransmitandreceivedataserially.Itcantransferaframeofdatawitheightorninedatabitspertransmissionanddetecterrorswhendataisover-INTRODUCTIONwrittenorincorrectlyframed.Itcangenerateinterruptswhenareceptionoccurs(or
暂无评论