摘要
介绍了一种在单片机中实现软件模拟SCI的方法,该方法使用一个输入捕获、2个定时器、2个数字输入输出的功能,用普通IO口通过软件编程来实现SCI通信。该方法已在FreeScale的MC68HC908EY16上实现,并用于汽车Lin网络的主节点,取得了良好的效果,具有一定的推广价值。
A kind of software SCI for microcontroller units is introduced, in which a capture, two timers and two bitIO pins are used. It works well in a project for the MC68HC908EY16 MCU in a vehicle LIN network which works as a master node. This method is worth being extended.
出处
《湖北汽车工业学院学报》
2008年第1期23-25,共3页
Journal of Hubei University Of Automotive Technology
基金
飞思卡尔半导体(中国)有限公司资助项目(0820007083)