Bài giảng Kỹ thuật vi xử lý: Chương 6 - Phạm Ngọc Nam
Số trang: 15
Loại file: ppt
Dung lượng: 528.00 KB
Lượt xem: 10
Lượt tải: 0
Xem trước 2 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
Bài giảng Kỹ thuật vi xử lý chương 6 cung cấp cho người học những kiến thức về truy cập bộ nhớ trực tiếp DMA. Chương này gồm có 2 nội dung chính, đó là: Giới thiệu về DMA, mạch DMAC 8237A của Intel. Mời các bạn cùng tham khảo.
Nội dung trích xuất từ tài liệu:
Bài giảng Kỹ thuật vi xử lý: Chương 6 - Phạm Ngọc Nam© DHBK 2005 1/Chapter6 Nộidungmônhọc1. Giớithiệuchungvềhệvixửlý2. BộvixửlýIntel8088/80863. Lậptrìnhhợpngữcho80864. Tổchứcvàoradữliệu5. Ngắtvàxửlýngắt6. TruycậpbộnhớtrựctiếpDMA7. Cácbộvixửlýtrênthựctế© DHBK 2005 2/Chapter6 Chương6:TruycậpbộnhớtrựctiếpDMA• GiớithiệuvềDMA• MạchDMAC8237AcủaIntel© DHBK 2005 3/Chapter6 GiớithiệuvềDMA© DHBK 2005 4/Chapter6 MạchDMAC8237AcủaIntel© DHBK 2005 5/Chapter6 MạchDMAC8237AcủaIntel• Although i8237A may not appear as a discrete component in recent PCs, it’s still there… (integrated in chipsets, ISPC)• The i8237A has four independent DMA channels• Original PC/XT design had one i8237A for four DMA channels• PC/AT used two i8237As to provide 7 DMA channels• i8237A is programmable device and can be configured for single transfers, block transfers, Reads, Writes or Memory-to- Memory transfers© DHBK 2005 6/Chapter6 MạchDMAC8237AcủaIntel• i8237A allows byte addressing for 8-bit data transfers• In the PC/AT design, a contrived 16-bit transfer design is implemented using the i8237A• i8237A uses a multiplexed address and data bus to reduce the device pin count. DB0..DB7 lines contain the data bus along with the high byte of the 16- bit address bus. An external latch is required to demultiplex the address lines© DHBK 2005 7/Chapter6 MạchDMAC8237AcủaIntel© DHBK 2005 8/Chapter6 MạchDMAC8237AcủaIntel© DHBK 2005 9/Chapter6 MạchDMAC8237AcủaIntel© DHBK 2005 10/Chapter6 HowthePCusesthei8237A i8237A Address Latch and Page Registers I/O Mapped DMA A16..A23 to MPU, read Page [A16..A19 and write Regrs. for PC/XT] DMA A8..A15 Addr. Latch IOR DB0..DB7 IOW MEMR ADSTB MEMW i8237 DMA A0..A7 A0..A7 four HRQ DMA channels DREQ0 Hi DACK0 Q D HLDA DREQ1 15 usecs. DACK1 OUT1 DREQ2 CLR DACK2 DREQ3 8253 EOP DACK3 (8254) Timer/ Floppy Controller Counter© DHBK 2005 11/Chapter6 DMAAddressTracking• The i8237A has four registers for tracking memory addresses during a DMA block BASE ADDRESS REGISTER BASE WORD COUNT REGISTER ...
Nội dung trích xuất từ tài liệu:
Bài giảng Kỹ thuật vi xử lý: Chương 6 - Phạm Ngọc Nam© DHBK 2005 1/Chapter6 Nộidungmônhọc1. Giớithiệuchungvềhệvixửlý2. BộvixửlýIntel8088/80863. Lậptrìnhhợpngữcho80864. Tổchứcvàoradữliệu5. Ngắtvàxửlýngắt6. TruycậpbộnhớtrựctiếpDMA7. Cácbộvixửlýtrênthựctế© DHBK 2005 2/Chapter6 Chương6:TruycậpbộnhớtrựctiếpDMA• GiớithiệuvềDMA• MạchDMAC8237AcủaIntel© DHBK 2005 3/Chapter6 GiớithiệuvềDMA© DHBK 2005 4/Chapter6 MạchDMAC8237AcủaIntel© DHBK 2005 5/Chapter6 MạchDMAC8237AcủaIntel• Although i8237A may not appear as a discrete component in recent PCs, it’s still there… (integrated in chipsets, ISPC)• The i8237A has four independent DMA channels• Original PC/XT design had one i8237A for four DMA channels• PC/AT used two i8237As to provide 7 DMA channels• i8237A is programmable device and can be configured for single transfers, block transfers, Reads, Writes or Memory-to- Memory transfers© DHBK 2005 6/Chapter6 MạchDMAC8237AcủaIntel• i8237A allows byte addressing for 8-bit data transfers• In the PC/AT design, a contrived 16-bit transfer design is implemented using the i8237A• i8237A uses a multiplexed address and data bus to reduce the device pin count. DB0..DB7 lines contain the data bus along with the high byte of the 16- bit address bus. An external latch is required to demultiplex the address lines© DHBK 2005 7/Chapter6 MạchDMAC8237AcủaIntel© DHBK 2005 8/Chapter6 MạchDMAC8237AcủaIntel© DHBK 2005 9/Chapter6 MạchDMAC8237AcủaIntel© DHBK 2005 10/Chapter6 HowthePCusesthei8237A i8237A Address Latch and Page Registers I/O Mapped DMA A16..A23 to MPU, read Page [A16..A19 and write Regrs. for PC/XT] DMA A8..A15 Addr. Latch IOR DB0..DB7 IOW MEMR ADSTB MEMW i8237 DMA A0..A7 A0..A7 four HRQ DMA channels DREQ0 Hi DACK0 Q D HLDA DREQ1 15 usecs. DACK1 OUT1 DREQ2 CLR DACK2 DREQ3 8253 EOP DACK3 (8254) Timer/ Floppy Controller Counter© DHBK 2005 11/Chapter6 DMAAddressTracking• The i8237A has four registers for tracking memory addresses during a DMA block BASE ADDRESS REGISTER BASE WORD COUNT REGISTER ...
Tìm kiếm theo từ khóa liên quan:
Kỹ thuật vi xử lý Bài giảng Kỹ thuật vi xử lý Bộ nhớ trực tiếp DMA Mạch DMAC 8237A của Intel DMA in the PC/XT PC/AT DMA Channel prioritiesGợi ý tài liệu liên quan:
-
Báo cáo môn học vi xử lý: Khai thác phần mềm Proteus trong mô phỏng điều khiển
33 trang 183 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 133 0 0 -
Báo cáo thực tập ngành: Máy điện, khí cụ điện, truyền động điện, kỹ thuật vi xử lý
95 trang 113 0 0 -
Báo cáo đồ án 2: Đo nhiệt độ, độ ẩm khí ga
31 trang 61 0 0 -
Giáo trình Kỹ thuật vi xử lý: Phần 2 - TS. Vũ Hữu Tiến
57 trang 34 0 0 -
Giáo trình Kỹ thuật vi xử lý (Tập 1): Phần 1
320 trang 33 0 0 -
Bài giảng Kỹ thuật vi xử lý: Chương 1 - Review
49 trang 30 0 0 -
BÁO CÁO BÀI TẬP LỚN KỸ THUẬT VI XỬ LÝ
11 trang 30 0 0 -
0 trang 29 0 0
-
Bài giảng về Kỹ thuật Vi xử lý
45 trang 28 0 0