Data communication device

The data communication device addresses the issue of large circuit size in semiconductor devices by using a command interpretation device to generate write instruction signals for subdevices via a two-wire bus, reducing the need for command interpretation circuits in subdevices and minimizing overall circuit scale.

WO2024236939A1PCT designated stage expired Publication Date: 2024-11-21MURATA MFG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/014239
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-12
Filing Date
2024-04-08
Publication Date
2024-11-21

AI Technical Summary

Technical Problem

In semiconductor devices, the large circuit size required for command interpretation in serial communication devices, particularly due to the need for separate interface circuits and enable buses for each subdevice, leads to increased overall circuit scale.

Method used

A data communication device with a command interpretation device that receives command signals from a main device, generates write instruction signals, and supplies these signals through a two-wire bus to subdevices, eliminating the need for command interpretation circuits in subdevices and reducing overall circuit scale.

Benefits of technology

This solution reduces the circuit scale by centralizing command interpretation and using a two-wire bus for bidirectional communication, allowing subdevices to determine whether to write data based on address matching and identification information, thereby minimizing circuit complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024014239_21112024_PF_FP_ABST
    Figure JP2024014239_21112024_PF_FP_ABST
Patent Text Reader

Abstract

The present invention provides a data communication device with which a circuit can be reduced in size. A data communication device 10 comprises: a command interpretation device 101 which is connected to a main device 201, receives, from the main device, a command signal, a main signal including an address signal designating an address of at least one register included in a sub device 102 and a sub device 103, and a write data signal recorded in a register corresponding to the address, and interprets the command signal; and the sub devices 102 and 103 which are connected to the command interpretation device through a first signal line for transmitting a clock signal and a second signal line for transmitting a data signal.
Need to check novelty before this filing date? Find Prior Art

Description

Data communication equipment

[0001] The present invention relates to a data communication device.

[0002] In a semiconductor device, data may be transmitted and received between multiple devices via serial communication. In serial communication, the devices include a main device (master device) and sub-devices (slave devices) connected to the main device. For example, data is written to the sub-device by the main device sending a signal to the sub-device. The sub-device may interpret a command included in the signal from the main device and execute a process according to the command.

[0003] The circuit for command interpretation is large in size. Therefore, if a circuit for command interpretation is provided in each sub-device, the overall circuit size will also be large. Furthermore, Patent Document 1 describes a configuration in which an interface circuit for interpreting signals from the main device is provided separately from the sub-devices, as a configuration in which a circuit for command interpretation is not provided in each sub-device.

[0004] US Patent Application Publication No. 2017 / 0192918

[0005] In the configuration described in Patent Document 1, an interface circuit is connected to a sub-device to which data is to be sent via a clock bus, a data bus, and an enable bus that sends an enable signal. In the configuration described in Patent Document 1, the interface circuit selects one of a plurality of sub-devices via the enable bus and sends data to that sub-device. In this case, an enable bus is provided for each sub-device, which increases the overall circuit size.

[0006] The present invention has been made in view of the above circumstances, and has as its object to provide a data communication device that can reduce the circuit scale.

[0007] A data communication device according to one aspect of the present invention comprises a command interpretation device connected to a main device, which receives a main signal from the main device, the main signal including a command signal, an address signal specifying the address of at least one register possessed by at least one sub-device, and a write data signal to be recorded in the register corresponding to the address, and which interprets the command signal; and at least one sub-device connected to the command interpretation device via a first signal line through which a clock signal is transmitted and a second signal line through which a data signal is transmitted. In the data communication device, the command interpretation device generates a write instruction signal when writing information based on a data signal to one of at least one sub-device based on the interpretation result of the command, generates a data signal based on an address signal and a write data signal that is supplied to each of the at least one sub-device based on the interpretation result of the command, supplies the write instruction signal via a first signal line or a second signal line and the data signal via the second signal line to each of the at least one sub-device, and each of the at least one sub-device determines whether a register corresponding to the address indicated by the address signal is included in the at least one sub-device, and writes the write data signal to the register if the register is included in the at least one sub-device and the write instruction signal is supplied from the command interpretation device.

[0008] According to the present invention, it is possible to provide a data communication device that can reduce the circuit scale.

