8051 Core Specification
Số trang: 55
Loại file: ppt
Dung lượng: 925.00 KB
Lượt xem: 21
Lượt tải: 0
Xem trước 6 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
8-bit CPU optimized for control applicationsExtensive Boolean processing (single-bit logic) capabilities64K Program Memory address space64K Data Memory address spaceUp to 4K bytes of on-chip Program Memory128 bytes of on-chip Data RAM32 bi-directional and individually addressable I/O linesTwo 16-bit timer/counters6-source/5-vector interrupt structure with two priority levels
Nội dung trích xuất từ tài liệu:
8051 Core Specification 8051CoreSpecification Outlines Introduction Architecture Operation Registers Introduction MCS51family,originallydesignedbyIntelin the1980’s Usedinalargepercentageofembedded systems Includesseveralonchipperipherals,like timersandcounters 128bytesofonchipdatamemoryandupto 4Kbytesofonchipprogrammemory Features(1/2) 8bitCPUoptimizedforcontrolapplications ExtensiveBooleanprocessing(singlebitlogic)capabilities 64KProgramMemoryaddressspace 64KDataMemoryaddressspace Upto4KbytesofonchipProgramMemory 128bytesofonchipDataRAM 32bidirectionalandindividuallyaddressableI/Olines Two16bittimer/counters 6source/5vectorinterruptstructurewithtwoprioritylevelsFeatures(2/2) Outlines Introduction Architecture Operation Registers Architecture MemoryOrganization CPUClock InterruptStructure PortStructures Timer/Counters Reset MemoryOrganization(1/3) Logicalseparationofprogramanddatamemory SeparateaddressspacesforProgram(ROM)andData (RAM)Memory AllowDataMemorytobeaccessedby8bitaddresses quicklyandmanipulatedby8bitCPU ProgramMemory Onlyberead,notwrittento Theaddressspaceis16bit,somaximumof64Kbytes Upto4Kbytescanbeonchip(internal)of8051core PSEN(ProgramStoreEnable)isusedforaccessto externalProgramMemory MemoryOrganization(2/3) DataMemory Includes128bytesofonchipDataMemorywhich aremoreeasilyaccessibledirectlybyits instructions ThereisalsoanumberofSpecialFunction Registers(SFRs) InternalDataMemorycontainsfourbanksofeight registersandaspecial32bytelongsegmentwhich isbitaddressableby8051bitinstructions Externalmemoryofmaximum64Kbytesis accessibleby“movx” MemoryOrganization(3/3) InternalDataMemory,128bytes CPUClock 8051microcontrollerhasaclockinputpin InterruptStructure The8051provides4interruptsources Twoexternalinterrupts Twotimerinterrupts AdditionaldescriptionfollowsinOperations chapter PortStructures(1/3) The8051containsfourI/Oports Allfourportsarebidirectional EachporthasSFR(SpecialFunctionRegisters P0throughP3)whichworkslikealatch,an outputdriverandaninputbuffer BothoutputdriverandinputbufferofPort0 andoutputdriverofPort2areusedfor accessingexternalmemory PortStructures(2/3) Accessingexternalmemoryworkslikethis Port0outputsthelowbyteofexternalmemory address(whichistimemultiplexedwiththebyte beingwrittenorread) Port2outputsthehighbyte(onlyneededwhenthe addressis16bitswide) PortStructures(3/3) Port3pinsaremultifunctional Thealternatefunctionsareactivatedwiththe1 writteninthecorrespondingbitintheport SFRReadModifyWriteFeature(1/2) Whenreadingaportsomeinstructionsread thelatchandothersreadthepin Theinstructionsthatreadthelatchratherthan thepinaretheonesthatreadavalue(possibly changeit),anthenrewriteittothelatchare called“readmodifywrite”instructionsReadModifyWriteFeature(2/2) Timer/Counters The8051hastwo16bitTimer/Counter registers Timer0 Timer1 Bothcanworkeitherastimersorevent counters Bothhavefourdifferentoperatingmodesfrom whichtoselect(allmodesaredescribedin Operationschapter) Reset TheresetinputistheRSTpin Outlines Introduction Architecture Operation Registers
Nội dung trích xuất từ tài liệu:
8051 Core Specification 8051CoreSpecification Outlines Introduction Architecture Operation Registers Introduction MCS51family,originallydesignedbyIntelin the1980’s Usedinalargepercentageofembedded systems Includesseveralonchipperipherals,like timersandcounters 128bytesofonchipdatamemoryandupto 4Kbytesofonchipprogrammemory Features(1/2) 8bitCPUoptimizedforcontrolapplications ExtensiveBooleanprocessing(singlebitlogic)capabilities 64KProgramMemoryaddressspace 64KDataMemoryaddressspace Upto4KbytesofonchipProgramMemory 128bytesofonchipDataRAM 32bidirectionalandindividuallyaddressableI/Olines Two16bittimer/counters 6source/5vectorinterruptstructurewithtwoprioritylevelsFeatures(2/2) Outlines Introduction Architecture Operation Registers Architecture MemoryOrganization CPUClock InterruptStructure PortStructures Timer/Counters Reset MemoryOrganization(1/3) Logicalseparationofprogramanddatamemory SeparateaddressspacesforProgram(ROM)andData (RAM)Memory AllowDataMemorytobeaccessedby8bitaddresses quicklyandmanipulatedby8bitCPU ProgramMemory Onlyberead,notwrittento Theaddressspaceis16bit,somaximumof64Kbytes Upto4Kbytescanbeonchip(internal)of8051core PSEN(ProgramStoreEnable)isusedforaccessto externalProgramMemory MemoryOrganization(2/3) DataMemory Includes128bytesofonchipDataMemorywhich aremoreeasilyaccessibledirectlybyits instructions ThereisalsoanumberofSpecialFunction Registers(SFRs) InternalDataMemorycontainsfourbanksofeight registersandaspecial32bytelongsegmentwhich isbitaddressableby8051bitinstructions Externalmemoryofmaximum64Kbytesis accessibleby“movx” MemoryOrganization(3/3) InternalDataMemory,128bytes CPUClock 8051microcontrollerhasaclockinputpin InterruptStructure The8051provides4interruptsources Twoexternalinterrupts Twotimerinterrupts AdditionaldescriptionfollowsinOperations chapter PortStructures(1/3) The8051containsfourI/Oports Allfourportsarebidirectional EachporthasSFR(SpecialFunctionRegisters P0throughP3)whichworkslikealatch,an outputdriverandaninputbuffer BothoutputdriverandinputbufferofPort0 andoutputdriverofPort2areusedfor accessingexternalmemory PortStructures(2/3) Accessingexternalmemoryworkslikethis Port0outputsthelowbyteofexternalmemory address(whichistimemultiplexedwiththebyte beingwrittenorread) Port2outputsthehighbyte(onlyneededwhenthe addressis16bitswide) PortStructures(3/3) Port3pinsaremultifunctional Thealternatefunctionsareactivatedwiththe1 writteninthecorrespondingbitintheport SFRReadModifyWriteFeature(1/2) Whenreadingaportsomeinstructionsread thelatchandothersreadthepin Theinstructionsthatreadthelatchratherthan thepinaretheonesthatreadavalue(possibly changeit),anthenrewriteittothelatchare called“readmodifywrite”instructionsReadModifyWriteFeature(2/2) Timer/Counters The8051hastwo16bitTimer/Counter registers Timer0 Timer1 Bothcanworkeitherastimersorevent counters Bothhavefourdifferentoperatingmodesfrom whichtoselect(allmodesaredescribedin Operationschapter) Reset TheresetinputistheRSTpin Outlines Introduction Architecture Operation Registers
Tìm kiếm theo từ khóa liên quan:
8051 Core Specification vi xử lý hệ thống vi xử lý bài giảng vi xử lý bộ vi xử lý hệ vi xử lýGợi ý tài liệu liên quan:
-
Đề cương chi tiết học phần Vi xử lý
12 trang 281 0 0 -
Giáo trình Máy thu hình (Nghề Điện tử dân dụng - Trình độ: Trung cấp) - Trường Cao đẳng nghề Cần Thơ
79 trang 165 0 0 -
Báo cáo môn Vi xử lý - TÌM HIỂU VỀ CÁC BỘ VI XỬ LÝ XEON CỦA INTEL
85 trang 151 0 0 -
Báo cáo bài tập lớn môn Kỹ thuật vi xử lý: Thiết kế mạch quang báo - ĐH Bách khoa Hà Nội
31 trang 131 0 0 -
Bài tập lớn môn Vi xử lý, vi điều khiển: Thiết kế bộ điều khiển tốc độ của động cơ điện một chiều
27 trang 114 0 0 -
Bài tập lớn Vi xử lý: Thiết kế môn học Đèn LED đơn ghép thành đèn quảng cáo
15 trang 104 0 0 -
Giáo trình môn kỹ thuật vi điều khiển
0 trang 91 0 0 -
Giáo trình Lập trình hệ thống máy tính - Phạm Hùng Kim Khánh
130 trang 83 0 0 -
130 trang 80 0 0
-
Giáo trình Vi xử lý: Phần 1 - Phạm Quang Trí
122 trang 77 0 0