Data transmission method based on AFP protocol
The invention provides a data transmission method based on an AFP protocol. The method includes the following steps: S100, a transmitting end determines whether a bus is in an idle state; S200, when the bus is in the idle state, the transmitting end sends a data frame to the bus; and S300, a receivi...
Saved in:
Main Authors | , , , , , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
06.07.2018
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a data transmission method based on an AFP protocol. The method includes the following steps: S100, a transmitting end determines whether a bus is in an idle state; S200, when the bus is in the idle state, the transmitting end sends a data frame to the bus; and S300, a receiving end receives the data frame sent by the transmitting end according to a clock frequency configured by the transmitting end. According to the method provided by the invention, through the mode that the transmitting end drives a clock line and a data line, the purposes that the status of each porton the bus is equal and master/slave modes do not need to be distinguished can be achieved.
本发明提供了种基于AFP协议的数据传输方法,包括步骤S100发送端判断总线是否处于空闲状态;步骤S200当所述总线处于空闲状态时,所述发送端向所述总线发送数据帧;步骤S300接收端根据所述发送端配置的时钟频率,接收所述发送端发送的所述数据帧。本发明通过发送端驱动时钟线与数据线的方式,实现总线上各端口地位平等,无需区分主从模式的目的。 |
---|---|
Bibliography: | Application Number: CN2018122069 |