Microprocessor and microcontroller pdf


 

Lecture Note. On. Microprocessor and Microcontroller. Theory and Applications. Subject Code:BEE Semester: 5 th. Branch: EE and EEE. Download Microprocessor and Microcontroller System By A. P. Godse, D. A. Godse – Introduction CPU, Address bus, Data bus and control bus. Input/Output. The Microcontroller and Embedded Systems Using Assembly and C Second Edition Muhammad Ali Understanding / Microprocessors and.

Author:MARIAH HANDZEL
Language:English, Spanish, Dutch
Country:Kuwait
Genre:Environment
Pages:156
Published (Last):22.09.2016
ISBN:681-5-67510-410-1
Distribution:Free* [*Registration Required]
Uploaded by: MOSE

57526 downloads 132857 Views 23.80MB PDF Size Report


Microprocessor And Microcontroller Pdf

PDF | On Jan 1, , Dr. Moorthi Madhavan and others published EC MICROPROCESSOR AND MICROCONTROLLER. Engineering Class handwritten notes, exam notes, previous year questions, PDF free download. Difference Between Microprocessor and. Microcontroller: Microprocessor: The microprocessor is a small computer or CPU (central processing unit) used to do.

It is an online portal that gives an enhanced way of learning and guidance in various fields of engineering which include robotics, electronics, communication,computer science, embedded systems and its real life applications. You Are Here: Microprocessor Micro Controller Microprocessor is heart of Computer system. Micro Controller is a heart of embedded system. It is just a processor. Cannot be used in compact systems and hence inefficient Can be used in compact systems and hence it is an efficient technique Cost of the entire system increases Cost of the entire system is low Due to external components, the entire power consumption is high. Hence it is not suitable to used with devices running on stored power like batteries. Since external components are low, total power consumption is less and can be used with devices running on stored power like batteries. Most of the microprocessors do not have power saving features. Most of the micro controllers have power saving modes like idle mode and power saving mode. This helps to reduce power consumption even further.

We will discuss this use of timers first and will subsequently discuss the use of timers to count events.

EC4205 - Lecture 1.pdf - EC4205 Microprocessor and...

When a timer is used to measure time it is also called an "interval timer" since it is measuring the time of the interval between two events. Timer SFR has two timers which each function essentially the same way.

Table 4. This is a relic that was kept around in the to maintain compatability with its predecesor, the Generally the bit timer mode is not used in new development. When the timer is in bit mode, TLx will count from 0 to When TLx is incremented from 31, it will "reset" to 0 and increment THx.

Thus, effectively, only 13 bits of the two timer bytes are being used: bits of TLx and bits of THx. This also means, in essence, the timer can only contain values. If you set a bit timer to 0, it will overflow back to zero Machine cycles later. Again, there is very little reason to use this mode and it is only mentioned so you wont be surprised if you ever end up analyzing archaeic code which has been passed down through the generations a generation in a programming shop is often on the order of about 3 or 4 months.

This is a very commonly used mode. It functions just like bit mode except that all 16 bits are used. TLx is incremented from 0 to When TLx is incremented from , it resets to 0 and causes THx to be incremented by 1. Since this is a full bit timer, the timer may contain up to distinct values.

If you set a bit timer to 0, it will overflow back to 0 after 65, machine cycles.

Microprocessors and Microcontrollers - NPTEL

What is that, you may ask? When a timer is in mode 2, THx holds the "reload value" and TLx is the timer itself.

Thus, TLx starts counting up. When TLx reaches and is subsequently incremented, instead of resetting to 0 as in the case of modes 0 and 1 , it will be reset to the value stored in THx. Split Timer Mode mode 3 Timer mode "3" is a split-timer mode.

It functions just like bit mode except that all 16 bits are used. TLx is incremented from 0 to When TLx is incremented from , it resets to 0 and causes THx to be incremented by 1.

Since this is a full bit timer, the timer may contain up to distinct values. If you set a bit timer to 0, it will overflow back to 0 after 65, machine cycles.

What is that, you may ask? When a timer is in mode 2, THx holds the "reload value" and TLx is the timer itself. Thus, TLx starts counting up. When TLx reaches and is subsequently incremented, instead of resetting to 0 as in the case of modes 0 and 1 , it will be reset to the value stored in THx.

Split Timer Mode mode 3 Timer mode "3" is a split-timer mode. When Timer 0 is placed in mode 3, it essentially becomes two separate 8-bit timers.

Difference between Microprocessor and Microcontroller

Both timers count from 0 to and overflow back to 0. All the bits that are related to Timer 1 will now be tied to TH0. While Timer 0 is in split mode, the real Timer 1 i. TH1 and TL1 can be put into modes 0, 1 or 2 normally--however, you may not start or stop the real timer 1 since the bits that do that are now linked to TH0. The real timer 1, in this case, will be incremented every machine cycle no matter what.

However, the also allows us to use the timers to count events.

microprocessor and terney.info | Central Processing Unit | Input/Output

How can this be useful? Let's say you had a sensor placed across a road that would send a pulse every time a car passed over it.

This could be used to determine the volume of traffic on the road. This is not terribly difficult, but requires some code.

Let's say we hooked the sensor to P1. Normally serial communication is used in the Multi Processor environment.

Related articles:


Copyright © 2019 terney.info.
DMCA |Contact Us