Danh mục

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    
Hoai.2512

Phí tải xuống: 4,000 VND Tải xuống file đầy đủ (15 trang) 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  ...

Tài liệu được xem nhiều: