A method for transmitting data to and receiving data from other devices through a shared bus, the method comprising:
- a transmitting step of receiving a data block of a series of bits from a Communication Module (CM) among a plurality of connected CMs that are intended for transceiving data based on mutually-different Communication Protocols (CPs), respectively, and transmitting the received data block to the bus, the data block being formed in a data frame format;
- and
- a receiving step of detecting signals carried on the bus and selectively transferring data corresponding to the detected signals to one of the plurality of CMs,
- wherein the transmitting step comprises
- a step of receiving the data block from the CM,
- a step of inserting a specific code allocated for an arbitrary CP, which data transceiving of the CM is based on, among specific codes respectively allocated for the mutually-different CPs, into a specific part of a bit block for data synchronization when incorporating the received data block into a frame of a specific format in which the bit block is placed at a head, and
- a step of transmitting the frame of the specific format to the bus, and
- wherein the receiving step comprises
- a step of detecting signals on the bus,
- a step of checking whether, among the detected signals, a signal corresponding to the specific part of the bit block placed at a head of a frame of the specific format indicates one of the specific codes,
- a step of taking a certain frame, of which the bit block placed at a head is carrying the specific code, if the signal corresponding to the specific part is identified as one of the specific codes, and transferring a data block within a data field of the taken certain frame, or of ignoring signals following the bit block without receiving them from the bus if the signal corresponding to the specific part is not identified as either of the specific codes, and
- a step of delivering all or part of data of the taken certain frame to one CM among the connected CMs that is intended to transceive data based on a CP to which the one specific code is allocated.