Summary of The internal hardware configuration of the 8051

Summary The internal hardware configuration of the 8051 registers and control circuits have been examined at the functional block diagram level. The 8051 may be considered to be a col­lection of RAM, ROM, and addressable registers that have some unique functions. SPECIAL-FUNCTION REGISTERS Register Bit Primary Function Bit Addressable A 8 Math, data manipulation Y […]
Continue reading…

 

Interrupts

Interrupts A computer program has only two ways to determine the conditions that exist in internal and external circuits. One method uses software instructions that jump on the states of flags and port pins. The second responds to hardware signals. called interrupts. that force the program to call a sub-routine. Software techniques use up processor […]
Continue reading…

 

Serial Data Input/Output

Serial Data Input/Output Computers must be able to communicate with other computers in modern multiprocessor distributed systems. One cost-effective way to communicate is to send and receive data bits serially. The 8051 has a serial data communication circuit that uses register SBUF to hold data. Register SCON controls data communication, register PCON controls data rates, […]
Continue reading…

 

Counters and Timers

Counters and Timers Many microcontroller applications require the counting of external events, such as the frequency of a pulse train, or the generation of precise internal time delays between com­puter actions. Both of these tasks can be accomplished using software techniques, but software loops for counting or timing keep the processor occupied so that other, […]
Continue reading…

 

External Memory

External Memory The system designer is not limited by the amount of internal RAM and ROM available on chip. Two separate external memory spaces are made available by the 16-bit PC and DPTR and by different control pins for enabling external ROM and RAM chips. Internal control circuitry accesses the correct physical memory, depending upon […]
Continue reading…

 

Input/Output Pins, Ports, and Circuits

Input/Output Pins, Ports, and Circuits One major feature of a microcontroller is the versatility built into the input/output (110) circuits that connect the 8051 to the outside world. As noted in Chapter I, microprocessor designs must add additional chips to interface with external circuitry; this ability is built into the microcontroller. To be commercially viable, […]
Continue reading…