欢迎来到天天文库
浏览记录
ID:11072279
大小:16.14 MB
页数:16页
时间:2018-07-09
《数据传送课程设计报告》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、目录一.设计任务和要求······································································2二.系统方案················································································2三.设计方法················································································21.硬件设
2、计·················································································22.8237简单介绍··········································································3四.系统调试················································································71.仪器和仪
3、表··············································································72.实验步骤·················································································73.实验数据·················································································74.故障与
4、阻碍··············································································9五.设计结论···············································································10六.收获和体验···········································································10七.附件·····
5、·················································································11一.设计任务和要求掌握DMA方式的工作原理和8237DMA控制器的编程使用方法,以及如何在实验系统环境下,使用DMA的CH0进行数据传送。二.系统方案8237是早期PC中采用的DMAC(现其功能已集成进芯片组),8237具有4个用于连接I/O设备进行数据传送的通道。当I/O设备向某通道发出DMA请求时,该通道即可通过8237进行DMA数据传送。利用本实验
6、系统提供的8237A-5DMA控制的CH0,实现DMA的内存到内存的读、写传送,采用DMA软件请求,把内存中3000H~4FFFH单元内容传送到5000H~6FFFH单元中。采用已有的DJ-598K三合一单片机微机试验仪作为设计平台,来构建系统,以减少设计工作量。三.设计方法1.硬件设计硬件结构应结合软件方案一并考虑,做到软件、硬件功能相匹配。在DJ-598K三合一单片机微机试验仪上,硬件设计参考方案如下:2.8237简单介绍(1)8237A引脚图(2)8237A的内部寄存器格式8237A控制寄存器格式8237A模式
7、寄存器格式8237A状态寄存器格式请求寄存器和屏蔽寄存器格式多通道屏蔽寄存器格式8237A端口地址四.系统调试1.仪器和仪表计算机1台微机实验箱1台连接线若干2.实验步骤(1)联机操作:连CS10到FF80H,在系统内存3000H~4FFFH单元中填充10,11,12,13……,运行程序8237·ASM,当系统显示“8237——good”表示DMA传送结束,按RST钮,返回P态,用内存读写命令检查5000H~6FFFH单元内容是否和3000H~4FFFH单元内容相一致,验证其正确性。(2)脱机操作:连CS10到FF8
8、0H,实验系统处于P态下,按SCAL键,然后在系统内存3000H~4FFFH单元中填充10,11,12,13……,输入2860,按EXEC键即可,当系统显示“8237——good”表示DMA传送结束,按RST钮,返回P态,用内存读写命令检查5000H~6FFFH单元内容是否和3000H~4FFFH单元内容相一致,验证其正确性。3.实验数据连接C
此文档下载收益归作者所有