[0009] FIG. 1 is a diagram showing an example of a circuit including a data communication device according to the present embodiment; FIG. 2 is a diagram showing the configuration of a command interpretation device in the data communication device according to the present embodiment; FIG. 3 is a diagram showing the configuration of a sub-device in the data communication device according to the present embodiment; FIG. 4 is an example of a main signal and a data signal according to the present embodiment; FIG. 5 is another example of a main signal and a data signal according to the present embodiment; FIG. 6 is another example of a main signal and a data signal according to the present embodiment; FIG. 7 is another example of a main signal and a data signal according to the present embodiment; FIG. 8 is another example of a main signal and a data signal according to the present embodiment;

[0010] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. Note that the same elements are given the same reference numerals, and redundant explanations will be omitted as much as possible.

[0011] FIG. 1 shows an example of a circuit including a data communication device 10 according to this embodiment, a main device 201, and analog circuits 301a, 301b, and 301c.

[0012] The data communication device 10 is a sub-device whose data communication is controlled by the main device 201 .

[0013] The data communication device 10 has a command interpretation device 101 and sub-devices 102 and 103. Although the example in Fig. 1 illustrates two sub-devices, the number of sub-devices may be more than two or may be one.

[0014] The command interpretation device 101 is connected to each of the sub-devices 102 and 103 via two lines, a clock signal line 104 and a data signal line 105. The command interpretation device 101 and the sub-devices 102 and 103 communicate bidirectionally by transmitting and receiving data via a two-wire bus. The data communication device 10 may be compliant with the I2C standard or another communication standard.

[0015] The main device 201 transmits a main signal to the command interpretation device 101 to rewrite information stored in registers of the sub-devices 102 and 103. The main signal includes a command signal, an address signal specifying the address of at least one register in at least one sub-device, and a write data signal to be recorded in the register corresponding to the address. The main device 201 also transmits a clock signal to the command interpretation device 101.

[0016] The command signal is information indicating the type of write based on the main signal. The command signal is information indicating a write format, such as a format for writing to at least one register in a device, a format for writing to one register in a device, or a format for writing to one register in a device while masking bit values. The address signal is information for identifying each register of the sub-devices 102 and 103. The address signal is, for example, 5-bit or 8-bit data. The write data signal is data to be written to a register, and the number of bits is, for example, 8 bits.

[0017] The analog circuit 301a is connected to the register of the command interpretation device 101, and performs control such as bias control based on information stored in the register of the command interpretation device 101. The analog circuits 301b and 301c are connected to the registers of the sub-devices 102 and 103, respectively, and perform control such as bias control based on information stored in the registers of the sub-devices 102 and 103. In this embodiment, the command interpretation device 101 and the sub-devices 102 and 103 are described as different devices, but the command interpretation device 101 and the sub-devices 102 and 103 have a common function of controlling analog circuits based on information written in their respective registers.

[0018] Each unit of the command interpretation device 101 will be described with reference to Fig. 2. The command interpretation device 101 has a data receiving unit 1011, a command start determining unit 1012, a data signal generating unit 1013, a clock enable signal generating unit 1014, a data transmitting unit 1015, and a register unit 1016.

[0019] The data receiving unit 1011 receives a clock signal and a main signal from the main device 201 and performs processing to interpret the main signal. The data receiving unit 1011 generates command identification information for identifying a command, for example, based on information indicated by a command signal included in the main signal. The data receiving unit 1011 transmits the command identification information to a data signal generating unit 1013 and a clock enable signal generating unit 1014, which will be described later.

[0020] The data receiving unit 1011 transmits the address signal and write data signal included in the main signal to the data signal generating unit 1013. The data receiving unit 1011 also generates bit position information indicating the position at which to add the command identification information, and transmits this to the data signal generating unit 1013 and the clock enable signal generating unit 1014. Note that the bit position information may include information indicating the start and end positions of signals in the data signal, such as the start position of the address signal and the start position of the write data signal, in addition to the information on the position at which to add the command identification information.

[0021] The command start determination unit 1012 determines, based on the clock signal and the main signal, whether or not transmission of a command signal has started from the main device 201 to the command interpretation device 101. When supply of a command signal starts, the command start determination unit 1012 transmits a command detection signal to the data transmission unit 1015. The command start determination unit 1012 also transmits a reset signal to the data signal generation unit 1013.

[0022] The data signal generation unit 1013 generates a data signal to be transmitted to the sub-devices 102 and 103 based on the command identification information, bit position information, address signal, and write data signal from the data reception unit 1011. The data signal generation unit 1013 transmits the data signal to the data transmission unit 1015.

