节点文献
PIC软件串行异步通信三倍速采样法设计
The 3-times Baud Rate Sampling Design for PIC Serial Asynchronous Communication
【摘要】 在PIC单片机开发过程中,由于芯片固有的UART(通用异步收发器)硬件模块数量的限制,如何实现可靠的无硬件模块的串行异步通信,成为众多开发者关注的问题。针对该问题,从经典的起止式串行异步通信协议出发,提出了一种可靠、实用的软件串行异步通信方法——三倍速采样法,并对其原理、实现过程进行了分析和描述。应用结果表明,该方法配置灵活、实用可靠,为实现可靠的软件串行异步通信提供了较好的解决方案。
【Abstract】 In the process of PIC development,the number of hardware Universal Asynchronous Receiver/Transmitter(UART) is limited.So how to realize reliable serial asynchronous communication without hardware UART has become a critical issue for many PIC developers.Aiming at to that issue,3-times baud rate sampling method is put forward on the basis of classical start-stop serial asynchronous communication agreement,which is a reliable and practical method for software serial asynchronous communication.Then the method principle is analyzed,and realization process is described.The application results show that the method configuration is flexible,the method is convenient and reliable,which offers a better solution to realize reliable software serial asynchronous communication.
【Key words】 serial asynchronous communication; UART; start-stop protocol; 3-times baud rate sampling;
- 【文献出处】 电子工程师 ,Electronic Engineer , 编辑部邮箱 ,2008年09期
- 【分类号】TP368.12
- 【被引频次】1
- 【下载频次】45