This paper introduces a design method of GPES DTU based on FIFO.DTU hardware systems use STM32F101E8 microcontrol er as the main control unit,coordination ES485 transceiver chip MAX3485,ES232 MAX3232 transceiver chip and GPES wireless module MG323 realize GPES 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 ap-plication in the software system.Processing method of GPES message handling and ES485 bus idle state detection are intro-duced in the context.%介绍一种基于FIFO的GPES DTU的设计方法.DTU硬件系统以STM32F101E8单片机为主控单元,协调ES485电平转换芯片MAX3485、ES232电平转换芯片MAX3232以及GPES无线模块MG323实现GPES DTU的配置和数据传输过程.主要介绍软件结构与软件模块的实现,重点介绍FIFO的实现及在软件系统中的应用、GPES模块接收消息的处理方法与ES485总线空闲状态检测等.
展开▼