The invention belongs to the field of integrated circuits, and discloses a self-adaptive 1553B
bus encoding and decoding method supporting multiple rates, and the 1553B
bus encoding method comprises the following steps: an
encoder performs rate self-adaptive
mode selection according to a CFG 3bit value of a three-bit mode configuration register, and the self-adaptive
modes comprise two rate self-adaptive
modes and three rate self-adaptive
modes; the method comprises the following steps: acquiring decimal numbers of high 5 bits of a start message needing to be coded in two rate adaptive modes, and reading values of bits corresponding to the decimal numbers of a first group of 32-bit registers; if the value of the bit corresponding to the decimal number of the first group of 32-bit registers is 0, outputting a low-speed
bus rate in the two rate adaptive modes, otherwise, outputting a high-speed bus rate in the two rate adaptive modes; the technical problems that in the prior art, transmission of 1553B buses with two or three different rates needs multiple devices and multiple sets of independent 1553B bus cables to meet the transmission requirement, the occupied PCB
layout area is large, the
system complexity is improved, cable resources are wasted, and
power consumption is large are solved.