The invention discloses a backboard
bus communication method based on an FPGA, and relates to the technical field of communication. The method comprises the following steps: each module realizes automatic identification of a
master station and a sub-
station by detecting addresses, and the
master station sends a topology query message to the sub-
station by adopting an inverted traversal mode so as to quickly establish a
network topology table. And after topology establishment is completed, the
master station generates and transmits a token, and each substation encapsulates an
Ethernet frame into a BLVDS message for transmission when holding the token, so that high-speed data communication between modules is realized. The
system dynamically adjusts the sending opportunity when the token is held according to the historical sending frequency and the cache state of the module, so that the situation that the low-frequency module cannot send the token for a long time is avoided, excessive occupation of the high-frequency module is limited, and the overall
throughput is improved. And the master
station continuously monitors the
bus state, preferentially executes local area topology repair when detecting that the token is lost, and reconstructs the whole network after continuous failure so as to reduce the
recovery overhead.