1.What is an 8051 Microcontroller?
The microcontroller like 8051 was designed in the year 1981 by Intel. The microcontroller is one kind of integrated circuit that includes 40-pins with dual inline package or DIP, RAM-128 bytes, ROM-4kb & 16-bit timers–2. Based on the requirement, it includes addressable & programmable 4 – parallel 8-bit ports. In the 8051 microcontroller architecture, the system bus plays a key role to connect all the devices to the central processing unit. This bus includes a data bus- an 8-bit, an address bus-16-bit & bus control signals. Other devices can also be interfaced throughout the system bus like ports, memory, interrupt control, serial interface, the CPU, timers.
There are two buses in 8051 Microcontroller one for the program and another for data. As a result, it has two storage rooms for both programs and data of 64K by 8 sizes. The microcontroller comprises of 8-bit accumulator & an 8-bit processing unit. It also consists of 8 bit B register as majorly functioning blocks and 8051 microcontroller programming is done with embedded C language using Keil software. It also has several other 8 bit and 16-bit registers.For internal functioning & processing Microcontroller, 8051 comes with integrated built-in RAM. This is prime memory and is employed for storing temporary data. It is an unpredictable memory i.e. its data can get be lost when the power supply to the Microcontroller switched OFF. This microcontroller is very simple to use, affordable less computing power, simple architecture & instruction set.
2.The main features of the 8051 microcontroller
- 8-bit CPU through two Registers A & B.
- 8K Bytes – Internal ROM and it is a flash memory that supports while programming the system.
- 256 Bytes – Internal RAM where the first RAM with 128 Bytes from 00H to 7FH is once more separated into four banks through 8 registers in every bank, addressable registers -16 bit & general-purpose registers – 80.
- The remaining 128 bytes of the RAM from 80H to FFH include Special Function Registers (SFRs). These registers control various peripherals such as Serial Port, Timers, all I/O Ports, etc.
- Interrupts like External-2 & Internal-3
- Oscillator & CLK Circuit.
- Control Registers like PCON, SCON, TMOD, TCON, IE, and IP.
- 16-bit Timers or Counters -2 like T0 & T1.
- Program Counter – 16 bit & DPRT (Data Pointer).
- I/O Pins – 32 which are arranged like four ports such as P0, P1, P2 & P3.
- Stack Pointer (SP) – 8bit & PSW (Processor Status Word).
- Serial Data Tx & Rx for Full-Duplex Operation
3. 8051 Microcontroller Architecture
Interrupts :
Memory :
Bus :
Oscillator :
4. Types of Interrupts in 8085
- TF0 (Timer 0 Overflow Interrupt)
- TF1 (Timer 1 Overflow Interrupt)
- INT0 (External Hardware Interrupt)
- INT1 (External Hardware Interrupt)
- RI/TI (Serial Communication Interrupt)
5. Memory architecture of the 8051 microcontroller
6. Timer and Control Unit of the 8051 microcontroller
7. Registers of the 8051 microcontroller
- An accumulator is mainly used to execute arithmetic & logic instructions.
- Registers like B, R0 toR7 are used for storing instruction addresses & data.
- Data Pointers or DPTR is used to allow & process data in dissimilar addressing modes. This register includes DPH (high byte) & a DPL (low byte) which is mainly used to hold a 16-bit address. So, it can be used as a base register within not direct jumps, lookup table instructions & external data transfer.
- Program counter or PC is a 16-bit register used to store the next instruction’s address to be performed
- These registers are 8-bits other than program counter & data pointer registers.
8. Data Types of the 8051 microcontroller
9. PSW Register of the 8051 microcontroller
10 . Register Banks of the 8051 microcontroller
11. Stack of the 8051 microcontroller
12 . Organization of Memory of the 8051 microcontroller
13. Addressing Modes of the 8051 microcontroller
- Register
- Register indirect
- Immediate
- Indexed
- Direct
14. Applications of 8051 Microcontroller
- Energy Management: Competent measuring device systems aid in calculating energy consumption in domestic and industrialized applications. These meter systems are prepared competent by integrating microcontrollers.
- Touch screens: A high degree of microcontroller suppliers integrate touch sensing abilities in their designs. Transportable devices such as media players, gaming devices & cell phones are some illustrations of micro-controller integrated with touch sensing screens.
- Automobiles: The microcontroller 8051 discovers broad recognition in supplying automobile solutions. They are extensively utilized in hybrid motor vehicles to control engine variations. Also, works such as cruise power and anti-brake mechanism have created it more capable with the amalgamation of micro-controllers.
- Medical Devices: Handy medicinal gadgets such as glucose & blood pressure monitors bring into play micro-controllers, to put on view the measurements, as a result, offering higher dependability in giving correct medical results.
- Medical Devices: Handy medicinal gadgets such as glucose & blood pressure monitors bring into play micro-controllers, to put on view the measurements, as a result, offering higher dependability in giving correct medical results.
15. Explain the real-world interfacing with 8051 microcontrollers?
- User-controlled switcher at each floor to call the elevator.
- Switcher inside the elevator to select the destination floor.
- open and close the switch for the door.
- An alarm switch, which the user can used
16. Explain ARM architecture.
the Trace Port Interface Unit (TPIU), the Embedded Trace Macrocell (ETM), the ROM table, implementation-specific areas of the PPB memory map.
the Instrumentation Trace Macrocell (ITM), the Data Watchpoint and Trace (DWT),the Flashpatch and Breakpoint (FPB),the System Control Space (SCS), including the MPU and the Nested Vectored Interrupt Controller (NVIC).
• SRAM Bit-band alias - Direct accesses to this memory range behave as SRAM memory accesses, but this region is also bit addressable through bit-band alias.• SRAM bit-band region - Data accesses to this region are remapped to bit band region. A write operation is performed as read-modify-write.
Post a Comment
0 Comments