Microcontroller Operation:Instruction Register and Decoder

Instruction Register and Decoder To execute an instruction, the processor copies the instruction code from the program memory into the instruction register (IR). It can then be decoded (interpreted) by the instruction decoder, which is a combinational logic block which sets up the processor control lines as required. These control lines are not shown explicitly […]
Continue reading…

 

Microcontroller Operation:Program Memory and Program Counter

Program Memory Microcontrollers used for prototyping and short production runs use flash memory to store the program. The program can be downloaded while the chip is in the application circuit (in-circuit programming). Alternatively, the chip is placed in a programming unit attached to the host computer for program downloading, before fitting it in the application […]
Continue reading…

 

Microcontroller Operation:Microcontroller Architecture

Microcontroller Architecture The architecture (internal hardware arrangement) of a complex chip is best represented as a block diagram. This allows the overall operation to be described without having to analyze the internal circuit, which is extremely complex, in detail. PIC data sheets contain a definitive block diagram for each chip. Our starting point is the […]
Continue reading…

 

Computer Systems:Microcontroller Application Design

Microcontroller Application Design A simple microcontroller-based equivalent of the word-processing application described above is shown in Figure 1.9. The purpose of the system is to store and display numbers that are input on the keypad. Four inputs and three outputs are required for keypad connection to the microcontroller, but to simplify the drawing, these parallel […]
Continue reading…