尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
8051 Microcontroller Data Transfer
Schemes
PREPAREDBY
B.SARAVANAMANIKANDAN
ASSISTANTPROFESSOR
Kongunaducollegeof engineeringandtechnology
SERIAL INTERFACE
• Data transfer between memory and register, register and port and
port to outside unit in these data transfers, a byte is transferred
between two units.
• Thus 8 bits are transferred in parallel.
• This type of data transfer is mostly used for short distance, data
transfer.
• When data becomes more than few meters the parallel data transfer
suffers from phenomenon called bit skewing.
KNCET EEE DEPARTMENT
ASYCHRONOUS and SYNCHRONOUS
• In synchronous communication the transmission from one device
and receipt at other devices is synchronized by a common clock,
thus as one bit/byte is sent out from A to B.
• Another variation of synchronous communication is when two units
are quite apart, they are driven by individual clocks but these clocks
are synchronized.
• In Asynchronous Communication the transmission and reception
are not synchronized.
• A device can send its own and other device may receive it. In this
case byte is enveloped in a data frame will have
Start bit
stop bit
parity bit
• The baud rate data transmission speed in terms per second also
must be predefined.
KNCET EEE DEPARTMENT
• Serial data transfer in bit from received to parallel data in byte form
for storage and processing.
• Parallel data in memory to serial data ready to be transmitted
• Such devices working in asynchronous mode are called USART.
• The 8051 has on chip for serial communication.
• RXD
• TXD
Serial Communication Modes
• MODE 0
• MODE 1
• MODE 2
• MODE 3
KNCET EEE DEPARTMENT
KNCET
EEE DEPARTMENT
MODE 0:
• Data is transmitted as well as received through the RxD pin.
• The shift clock is supplied through the TxD pin.
• 8 bits of data are transmitted and received.
• The LSB is transmitted first and similarly while receiving.
• The baud rate is 1/12 of a oscillator frequency.
• Transmit Interrupt flag (TI) is set when data bytes are transmitted and
Receive Interrupt(RI) flag is set after receiving bits.
• The TI and RI flags are noting but SCON register. This mode
corresponds to SM0=0 and SM1=0.
KNCET
EEE DEPARTMENT
MODE 1:
• Data is sent through the TxD pin and received through the RxD pin. A
10 bit frame containing 8 bit data (SM0=0), a start bit (=0) and a stop
bit (=1) are used.
• Thus there is a clear demarcation between end of one data frame
and start of another data frame, once the stop bit is received.
• The Stop bit is loaded into a bit cell RB8 in the SCON register.
• As mode 0 here also an interrupt is generated once all the bit frames
are received or transmitted.
• Baud rate varies here the baud rate varied by changing preset count
in the Timer1.
• The start bit and stop bit are automatically added by the hardware by
transmitting data.
KNCET
EEE DEPARTMENT
MODE 2:
• 11 bits are transmitted or received. This 11 bit frame is specified as:
1 bit for start
8 bits for data
1 bit can be programmed
1 bit for stop bit
• The 9 data bit programmable. This bit TB8 bit in SCON register, this is effectively
used while transmitting data.
• With little software overhead, this bits can be used to send the parity of the byte
that is to be transmitted.
• Transmitting:
If we want to use 9 th bit as a parity we must load the TB8 with the parity of
the byte that is to be transmitted. ACC has the byte to be transmitted.
• Receiving:
on reception of frame the 9 th bit goes to RB8 of the SCON register. The stop
bit is ignored the baud rate in this mode is programmable either 1/32 or 1/64 of the
oscillator frequency
By making SMOD = 0 baud rate can be set to 1/64 of oscillator frequency, SMOD =
1 baud rate can be set to 1/32 of oscillator frequency. SMOD is 7 th bit PCON after
SFR.
KNCET EEE DEPARTMENT
MODE 3:
• This mode is same as the mode 2 expect for baud rate.
• Here the baud rate is variable as in case of mode 1.
• The baud rate depends on overflow rate of timer 1.
• By changing preset count in Timer 1 baud rate can be varied.
Baud rate calculation = Timer 1 overflow rate
n
Where n is an integer and its value is either 32 or 16
If SMOD = 1 then n =16 else n = 32
Overflow rate = rate at which the counting in done /256-TH1
KNCET
EEE DEPARTMENT
KNCET EEE DEPARTMENT
PCON
• Power control register through which certain power control functions
in CMOS version of the 8051 implemented.
• In the HMOS version all the bits of PCON except 7 bit are dummy.
• Bit 7 is SMOD and is used in both CMOS and HMOS versions to
double baud rate in mode 1,2 and 3.
• PCON is not bit addressable.
KNCET EEE DEPARTMENT
KNCET EEE DEPARTMENT

