The working of a microcontroller is sequential. It performs one step after another. Below, I have mentioned the stepwise process and have tried to keep the language lucid. The image below shows the 8051 architecture so that you can pictorially relate the different process. Continue reading How a microcontroller works?
When we are writing a C program for a microcontroller, do we really know what actually happens at the hardware level? What does our code in C, C++ actually do, which causes the microcontroller to perform the way we want it to? After all, a microcontroller is an inanimate chunk of organized silicon. To understand this, we need to know about two important concepts – Layers of Abstraction and Instruction Set Architecture well known as ISA.
First, let’s understand the Layers of Abstraction that exist in an embedded system of which ISA is an integral part. Continue reading Layers of Abstraction