Manchester code converting method on MIC bus
暂无分享,去创建一个
The invention relates to a Manchester code converting method on an MIC bus, which is used for realizing communication of the MIC bus and a protocol processing module. Serial Manchester code data comprises synchronizing heads, serial data word bits, and parity check bits; parallel Manchester code data comprises parallel data word bits converted from the serial data word bits; the method can realize communication by a sending module, a receiving module, and an enable module; enable signals control the sending module and the receiving module by the enable module; the receiving module receives the serial Manchester code data on the MIC bus, coverts the serial Manchester code data to the parallel Manchester code data, and then outputs the parallel Manchester code data into the protocol processing module; and the sending module receives the parallel Manchester code data input by the protocol processing module, converts the parallel Manchester code data to the serial Manchester code data and sends the serial Manchester code data onto the MIC bus. The method can complete the communication of the MIC bus and the protocol processing module by the sending module and the receiving module which are controlled by the enable module, not only can realize code system conversion, but also can realize serial/parallel conversion, and is high in pertinence, and easy in interface.