More Related Content

What's hot

8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller Notes
Dr.YNM
 
ARM Processors
ARM ProcessorsARM Processors
ARM Processors
Mathivanan Natarajan
 
8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware
Prof. Swapnil V. Kaware
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller features
Tech_MX
 
Keypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 MicrocontrollerKeypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 Microcontroller
Sudhanshu Janwadkar
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
Muthu Manickam
 
Interfacing adc
Interfacing adcInterfacing adc
Interfacing adc
PRADEEP
 
PIC 16F877A by PARTHIBAN. S.
PIC 16F877A   by PARTHIBAN. S.PIC 16F877A   by PARTHIBAN. S.
PIC 16F877A by PARTHIBAN. S.
parthi_arjun
 
Architecture of 16C6X
Architecture of 16C6XArchitecture of 16C6X
Architecture of 16C6X
v Kalairajan
 
Altera flex
Altera flexAltera flex
Altera flex
Sharmil Nila
 
memory organi.pptx
memory organi.pptxmemory organi.pptx
memory organi.pptx
prakashpacet
 
Lambda design rule
Lambda design ruleLambda design rule
Lambda design rule
Gowri Kishore
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller ppt
Rahul Kumar
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction set
Andri Prastiyo
 
STM32 MCU Family
STM32 MCU FamilySTM32 MCU Family
STM32 MCU Family
Premier Farnell
 
Short Channel Effect In MOSFET
Short Channel Effect In MOSFETShort Channel Effect In MOSFET
Short Channel Effect In MOSFET
Sudhanshu Srivastava
 
8051 timer counter
8051 timer counter8051 timer counter
8051 timer counter
vishalgohel12195
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
Poojith Chowdhary
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085
ShivamSood22
 
Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051
hello_priti
 

What's hot (20)

8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller Notes
 
ARM Processors
ARM ProcessorsARM Processors
ARM Processors
 
8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller features
 
Keypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 MicrocontrollerKeypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 Microcontroller
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
 
Interfacing adc
Interfacing adcInterfacing adc
Interfacing adc
 
PIC 16F877A by PARTHIBAN. S.
PIC 16F877A   by PARTHIBAN. S.PIC 16F877A   by PARTHIBAN. S.
PIC 16F877A by PARTHIBAN. S.
 
Architecture of 16C6X
Architecture of 16C6XArchitecture of 16C6X
Architecture of 16C6X
 
Altera flex
Altera flexAltera flex
Altera flex
 
memory organi.pptx
memory organi.pptxmemory organi.pptx
memory organi.pptx
 
Lambda design rule
Lambda design ruleLambda design rule
Lambda design rule
 
8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller ppt
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction set
 
STM32 MCU Family
STM32 MCU FamilySTM32 MCU Family
STM32 MCU Family
 
Short Channel Effect In MOSFET
Short Channel Effect In MOSFETShort Channel Effect In MOSFET
Short Channel Effect In MOSFET
 
8051 timer counter
8051 timer counter8051 timer counter
8051 timer counter
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085
 
Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051
 

Similar to DATA TRANSFER SCHEMES OF 8085

8051 SERIAL PORTS.pptx
8051 SERIAL PORTS.pptx8051 SERIAL PORTS.pptx
8051 SERIAL PORTS.pptx
maheswariM7
 
Microcontrollers and microprocessors in electrical communication engineering....
Microcontrollers and microprocessors in electrical communication engineering....Microcontrollers and microprocessors in electrical communication engineering....
Microcontrollers and microprocessors in electrical communication engineering....
ANKUSH445845
 
8051 serialp port
8051 serialp port8051 serialp port
8051 serialp port
Teju Kotti
 
Presentation (1)-3.pptx
Presentation (1)-3.pptxPresentation (1)-3.pptx
Presentation (1)-3.pptx
RushikeshSawant37
 
Universal synchronous asynchronous receiver transmitter(usart) and AtoD Coverter
Universal synchronous asynchronous receiver transmitter(usart) and AtoD CoverterUniversal synchronous asynchronous receiver transmitter(usart) and AtoD Coverter
Universal synchronous asynchronous receiver transmitter(usart) and AtoD Coverter
Tejas Shetye
 
8251 USART.pptx
8251 USART.pptx8251 USART.pptx
8251 USART.pptx
MeenaAnusha1
 
8251 USART
8251 USART8251 USART
8251 USART
ShivamSood22
 
