摘要
针对某导航系统硬件设计时,单片机无法提供足够的UART串口与导航传感器通信的问题,设计了采用SP2349对C8051F040单片机UART1串口进行扩展的方案。该方案以SP2349为核心设计了硬件扩展电路,将单片机UART1串口扩展为2个串口,并设计了采用中断方式实现单片机与导航传感器通信的软件,解决了单片机与导航传感器通信时串口不足的矛盾。
In hardware design for a navigation system,the microcontroller can not provide enough UART serial ports to communicate with the navigation sensors.The paper designed a solution based on the C8051F040 microcontroller UART1 serial port expansion method using SP2349.In which,the SP2349 would be the core hardware circuit,and the microcontroller serial port UART1 would be extended to two serial ports,and designed the software that could achieve communication between microcontroller and navigation sensors by use of interrupts.The method solved the contradiction of being lack of the microcontroller serial port during period of communication between single chip and navigation sensors.
出处
《四川兵工学报》
CAS
2011年第6期37-39,共3页
Journal of Sichuan Ordnance
关键词
SP2349
串口扩展
串行通信
SP2349
serial port expansion
serial communication