摘要
介绍了利用控制器局域网总线(即CAN总线)实现系统间串行通信的硬件和软件的设计方法。讨论了在多点通信中,应用典型流程所出现的无应答或应答错误后,不能正常执行发送的原因。针对这个问题,通过增加发送失败后的处理,提出了在发送失败后自动恢复总线和寄存器状态的改进方法。采用改进流程后,提高了系统的稳定性和可靠性,确保了在多点通信中发送的正常执行。
A dependable method is introduced that designs hardware and software of serial communication with CAN bus. It is discussed in detail that the non-responsion and error-responsion in multi-nodes communication appear bythe commended way. To resolve this ques- tion, an improved method of automatically resuming the bus and registers after the failure of sending is shown, which mainly adds some processes when the sending is failure. This improved method enhances the stability and dependability of system and ensures the sending in gear.
出处
《计算机工程与设计》
CSCD
北大核心
2005年第5期1323-1326,共4页
Computer Engineering and Design