[0023] The clock enable signal generation unit 1014 generates a clock enable signal based on the command identification information and bit position information. The clock enable signal is a signal for starting transmission of a data signal from the command interpretation device 101 to the sub-device 102. The clock enable signal generation unit 1014 generates a clock enable signal when the timing determined based on the bit position information indicates the time point at which transmission of a data signal to the sub-devices 102 and 103 should start, and transmits the clock enable signal to the data transmission unit 1015.

[0024] When a command detection signal is input and a clock enable signal is supplied from the clock enable signal generation unit 1014, the data transmission unit 1015 transmits the data signal from the data signal generation unit 1013 to the sub-devices 102 and 103 together with the clock signal supplied to the data transmission unit 1015. The data transmission unit 1015 transmits the clock signal via the clock signal line 104 and the data signal via the data signal line 105.

[0025] The register unit 1016 is a rewritable storage area including registers, and controls writing to each register based on a signal from the data receiving unit 1011. The register unit 1016 is connected to the analog circuit 301a.

[0026] The sub-device 102 will be described with reference to Fig. 3. The other sub-devices, including the sub-device 103, have a similar configuration. The sub-device 102 has a data receiving unit 1021, a command start determining unit 1022, and a register unit 1023.

[0027] The data receiving unit 1021 receives the address signal and the write data signal included in the data signal.

[0028] The command start determination unit 1022 determines, based on the clock signal and the main signal, whether or not transmission of a data signal has started from the command interpretation device 101 to the sub-device 102. When the supply of a data signal starts, the command start determination unit 1012 transmits a reset signal to the data receiving unit 1021.

[0029] The register unit 1023 is a rewritable storage area including registers 10231, 10232, 10233, and 10234. The register unit 1023 also controls writing to each register based on a signal from the data receiving unit 1021. The registers 10231, 10232, 10233, and 10234 each have a unique address. Each register of the sub-device 103 has an address that is different from or the same as the addresses of the registers 10231, 10232, 10233, and 10234. The register unit 1023 is connected to the analog circuit 301b.

[0030] An example of the generation of a data signal by the command interpretation device 101 and the interpretation of the data signal by the sub-device 102 will be described with reference to Fig. 4. Fig. 4 shows an example of a main signal and a data signal when data is written to one register in response to a command for writing to at least one register in a device.

[0031] The main signals include, in this order, a start signal, a command signal, an address signal, a write data signal, and an end signal.

[0032] When the data receiving unit 1011 receives a main signal from the main device 201, the data receiving unit 1011 interprets the command signal. If the command signal is a command indicating writing to at least one register in a certain device, the data transmitting unit 1015 generates information in which identification information B1 is added to the beginning of the address signal based on the address signal, command identification information, and bit position information. The identification information B1 is 1-bit information, and a bit value of 0 indicates that the address is 5 bits long, and a bit value of 1 indicates that the address is 8 bits long. The data transmitting unit 1015 records the identification information B1 at a position corresponding to the first clock of the address signal in the main signal, and transmits a data signal in which the address signal is shifted by one clock. Note that the address signal in the main signal includes parity bits at the beginning and end, and information indicating the actual address is recorded in the bits sandwiched between the parity bits. The data signal generating unit 1013 writes the identification information B1 at the position of the first parity bit and writes the actual address in the subsequent bits.

[0033] Next, the data signal generation unit 1013 generates information in which identification information B2 is added to the beginning of a write data signal following the address signal. The identification information B2 is one-bit information, and a bit value of 0 indicates that the content of the following signal is a write data signal, while a bit value of 1 indicates that the content of the following signal is a mask signal that specifies bits that are not to be written. The data transmission unit 1015 sets the data signal corresponding to the first clock of the write data signal in the main signal as identification information B2, and transmits the write data signal with a one-clock delay. The data signal also includes parity bits at the beginning and end, and information indicating actual write data is recorded in the bits sandwiched between the parity bits. The data signal generation unit 1013 writes the identification information B2 at the position of the parity bit at the beginning of the write data signal, and writes the actual write data signal or the mask signal in the subsequent bits.

