摘要
为了满足定点剖面测量系统多个串口通信的需要,设计了一种基于ATmegal28L的多串口扩展电路。详细介绍了该电路的硬件设计和部分软件代码。该电路将TI公司的异步串口芯片TLl6C754用于ATmegal128L的串口扩展,可以扩展4路串口。扩展的串口分别与海流计、CTD、浮力调节系统、水声通信系统连接,进行串口通信,传送控制指令和测试数据。实际应用证明,该电路设计可靠,稳定性好,解决了ATmegal128L在串行通信系统中的串口数量的局限性。
In order to provide the communication of multiple serial-ports for the fixed point section measuring system,the multi-serial-port expansion circuit based on ATmegal128L is designed.The hardware design and partial software codes is introduced in detail.The asynchronous serial-port chip TLl6C754 of TI Corporation is adopted in the circuit expansion for Tmegal128L,which can be extend to four serial ports.The ATmegal128L connects and communicates with the ocean current meter,CTD,buoyancy adjusting system,underwater sound communication system by the serial ports.The control orders and test data are transferred between ATmegal128L and the equipments.Practical application proves that the circuit is stable and reliable,and overcomes the limitation of serial-port quantity of ATmegal128L.
出处
《现代电子技术》
2012年第4期198-199,共2页
Modern Electronics Technique
基金
国家"863"计划资助项目(2006AA09A308)