摘要
MICROWIRE总线与SPI总线是目前应用非常广泛的两种同步串行总线,由于两种总线协议的不完全兼容性,造成许多设备之间无法进行通信。通过对PIC16F73单片机的SPI串口时序和电机控制专用芯片SA866的MICROWIRE串口时序的研究,给出了正确配置SPI模式的方法,并通过软件的转换控制,成功解决了SPI与MICROWIRE两种不同协议之间相互通信的问题。
Nowadays, the MICROWIRE bus and the SPI bus are widely used in electronic equipment. However, the incompatibility of the two bus protocols makes it impossible to communicate between some equipment using different protocols. The research of the clock sequences of SPI protocol and MICROWIRE protocol leads a way to solve this problem. By means of configuring correct SPI mode and skillful software control, the problem of communicating between different protocols is successfully solved in the application of PIC16F73 microcontroller communicating with SA866 motor control IC.
出处
《计算机测量与控制》
CSCD
2004年第3期278-279,286,共3页
Computer Measurement &Control