[0034] In the example of FIG. 4 , the main signal contains one write data signal. Therefore, the data signal generation unit 1013 generates a data signal by adding identification information B3 to the parity bit at the end of the write data signal. The identification information B3 is 1-bit information, and a bit value of 0 indicates that writing to a register based on the write data is not performed. At this time, the register in the sub-device 102 is not rewritten. Furthermore, a bit value of 1 in the identification information B3 indicates that writing to a register based on the write data is performed. A signal in which the bit of the identification information B3 is 1 functions as a write instruction signal indicating that information based on the data signal is to be written to a register in the sub-device. Note that, for example, if there is an error in the write data signal, the data signal generation unit 1013 sets the bit value of the identification information B3 to 0 to prevent writing.

[0035] In the data communication device 10 , each of the sub-devices such as the sub-device 102 and the sub-device 103 receives an address signal included in the data signal received by the data receiving unit 1021 .

[0036] The data receiving unit transmits a write enable signal to the register unit 1023 based on the identification information included in the data signal. The register unit 1023 determines whether the interpreted address information corresponds to the address of a register 10231 or the like included in its own register unit 1023. If the address information corresponds to the address of its own register and if the bit value of the identification information B3 is 1, the register unit 1023 writes a write data signal to the corresponding register. Even if the bit value of the identification information B3 is 1, if the interpreted address information does not correspond to the address of its own register, the register unit 1023 does not write to the register 10231 or the like based on the write data signal.

[0037] This allows the registers of each sub-device to be appropriately rewritten, since even when a common data signal is sent from the command interpretation device 101 to a plurality of sub-devices, the final decision as to whether or not writing is possible is made on the condition that the addresses that differ for each register match.

[0038] 5, another example of the generation of a data signal by the command interpretation device 101 and the interpretation of the data signal by the sub-device 102 will be described. Fig. 4 shows an example of a main signal and a data signal when data is written to two registers in response to a command indicating that at least one register in a device is to be written.

[0039] The main signals include, in this order, a start signal, a command signal, an address signal, a first write data signal, a second write data signal, and an end signal.

[0040] The data transmitting unit 1015 generates information in which the identification information B1 is added to the beginning of the address signal as 0. The data signal generating unit 1013 generates information in which the identification information B2 is added to the beginning of the first write data signal following the address signal.

[0041] Next, the data signal generation unit 1013 generates information in which identification information B4 is added to the end of the first write data signal following the first write data signal. In the example of Fig. 5, identification information B4 is 1-bit information, and like identification information B3, a bit value of 0 indicates that writing to a register based on the write data is not performed, and a bit value of 1 indicates that writing to a register based on the write data is performed.

[0042] Finally, the data signal generating unit 1013 generates a data signal so as to add the identification information B3 to the end of the write data signal.

[0043] 5, the sub-device 102 also interprets address information contained in the data signal received by the data receiving unit 1021. Here, an example will be described in which the address signal indicates a register of the sub-device 102 itself.

[0044] The data receiving unit 1021 receives the identification information B2 and the first write data signal following the address signal. Since the identification information B2 has a bit value of 0, it determines that the subsequent data is write data. Next, the data receiving unit 1021 receives the identification information B4 and the second write data signal following the first data signal. Since the identification information B4 has a bit value of 1, the data receiving unit 1021 determines that it is OK to write the first write data to the register. Finally, the data receiving unit 1021 receives the identification information B3 following the second write data signal. Since the identification information B3 has a bit value of 1, the data receiving unit 1021 determines that it is OK to write the second write data to the register. At this time, the data receiving unit 1021 increments the address indicated by the initial address information and writes the second write data to the subsequent register.

[0045] 6, another example of the generation of a data signal by the command interpretation device 101 and the interpretation of the data signal by the sub-device 102 will be described. Fig. 4 shows an example of a main signal and a data signal when data is written to one register in a certain device in response to a command instructing that a bit value be written to the register while being masked.

[0046] The main signals include, in this order, a start signal, a command signal, an address signal, a mask signal, a write data signal, and an end signal.

[0047] The data transmitting unit 1015 generates information in which identification information B1 is added to the beginning of an address signal as 0. The data signal generating unit 1013 generates information in which identification information B2 is added to the beginning of the first write data signal following the address signal. At this time, the data signal generating unit 1013 sets the bit of identification information B2 to 1 because the command indicates that data is to be written to one register in a certain device while masking the bit value.

[0048] Next, the data signal generator 1013 generates information in which identification information B5 is added to the beginning of the write data signal following the mask signal. In the example of Fig. 5, the identification information B5 is 1-bit information, and like the identification information B2, a bit value of 0 indicates that the content of the following signal is a write data signal, and a bit value of 1 indicates that the content of the following signal is a mask signal indicating the bits to be masked.