8251 a basic
8251 a basic8251 a basic
USART - 8251 / usart-8251A Pallav Shukla
USART - 8251 / usart-8251A Pallav ShuklaUSART - 8251 / usart-8251A Pallav Shukla
USART - 8251 / usart-8251A Pallav Shukla
Pallav Shukla
 
Serial IO for 8051
Serial IO for 8051Serial IO for 8051
Serial IO for 8051
SaravananVijayakumar4
 
8051 serial communication
8051 serial communication8051 serial communication
8051 serial communication
canh phan
 
Micro c lab8(serial communication)
Micro c lab8(serial communication)Micro c lab8(serial communication)
Micro c lab8(serial communication)
Mashood
 
12 mt06ped019
12 mt06ped019 12 mt06ped019
12 mt06ped019
vijaydeepakg
 
EC8691 - UNIT 5.pdf
EC8691 - UNIT 5.pdfEC8691 - UNIT 5.pdf
EC8691 - UNIT 5.pdf
SPonmalar1
 
Serial communication
Serial communicationSerial communication
Serial communication
Vikas Dongre
 
SPI Protocol in LPC2148
SPI  Protocol in LPC2148SPI  Protocol in LPC2148
SPI Protocol in LPC2148
Dnyanesh P. Joshi
 
Serial.ppt and it contains all information
Serial.ppt and it contains all informationSerial.ppt and it contains all information
Serial.ppt and it contains all information
shwetasonkar638
 
Lecture 10 (serial communication)
Lecture 10 (serial communication)Lecture 10 (serial communication)
Lecture 10 (serial communication)
cairo university
 
Lecture 10 _serial_communication
Lecture 10 _serial_communicationLecture 10 _serial_communication
Lecture 10 _serial_communication
Md Rakibul islam chowdhury
 
Serial data transfer
Serial data transferSerial data transfer
Serial data transfer
Dinesh Subhuraaj
 

Similar to DATA TRANSFER SCHEMES OF 8085 (20)

8051 SERIAL PORTS.pptx
8051 SERIAL PORTS.pptx8051 SERIAL PORTS.pptx
8051 SERIAL PORTS.pptx
 
Microcontrollers and microprocessors in electrical communication engineering....
Microcontrollers and microprocessors in electrical communication engineering....Microcontrollers and microprocessors in electrical communication engineering....
Microcontrollers and microprocessors in electrical communication engineering....
 
8051 serialp port
8051 serialp port8051 serialp port
8051 serialp port
 
Presentation (1)-3.pptx
Presentation (1)-3.pptxPresentation (1)-3.pptx
Presentation (1)-3.pptx
 
Universal synchronous asynchronous receiver transmitter(usart) and AtoD Coverter
Universal synchronous asynchronous receiver transmitter(usart) and AtoD CoverterUniversal synchronous asynchronous receiver transmitter(usart) and AtoD Coverter
Universal synchronous asynchronous receiver transmitter(usart) and AtoD Coverter
 
8251 USART.pptx
8251 USART.pptx8251 USART.pptx
8251 USART.pptx
 
8251 USART
8251 USART8251 USART
8251 USART
 
8251 a basic
8251 a basic8251 a basic
8251 a basic
 
USART - 8251 / usart-8251A Pallav Shukla
USART - 8251 / usart-8251A Pallav ShuklaUSART - 8251 / usart-8251A Pallav Shukla
USART - 8251 / usart-8251A Pallav Shukla
 
Serial IO for 8051
Serial IO for 8051Serial IO for 8051
Serial IO for 8051
 
8051 serial communication
8051 serial communication8051 serial communication
8051 serial communication
 
Micro c lab8(serial communication)
Micro c lab8(serial communication)Micro c lab8(serial communication)
Micro c lab8(serial communication)
 
12 mt06ped019
12 mt06ped019 12 mt06ped019
12 mt06ped019
 
EC8691 - UNIT 5.pdf
EC8691 - UNIT 5.pdfEC8691 - UNIT 5.pdf
EC8691 - UNIT 5.pdf
 
Serial communication
Serial communicationSerial communication
Serial communication
 
SPI Protocol in LPC2148
SPI  Protocol in LPC2148SPI  Protocol in LPC2148
SPI Protocol in LPC2148
 
Serial.ppt and it contains all information
Serial.ppt and it contains all informationSerial.ppt and it contains all information
Serial.ppt and it contains all information
 
Lecture 10 (serial communication)
Lecture 10 (serial communication)Lecture 10 (serial communication)
Lecture 10 (serial communication)
 
