摘要
介绍一种基于FIFO的GPRS DTU的设计方法。DTU硬件系统以STM32F101R8单片机为主控单元,协调RS485电平转换芯片MAX3485、RS232电平转换芯片MAX3232以及GPRS无线模块MG323实现GPRS DTU的配置和数据传输过程。主要介绍软件结构与软件模块的实现,重点介绍FIFO的实现及在软件系统中的应用、GPRS模块接收消息的处理方法与RS485总线空闲状态检测等。
This paper introduces a design method of GPRS DTU based on FIFO.DTU hardware systems use STM32F101R8 microcontroller as the main control unit,coordination RS485 transceiver chip MAX3485,RS232 MAX3232 transceiver chip and GPRS wireless module MG323 realize GPRS DTU configuration and data transfer process.This paper mainly introduces the realization of software architecture and software modules,focuses on the realization of FIFO and its application in the software system.Processing method of GPRS message handling and RS485 bus idle state detection are introduced in the context.
出处
《工业控制计算机》
2015年第10期59-60,63,共3页
Industrial Control Computer