Data communication system and slave device
The data communication system addresses the limitation of waveform dullness in SPI daisy chain methods by using separate wiring for clock and data signals, enabling high-speed communication across multiple slave devices through internal synchronization and reduced load on the clock signal.
Patent Information
- Application Number
- JP2023078495
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-05-11
- Publication Date
- 2024-11-21
AI Technical Summary
The SPI daisy chain method for data communication between a master device and multiple slave devices is limited by waveform dullness of the clock signal as the number of slave devices increases, restricting high-speed communication.
A data communication system with a master device and cascade-connected slave devices uses three systems of wiring for transmitting clock, write data, and read data signals, allowing each slave device to internally transmit and synchronize these signals, reducing the load on the clock signal wiring and maintaining waveform integrity.
This system enables high-speed communication regardless of the number of slave devices by minimizing clock signal waveform dullness and ensuring synchronization across all devices.
Smart Images

Figure 2024162692000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a data communication system for performing data communication between a master device and a plurality of slave devices, and to a slave device. [Background technology]
[0002] 2. Description of the Related Art In recent years, display devices that use light emitting elements such as light emitting diodes (LEDs) and laser diodes (LDs) as backlights for pixels or liquid crystal display panels have been commercialized.
[0003] Also, a lighting device has been proposed in which a plurality of lighting units (slave devices) consisting of the above-mentioned LEDs, LDs, etc. can be individually controlled by one controller (master device) (see, for example, Patent Document 1). In such a lighting device, the controller and the plurality of lighting units are connected in a daisy chain shape via communication cables. The controller transmits a series of lighting data pieces (packets) that specify the lighting color and brightness for each lighting unit to one lighting unit. Each lighting unit is equipped with a communication circuit, and upon receiving the series of lighting data pieces, it extracts lighting data corresponding to itself from the series of lighting data pieces and controls light-emitting elements based on the lighting data.
[0004] Also known as such a communication system is one that employs SPI (Serial Peripheral Interface), which is a type of serial bus standard that uses the following four signal lines to communicate between a master device and multiple slave devices:
[0005] CLK: Serial clock MISO: Master in slave out MOSI: Master Out Slave In CS: Chip Select Furthermore, SPI discloses a daisy chain system in which a master device and multiple slave devices are daisy chain connected via four sets of terminals that handle the input or output of each of the four sets of signal lines provided on each of the devices.
[0006] In FIG. 1, a master device (MCU) is cascade-connected to a plurality of slave devices (SLVs).
[0007] The master device has an output terminal CS, an output terminal CLK, an output terminal MOSI, and an input terminal MISO. Each of the slave devices has an input terminal CS, an input terminal CLK, an input terminal MOSI, and an output terminal MISO.
[0008] Here, the output terminal CS of the master device and the input terminal CS of each slave device are connected via a single wire, and the output terminal CLK of the master device and the input terminal CLK of each slave device are connected via a single wire.
[0009] The input terminal MOSI of the slave device connected in the first stage of the cascade-connected slave devices is connected to the output terminal MOSI of the master device, and the output terminal MISO of the slave device connected in the last stage of the cascade-connected slave devices is connected to the input terminal MISO of the master device.
[0010] Furthermore, between a pair of mutually connected slave devices, the output terminal MISO of the front-stage slave device is connected to the input terminal MOSI of the rear-stage slave device.
[0011] Here, the master device supplies a chip select signal from its own output terminal CS to an input terminal CS of each of the slave devices, and also supplies a serial clock signal from its own output terminal CLK to an input terminal CLK of each of the slave devices.
[0012] The master device transmits a sequence of data fragments corresponding to each of the slave devices from its own output terminal MOSI to the input terminal MOSI of the first slave device. At this time, when each of the first to last stage slave devices receives the sequence of data fragments at the input terminal MOSI, it takes in the data fragment corresponding to itself from there and sets its operating state according to that data fragment. Furthermore, at this time, each slave device transmits the sequence of the received data fragments from its own output terminal MISO to the input terminal MOSI of the next stage slave device. As a result, data fragments for setting its own state are supplied to each slave device in the order of the first to last stage slave devices.
[0013] Furthermore, each slave device transmits a serial signal of, for example, sensor data acquired by itself to the input terminal MOSI terminal of the slave device in the next stage via its own output terminal MISO terminal. As a result, a serial signal consisting of a series of pieces of sensor data acquired by each slave device is supplied to the input terminal MOSI of the slave device in the last stage. At this time, the slave device in the last stage adds the piece of sensor data acquired by itself to the serial signal received at the input terminal MOSI terminal, and supplies this to the master device from its own output terminal MISO. As a result, the master device can collect the sensor data acquired by each of the slave devices in the first to last stages.
[0014] According to the above-mentioned SPI daisy chain mode, it is possible to control a plurality of slave devices and obtain data from each slave device via four wiring systems, regardless of the number of slave devices. [Prior art documents] [Patent documents]
[0015] [Patent Document 1] JP 2009-129685 A Summary of the Invention [Problem to be solved by the invention]
[0016] However, in a configuration based on the above-mentioned SPI daisy chain mode, as the number of slave devices increases, the load capacitance connected to a single line that transmits a serial clock signal (CLK) increases accordingly, causing waveform distortion in the serial clock signal. Therefore, there is a problem in that there is a limit to the number of slave devices that can be connected to a master device in order to achieve high-speed communication.
[0017] SUMMARY OF THE PRESENT EMBODIMENTS It is therefore an object of the present invention to provide a data communication system and a slave device that are capable of high-speed communication regardless of the number of slave devices connected to a master device. [Means for solving the problem]
[0018] The communication system of the present invention is a data communication system including a master device, a first slave device connected to the master device, and second to Nth slave devices (N is an integer equal to or greater than 2) connected in cascade to the first slave device, wherein adjacent devices among the master device and the first to Nth slave devices are connected by at least three systems of wiring: a wiring for transmitting a clock signal, a wiring for transmitting a write data signal, and a wiring for transmitting a read data signal.
[0019] The slave device of the present invention includes a first input terminal for receiving a write data signal, a second input terminal for receiving a read data signal, a third input terminal for receiving a clock signal, first to third output terminals, a write data transmission / reception circuit that takes in a write data fragment corresponding to itself from the write data signal received at the first input terminal and outputs a new write data signal from the first output terminal in which the write data fragment corresponding to itself is omitted from the write data signal, and a read data transmission / reception circuit that outputs a new read data signal from the second output terminal in which the read data fragment read from itself is added to the read data signal received at the second input terminal, and the clock signal received at the third input terminal is transmitted internally and output from the third output terminal. Effect of the Invention
[0020] In a data communication system according to the present invention, a master device transmits a clock signal to a first slave device together with a write data signal including first to Nth write data pieces corresponding to first to Nth (N is an integer equal to or greater than 2) slave devices connected in cascade. Each of the first to Nth slave devices receives the transmitted clock signal, transmits it internally, and transmits it to a slave device in the next stage. Each of the first to Nth slave devices takes in a sequence of the first to Nth write data pieces included in the write data signal while shifting it at the timing of the clock signal received by itself, and transmits a read data signal including a sequence of read data pieces read from itself to the master device via the first slave device while shifting it at the timing of the clock signal received by itself.
[0021] In such a data communications system, the load connected to the wiring that transmits the clock signal is only a single slave device, so that it is possible to suppress distortion of the clock signal waveform to less than a predetermined level regardless of the number of slave devices cascaded.
[0022] In this data communication system, the clock signal received by the Nth slave device in the last stage is delayed relative to the clock signal output from the master device, that is, the clock signal received by the first slave device.
[0023] However, in this data communication system, communication between the master device and the first to Nth slave devices consists of communication between the master device and the first slave device in response to a clock signal output from the master device, and communication between adjacent slave devices in response to a clock signal output from one of the slave devices.
[0024] Therefore, even if there is a delay in the clock signal received by the Nth slave device in the last stage relative to the clock signal output from the master device, which corresponds to the number of cascade stages of the slave devices, communication can be performed in synchronization with the clock signal.
[0025] Therefore, according to the present invention, high speed communication can be performed regardless of the number of stages of slave devices connected to the master device. [Brief description of the drawings]
[0026] [Figure 1] FIG. 1 is a block diagram showing a connection configuration according to a conventional SPI daisy chain method. [Diagram 2] FIG. 1 is a block diagram showing a configuration of a data communication system 100 as an example of a data communication system according to the present invention. [Diagram 3] 2 is a time chart showing an example of a communication format and timing specifications in the data communication system 100. [Figure 4] 4 is a time chart showing another example of the communication format and timing specifications in the data communication system 100. [Diagram 5] 5 is a time chart showing a signal format transmitted between the master device 10 and each of the slave devices 20_1 to 20_N in accordance with the specifications of FIG. [Figure 6] FIG. 2 is a block diagram showing an example of the configuration of each of slave devices 20_1 to 20_N. [Figure 7] FIG. 2 is a block diagram showing the internal configuration of a count decoder CD1 (CD2). [Figure 8] FIG. 2 is a block diagram showing a configuration of a data communication system 200 as another example of the data communication system according to the present invention. [Figure 9] 5 is a time chart showing a signal format transmitted between the master device 10A and each of the slave devices 20A_1 to 20A_N in accordance with the specifications of FIG. [Figure 10] FIG. 2 is a block diagram showing an example of the configuration of slave devices 20A_1 to 20A_N. [Figure 11]1 is a top view of a substrate 50 on which a semiconductor chip C10 including a master device 10A and semiconductor chips C20_1 to 20_N including slave devices 20A_1 to 20A_N, respectively, are mounted, as viewed from the upper surface side. [Figure 12] FIG. 13 is a side view of a substrate 50A on which semiconductor chips C10 and C20_1 to 20_N are mounted and which has electrode layers ED therein, as viewed from the side. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS EXAMPLES
[0027] FIG. 2 is a block diagram showing a configuration of a data communication system 100 as an example of a data communication system according to the present invention.
[0028] The data communication system 100 includes a master device (MST) 10 and slave devices (SLV) 20_1 to 20_N (N is an integer of 2 or more) that communicate in the form of a serial signal based on the SPI (Serial Peripheral Interface) standard.
[0029] Master device 10 includes an input terminal MISO which serves as MISO (master in, slave out), an output terminal MOSI which serves as MOSI (master out, slave in), and an output terminal CLK which transmits a serial clock signal.
[0030] The master device 10 transmits a write data signal SI[1], which represents, in the form of a serial signal, a sequence of, for example, 8-bit write data pieces to be written individually to each of the slave devices 20_1 to 20_N, from an output terminal MOSI to the slave device 20_1. The master device 10 also receives, at an input terminal MISO, a read data signal SO[1], which represents, in the form of a serial signal, a sequence of, for example, 8-bit read data pieces read individually from each of the slave devices 20_1 to 20_N. Furthermore, the master device 10 transmits a clock signal CLK[1] as a serial clock signal from an output terminal CLK to the slave device 20_1.
[0031] Each of the slave devices 20_1 to 20_N is set to a state based on the write data fragment corresponding to itself and included in the write data signal, and is equipped with a functional circuit having a function of acquiring a data fragment that becomes the read data fragment.
[0032] The slave devices 20_1 to 20_N are connected to the master device 10 in series in the order of 1st to Nth as shown in FIG. 2, that is, in a cascade connection.
[0033] Each of the slave devices 20_1 to 20_N has an input terminal CLK for receiving a clock signal CLK, and an output terminal CLKO for supplying the clock signal CLK received at the input terminal CLK to the input terminal CLK of the slave device at the next stage via a buffer. Note that the output terminal CLKO of the Nth stage (last stage) slave device 20_N is in a released state.
[0034] Each of the slave devices 20_1 to 20_N has an input terminal SDI for receiving the read data signal SO sent from the previous device, and an output terminal MISO for outputting the read data signal SO including its own read data piece. The input terminal SDI of the Nth slave device 20_N is fixed to a logic level of 0 or 1.
[0035] Here, each of the slave devices 20_1 to 20_N except for the first-stage (initial stage) slave device 20_1 supplies the read data signal SO output from its own output terminal MISO to the input terminal SDI of the slave device in the preceding stage. The first-stage slave device 20_1 supplies the read data signal SO[1] output from its own output terminal MISO to the input terminal MISO of the master device 10.
[0036] Furthermore, each of the slave devices 20_1 to 20_N has an input terminal MOSI for receiving the write data signal SI, and an output terminal SDO for outputting the write data signal SI excluding its own write data fragment to the input terminal MOSI of the slave device at the next stage. The output terminal SDO of the Nth stage slave device 20_N is in a released state. Here, the first stage slave device 20_1 receives the write data signal SI[1] sent from the master device 10 at its own input terminal MOSI.
[0037] Therefore, as shown in Fig. 2, the k-th (k is an integer equal to or greater than 2) slave device 20_k among the slave devices 20_1 to 20_N connected in cascade receives the write data signal SI[k] output from the previous slave device 20_(k-1) at the input terminal MOSI and takes it in at the timing of the clock signal CLK[k] received at the input terminal CLK. Then, the slave device 20_k outputs the write data signal SI[k+1] obtained by omitting its own write data piece from the write data signal SI[k] to the slave device 20_(k+1) at the next stage from the output terminal SDO at the timing of the clock signal CLK[k]. The slave device 20_k also outputs the clock signal CLK[k] to the slave device 20_(k+1) at the next stage as the clock signal CLK[k+1] via a buffer from the output terminal CLKO.
[0038] Furthermore, the k-th slave device 20_k receives the read data signal SO[k+1] output from the next-stage slave device 20_(k+1) at its input terminal SDI and takes in this at the timing of the clock signal CLK[k]. The k-th slave device 20_k then outputs the read data signal SO[k], which is the read data piece read from itself added to the read data signal SO[k+1], from its output terminal MISO to the previous-stage slave device 20_(k-1).
[0039] FIG. 3 is a time chart showing an example of communication format and timing specifications in the data communication system 100. As shown in FIG.
[0040] In the example shown in FIG. 3, communication between the master device 10 and the slave devices 20_1 to 20_N is performed for each frame at a predetermined period.
[0041] That is, the master device 10 writes first to Nth write data pieces, each of which is made up of, for example, 8 bits, to each of the slave devices 20_1 to 20_N for each frame. No. N, No. (N-1), No. (N-2), ..., No. 3, No. 2, No. 1 A write data signal SI[1] including a sequence of write data pieces arranged in the order of the first to fourth bits is output from output terminal MOSI to slave device 20_1.
[0042] As a result, for example, the Nth write data fragment shifts from slave device 20_1 toward slave device 20_N, reaches slave device 20_N in the Nth stage, and is taken in by each slave device 20. That is, each of the kth (k is 1, 2, 3, . . . , N) write data fragments shifts from slave device 20_1 toward slave device 20_N, and reaches each of slave devices 20_k in the kth stage, and the slave device 20_k takes in the kth write data fragment corresponding to itself.
[0043] Furthermore, in the example shown in FIG. 3, the first to Nth read data pieces, each of which is composed of, for example, 4 bits and read from each of the slave devices 20_1 to 20_N for each frame of a predetermined period, are 1st, 2nd, 3rd,..., th (N-2), th (N-1), th N The slave device 20_1 outputs a read data signal SO[1] including a sequence of read data pieces arranged in the order of 1 to 1 to the master device 10 at the supply start time (t0, t1, t2 shown in FIG. 3). The master device 10 receives the read data signal SO[1] at the input terminal MISO.
[0044] In this way, according to the data communication system 100, the master device 10 can simultaneously transmit a write data signal to the slave devices 20_1 to 20_N and receive a read data signal read from the slave devices 20_1 to 20_N.
[0045] During a period when the master device 10 is not communicating with the slave devices 20_1 to 20_N, the master device 10 may stop supplying the clock signal CLK to the slave device 20_1 as shown in Fig. 3. However, when the master device 10 starts communication with the slave devices 20_1 to 20_N, the master device 10 starts supplying the clock signal CLK from a point in time before point in time t0 at which the communication starts as shown in Fig. 3.
[0046] Furthermore, the number of bits of each of the write data piece and the read data piece can be set individually and appropriately according to the specifications.
[0047] 3, the sequence of the Nth to first write data fragments output by the master device 10 and the sequence of the first to Nth read data fragments output by the slave devices 20_1 to 20_N within each frame of a predetermined period are started at the same timing. However, the output start timings of both are not necessarily the same, and each may start output at an independent timing.
[0048] FIG. 4 is a time chart showing another example of the communication format and timing specifications of the data communication system 100, which has been created in consideration of the above points.
[0049] In the example shown in FIG. 4, similarly to FIG. 3, communication between the master device 10 and the slave devices 20_1 to 20_N is performed for each frame at a predetermined period.
[0050] At this time, the master device 10 outputs a write data signal SI[1] consisting of a sequence of the Nth to first write data pieces similar to that shown in Fig. 3 from the output terminal MOSI to the slave device 20_1 for each frame. Furthermore, the slave device 20_1 outputs a read data signal SO[1] consisting of a sequence of the first to Nth read data pieces similar to that shown in Fig. 3 to the master device 10 for each frame. The master device 10 receives the read data signal SO[1] at the input terminal MISO.
[0051] However, in the example shown in FIG. 4, at the time (tr0, tr1) when the Nth to first write data pieces have been completely written to each of the slave devices 20_1 to 20_N within each frame, the slave device 20_1 starts outputting a series of the first to Nth read data pieces.
[0052] That is, in the specifications shown in Fig. 4, the master device 10 controls the slave devices 20_1 to 20_N to read the first to Nth read data pieces after writing of the Nth to first write data pieces is completed in each frame. The master device 10 may also shift to writing operation of the Nth to first write data pieces after reading of the first to Nth read data pieces is completed in each frame. In short, the master device 10 may control the slave devices 20_1 to 20_N to complete one of the above-mentioned read operation and write operation before executing the other in each frame.
[0053] FIG. 5 is a time chart showing a signal format within a frame of a predetermined period, which is transmitted between the master device 10 and each of the slave devices 20_1 to 20_N in accordance with the specifications of FIG.
[0054] Each of the slave devices 20_1 to 20_N determines the time when the clock signal CLK transitions from a state in which the clock signal CLK is maintained at logic level 1 to logic level 0 as the write start timing for the write data piece.
[0055] First, the master device 10 adds an identification code HD to the beginning of a sequence of write data d(N), d(N-1), . . . , d(3), d(2) and d(1) to be individually written to each of the slave devices 20_N to 20_1, and outputs the resultant data as a write data signal SI[1] to the first-stage slave device 20_1. The master device 10 adds an identification code HD indicating "N", which is the cascade number of the slave devices connected to the master device 10, to the beginning of the write data signal SI[1] as shown in FIG. 5.
[0056] Each of the slave devices 20_1 to 20_N takes in the number of cascades indicated by the identification code HD at the beginning of the write data signal SI received from the device in the previous stage. Here, each of the slave devices 20_1 to 20_N determines the data write completion timing to be the time when the number of clock pulses from the time when the master device 10 starts supplying the clock signal CLK becomes equal to the number of cascades indicated by the identification code HD multiplied by the number of bits (e.g., 8 bits) of the write data piece. Each of the slave devices 20_1 to 20_N takes in only the write data piece corresponding to itself from the series of write data pieces included in the write data signal SI by taking in the write data signal SI received from the device in the previous stage at the data write completion timing.
[0057] Then, each of the slave devices 20_1 to 20_N obtains a series of write data fragments excluding the write data fragment corresponding to itself from the write data signal SI received from the previous stage device, and outputs the write data signal SI with a new identification code HD added to the beginning thereof to the next stage slave device 20. In other words, each of the slave devices 20_1 to 20_N adds the identification code HD indicating a new cascade number obtained by subtracting 1 from the cascade number indicated by the identification code HD included in the write data signal SI received from the previous stage device, to the beginning of the series of write data fragments excluding the write data fragment corresponding to itself.
[0058] Here, when writing of all the write data d(N), d(N-1), ..., d(3), d(2), and d(1) to the slave devices 20_1 to 20_N is completed, each of the slave devices 20_1 to 20_N reads out the data fragment it has acquired as a read data fragment. For example, the slave device 20_1 reads out the data fragment it has acquired as read data b(1), the slave device 20_2 reads out the data fragment it has acquired as read data b(2), and the slave device 20_N reads out the data fragment it has acquired as read data b(N).
[0059] Then, slave device 20_k (k is 1, 2, 3, ..., N) begins a read operation in which it outputs to the preceding device, at the timing of clock signal CLK[k], read data signal SO[k] obtained by adding its own read data b(k) to the beginning of the series of read data pieces contained in read data signal SO[k+1] received from the next-stage slave device 20_(k+1).
[0060] As a result, the first-stage slave device 20_1 outputs to the master device 10 a read data signal SO[1] including a sequence of read data b(1) to b(N), which are data pieces individually acquired by the slave devices 20_1 to 20_N.
[0061] The master device 10 acquires the data pieces that the slave devices 20_1 to 20_N have individually acquired by receiving the read data signal SO[1] at the timing of the clock signal CLK[1].
[0062] At this time, each of the slave devices 20_1 to 20_N stops outputting the read data signal SO when the number of clock pulses of the clock signal CLK from the completion of the data write described above becomes equal to the number of cascades acquired at the time of writing multiplied by the number of bits of the read data piece. As a result, when the first stage (initial stage) slave device 20_1 finishes outputting all of the read data b2 to b(N) of the second to Nth stages (last stage) slave devices 20_2 to 20_N to the master device 10, its output operation automatically stops.
[0063] In this manner, in the operation shown in FIG. 5, the identification code HD indicating the cascade number is added to the beginning of the write data signal SI, and the data write timing is obtained based on this cascade number.
[0064] This allows each of the slave devices 20_2 to 20_N to operate individually without using the chip select signal CS specified in the SPI standard, making it possible to reduce the area of the entire data communication system by the amount that the chip select signal CS is no longer necessary.
[0065] 5 shows the signal format as an example in which the read data signal SO is read after the writing of the write data signal SI to the slave devices 20_1 to 20_N is completed, but the format can also be applied to the case in which the writing of the write data signal SI is started after the reading of the read data signal SO is completed. In this case, an identification code HD indicating the number of cascades is added to the beginning of the read data sequence included in the read data signal SO. In short, when the write operation and the read operation are executed consecutively in each frame, the identification code HD indicating the number of cascades of the slave devices 20_1 to 20_N is added to the beginning of the data sequence to be executed first.
[0066] Moreover, each of the slave devices 20_1 to 20_N has the same circuit configuration.
[0067] FIG. 6 is a block diagram showing an example of the configuration of each of the slave devices 20_1 to 20_N.
[0068] Each of the slave devices 20_1 to 20_N includes a drive circuit 30 that functions as a current output circuit included in a driver that drives a load such as an LED (Light Emitting Diode) backlight of a liquid crystal display or an LED for lighting.
[0069] The driving circuit 30 generates a driving signal having a driving current for driving the load externally connected to the output terminal OPG based on a write data piece output from the master device 10 and specifying the current value of the driving current and its output timing, and outputs the signal from the output terminal OPG. The driving circuit 30 also includes a sensor SE as an information acquisition circuit that detects the temperature, output voltage, current, etc. within the driver and obtains sensor data (information data) that represents the detected value as, for example, an 8-bit digital value. At this time, the driving circuit 30 reads out the sensor data detected by the sensor SE.
[0070] In addition, each of the slave devices 20_1 to 20_N has an input terminal MOSI for inputting the write data signal SI, an output terminal SDO for outputting the write data signal SI, an input terminal SDI for inputting the read data signal SO, an output terminal MISO for outputting the read data signal SO, an input terminal CLK for inputting the clock signal CLK, and an output terminal CLKO for outputting the clock signal CLK.
[0071] Furthermore, each of the slave devices 20_1 to 20_N includes a write data transmitting / receiving circuit , a control circuit (CNT) 22, registers and 24, a read data transmitting / receiving circuit 25, and a buffer .
[0072] The write data transmitting / receiving circuit 21 includes a cascade number (CN) acquiring unit DET, a count decoder CD1, and a subtraction circuit SS. The write data transmitting / receiving circuit 21 further includes a shift register SF1 that captures the write data signal SI input to the input terminal MOSI at the timing of the clock signal CLK received at the input terminal CLK.
[0073] The cascade number acquisition unit DET detects the identification code HD from the write data signal SI loaded into the shift register SF1, and supplies the cascade number indicated by the identification code HD as the cascade number cn to the count decoder CD1, the subtraction circuit SS, and the read data transmission / reception circuit 25. Furthermore, when the cascade number acquisition unit DET detects the identification code HD, it supplies a count enable signal ce1 to the count decoder CD1.
[0074] FIG. 7 is a block diagram showing the internal configuration of the count decoder CD1.
[0075] The count decoder CD 1 includes a clock counter 101 , comparison circuits 102 and 103 , and a chip number counter 104 .
[0076] In response to the count enable signal ce1, the clock counter 101 initializes the count value to zero, starts counting the number of clock pulses of the clock signal CLK, and supplies the count value to the comparison circuit 102. The comparison circuit 102 receives a fixed number of data bits Wdn indicating the number of bits of the write data piece, and judges whether the number of bits of the write data piece indicated by this number of data bits Wdn matches the count value supplied from the clock counter 101. At this time, if the comparison circuit 102 judges that the two match, it supplies a match signal consisting of a single pulse to the chip number counter 104. The chip number counter 104 counts the number of pulses due to the match signal, and supplies the count value to the comparison circuit 103 as the remaining cascade number cnz. The comparison circuit 103 judges whether the remaining cascade number cnz matches the cascade number cn indicated by the identification code HD, and outputs a completion signal fn if it judges that the two match.
[0077] With this configuration, when the count decoder CD1 detects the identification code HD in the write data signal SI, it counts the number of clock pulses of the clock signal CLK, and outputs a completion signal fn when the count value matches the result of multiplying the cascade number cn indicated by the identification code HD by the number of bits of the write data piece indicated by the data bit number Wdn.
[0078] Then, the count decoder CD1 supplies the above-mentioned completion signal fn to the shift register SF1 and the control circuit 22.
[0079] The subtraction circuit SS subtracts "1" from the cascade number cn supplied from the cascade number acquisition unit DET to generate an identification code HD indicating a new cascade number, and supplies this to the shift register SF1.
[0080] The shift register SF1 takes in the series of write data pieces included in the write data signal SI input to the input terminal MOSI while shifting them one bit at a time in synchronization with the clock signal CLK. Then, the shift register SF1 adds the identification code HD supplied from the subtraction circuit SS to the beginning of the series of the taken-in write data pieces, and outputs the result as a new serial write data signal SI from the output terminal SDO. Also, the shift register SF1 converts each of the taken-in serial write data pieces into the form of a parallel signal and sequentially outputs them to the register 23. Incidentally, the shift register SF1 initializes the data taken in itself (for example, sets all bits to logic level 1) in response to the completion signal fn. As a result, a new write data signal SI including a series of write data pieces in which only the shift register SF1's own write data piece is omitted from the series of write data pieces included in the write data signal SI input to the input terminal MOSI is output from the output terminal SDO.
[0081] The control circuit 22 supplies a write command signal wt to the register 23 in response to the completion signal fn, and also supplies a count enable signal ce2 to the read data transmitting / receiving circuit 25. The control circuit 22 also supplies various control signals to the drive circuit 30 for controlling the drive circuit 30.
[0082] The register 23 holds only the write data fragment output at the timing of the write command signal wt, among the write data fragments output from the shift register SF1, and supplies this to the drive circuit 30. As a result, the drive circuit 30 generates a drive current having a current value according to the write data fragment supplied from the register 23, and outputs this to the load externally attached to the output terminal OPG at the output timing specified by the write data fragment.
[0083] The register 24 holds a piece of sensor data detected by the sensor SE, and supplies this to a read data transmitting / receiving circuit 25 .
[0084] The read data transmitting / receiving circuit 25 includes a count decoder CD2 and a shift register SF2.
[0085] The count decoder CD2 has the same internal configuration as the count decoder CD1, that is, the configuration shown in Fig. 7. At this time, the count decoder CD2 receives a count enable signal ce2 instead of the count enable signal ce1 from the control circuit 22, and receives a data bit number Rdn indicating the number of bits of the read data piece instead of the data bit number Wdn. Furthermore, the count decoder CD2 supplies a completion signal stp to the shift register SF2 instead of the completion signal fn.
[0086] As a result, the count decoder CD2 counts the number of clock pulses of the clock signal CLK in response to the count enable signal ce2, and when the count value matches the result of multiplying the cascade number cn indicated by the identification code HD by the number of bits of the read data piece indicated by the data bit number Rdn, it supplies a completion signal stp to the shift register SF2.
[0087] The shift register SF2 takes in the sensor data fragments supplied from the register 24 as its own read data fragments. The shift register SF2 then shifts its own read data fragments one bit at a time in synchronization with the clock signal CLK and outputs them in serial form, while taking in the series of read data fragments included in the read data signal SO input to the input terminal SDI in serial form, shifting them one bit at a time in synchronization with the clock signal CLK. As a result, the shift register SF2 outputs, following its own read data fragments, a serial signal indicating the series of read data fragments included in the read data signal SO input to the input terminal SDI as the read data signal SO from the output terminal MISO.
[0088] When the shift register SF2 receives a completion signal stp from the count decoder CD2, it resets the captured contents and stops the shift operation.
[0089] The buffer 26 amplifies the clock signal CLK received at the input terminal CLK and outputs the amplified clock signal CLK from the output terminal CLKO.
[0090] The write data transmitting / receiving circuit 21 and the read data transmitting / receiving circuit 25 may each be configured with a FIFO (First-In First-Out) memory or the like. EXAMPLES
[0091] FIG. 8 is a block diagram showing a configuration of a data communication system 200 as another example of the data communication system according to the present invention.
[0092] The data communication system 200 employs a master device 10A and slave devices 20A_1 to 20A_N instead of the master device 10 and slave devices 20_1 to 20_N of the data communication system 100.
[0093] Incidentally, the master device 10A and the slave devices 20A_1 to 20A_N are obtained by adding a write and read control function using a chip select signal CS to the master device 10 and the slave devices 20_1 to 20_N.
[0094] That is, the master device 10A, in contrast to the master device 10 shown in FIG. 2, further includes an output terminal CS for outputting a chip select signal CS, and outputs a chip select signal CS[1] from this output terminal CS to the slave device 20A_1. Each of the slave devices 20A_1 to 20A_N has an input terminal CS for receiving the chip select signal CS output from the device in the previous stage, and an output terminal CSO for outputting the chip select signal CS obtained by amplifying the chip select signal with a buffer. That is, the slave device 20A_k (k is 1, 2, 3, . . . , N) receives the chip select signal CS[k] output from the device in the previous stage at its own input terminal CS, and outputs the amplified chip select signal CS[k+1] to the input terminal CS of the slave device 20A_(k+1) in the next stage. The output terminal CSO of the Nth stage (last stage) slave device 20A_N is in a released state.
[0095] When the received chip select signal CS indicates, for example, a logical level 0, each of the slave devices 20A_1-20A_N performs a write operation in which the series of write data d(1)-d(N) is taken in while shifting it bit by bit, as described above, and only the write data fragment corresponding to itself is written from the series of write data d(1)-d(N). At this time, each of the slave devices 20A_1-20A_N outputs to the next-stage slave device 20A the series of write data fragments from the series of write data d(1)-d(N) excluding the write data fragment corresponding to itself.
[0096] On the other hand, when the received chip select signal CS indicates, for example, a logical level 0, each of the slave devices 20A_1 to 20A_N performs a read operation in which it outputs to the preceding device a series of read data fragments obtained by adding the read data fragments it has read from itself to the series of read data fragments received from the next-stage slave device 20A.
[0097] FIG. 9 is a time chart showing the signal formats of MOSI and MISO within a frame of a predetermined period, which are transmitted between master device 10A and each of slave devices 20A_1 to 20A_N in accordance with the specifications of FIG. [Communication outage] When the master device 10A stops communication, it outputs a clock signal CLK[1] fixed at logic level 1 (or 0) and a chip select signal CS[1] fixed at logic level 1 to the first-stage slave device 20A_1. [Write operation] When starting a write operation, the master device 10A first transitions the chip select signal CS[1] from logic level 1 to 0. At this time, the chip select signal CS[1] is transmitted to the slave devices 20A_2 to 20A_(N) as chip select signals CS[2] to CS[N] that transition from logic level 1 to 0 in order, as shown in FIG. 9, via buffers included in each of the slave devices 20A_1 to 20A_(N-1) and cascaded between the slave devices.
[0098] Then, the master device 10A outputs a clock signal CLK[1] and a write data signal SI[1] consisting of a sequence of write data d(N) to d(1). At this time, the clock signal CLK[1] is propagated to the slave devices 20A_2 to 20A_N as clock signals CLK[2] to CLK[N] via buffers included in each of the slave devices 20A_1 to 20A_(N-1) and cascaded between the slave devices.
[0099] As a result, slave device 20A_k (k is 1, 2, 3, ..., N) takes in write data signal SI[k] while shifting it one bit at a time in accordance with the timing of clock signal CLK[k], and outputs it to the next-stage slave device 20A_(k+1) as write data signal SI[k+1].
[0100] When the master device 10A completes output of the write data signal SI[1] including the sequence of write data d(N) to d(1) shown in Fig. 9, it stops the clock signal CLK[1] (for example, fixes it to a logic level 1 state) and then transitions the chip select signal CS[1] from logic level 0 to 1 as shown in Fig. 9. At this time, the slave devices 20A_k (k is 1, 2, 3, . . . , N) write the write data d(k) in the write data signal SI[k] they received to themselves at the timing of the rising edge of the chip select signal CS[k] changing from logic level 0 to 1. [Read operation] The slave device 20A_k (k is 1, 2, 3, . . . , N) becomes capable of reading the piece of data that it has acquired at the timing of the rising edge of the chip select signal CS[k] described above.
[0101] As described above, the master device 10A changes the chip select signal CS[1] from logic level 0 to 1, and then outputs the clock signal CLK[1] to the slave device 20A_1.
[0102] As a result, the slave device 20A_k (k is 1, 2, 3, . . . , N) reads out the data piece it has acquired as read data b[k].
[0103] Then, slave device 20A_k starts a read operation in which it outputs to the preceding device, at the timing of clock signal CLK[k], read data signal SO[k] obtained by adding its own read data b(k) to the beginning of the series of read data pieces contained in read data signal SO[k+1] received from the next-stage slave device 20A_(k+1).
[0104] At this time, the master device 10A acquires the data pieces acquired individually by the slave devices 20A_1 to 20A_N, i.e., the read data b(1) to b(N), by capturing the read data signal SO[1] output from the first-stage slave device 20A_1 at the timing of the clock signal CLK[1].
[0105] Here, when the master device 10A acquires the read data b(1) to b(N) contained in the read data signal SO[1], the master device 10A stops supplying the clock signal CLK[1].
[0106] FIG. 10 is a block diagram showing an example of the configuration of the slave devices 20A_1 to 20A_N.
[0107] Like the slave devices 20_1 to 20_N, each of the slave devices 20A_1 to 20A_N includes registers 23 and 24, a clock buffer 26, and a drive circuit 30. However, each of the slave devices 20A_1 to 20A_N employs a write data transmission / reception circuit 21A, a control circuit 22A, and a read data transmission / reception circuit 25A instead of the write data transmission / reception circuit 21, the control circuit 22, and the read data transmission / reception circuit 25 shown in Fig. 6, and also newly adds a buffer 27 for a chip select signal.
[0108] Similarly to slave devices 20_1 to 20_N, each of slave devices 20A_1 to 20A_N has input terminal MOSI, output terminal SDO, input terminal SDI, output terminal MISO, input terminal CLK, and output terminal CLKO. Furthermore, each of slave devices 20A_1 to 20A_N has input terminal CS for inputting chip select signal CS, and output terminal CSO for outputting chip select signal CS.
[0109] The write data transmitting / receiving circuit 21A is composed of, for example, a shift register SF1A.
[0110] The shift register SF1A is set to an enabled state when the chip select signal CS received at the input terminal CS indicates, for example, a logic level 0, whereas it is set to a disabled state when the chip select signal CS indicates a logic level 1.
[0111] When the shift register SF1A is set to an enabled state, it takes in a series of write data pieces included in the write data signal SI input to the input terminal MOSI while shifting it bit by bit at a timing synchronized with the clock signal CLK. Then, the shift register SF1A outputs a series of serial bits representing each write data piece in the order of taking in as the write data signal SI from the output terminal SDO. The shift register SF1A converts the taken-in serial bit series into the form of a parallel signal for each write data piece and outputs it to the register 23 in sequence.
[0112] The control circuit 22A supplies a write command signal wt to the register 23 at the timing of the rising edge at which the chip select signal CS transitions from logic level 0 to 1, and also supplies a read command signal rd to the read data transmitting / receiving circuit 25A. The control circuit 22A also supplies various control signals for controlling the drive circuit 30 to the drive circuit 30.
[0113] The register 23 holds only the write data fragment output at the timing of the write command signal wt among the write data fragments output from the shift register SF1A, and supplies this to the drive circuit 30. As a result, the drive circuit 30 generates a drive current having a current value according to the write data fragment supplied from the register 23, and outputs this to a load, such as an LED backlight of a liquid crystal display or an LED for lighting, externally attached to the output terminal OPG, at the output timing specified by the write data fragment.
[0114] The register 24 holds a sensor data piece acquired by a sensor SE included in the drive circuit 30 as a read data piece.
[0115] The read data transmitting / receiving circuit 25A is composed of, for example, a shift register SF2A.
[0116] The shift register SF2A is set to an enabled state when the above-mentioned chip select signal CS indicates, for example, a logic level 1, whereas it is set to a disabled state when the chip select signal CS indicates a logic level 0.
[0117] When the shift register SF2A is set to an enabled state, it takes in the read data piece held in the register 24 in response to a supply from the control circuit 22A.
[0118] The shift register SF2A shifts the captured read data pieces one bit at a time in synchronization with the clock signal CLK and outputs them, while capturing the sequence of read data pieces included in the read data signal SO input to the input terminal SDI, shifting it one bit at a time in synchronization with the clock signal CLK, and outputs them in the order captured. As a result, the shift register SF2A outputs, following its own read data pieces, a serial signal indicating the sequence of read data pieces included in the read data signal SO input to the input terminal SDI as the read data signal SO from the output terminal MISO.
[0119] The buffer 26 amplifies the clock signal CLK received at the input terminal CLK and outputs the amplified clock signal CLK from the output terminal CLKO.
[0120] The buffer 27 amplifies the chip select signal CS received at the input terminal CS and outputs the amplified chip select signal CS from the output terminal CSO.
[0121] The write data transmitting / receiving circuit 21A and the read data transmitting / receiving circuit 25A may each be configured with a FIFO (First-In First-Out) memory or the like.
[0122] Meanwhile, the master device 10 and slave devices 20_1 to 20_N shown in FIG. 2, or the master device 10A and slave devices 20A_1 to 20A_N shown in FIG. 8, are each formed on an independent semiconductor chip, and a total of (N+1) semiconductor chips are mounted side by side on a single substrate.
[0123] FIG. 11 is a top view of a substrate 50 on which a semiconductor chip C10 including the master device 10 shown in FIG. 2 and semiconductor chips C20_1 to 20_N each including a slave device 20_1 to 20_N are mounted, as viewed from the upper surface side.
[0124] 11, on the front surface SF of the substrate 50, input terminals MISO, MOSI, and CLK are formed on one side of the semiconductor chip C10 including the master device 10. Furthermore, the semiconductor chips C10 and C20_1 are connected to each other by wirings L1_0, L2_0, and L3_0, and the semiconductor chips C20_1 and C20_2 are connected to each other by wirings L1_1, L2_1, and L3_1. That is, among the semiconductor chips C20_1 to C20_N, the semiconductor chips C20_k (k is 1, 2, 3, . . . , N-1) and C20_(k+1) adjacent to each other are connected to each other by wirings L1_k, L2_k, and L3_k.
[0125] In this manner, among the semiconductor chips C10, C20_1 to C20_N arranged in a row on the front surface SF of the substrate 50, adjacent ones are connected to each other by three wires.
[0126] Therefore, the wiring connecting the semiconductor chips C10, C20_1 to C20_N does not cross, and all the wiring can be provided only on a single conductive layer formed on the front surface SF of the substrate 50. Therefore, it is not necessary to use a multilayer substrate as the substrate 50, and it is possible to reduce the production cost. Even if a multilayer substrate is used as the substrate 50, the semiconductor chips C10 and C20_1 to C20_N can be connected to each other by only one conductive layer, so that it is possible to reduce the manufacturing effort.
[0127] 12 is a side view of a substrate 50A having three conductive layers, with semiconductor chips C10 and C20_1 to C20_N mounted on the front surface SF of the substrate and an electrode layer ED within the substrate. According to this configuration, wiring for connecting the semiconductor chips C10 and C20_1 to C20_N to each other may be provided on any one of the front surface SF, back surface BS, or electrode layer ED within the substrate 50A, as shown in FIG.
[0128] As described above in detail, the data communication system (100, 200) according to the present invention includes a master device (10, 10A), a first slave device (20_1, 20A_1) connected to the master device, and second to Nth (N is an integer equal to or greater than 2) slave devices (20_2 to 20_N, 20A_2 to 20A_N) cascade-connected to the first slave device. In this case, the master device and the first slave device, and adjacent slave devices among the first to Nth slave devices are connected by three systems of wiring (L1 to L3) for individually transmitting clock signals (CLK[1] to [N]), write data signals (SI[1] to [N]), and read data signals (SO[1] to [N]).
[0129] The master device (10, 10A) generates a clock signal (CLK) and transmits it to the first slave device (20_1, 20A_1), and also transmits a write data signal (SI) including first to Nth write data pieces corresponding to the first to Nth slave devices, respectively, to the first slave device at the timing of the clock signal. Each of the first to Nth slave devices (20_1 to 20_N, 20A_1 to 20A_N) includes a buffer (26) that receives the clock signal transmitted from the previous stage and transmits the clock signal internally to the slave device of the next stage, and an information acquisition circuit (SE) that acquires an information data piece (e.g., sensor data) and reads it out as a read data piece. Here, the first to Nth slave devices take in the series of first to Nth write data pieces [d(1) to d(N)] contained in the write data signal while shifting it in accordance with the timing of the clock signal supplied from each preceding device, and transmit a read data signal including the series of read data pieces [b(1) to b(N)] read from each information acquisition circuit from the first slave device to the master device while shifting it in accordance with the timing of the above-mentioned clock signal.
[0130] Therefore, in such a data communications system, the load connected to the wiring that transmits the clock signal is only a single slave device, so that it is possible to suppress waveform distortion of the clock signal to less than a predetermined level regardless of the number of slave devices cascaded.
[0131] Incidentally, in this data communication system, the clock signal received by the Nth slave device in the last stage is delayed relative to the clock signal output from the master device, that is, the clock signal received by the first slave device.
[0132] However, communication between the master device and the first to Nth slave devices in this data communication system consists of communication between the master device and the first slave device synchronized with a clock signal output by the master device, and communication between adjacent slave devices synchronized with a clock signal output by one of the slave devices.
[0133] Therefore, even if there is a delay in the clock signal received by the Nth slave device in the last stage relative to the clock signal output from the master device, which corresponds to the number of cascade stages of the slave devices, communication can be performed in synchronization with the clock signal.
[0134] Therefore, according to the present invention, high speed communication can be performed regardless of the number of stages of slave devices connected to the master device. [Explanation of symbols]
[0135] 10, 10A Master Unit 20_1~20_N, 20A_1~20A_N Slave device 21, 21A Write data transmission / reception circuit 25, 25A Read data transmission / reception circuit 26, 27 Buffer 100, 200 Data communication system
Claims
1. A data communication system including a master device, a first slave device connected to the master device, and second to N-th slave devices (N is an integer equal to or greater than 2) cascade-connected to the first slave device, A data communication system characterized in that adjacent devices among the master device and the first to Nth slave devices are connected by at least three systems of wiring, including wiring for transmitting a clock signal, wiring for transmitting a write data signal, and wiring for transmitting a read data signal.
2. the clock signal is sequentially transmitted from the master device to the first to Nth slave devices, and serves as a timing for transmitting or receiving the write data signal and the read data signal in each of the first to Nth slave devices; the master device performs a write operation of transmitting, as the write data signal, a signal including a sequence of first to Nth write data pieces to be respectively received by the first to Nth slave devices, to the first slave device within a predetermined period; The first to Nth slave devices take in a write data fragment corresponding to themselves from the write data signal received from the preceding device based on the clock signal received from the preceding device, and transmit a signal including a series of write data fragments excluding the write data fragment as the write data signal to the subsequent device, Transmitting a signal including a series of read data fragments obtained by adding the read data fragments acquired inside the device to the read data signal received from the device in the subsequent stage as the read data signal to the device in the previous stage; The data communication system according to claim 1, further characterized in that the master device performs a read operation to receive from the first slave device within the specified period the read data signal including a series of the first to Nth read data pieces acquired by each of the first to Nth slave devices.
3. the write data signal transmitted from the master device to the first slave device is a signal in which the first to Nth write data fragments to be respectively received by the first to Nth slave devices are arranged in the order of the Nth to first write data fragments, The data communication system according to claim 2, characterized in that the read data signal received by the master device from the first slave device is a signal in which the first to Nth read data fragments acquired by the first to Nth slave devices, respectively, are arranged in the order of the first to Nth read data fragments.
4. 3. The data communication system according to claim 2, wherein the master device controls the first to Nth slave devices so that, within the specified period, one of the write operation and the read operation is completed before the other operation is performed.
5. The master device 5. The data communication system according to claim 4, wherein an identification code is added to the head of one of said write data signal and said read data signal which is transmitted first within said predetermined period.
6. the identification code is data indicating the number of stages in a cascade of the first to Nth slave devices, The data communication system according to claim 5, characterized in that each of the first to Nth slave devices transmits to the subsequent device an identification code indicating a new cascade stage number obtained by subtracting one stage of data from the data indicating the cascade stage number indicated by the identification code received from the previous device.
7. 3. The data communication system according to claim 2, wherein the master device stops transmitting the clock signal during a communication suspension period during which the write data signal is not transmitted and the read data signal is not received.
8. Each of the first to Nth slave devices that are cascaded a first input terminal for receiving the clock signal transmitted from the preceding device; a first output terminal for internally transmitting the clock signal received at the first input terminal and transmitting it to the downstream device; a second input terminal for receiving the write data signal transmitted from the preceding device; a second output terminal that transmits the write data signal received at the second input terminal to the downstream device at the timing of the clock signal received at the first input terminal; a third input terminal for receiving the read data signal transmitted from the downstream device; 3. The data communication system according to claim 1, further comprising: a third output terminal for transmitting the read data signal received at the third input terminal to the preceding device at the timing of the clock signal received at the first input terminal.
9. 9. The data communication system according to claim 8, wherein, of the first to Nth slave devices, an Nth slave device having the maximum number of stages in the cascade connection has the first output terminal and the second output terminal in an open state, and a predetermined fixed level is supplied to the third input terminal.
10. 3. The data communication system according to claim 2, characterized in that wiring for transmitting a chip select signal instructing the write operation or the read operation is connected between adjacent devices among the master device and the first to Nth slave devices.
11. 2. The data communication system according to claim 1, wherein communication between said master device and said first to Nth slave devices is performed in the form of a serial signal based on the Serial Peripheral Interface standard.
12. 2. The data communication system according to claim 1, wherein the first to Nth slave devices each have the same configuration and are formed on an independent first to Nth semiconductor chips, respectively.
13. 2. The data communication system according to claim 1, further comprising a substrate having a first conductive layer on which the master device and the first to Nth slave devices are arranged side by side on a surface thereof and on which the three wiring systems are formed.
14. a first input terminal for receiving a write data signal; a second input terminal for receiving a read data signal; a third input terminal for receiving a clock signal; first to third output terminals; a write data transmitting / receiving circuit that outputs the write data signal received at the first input terminal from the first output terminal at the timing of the clock signal received at the third input terminal; a read data transmitting / receiving circuit that outputs the read data signal received at the second input terminal from the second output terminal at the timing of the clock signal received at the third input terminal, The slave device, wherein the clock signal received at the third input terminal is internally transmitted and output from the third output terminal.
15. the write data transmitting / receiving circuit performs a write operation in which it takes in a write data fragment corresponding to itself from a series of write data fragments consisting of at least one write data fragment included in the write data signal received at the first input terminal within a predetermined period, and outputs a write data signal including a series of write data excluding the write data fragment from the first output terminal at the timing of the clock signal received at the third input terminal; The slave device according to claim 14, characterized in that the read data transmitting / receiving circuit performs a read operation in which the read data signal received at the second input terminal during the period includes an information data piece acquired internally as a read data piece, and outputs the read data signal from the second output terminal at the timing of the clock signal received at the third input terminal.
16. 16. The slave device according to claim 15, further comprising a control circuit that controls the write data transmitting / receiving circuit and the read data transmitting / receiving circuit so as to switch to the other operation only after one of the write operation and the read operation is completed within the specified period.
17. 17. The slave device according to claim 16, wherein an identification code is added to the head of one of the write data signal and the read data signal which is transmitted first within the predetermined period.
18. an information acquisition circuit for acquiring the information data piece; a first register for holding a write data piece corresponding to said first register; a second register for holding the information data piece as the read data piece; a drive circuit that outputs a drive signal for driving a load based on the write data piece held in the first register; 16. The slave device according to claim 15, further comprising: a control circuit for controlling the first and second registers, the drive circuit, the write data transmitting / receiving circuit, and the read data transmitting / receiving circuit.
19. 16. The slave device according to claim 15, characterized in that, upon receiving a chip select signal instructing the write operation or the read operation, the write data transmitting / receiving circuit performs the write operation when the chip select signal indicates the write operation, while the read data transmitting / receiving circuit performs the read operation when the chip select signal indicates the read operation.
20. 15. The slave device according to claim 14, further comprising a buffer that amplifies the clock signal received at the third input terminal and outputs the amplified clock signal from the third output terminal.
Citation Information
Patent Citations
Illumination device, illumination unit, and display
JP2009129685A
