Professional Documents
Culture Documents
COI1 Serial Communication in 8051
COI1 Serial Communication in 8051
COI1 Serial Communication in 8051
● Serial Buffer
● 8-bit Register
● Transmission of Data
–Load value into SBUF Register
– Framed and Sent via TxD Line (P3.1)
● Reception of Data
– Serially recived data via RxD Line(P3.0)
– Deframed and placed in SBUF
MOV TMOD,#20H
MOV TH1,#-3
MOV SCON,#50H
SETB TR1
MOV SBUF,#”M”
JNB TI,$
CLR TI
END
MOV TMOD,#20H
MOV TH1,#-3
MOV SCON,#50H
CLR TR1
JNB RI,$
MOV A,SBUF
MOV P1,A
END
● https://www.sites.google.com/site/sripathroykoganti/my-forms