Skip to main content

Posts

Showing posts from February, 2021

How to program 8051 based MCU using Ptroteous Schematic capture and Source code editor to use timers using AT892051 + project files

 This tutorial is dedicated to use a 8051 based Microcontroller core and program it using keil's C51 tools on the Proteus Source code editor.  1- Brief History of 8051 one of the first microprocessors 4004 was invented by Intel Corporation as well as  8085 and 8086 microprocessors back in 1981,shortly after Intel introduced an 8-bit microcontroller called the 8051 . It was referred to as system on a chip because it had 128 bytes of RAM, 4K byte of on-chip ROM, two timers, one serial port, and 4 ports (8-bit wide), all on a single chip. When it became so widespread, Intel allowed other manufacturers to make and market different flavors of 8051 with its code compatible with 8051. It means that if you write your program for one flavor of 8051, it will run on other flavors too, regardless of the manufacturer. This has led to several versions with different speeds and amounts of on-chip RAM. 2- Features of AT892051 Microcontroller Compatible with MCS®-51Products 2K Bytes of R

What Is Direct Memory Access (DMA)?

  Direct Memory Access (DMA) is a feature of computer systems that allows hardware subsystems to access main system memory (RAM) independent of the Central Processing Unit (CPU). The Direct Memory Access (DMA) hardware peripheral on PIC ® microcontrollers (MCUs) allows for direct memory-to-memory mapping and multitasking behavior through concurrent operation of the DMA and the CPU. This enables more flexible usage of eXtreme Low Power (XLP) technologies through core-independent movement of data in low-power modes and significant improvements in data throughput and latency.     Why Is DMA Used? Most CPU operations in MCU-based systems involve the movement of data. In many cases, this can significantly limit the throughput and responsiveness of a system. For example, an interrupt can cause the CPU to stop what it is currently doing to service the interrupt. In low-power appli