摘要
接口设计中一般软件编解码方法抗干扰能力不强,针对这一问题,采用模拟80C51单片机异步串行口解码的方法来解决。实际应用结果表明,使用该方法设计的异步串行通讯解决了高速通讯情况下误码率高的问题,不仅提高了系统的抗干扰能力,而且使得多串口通讯易于实现。该设计方法可以应用到SPI、IIC等串行总线中。
In the interface design,the common software coding and decoding methods have the weak ability to resist the interference. The method of simulating 80C51 Single Chip asynchronous serial interface decode is adopted to solve this problem. The results in practice use indicate that the asynchronous serial communication designed using this method solves the problem of high mis-coding rates in the case of communication at a fast speed,which can not only improve the ability to resist the interference in the system,but also makes the multi-serial interface communication easier to be achieved. This design method can be used in SPI,IIC serial bus.
出处
《西安理工大学学报》
CAS
2004年第1期91-93,共3页
Journal of Xi'an University of Technology
关键词
串行通信
编解码
单片机
软件设计
serial communication
coding and decoding
MCU
software design