摘要
文章首先介绍了UART通讯时常采用的查询接收方式、中断接收方式的缺点,介绍了S3C44B0X处理器中通过UART口,采用DMA方式接收数据的方法以及关键的代码,并分析了采用DMA方式比采用中断方式与查询方式的优点。试验证明,基于DMA的UART通讯,为CPU进一步减轻了负担,提高了通讯的可靠性。
Compared with polling and interrupt mode used in UART communication, giving the disadvantage of them. The paper introduced the UART and DMA controller on the S3C44B0X processor ,and give the method of receiving data by communication based on UART and DMA. analyzing the benefit of DMA method compared with the interrupt and polling method. The experiment give the proof that the UART base on DMA saving much time for CPU and further increasing the communication efficiency.
出处
《微计算机信息》
北大核心
2008年第2期161-162,246,共3页
Control & Automation
基金
山东交通学院基金资助