Lecture 10 _serial_communication
Lecture 10 _serial_communicationLecture 10 _serial_communication
Lecture 10 _serial_communication
 
Serial data transfer
Serial data transferSerial data transfer
Serial data transfer
 

More from saravanamanikandan02

8051 port configuration
8051 port configuration8051 port configuration
8051 port configuration
saravanamanikandan02
 
Programmable dma controller 8237
Programmable dma controller 8237Programmable dma controller 8237
Programmable dma controller 8237
saravanamanikandan02
 
Timers of 8051
Timers of 8051Timers of 8051
Timers of 8051
saravanamanikandan02
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085
saravanamanikandan02
 
Machine cycles
Machine cyclesMachine cycles
Machine cycles
saravanamanikandan02
 
Usart 8251
Usart 8251Usart 8251

More from saravanamanikandan02 (6)

8051 port configuration
8051 port configuration8051 port configuration
8051 port configuration
 
Programmable dma controller 8237
Programmable dma controller 8237Programmable dma controller 8237
Programmable dma controller 8237
 
Timers of 8051
Timers of 8051Timers of 8051
Timers of 8051
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085
 
Machine cycles
Machine cyclesMachine cycles
Machine cycles
 
Usart 8251
Usart 8251Usart 8251
Usart 8251
 

Recently uploaded

Literature review for prompt engineering of ChatGPT.pptx
Literature review for prompt engineering of ChatGPT.pptxLiterature review for prompt engineering of ChatGPT.pptx
Literature review for prompt engineering of ChatGPT.pptx
LokerXu2
 
Butterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdfButterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdf
Lubi Valves
 
Lateral load-resisting systems in buildings.pptx
Lateral load-resisting systems in buildings.pptxLateral load-resisting systems in buildings.pptx
Lateral load-resisting systems in buildings.pptx
DebendraDevKhanal1
 
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Banerescorts
 
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdfAsymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
felixwold
 
Cuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort Service
Cuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort ServiceCuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort Service
Cuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort Service
yakranividhrini
 
Online train ticket booking system project.pdf
Online train ticket booking system project.pdfOnline train ticket booking system project.pdf
Online train ticket booking system project.pdf
Kamal Acharya
 
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUESAN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
drshikhapandey2022
 
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
AK47
 
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book NowKandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
SONALI Batra $A12
 
Data Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdfData Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdf
Kamal Acharya
 
An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...
An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...
An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...
DharmaBanothu
 
Microsoft Azure AD architecture and features
Microsoft Azure AD architecture and featuresMicrosoft Azure AD architecture and features
Microsoft Azure AD architecture and features
ssuser381403
 
SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )
Tsuyoshi Horigome
 
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
dulbh kashyap
 
CSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdfCSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdf
Ismail Sultan
 
Cricket management system ptoject report.pdf
Cricket management system ptoject report.pdfCricket management system ptoject report.pdf
Cricket management system ptoject report.pdf
Kamal Acharya
 
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 MinutesCall Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
kamka4105
 
Intuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sdeIntuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sde
ShivangMishra54
 
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Poonam Singh
 

Recently uploaded (20)

Literature review for prompt engineering of ChatGPT.pptx
Literature review for prompt engineering of ChatGPT.pptxLiterature review for prompt engineering of ChatGPT.pptx
Literature review for prompt engineering of ChatGPT.pptx
 
Butterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdfButterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdf
 
Lateral load-resisting systems in buildings.pptx
Lateral load-resisting systems in buildings.pptxLateral load-resisting systems in buildings.pptx
Lateral load-resisting systems in buildings.pptx
 
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
 
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdfAsymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
 
Cuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort Service
Cuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort ServiceCuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort Service
Cuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort Service
 
Online train ticket booking system project.pdf
Online train ticket booking system project.pdfOnline train ticket booking system project.pdf
Online train ticket booking system project.pdf
 
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUESAN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
 
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
 
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book NowKandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
Kandivali Call Girls ☑ +91-9967584737 ☑ Available Hot Girls Aunty Book Now
 
Data Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdfData Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdf
 
An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...
An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...
An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...
 
Microsoft Azure AD architecture and features
Microsoft Azure AD architecture and featuresMicrosoft Azure AD architecture and features
Microsoft Azure AD architecture and features
 
SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )
 
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
 
CSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdfCSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdf
 
Cricket management system ptoject report.pdf
Cricket management system ptoject report.pdfCricket management system ptoject report.pdf
Cricket management system ptoject report.pdf
 
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 MinutesCall Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
 
Intuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sdeIntuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sde
 
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
 