[0049] Finally, the data signal generating unit 1013 generates a data signal so as to add the identification information B3 to the end of the write data signal.

[0050] In the example of FIG. 6, the sub-device 102 also interprets the address information included in the data signal received by the data receiving unit 1021 .

[0051] The data receiving unit 1021 receives the identification information B2 and a mask signal following the address signal. Since the identification information B2 has a bit value of 1, it determines that the subsequent signal is a mask signal. Next, the data receiving unit 1021 receives the identification information B5 and a write data signal following the mask signal. Since the identification information B5 has a bit value of 0, the data receiving unit 1021 determines that the signal content is write data. Finally, the data receiving unit 1021 receives the identification information B3 following the write data signal. Since the identification information B3 has a bit value of 1, the data receiving unit 1021 determines that it is OK to write the write data to the register. At this time, the data receiving unit 1021 writes the write data to the register corresponding to the address indicated by the initial address information without rewriting the bit indicated by the mask signal.

[0052] 4 to 6, the data signal generation unit 1013 adds identification information B3 to the end of the data signal, allowing the sub-device 102 to determine whether writing is possible. However, the data signal generation unit 1013 does not necessarily have to include the identification information B3 in the data signal. The data communication device 10 may, for example, have the sub-device 102 determine whether writing is possible based on the presence or absence of a clock signal transmitted by the data transmission unit 1015.

[0053] An example of this case is shown in Fig. 7. In the example of Fig. 7, the main signal is the same as in Fig. 4. However, it differs from the example of Fig. 4 in that the data signal generator 1013 does not add identification information B3 to the end of the data signal.

[0054] 7, when the command interpretation device 101 permits the sub-device 102 to write data, the data transmitting unit 1015 transmits a write data signal followed by a clock signal C1 to the sub-device 102. The sub-device 102 determines that data writing is possible when the data receiving unit 1011 receives the clock signal C1 followed by the write data signal. The clock signal C1 functions as a write instruction signal that indicates that information based on the data signal should be written to a register in the sub-device.

[0055] 8 shows an example in which data is not written due to an error in the write data signal, etc. In this case, the data transmitting unit 1015 does not transmit a clock signal following the write data signal to the sub-device 102. The sub-device 102 does not write data because the data receiving unit 1011 does not receive a clock signal following the write data signal.

[0056] In this way, the data communication device 10 determines whether data can be written to the sub-device 102 or the like based on the clock signal or identification information from the command interpretation device 101 .

[0057] 9 shows another example of the configuration of the sub-device 102. The sub-device 102A having the data receiving unit 1021A can also be configured not to perform processing corresponding to a command indicating that a bit value is to be written while being masked.

[0058] 10 shows another example of the configuration of the sub-device 102. The sub-device 102B having the data receiving unit 1021B may further include a write clock generating unit 1024, which converts a write enable signal based on a data signal and controls writing to the register unit 1023 based on the clock signal, as described with reference to FIGS.

[0059] The data communication apparatus 10 according to the present embodiment is provided with a command interpretation device 101 that is connected to a main device 201 and receives from the main device a main signal that includes a command signal, an address signal that specifies the address of a register in the sub-devices 102 and 103, and a write data signal that is to be recorded in the register corresponding to the address, and that interprets the command signal, and the sub-devices 102 and 103 that are connected to the command interpretation device via a first signal line that transmits a clock signal and a second signal line that transmits a data signal.

[0060] In the data communication device 10, the command interpretation device 101 generates a write instruction signal when writing information based on a data signal to either the sub-device 102 or 103 based on the interpretation result of the command signal, generates a data signal based on the address signal and the write data signal, which is supplied to each of the at least one sub-device based on the interpretation result of the command signal, supplies the write instruction signal via the clock signal line 104 or the data signal line 105, and supplies the data signal via the data signal line 105 to each of the at least one sub-device, and each of the at least one sub-device determines whether a register corresponding to the address indicated by the address signal is included in the at least one sub-device, and if the register is included in the at least one sub-device and the write instruction signal is supplied from the command interpretation device, writes the write data signal to the register.

[0061] In the data communication device 10, the circuit for command interpretation, which requires a large circuit scale, can be provided only in the command interpretation device 101. Since the sub-devices 102 and 103 only need to have a circuit for address interpretation, the circuit scale of the sub-devices 102 and 103 can be reduced. This allows the circuit scale of the entire data communication device 10 to be reduced.

[0062] In the above aspect, the command interpretation device 101 generates a data signal including identification information based on the type of writing of the write data signal to at least one register, the write instruction signal is included at the end of the data signal as the identification information, and each of the at least one sub-device may write the write data signal to the register based on the identification information.

[0063] This eliminates the need for a circuit for interpreting commands in the sub-devices 102 and 103, thereby reducing the circuit scale of the data communication device 10. Furthermore, this eliminates the need for a circuit for determining whether data can be written in the sub-devices 102 and 103, thereby reducing the circuit scale of the data communication device 10.

[0064] In the above aspect, the identification information may be information indicating the data length of the data signal.In the above aspect, the identification information may be information indicating the type of data included in the data signal.

[0065] In the above aspect, the write type may include a write type indicating that a predetermined bit of the register is not rewritten and that a part of the write data signal is written to the register, the identification information indicates whether the type of data included in the data signal is a write data signal or a mask signal indicating the predetermined bit that is not to be rewritten, and each of the at least one sub-device may write a part of the write data signal to at least one register based on the write data signal and the mask signal. This allows data to be written while the predetermined bit is masked.

[0066] In the above aspect, the command interpretation device 101 may record identification information in a parity bit following an address signal that specifies the address of at least one register, and generate a data signal.

[0067] This makes it possible to generate a data signal based on the main signal while maintaining the data width.

[0068] In the above aspect, the write type includes a write type indicating writing a first write data signal to a first register of at least one sub-device and writing a second write data signal to a second register of at least one sub-device, and the identification information is included at the end of each of the first write data signal and the second write data signal. Each of the at least one sub-device may write the first write data signal to the first register and the second write data signal to the second register based on the identification information. This allows information to be written to multiple registers consecutively. Also, it becomes possible to generate a data signal based on the main signal while maintaining the data width.

[0069] In the above aspect, the write instruction signal may be a clock signal generated following the data signal. Also, in the above aspect, the command interpretation device 101 may determine not to write the write data signal to any of the at least one sub-device when an error exists in the main signal.

[0070] This eliminates the need for error detection by the sub-device 102 etc., and allows for a reduction in the circuit scale of the sub-devices 102 and 103. This allows for a reduction in the overall circuit scale of the data communication device 10.

[0071] The above-described embodiments are intended to facilitate understanding of the present invention and are not intended to limit the scope of the present invention. The present invention may be modified or improved without departing from its spirit, and equivalents are also included within the scope of the present invention. In other words, designs modified by those skilled in the art as appropriate are also encompassed within the scope of the present invention as long as they incorporate the characteristics of the present invention. For example, the elements, their arrangements, and conditions of the embodiments are not limited to those illustrated and can be modified as appropriate. Furthermore, the embodiments are merely examples, and partial substitutions or combinations of the configurations shown in different embodiments are naturally possible. These are also encompassed within the scope of the present invention as long as they incorporate the characteristics of the present invention.

[0072] <1> A command interpretation device connected to a main device receives from the main device a main signal including a command signal, an address signal specifying the address of at least one register included in the at least one sub-device, and a write data signal to be recorded in a register corresponding to the address, and interprets the command signal; and at least one sub-device connected to the command interpretation device through a first signal line for transmitting a clock signal and a second signal line for transmitting a data signal, wherein the command interpretation device generates a write instruction signal based on the interpretation result of the command signal when information based on the data signal is to be written to any of the at least one sub-device, generates the data signal based on the address signal and the write data signal, and is supplied to each of the at least one sub-device based on the interpretation result of the command signal, and supplies the write instruction signal via the first signal line or the second signal line and the data signal via the second signal line to each of the at least one sub-device, and each of the at least one sub-device determines whether the register corresponding to the address indicated by the address signal is included in the at least one sub-device, a data communication device that writes the write data signal to the register when the register is included in the at least one sub-device and the write instruction signal is supplied from the command interpretation device.<2> The data communication device according to <1>, wherein the command interpretation device generates the data signal including identification information based on a type of writing of the write data signal to the at least one register, the write instruction signal being included as the identification information at an end of the data signal, and each of the at least one sub-device writes the write data signal to the register based on the identification information.<3> The data communication device according to <2>, wherein the identification information is information indicating a data length of the data signal.<4> The data communication device according to <2>, wherein the identification information is information indicating a type of data included in the data signal. <5> The data communication device according to <4>, wherein the write type includes a write type indicating that a predetermined bit of the register is not rewritten and that a part of the write data signal is written to the register, the identification information indicates whether the type of data included in the data signal is the write data signal or a mask signal indicating the predetermined bit that is not to be rewritten, and each of the at least one sub-device writes a part of the write data signal to the at least one register based on the write data signal and the mask signal. <6> The data communication device according to <5>, wherein the command interpretation device records the identification information in a parity bit following an address signal indicating the address of the at least one sub-device, and generates the data signal. <7> The data communication device according to <4>, wherein the write type includes a write type indicating that a first write data signal is to be written to a first register of the at least one sub-device and that a second write data signal is to be written to a second register of the at least one sub-device, the identification information being included at the end of each of the first write data signal and the second write data signal, and each of the at least one sub-device writes the first write data signal to the first register and the second write data signal to the second register based on the identification information. <8> The data communication device according to <1>, wherein the write instruction signal is the clock signal generated following a data signal. <9> The data communication device according to any of <1> to <8>, wherein the command interpretation device determines not to write the write data signal to any of the at least one sub-device when an error is present in the main signal.

[0073] 10...data communication device, 101...command interpretation device, 102, 103...sub-device, 104...clock signal line, 105...data signal line, 201...main device, 301...analog circuit, 1011...data receiving unit, 1012...command start determination unit, 1013...data signal generation unit, 1014...clock enable signal generation unit, 1015...data transmission unit, 1021...data receiving unit, 1022...command start determination unit, 1023...register unit

Claims

1. A command interpretation device connected to a main device, receiving from the main device a main signal including a command signal, an address signal specifying the address of at least one register in at least one sub-device, and a write data signal to be recorded in a register corresponding to the address, and interpreting the command signal; and at least one sub-device connected to the command interpretation device through a first signal line through which a clock signal is transmitted and a second signal line through which a data signal is transmitted, wherein the command interpretation device generates a write instruction signal when information based on the data signal is to be written to any of the at least one sub-device based on a result of interpretation of the command signal, generates a data signal based on the address signal and the write data signal, which is supplied to each of the at least one sub-device based on the result of interpretation of the command signal, supplies the write instruction signal through the first signal line or the second signal line, and supplies the data signal through the second signal line to each of the at least one sub-device, and each of the at least one sub-device determines whether or not the register corresponding to the address indicated by the address signal is included in the at least one sub-device, A data communication apparatus, the data communication apparatus writing the write data signal to the register when the register is included in the at least one sub-device and the write instruction signal is supplied from the command interpretation device.

2. A data communications apparatus as claimed in claim 1, wherein the command interpretation device generates the data signal including identification information based on a type of writing of the write data signal to the at least one register, the write instruction signal being included as the identification information at the end of the data signal, and each of the at least one sub-device writes the write data signal to the register based on the identification information.

3. A data communication device according to claim 2, wherein the identification information is information indicating a data length of the data signal.

4. A data communication device according to claim 2, wherein the identification information is information indicating a type of data contained in the data signal.

5. A data communications device as described in claim 4, wherein the write type includes a write type indicating that a specified bit of the register is not rewritten and that a portion of the write data signal is written to the register, the identification information indicates whether the type of data included in the data signal is the write data signal or a mask signal indicating the specified bit that is not to be rewritten, and each of the at least one sub-device writes a portion of the write data signal to the at least one register based on the write data signal and the mask signal.

6. A data communication apparatus according to claim 5, wherein said command interpretation device records said identification information in a parity bit following an address signal specifying the address of said at least one register, and generates said data signal.

7. A data communications device as described in claim 4, wherein the write type includes a write type indicating writing a first write data signal to a first register of the at least one sub-device and writing a second write data signal to a second register of the at least one sub-device, the identification information being included at the end of each of the first write data signal and the second write data signal, and each of the at least one sub-device writes the first write data signal to the first register and writes the second write data signal to the second register based on the identification information.

8. A data communication device according to claim 1, wherein the write instruction signal is the clock signal generated following a data signal.

9. A data communications apparatus according to any one of claims 1 to 8, wherein the command interpretation device determines not to write the write data signal to any of the at least one sub-device when an error is present in the main signal.

Citation Information

Patent Citations

  • Storage device, substrate, liquid container, method for receiving data to be written into data storage unit from host circuit, system including storage device capable of electrically connecting to host circuit

    JP2011248490A

  • Information processing device, access control program, and access control method

    JP2022145583A