8051 microcontroller2

8051 microcontroller2 - 2- Day Workshop Design of Sensor...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 2- Day Workshop Design of Sensor based Embedded System Using 8051 The 8051An 8-bit Microcontroller optimized for control applications. A Microcontroller derivative family based on the 8051 core. A Microcontroller because you can make a one-chip system with the one chip containing: Program & Data Memory I/O Ports Serial Communication Counters/Timers Interrupt Control logic to-D and D-to-A converters & so on ... Features of the 80518 Bit data path and ALU. Easy interfacing. 12 to 30 MHz versions available. ( 1 sec to 400 ns for single cycle instructions). Full instruction set including: Multiply and Divide. Bit set, reset, and test (Boolean instructions). Variety of addressing modes. 4K X 8 ROM - Program memory. 128 x 8 RAM - Data memory. Special function registers. Serial I/O port. 32 I/O lines. Two 16-bit counter/timers. M.V.S.R. Engg College ECE Dept 152- Day Workshop Design of Sensor based Embedded System Using 8051 8051 Logic SymbolVSSVCC RST P0.7P0.6P0.XTAL1 XTALP5ADDRESS ANDDATA BUSO P0.4P0.3P0.R2 ALT20 P0.1P0.0E EAPSENP3.7P3.6P3.5P3.4P3.3P3.2P3.1P3.0RxD TxD INT0INT1T0T1WRRDSECONDARYFUNCTIONS PORT3 P2.7P2.6P2.5P2.4P2.3P2.2P2.1P2.0PORT2 ADDRESSBUS P1.7P1.6P1.PO5RP1.4P1.3P1.T2P1.1P1.01 80C51 Block DiagramInterrupt Control External Interrupts Timer 1 Timer 0 CPU OSC Serial Port I/O PortsBus Control4k byteROM 128 byteRAM CounterInputs RXD P0P3P1P2(Address/Data)M.V.S.R. Engg College ECE Dept 162- Day Workshop Design of Sensor based Embedded System Using 8051 Addressing Space64K X 8 ROM - Program memory. 64K x 8 RAM - External data memory. 256 x 8 RAM - Internal data memory. 128 x 8 Special function registers (SFRs). Bit addressing of 16 RAM locations and 16 SFRs. Program Memory16 bit Program Counter (PC). 16 bit Data Pointer (DPTR). 64K byte address space each for Program & Data. Table lookup using relative addressing: PC + ACC (Move). DPTR + ACC (Move and jump). EA pin disables internal ROM and activates external program memory and addressing. Internal Data Memory128 bytes of RAM. Directly addressable range: 00 to 7F hexadecimal. Indirectly addressable range: 00 to FF hexadecimal. Bit addressable space: 20 to 2F hexadecimal . Four register banks: 00 to 1F hexadecimal. M.V.S.R. Engg College ECE Dept 172- Day Workshop Design of Sensor based Embedded System Using 8051 Internal Data Memory7F 30 2F 20 R0 R1 R2 R3 R4 R5 R6 R7 REGISTER BANK 1REGISTER BANK 2END 8051 RAM BIT ADDRESSABLE REGISTER BANK 300 1F 0F 17 18 08 07 20 REGISTER BANK 0 07 . . . . . . . . . 00FF . . . . . . . . . F8External Data Memory64K byte address space. Indirectly addressable via R0 and R1 in 256 byte segments....
View Full Document

Page1 / 16

8051 microcontroller2 - 2- Day Workshop Design of Sensor...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online