DATA TRANSFER SCHEMES OF 8085

  • 1. 8051 Microcontroller Data Transfer Schemes PREPAREDBY B.SARAVANAMANIKANDAN ASSISTANTPROFESSOR Kongunaducollegeof engineeringandtechnology
  • 2. SERIAL INTERFACE • Data transfer between memory and register, register and port and port to outside unit in these data transfers, a byte is transferred between two units. • Thus 8 bits are transferred in parallel. • This type of data transfer is mostly used for short distance, data transfer. • When data becomes more than few meters the parallel data transfer suffers from phenomenon called bit skewing. KNCET EEE DEPARTMENT
  • 3. ASYCHRONOUS and SYNCHRONOUS • In synchronous communication the transmission from one device and receipt at other devices is synchronized by a common clock, thus as one bit/byte is sent out from A to B. • Another variation of synchronous communication is when two units are quite apart, they are driven by individual clocks but these clocks are synchronized. • In Asynchronous Communication the transmission and reception are not synchronized. • A device can send its own and other device may receive it. In this case byte is enveloped in a data frame will have Start bit stop bit parity bit • The baud rate data transmission speed in terms per second also must be predefined. KNCET EEE DEPARTMENT
  • 4. • Serial data transfer in bit from received to parallel data in byte form for storage and processing. • Parallel data in memory to serial data ready to be transmitted • Such devices working in asynchronous mode are called USART. • The 8051 has on chip for serial communication. • RXD • TXD Serial Communication Modes • MODE 0 • MODE 1 • MODE 2 • MODE 3 KNCET EEE DEPARTMENT
  • 6. MODE 0: • Data is transmitted as well as received through the RxD pin. • The shift clock is supplied through the TxD pin. • 8 bits of data are transmitted and received. • The LSB is transmitted first and similarly while receiving. • The baud rate is 1/12 of a oscillator frequency. • Transmit Interrupt flag (TI) is set when data bytes are transmitted and Receive Interrupt(RI) flag is set after receiving bits. • The TI and RI flags are noting but SCON register. This mode corresponds to SM0=0 and SM1=0. KNCET EEE DEPARTMENT
  • 7. MODE 1: • Data is sent through the TxD pin and received through the RxD pin. A 10 bit frame containing 8 bit data (SM0=0), a start bit (=0) and a stop bit (=1) are used. • Thus there is a clear demarcation between end of one data frame and start of another data frame, once the stop bit is received. • The Stop bit is loaded into a bit cell RB8 in the SCON register. • As mode 0 here also an interrupt is generated once all the bit frames are received or transmitted. • Baud rate varies here the baud rate varied by changing preset count in the Timer1. • The start bit and stop bit are automatically added by the hardware by transmitting data. KNCET EEE DEPARTMENT
  • 8. MODE 2: • 11 bits are transmitted or received. This 11 bit frame is specified as: 1 bit for start 8 bits for data 1 bit can be programmed 1 bit for stop bit • The 9 data bit programmable. This bit TB8 bit in SCON register, this is effectively used while transmitting data. • With little software overhead, this bits can be used to send the parity of the byte that is to be transmitted. • Transmitting: If we want to use 9 th bit as a parity we must load the TB8 with the parity of the byte that is to be transmitted. ACC has the byte to be transmitted. • Receiving: on reception of frame the 9 th bit goes to RB8 of the SCON register. The stop bit is ignored the baud rate in this mode is programmable either 1/32 or 1/64 of the oscillator frequency By making SMOD = 0 baud rate can be set to 1/64 of oscillator frequency, SMOD = 1 baud rate can be set to 1/32 of oscillator frequency. SMOD is 7 th bit PCON after SFR. KNCET EEE DEPARTMENT
  • 9. MODE 3: • This mode is same as the mode 2 expect for baud rate. • Here the baud rate is variable as in case of mode 1. • The baud rate depends on overflow rate of timer 1. • By changing preset count in Timer 1 baud rate can be varied. Baud rate calculation = Timer 1 overflow rate n Where n is an integer and its value is either 32 or 16 If SMOD = 1 then n =16 else n = 32 Overflow rate = rate at which the counting in done /256-TH1 KNCET EEE DEPARTMENT
  • 11. PCON • Power control register through which certain power control functions in CMOS version of the 8051 implemented. • In the HMOS version all the bits of PCON except 7 bit are dummy. • Bit 7 is SMOD and is used in both CMOS and HMOS versions to double baud rate in mode 1,2 and 3. • PCON is not bit addressable. KNCET EEE DEPARTMENT
  翻译: