ManyPICmicro

®

microcontrollerdeviceshaveabuilt-

inUSARTanditisoneofthemostcommonlyused

serialinterfaceperipherals.Itisalsoknownasthe

SerialCommunicationsInterface,orSCI.Themost

commonuseoftheUSARTistocommunicatetoaPC

serialportusingtheRS-232protocol.Ithasavarietyof

otheruseshowever,aswewilldiscussinthisApplica-

tionNote.AN774AsynchronousCommunicationswiththePICmicroUSARTOVERVIEWAuthor:MikeGarbuttMicrochipTechnologyInc.TheUSARTcantransmitandreceivedataserially.Itcantransferaframeofdatawitheightorninedatabitspertransmissionanddetecterrorswhendataisover-INTRODUCTIONwrittenorincorrectlyframed.Itcangenerateinterruptswhenareceptionoccurs(or

PICmicro单片机的USART异步通信

PICmicro单片机的USART异步通信