WO2007125670A1 - 信号伝送方法、送受信装置及び通信システム - Google Patents

信号伝送方法、送受信装置及び通信システム Download PDF

Info

Publication number
WO2007125670A1
WO2007125670A1 PCT/JP2007/053010 JP2007053010W WO2007125670A1 WO 2007125670 A1 WO2007125670 A1 WO 2007125670A1 JP 2007053010 W JP2007053010 W JP 2007053010W WO 2007125670 A1 WO2007125670 A1 WO 2007125670A1
Authority
WO
WIPO (PCT)
Prior art keywords
transmission
data
clock
unit
transmission line
Prior art date
Application number
PCT/JP2007/053010
Other languages
English (en)
French (fr)
Inventor
Hiroshi Suenaga
Osamu Shibata
Yoshiyuki Saito
Toru Iwata
Noriaki Takeda
Takaharu Yoshida
Original Assignee
Panasonic Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corporation filed Critical Panasonic Corporation
Priority to US12/295,407 priority Critical patent/US8099537B2/en
Priority to EP20070714536 priority patent/EP2015230B1/en
Priority to JP2008513094A priority patent/JP4931912B2/ja
Priority to CN2007800149724A priority patent/CN101432762B/zh
Publication of WO2007125670A1 publication Critical patent/WO2007125670A1/ja

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines
    • H04L25/14Channel dividing arrangements, i.e. in which a single bit stream is divided between several baseband channels and reassembled at the receiver

Definitions

  • the present invention relates to a signal transmission method, a transmission / reception device, and a communication system in data transmission.
  • Communication systems that transmit data between transmitting and receiving devices include one or more data between transmitting and receiving devices, as represented by USB (Universal Serial Bus) and IEEE (Institute of Electrical and Electronics Engineers; 1394).
  • a communication system having a signal transmission line hereinafter referred to as a data signal transmission line
  • a communication system having both a data signal transmission line and a control signal transmission line hereinafter referred to as a control signal transmission line.
  • data transmission may also be performed using both the control signal transmission line and the data signal transmission line.
  • Patent Document 1 An example of such a communication system is disclosed in Patent Document 1.
  • data transmission is continuously performed using a data signal transmission line or using both a data signal transmission line and a control signal transmission line.
  • Patent Document 1 data is transmitted continuously like this! For a transmission line that speaks! Using the time division multiplex transmission method
  • a technique for transmitting an interrupt request signal, which is a control signal, from a data receiving side to a transmitting side is disclosed.
  • a period in which a transmission line can be used is allocated to a plurality of transmission / reception devices, and a transmission line for data signals and a transmission line for control signals are used alternately on the transmission side and the reception side. can do.
  • the receiving side sends an interrupt request signal to the transmitting side while the transmitting side is also receiving data
  • the period between the data on the transmitting side that is, the period allocated to the receiving side Is used to send an interrupt request signal to the sending side. Therefore, the receiving side sends an interrupt request signal as needed. It is possible to transmit to the transmitter side.
  • Patent Document 1 Patent No. 2733242 Specification
  • an object of the present invention is to provide a signal transmission method, a transmission / reception apparatus, and a communication system that can suppress a decrease in data transmission efficiency due to transmission of an interrupt signal.
  • the receiving side and the transmitting side transmit and receive data by dividing the data into a plurality of data fragments via at least two transmission lines. Transmits a first data fragment of the plurality of data fragments via the first transmission line of the transmission lines, and header information and a second data fragment having the same bit length as the first data fragment, A data packet including footer information is transmitted via a second transmission line other than the first transmission line, and the first data fragment and the second data fragment are transmitted in synchronization with each other, and the first transmission is performed.
  • An interrupt signal for controlling the transmission side is transmitted from the reception side to the transmission side in a time slot which is an interval between adjacent first data fragments on a line.
  • a signal transmission method is provided.
  • header information and footer information are not added to the first data fragment.
  • the transmitting side uses the header information and footer information of the data packet on the second transmission line to synchronize the first data fragment and the second data fragment of the data packet and transmit it to the receiving side. At this time, a tag between adjacent first data fragments of the first transmission line is used.
  • the slot is formed longer than the interval between the data packets on the second transmission line by the length of the bit length of the footer information and the header information.
  • the interrupt signal since the interrupt signal is transmitted using this time slot, a separate period to be secured for transmitting the interrupt signal is not required, or the separate period may be shortened. it can. Therefore, it is possible to suppress a decrease in data transmission efficiency due to the transmission of an interrupt signal using a time slot.
  • the time slot is a period in which no data fragment is transmitted, loss of the data fragment can be prevented.
  • the present invention is applicable when, for example, the reception side and the transmission side are a host terminal and a removable memory device.
  • the host terminal reads read data from the removable memory device via the first and second transmission lines
  • the host terminal transmits an interrupt signal to the removable memory device using the time slot of the first transmission line.
  • an interrupt signal is sent to the host terminal using the time slot of the first transmission line. It is applicable also when transmitting.
  • the invention 2 provides the signal transmission method according to the invention 1, characterized in that a deviation of header information or footer information is added to the first data fragment.
  • the time slot is formed longer than the interval between data packets by the length of the bit length of the header information.
  • header information is added to the first data fragment
  • the time slot is formed longer than the interval between data packets by the length corresponding to the bit length of the footer information. Since the interrupt signal is transmitted using this time slot, a separate period to be secured for transmitting the interrupt signal is not required, or the separate period can be shortened. Therefore, it is possible to suppress a decrease in data transmission efficiency caused by transmitting an interrupt signal using a time slot.
  • Invention 3 provides the signal transmission method according to Invention 1, wherein the interrupt signal is a signal for stopping transmission of the first data fragment and the data packet.
  • the fourth aspect of the invention divides data into a plurality of data fragments, generates a first data fragment from the plurality of data fragments, and includes header information and second data having the same bit length as the first data fragment.
  • a data generation unit that generates a data packet including fragment and footer information, and the first data fragment and the second data fragment are synchronized, so that the first data fragment is the first of at least two transmission lines.
  • An interrupt signal receiving unit that receives an interrupt signal from the receiving side in a time slot that is an interval.
  • a transmission / reception device is provided.
  • the present invention has the same effects as the first invention.
  • the invention 5 further includes a response transmission unit that transmits a response to the reception side in response to reception of the interrupt signal according to the invention 4, wherein the interrupt signal includes the first data fragment and the A signal for stopping transmission of a data packet, and the data transmitting unit transmits the interrupt signal via the first and second transmission lines when the interrupt signal receiving unit receives the interrupt signal.
  • the transmission of the first data fragment and the data packet is completed, and the response transmission unit transmits a response to the receiving side after the transmission of the first data fragment and the data packet is completed.
  • the invention 6 is a transmission / reception device that receives data transmitted by being divided into a plurality of data fragments from the transmission side, and includes at least two first data fragments among the plurality of data fragments.
  • a data packet including header information, a second data fragment having the same bit length as the first data fragment, and footer information is transmitted to the second transmission line other than the first transmission line via the first transmission line.
  • a time slot acquisition unit that acquires a start position and a time slot length of a time slot, which is an interval between events, and an interrupt signal that generates an interrupt signal for controlling the transmission side based on the time slot length A generation unit, and an interrupt signal transmission unit that transmits the interrupt signal to the transmission side based on a start position of the time slot in the time slot;
  • the transmitting and receiving device is characterized in that the first data fragment and the second data fragment are transmitted synchronously.
  • the present invention has the same effects as the first invention.
  • the invention 7 provides a communication system according to the invention 6 including the transmission / reception device according to the invention 4 and the transmission / reception device according to the invention 6.
  • the present invention has the same effects as those of the first invention.
  • the reception side and the transmission side transmit and receive data divided into a plurality of data fragments via the transmission line, and the reception side transmits the first clock via the clock signal transmission line.
  • the transmitting side transmits the data fragment to the receiving side based on the first clock via the transmission line, and the receiving side transmits the data fragment from the transmitting side.
  • the signal transmission method is characterized by stopping transmission of the first clock to the transmission side.
  • the transmitting side transmits the data fragment to the receiving side based on the first clock transmitted from the receiving side.
  • the receiving side stops supplying the first clock, the transmitting side cannot transmit data fragments to the receiving side. In this way, the receiving side can control the stop of transmission of the data fragment from the transmitting side.
  • the invention 9 is the invention 8, wherein the transmission line includes at least two transmission lines, and the reception side controls the transmission side after stopping transmission of the first clock to the transmission side.
  • An interrupt signal is transmitted to the transmission side via the first transmission line among the transmission lines, and a second clock is transmitted to the transmission side via a second transmission line other than the first transmission line,
  • the transmitting side provides a signal transmission method characterized in that the interrupt signal is received based on the second clock.
  • the receiving side stops supplying the first clock to the transmitting side, transmission of data fragments of the transmitting side is stopped.
  • the receiving side Controls the transmission stop of the host and transmits the interrupt signal and the second clock to the transmitting side. That is, the receiving side can transmit the interrupt signal and the second clock at an arbitrary time, and there is no need to provide a period for transmitting the interrupt signal and the second clock between the data fragments in advance. For this reason, the interval between data fragments can be shortened, and a decrease in data transmission efficiency can be suppressed.
  • the interrupt signal and the second clock are transmitted through the transmission line on which the data fragment was transmitted. Therefore, loss of data fragments can be prevented.
  • a data packet in which footer information and header information are added to a data fragment may be transmitted via a transmission line. Also in this case, the interval between the data packets can be shortened for the above-mentioned reason, and the decrease in the data transmission efficiency can be suppressed.
  • the present invention can be applied when, for example, the reception side and the transmission side are a host terminal and a removable memory device.
  • the host terminal reads the read data from the removable memory device via the transmission line, the host terminal stops supplying the first clock to the removable memory device. After that, the host terminal
  • the invention 10 provides the signal transmission method according to the invention 9, wherein the interrupt signal is a signal for stopping transmission of the data fragment.
  • the invention 11 is the invention 8, wherein the receiving side outputs an interrupt request to control the transmitting side after stopping the transmission of the first clock to the transmitting side, and the transmitting side
  • the count value has an internal clock that is reset upon reception of the first clock, and the count value of the internal clock exceeds a predetermined value due to the stop of transmission of the first clock.
  • a signal transmission method characterized by recognizing an interrupt request.
  • the receiving side stops supplying the first clock to the transmitting side, transmission of the data fragment of the transmitting side is stopped.
  • the receiving side The transmission side recognizes the interrupt request. That is, the receiving side can cause the transmitting side to recognize an interrupt request at an arbitrary time, and there is no need to provide a period for recognizing the interrupt request between data fragments in advance. As a result, the interval between data fragments can be shortened, and a decrease in data transmission efficiency can be suppressed.
  • a data packet in which footer information and header information are added to a data fragment may be transmitted via a transmission line. Also in this case, the interval between the data packets can be shortened for the above-mentioned reason, and the decrease in the data transmission efficiency can be suppressed.
  • the frequency of the internal clock on the transmission side is set lower than the frequency of the first clock.
  • the present invention is applicable when, for example, the reception side and the transmission side are a host terminal and a removable memory device.
  • the host terminal when the host terminal is reading read data from the removable memory device via the transmission line, it can be applied to making the removable memory device recognize the interrupt request by stopping the supply of the first clock. .
  • the invention 12 provides the signal transmission method according to the invention 11, wherein the interrupt request is a request for stopping transmission of the data fragment.
  • the invention 13 includes a data generation unit that divides data into a plurality of data to generate a data fragment, and a first clock for transmitting the data fragment to a reception side via the clock signal transmission path.
  • the present invention has the same effects as those of the eighth invention.
  • the invention 14 is the invention 13, wherein the transmission line includes at least two or more transmission lines.
  • a data transmission unit transmits the data fragment to the reception side based on the first clock via the at least two transmission lines, and the second transmission line out of the transmission lines.
  • an interrupt signal for controlling the transmitting side is transmitted via the first transmission line among the transmission lines.
  • An interrupt signal receiving unit that receives from the receiving side, and after the transmission of the first clock of the receiving side is stopped, the second clock receiving unit receives the second clock, and An interrupt signal receiving unit receives the interrupt signal based on the second clock, and provides a transmission / reception device.
  • the present invention has the same effects as the ninth aspect.
  • a fifteenth aspect of the invention provides a transmission / reception device according to the fourteenth aspect, further comprising a response transmission unit that transmits a response to the reception side in response to reception of the interrupt signal.
  • the sixteenth aspect of the present invention is directed to the thirteenth aspect of the present invention, in the thirteenth aspect, based on the internal clock count unit that counts the count value of the internal clock that is reset by the reception of the first clock and the count value of the internal clock.
  • An interrupt request recognizing unit for recognizing an interrupt request wherein the interrupt request recognizing unit is based on the count value of the internal clock exceeding a predetermined value due to the stop of transmission of the first clock.
  • a transmission / reception device is provided that recognizes the interrupt request.
  • the present invention has the same effects as the eleventh aspect.
  • the invention 17 provides a transmission / reception device according to the invention 16, further comprising a response transmission unit that transmits a response to the reception side in response to recognition of the interrupt request.
  • the invention 18 is a transmission / reception device that receives data transmitted by being divided into a plurality of data fragments from a transmission side, wherein a first clock used by the transmission side for transmission of the data fragment is used for a clock signal.
  • a first clock transmission unit for transmitting to the transmission side via a transmission line; and a data reception unit for receiving the data fragment from the transmission side based on the first clock via a transmission line,
  • the 1-clock transmission unit sends to the transmission side of the first clock to stop transmission of the data fragment of the transmission side.
  • the transmission / reception apparatus is characterized by stopping the transmission of.
  • the present invention has the same effects as the invention 8.
  • the invention 19 is the invention 18, wherein the number of the transmission lines is at least two or more, and the data receiving unit uses the at least two or more transmission lines to convert the data fragment into the first clock.
  • An interrupt signal generation unit that receives from the transmission side and generates an interrupt signal for controlling the transmission side based on the transmission line, and transmits the interrupt to the transmission side via a first transmission line among the transmission lines.
  • An interrupt signal transmitter for transmitting an interrupt signal, and a second clock transmitter for transmitting a second clock to the transmitter via a second transmission line of the transmission lines, wherein the first clock transmitter is After stopping transmission of the first clock to the transmitting side, the interrupt signal transmitting unit transmits the interrupt signal to the transmitting side via the first transmission line, and the second clock transmitting unit The transmission side through the second transmission line And transmitting the second clock, to provide a transmitting and receiving device.
  • the present invention has the same effects as the ninth aspect.
  • the twentieth aspect of the invention is that in the eighteenth aspect of the invention, the interrupt request for controlling the transmission side is controlled by controlling the first clock transmission unit to stop the transmission of the first clock.
  • a transmission / reception device characterized by further including an interrupt request notification unit for notification to a side.
  • the present invention has the same effects as the eleventh aspect.
  • the invention 21 provides a communication system including the transmission / reception device according to the invention 13 and the transmission / reception device according to the invention 18.
  • the present invention has the same effects as the invention 8.
  • the reception side and the transmission side transmit and receive data divided into a plurality of data fragments via the transmission line, and the reception side is connected between the data fragments adjacent to the transmission line.
  • the signal amplitude of the transmission line is changed, and the transmission side detects a change in the signal amplitude.
  • the data transmission side can recognize the interruption request with the reception side power by monitoring the change in the signal amplitude of the transmission line.
  • the receiving side An interrupt request is notified by changing the signal amplitude between data fragments.
  • a period as long as the bit length of the interrupt signal is required between the data fragments.
  • the notification method it is not necessary to provide a period as long as the bit length of the interrupt signal between data fragments. Therefore, it is possible to suppress a decrease in data transmission efficiency due to notification of an interrupt request. Also, since data fragments are periods during which no data fragments are transmitted, loss of data fragments can be prevented.
  • examples of a method of changing the signal amplitude in the transmission line include a method of changing the terminating resistance of the transmission line from the first resistance value to the second resistance value on the receiving side. .
  • header information and Z or footer information may be added to the data fragment.
  • the present invention is applicable when, for example, the reception side and the transmission side are a host terminal and a removable memory device.
  • the present invention can be applied to the case where the host terminal notifies the interrupt request to the removable memory device using the data fragment when the read data is also read from the removable memory device via the transmission line. It can also be applied to the case where the removable memory device notifies the host terminal of an interrupt request using the data fragment when the host terminal power is receiving and storing the write data via the transmission line. It is.
  • An invention 23 provides a signal transmission method according to the invention 22, wherein the interrupt request is a request for stopping transmission of the data fragment.
  • Transmission of the data fragment of the transmission side force can be stopped while suppressing a decrease in data transmission efficiency.
  • the invention 24 includes a data generation unit that divides data into a plurality of data and generates a plurality of data fragments, a data transmission unit that transmits the data fragments to a reception side via a transmission line, and a transmission line An interrupt request recognition unit that recognizes an interrupt request from the receiving side by detecting a change in signal amplitude of the transmission line between adjacent data fragments. I will provide a.
  • the interrupt request recognition unit of the present invention recognizes an interrupt request by comparing the signal amplitude value of the transmission line with a predetermined reference amplitude value. For example, when the signal amplitude value of the transmission line is larger than a predetermined reference amplitude value, the interrupt request recognition unit does not recognize the interrupt request. On the other hand, when the signal amplitude value of the transmission line is smaller than the predetermined reference amplitude value, the interrupt request recognition unit recognizes the interrupt request.
  • the data transmission unit transmits the data fragment to the reception side using a predetermined clock.
  • the interrupt request recognition unit detects a change in signal amplitude using a clock having the same frequency as a predetermined clock.
  • the invention 25 provides a transmission / reception device according to the invention 24, further comprising a response transmission unit that transmits a response to the reception side in response to recognition of the interrupt request.
  • a data reception unit that receives a plurality of data fragments obtained by dividing data from a transmission side via a transmission line and a signal on the transmission line between the data fragments adjacent to the transmission line
  • a transmission / reception apparatus comprising: an interrupt request notification unit that notifies an interrupt request for controlling the transmission side to the transmission side by changing an amplitude.
  • the present invention has the same effects as the invention 22.
  • the interrupt request notification unit changes the signal amplitude on the transmission line by changing the termination resistance of the transmission line on the reception side from the first resistance value to the second resistance value, for example.
  • the invention 27 provides a communication system including the transmission / reception device according to the invention 24 and the transmission / reception device according to the invention 26.
  • the present invention has the same effects as the invention 22.
  • the present invention it is possible to provide a signal transmission method, a transmission / reception device, and a communication system that can suppress a decrease in data transmission efficiency due to transmission of an interrupt signal.
  • FIG. 1 is an overall configuration diagram of a communication system according to a first embodiment of the present invention.
  • FIG. 2 is a time chart showing the state of data transmission during reading.
  • FIG. 4 is a flowchart showing an example of a processing flow at the time of reading in the communication system of the present embodiment.
  • FIG. 5 is a flowchart showing an example of a process flow at the time of writing in the communication system of the present embodiment.
  • FIG. 8 is a time chart showing the state of data transmission during reading.
  • FIG. 9 is a time chart showing a state of data transmission at the time of reading in the first embodiment.
  • FIG. 10 is a functional configuration diagram of the CPU 210 of the host terminal 201 and the CPU 230 of the SD memory card 202.
  • FIG. 11 is a flowchart showing an example of a processing flow at the time of reading in the communication system of the first embodiment.
  • FIG. 12 is a time chart showing a state of data transmission at the time of reading in the second embodiment.
  • FIG. 13 is a functional configuration diagram of the CPU 210 of the host terminal 201 and the CPU 230 of the SD memory card 202.
  • FIG. 14 is a flowchart showing an example of a processing flow at the time of reading in the communication system of the second embodiment.
  • FIG. 16 is a time chart showing the state of data transmission during reading.
  • FIG. 17 is a configuration diagram of a dynamic impedance circuit 417.
  • FIG. 19 is a flowchart showing the state of the control signal transmission line 406 and the state of the interrupt detection signal when a read interrupt request is output.
  • FIG. 23 is a flowchart showing an example of a processing flow at the time of writing in the communication system of the present embodiment.
  • FIG. 25 is another explanatory diagram for explaining the output state of the control signal transmission line 406, the dynamic impedance circuit 417, the potential difference detection circuit 439, and the interrupt detection signal composed of FIG. 24.
  • FIG. 26 is an overall configuration of a communication system according to a modification of the embodiment.
  • FIG. 27 is a configuration diagram showing a configuration of a comparator.
  • FIG. 1 is an explanatory diagram showing the overall configuration of the communication system according to the first embodiment of the present invention.
  • a transmission / reception device as a host terminal 101 and a transmission / reception device as an SD (Secure Digital) memory card 102 are connected via a transmission line.
  • the transmission lines include a clock signal transmission line 105, a control signal transmission line 106, and a data signal transmission line 107.
  • the clock signal transmission line 105 is used to transmit a clock CLKH (described later) used for communication between the host terminal 101 and the SD memory card 102 from the host terminal 101 to the SD memory card 102.
  • the control signal transmission line 106 is used to transmit / receive a command related to data read / write, an interrupt command described later, and a response to the command between the host terminal 101 and the SD memory card 102.
  • the data signal transmission line 107 is used for transmitting and receiving data between the host terminal 101 and the SD memory card 102.
  • FIG. 2 is a time chart showing a state of data transmission at the time of reading.
  • the communication system of the present embodiment is a handshake type communication system.
  • various commands such as a read command (ReadCMD in FIG. 2) and a write command and responses to the command (see FIG. 2) Res) is transmitted and received between the host terminal 101 and the SD memory card 102, and then data (DATA in FIG. 2) is transmitted.
  • ReadCMD read command
  • DATA data
  • the data signal transmission line 107 for the purpose of improving the data access transmission efficiency, not only the data signal transmission line 107 but also the control signal transmission is used for data transmission as shown in FIG. Line 106 is also used.
  • Data is transmitted after being divided into a plurality of data fragments, but header information and footer information are added before and after the first data fragment to the first data fragment transmitted via the control signal transmission line 106. It has not been.
  • the second data fragment transmitted through the data signal transmission line 107 has header information and footer information added thereto. That is, a data packet including header information, second data fragment, and footer information is transmitted on the data signal transmission line 107.
  • the bit length of the first data fragment is the same as the bit length of the second data fragment, and the first data fragment and the second data fragment are transmitted synchronously.
  • the difference in transmission line length between the control signal transmission line 106 and the data signal transmission line 107 is assumed to be negligible.
  • the header information and the footer information are information different from the data fragment.
  • the header information includes information such as a synchronization bit string and a start bit for adjusting the reception timing of the data packet
  • the footer information is information such as an end bit indicating the end of the data packet. It is included.
  • the information included in the header information and footer information is not limited to these, and may include other various information.
  • the data fragment may include information for detecting a transmission error of each data fragment, such as a CRC (Cyclic Redundancy Check) bit.
  • CRC Cyclic Redundancy Check
  • data is transmitted using an interval between first data fragments (hereinafter referred to as first time slots) from the transmission side transmitted adjacent to the control signal transmission line 106.
  • the receiving side force of the fragment also transmits an interrupt signal (ITRPT (for example, a read interrupt command described later;) in Fig. 2) to the transmitting side.
  • IRPT interrupt signal
  • the first time slot depends on the interval between the first data fragment transmitted first and the first data fragment transmitted later. Defined.
  • a basic time slot which will be described later, is defined by the interval between a data packet transmitted first and a data packet transmitted later in adjacent data packets including header information and footer information.
  • the number of data signal transmission lines 107 is not limited to one, and a plurality of data signal transmission lines 107 may be provided.
  • the host terminal 101 and the memory card 102 realize various functions to be described later in cooperation with the hardware configuration illustrated in FIG. 1 and the functional configuration of the CPU 110 illustrated in FIG. 3 described later.
  • CPU 110 Controls other RAMI 11, host 112, card interface 113, IZO buffer, etc. of host terminal 101. Then, various functions to be described later such as data reading and writing in the host terminal 101 are realized based on various programs.
  • RAMll Stores various data transmitted to and received from the SD memory card 102
  • (C) Buffer 112, card interface unit 113 Writes data read from SD memory card 102 to RAMI 11, and reads data written to SD memory card 102 from RAMI 11.
  • lZO buffer Inputs and outputs data such as commands, responses, and data.
  • the I / O nofer includes data Z command Outputl l4a, data Z response Inputl l4b, data outputl l4c, data Inputl l4d, do, rhino 115a, resino 115b, do, rhino 115c, and receiver 115d. Connected as shown in!
  • (E) Driver 116 Transmits the clock CLKH to the SD memory card 102 via the clock signal transmission line 105.
  • CPU 130 Implements various functions to be described later such as data reading and writing in the SD memory card 102 based on various programs.
  • Flash memory 131a Stores various data transmitted / received to / from the host terminal 101.
  • Flash memory interface unit 13 lb, nother 132, host interface unit 133 Write data read from host terminal 101 to Flash memory 131a, Flash memory of data written to host terminal 101 Read from 131a.
  • lZO buffer Inputs and outputs data such as commands, responses, and data.
  • the I / O nofer includes data Z response Outputl34a, data Z command Inputl34b, data outputl34c, data input 134d, do, rhino 135a, resino 135b, do, rhino 135c and receiver 135d, as shown in Figure 1. Connected to!
  • (E) Receiver 136 Receives the clock CLKH from the host terminal 101.
  • FIG. 3 is a functional configuration diagram of the CPU 110 of the host terminal 101 and the CPU 130 of the SD memory card 102.
  • the clock generation unit 150 generates a basic clock CLKH for transmitting and receiving data between the host terminal 101 and the SD memory card 102.
  • the clock generation unit 150 controls various functional units of the CPU 110 with the clock CLKH, so that the clock transmission unit 151, the timing control unit 152, the command transmission unit 156, the response reception unit 158, the read data reception unit 160, and the write data transmission
  • the clock CLKH is transmitted to the unit 162 and the like.
  • the clock transmission unit 151 transmits the clock CLKH to the SD memory card 102 via the clock signal transmission line 105.
  • the meter storage unit 154 stores information on the header length, footer length, and basic time slot length defined as communication standards.
  • the header length and footer length are the length of the header and footer defined by the number of bits.
  • the basic time slot length is the length of the basic time slot, which is the interval between data packets defined by the number of bits.
  • the first time slot acquisition unit 153 calculates the first time slot length that is the interval between the first data fragments based on the header length, footer length, and basic time slot length acquired from the parameter storage unit 154. And get.
  • the first data fragment is continuously transmitted from the SD memory card 102 via the control signal transmission line 106.
  • the first time slot length is calculated by footer length + basic time slot length + header length.
  • First time slot acquisition section 153 transmits the first time slot length to command generation section 155.
  • the timing control unit 152 and the first time slot acquisition unit 153 receive a data packet from the read data receiving unit 160 described later via the data signal transmission line 107, and are included in the header information of the data packet. Get the bit length of the second data fragment. Here, the bit length of the first data fragment and the bit length of the second data fragment are the same.
  • the first time slot acquisition unit 153 sequentially counts the header length, the bit length of the second (or first) data fragment, and the first time slot length based on the clock CLKH, so that the start position of the first time slot is reached. To figure out. Then, the first time slot acquisition unit 153 transmits the start position of the first time slot to the command transmission unit 156.
  • the timing control unit 152 also includes a header length, a bit length of the second (or first) data fragment, a footer length, and a basic time.
  • the slot length is sequentially counted based on the clock CLKH, and the count value is transmitted to the read data receiving unit 160.
  • start position of the time slot may be acquired based on the count value from the timing control unit 152 that is not from the time slot acquisition unit 153.
  • the command generation unit 155 includes a read command for reading read data such as video and audio stored in the SD memory card 102, a write command for writing data to the SD memory card 102, and a read from the SD memory card 102. Generates various commands such as a read interrupt command that stops reading data.
  • the host terminal 101 continuously transmits the first data fragment via the control signal transmission line 106 and the data packet continuously via the data signal transmission line 107.
  • Read data is received from the memory card 102.
  • the read interrupt command is a command (interrupt signal) that is transmitted to the SD memory card 102 using the first time slot between adjacent first data fragments and stops the transmission of read data. is there.
  • the command generation unit 155 determines the status of the host terminal 101 such as a delay in writing the read data transmitted from the SD memory card 102 to the RAMI 11, and determines whether or not to transmit a read interrupt command. Determine whether.
  • the command generation unit 155 generates the read interrupt command so that the bit length of the read interrupt command does not exceed the first time slot length.
  • the command transmission unit 156 transmits various commands such as a read command and a write command to the SD memory card 102 via the control signal transmission line 106 based on the clock CLKH.
  • the command transmission unit 156 transmits the read interrupt command based on the start position of the first time slot so that the read interrupt command can be transmitted in the first time slot.
  • the response receiving unit 158 receives a response to the command transmitted from the host terminal 101 from the SD memory card 102.
  • the response receiving unit 158 determines whether or not it has received a write interrupt response, so-called busy signal, from the SD memory card 102,
  • the write data transmission unit 162 is notified of whether or not a data interrupt response has been received.
  • the read data receiving unit 160 receives the first data fragment and data packet from the SD memory card 102 based on the clock CLKH. Here, the read data receiving unit 160 receives the first data fragment via the control signal transmission line 106 and the data packet via the data signal transmission line 107. Further, the read data receiving unit 160 receives a count value obtained by sequentially counting the header length, the bit length of the second (or first) data fragment, the footer length, and the basic time slot length from the timing control unit 152. . Based on the count value, the read data receiving unit 160 can accurately receive the first data fragment and the second data fragment in the data packet without loss.
  • the first data fragment of the control signal transmission line 106 is transmitted based on the header information and footer information of the data packet of the data signal transmission line 107, and the first data fragment and the data packet are transmitted. It is synchronized with the second data fragment.
  • the read data generation unit 159 generates read data from the plurality of first and second data fragments and stores them in the RAM 111.
  • the transmission data generation unit 161 reads the write data to be written to the SD memory card 102 from the RAMI 11, and generates a plurality of first data fragments and data packets.
  • the first data fragment is generated without adding header information and footer information.
  • the data packet is generated to include header information, second data fragment, and footer information.
  • the bit length of the first data fragment and the second data fragment transmitted synchronously shall be the same.
  • the write data transmission unit 162 transmits the first data fragment via the control signal transmission line 106 to the SD memory card 102, and transmits the data packet via the data signal transmission line 107. Send to SD memory card 102.
  • the write data transmission unit 162 transmits the first data fragment of the control signal transmission line 106 based on the header information and footer information of the data packet of the data signal transmission line 107. Therefore, the first data fragment and the second data fragment of the data packet are synchronized.
  • the write data transmission unit 162 receives the presence / absence of reception of the write interrupt response from the response reception unit 158. If a write interrupt response has been received, the write data transmission unit 162 stops transmitting the first data fragment and data packet. On the other hand, if the write interrupt response is received, the transmission of the first data fragment and the data packet is continued in this case, and when the write interrupt response is canceled, these transmissions are resumed.
  • the response receiving unit 158 is transmitting the first data fragment and the data packet when the response receiving unit 158 is receiving the write interrupt response, the first data fragment And the transmission of the data packet is completed.
  • the transmission of the first data fragment and data packet being transmitted becomes incomplete. It can be prevented from being destroyed.
  • the clock receiving unit 170 receives the clock CLKH from the host terminal 101. Note that the clock CLKH is changed to the card clock CLKS due to a delay in transmission from the host terminal 101 to the SD memory card 102.
  • the clock reception unit 170 transmits the card clock CLKS to the timing control unit 172, the command reception unit 177, the response transmission unit 178, the read data transmission unit 179, the write data reception unit 181, and the like.
  • the meter storage unit 174 stores information on the header length, footer length, and basic time slot length defined as communication standards.
  • the first time slot acquisition unit 173 is based on the header length, footer length, and basic time slot length acquired from the parameter storage unit 174, and the first time slot length is an interval between adjacent first data fragments. Is calculated and obtained.
  • the first time slot acquisition unit 173 transmits the first time slot length to the response generation unit 175.
  • the timing control unit 172 and the first time slot acquisition unit 173 receive a data packet from a write data reception unit 181 described later, and the first time slot acquisition unit 173 includes 2 Get the bit length of the data fragment.
  • the first time slot acquisition unit 173 sequentially counts the header length, the bit length of the second (or first) data fragment, and the first time slot length based on the card clock CLKS, and acquires the start position of the first time slot. To do. Then, the first time slot acquisition unit 173 transmits the start position of the first time slot to the response transmission unit 178. Note that the bit lengths of the first data fragment and the second data fragment transmitted synchronously are the same.
  • timing control unit 172 sequentially counts the header length, the bit length of the second (or first) data fragment, the footer length, and the basic time slot length based on the card clock CLKS, and outputs the count value as write data. Transmit to receiver 181.
  • the command receiving unit 177 receives various commands including a read interrupt command from the host terminal 101 via the control signal transmission line 106 based on the card clock CLKS.
  • the response generation unit 175 generates responses to various commands from the host terminal 101. In addition, the response generation unit 175 also generates a write interrupt response that stops writing the write data.
  • the SD memory card 102 continuously receives the first data fragment from the host terminal 101 via the control signal transmission line 106 and receives the write data.
  • the write interrupt response is a response (interrupt signal) that is transmitted to the host terminal 101 using the first time slot between adjacent first data fragments and stops transmission of the write data.
  • the response generation unit 175 determines the status of the SD memory card 102, for example, writing of the write data transmitted from the host terminal 101 to the flash memory 13 la is delayed, and transmits a write interrupt response. Determine whether.
  • the response generation unit 175 transmits a write interrupt response, it generates the write interrupt response so that the bit strength of the write interrupt response does not exceed the first time slot length.
  • the response transmitter 178 transmits a response to the host terminal 101 via the control signal transmission line 106.
  • the write interrupt response is generated until the write data can be written to the Flash memory 13 la and transmitted to the host terminal 102.
  • the read data transmission unit 179 transmits the first data fragment and the data packet to the host terminal 101 when the read interrupt command is received
  • the response transmission unit 178 transmits a response to the host terminal 101 after completion of these transmissions.
  • the write data receiving unit 181 receives the first data fragment and data packet from the host terminal 101 based on the card clock CLKS. Here, the write data receiving unit 181 receives the first data fragment via the control signal transmission line 106 and the data packet via the data signal transmission line 107. The write data receiving unit 181 receives a count value obtained by sequentially counting the header length, the bit length of the second (or first) data fragment, the footer length, and the basic time slot length from the timing control unit 172. Based on this count value, the write data receiving unit 181 can accurately receive the first data fragment and the second data fragment in the data packet without loss. The first data fragment is transmitted based on the header information and footer information of the data packet, and the first data fragment and the second data fragment of the data packet are synchronized.
  • the write data generation unit 182 generates write data from the plurality of first and second data fragments, and stores them in the Flash memory 131a.
  • the transmission data generation unit 180 reads the read data to be transmitted to the host terminal 101 from the Flash memory 131a, and generates a plurality of first data fragments and data packets. To do.
  • the data packet is generated including header information, second data fragment, and footer information. The number of bits of the first data fragment and second data fragment transmitted synchronously is The same.
  • the read data transmission unit 179 Based on the card clock CLKS, the read data transmission unit 179 transmits the first data fragment via the control signal transmission line 106 and the host terminal 101, and transmits the data packet via the data signal transmission line 107. To the host terminal 101. Note that the read data transmission unit 179 transmits the first data fragment based on the header information and footer information of the data packet. Therefore, the first data fragment and the second data fragment of the data packet are synchronized.
  • the read data transmission unit 179 completes the transmission of the first data fragment and the data packet. .
  • the transmission of the first data fragment and data packet being transmitted is incomplete and destroyed. Can be prevented.
  • the clock CLKH is transmitted from the host terminal 101 to the SD memory card 102.
  • FIG. 4 is a flowchart showing an example of the flow of processing at the time of reading in the communication system of the present embodiment.
  • Step Sl, S2 The command generation unit 155 of the host terminal 101 generates a read command for reading the read data from the SD memory card 102.
  • the command transmission unit 156 of the host terminal 101 transmits the read command to the SD memory card 102 via the control signal transmission line 106 (step Sl).
  • the command receiving unit 177 of the SD memory card 102 receives the read command (step S2).
  • Steps S3 and S4 The response transmission unit 178 of the SD memory card 102 transmits a response to the read command to the host terminal 101 via the control signal transmission line 106 (step S3).
  • the response receiving unit 158 of the host terminal 101 receives the response (step S4).
  • Steps S5 and S6 The transmission data generation unit 180 of the SD memory card 102 reads the read data from the Flash memory 131a and generates the first data fragment and the data packet in response to receiving the read command.
  • the read data transmission unit 179 of the SD memory card 102 transmits the first data fragment to the host terminal 101 via the control signal transmission line 106, and transmits the data packet to the host terminal 101 via the data signal transmission line 107. Yes (Step S5).
  • the read data receiving unit 160 of the host terminal 101 receives the first data fragment and the data packet from the SD memory card 102 (step S6). At this time, the timing control unit 152 of the host terminal 101 sequentially counts the header length, the bit length of the second (or first) data fragment, the footer length, and the basic time slot length, and receives the count value as the read data reception. Sending to part 160.
  • the read data generation unit 159 generates read data from the first and second data fragments and stores them in the RAMI 11.
  • Steps S7 and S8 The command generation unit 155 of the host terminal 101 determines whether or not to transmit a read interrupt command, and generates a read interrupt command when transmitting (Yes) ( Step S7). At this time, the first time slot acquisition unit 153 of the host terminal 101 calculates the first time slot length based on the header length, footer length, and basic time slot length. The command generation unit 155 of the host terminal 101 generates a read interrupt command so as not to exceed the first time slot length (step S8). When the read interrupt command is not transmitted (No), the read data receiving unit 160 of the host terminal 101 receives the first data fragment and the data packet.
  • Step S9 The first time slot acquisition unit 153 of the host terminal 101 sequentially counts the header length, the bit length of the second (or first) data fragment, and the first time slot length based on the clock CLKH, Get the start position of the first time slot.
  • Steps S10 and S11 The command transmission unit 156 of the host terminal 101 sends a read interrupt command to the SD memory card 102 via the control signal transmission line 106 based on the start position of the first time slot. Transmit (step S10).
  • the command receiving unit 177 of the SD memory card 102 receives a read interrupt command from the host terminal 101 (step SI 1).
  • Steps S12, S13 The response transmission unit 178 of the SD memory card 102 transmits the control signal transmission.
  • a response to the read interrupt command is transmitted to the host terminal 101 via the transmission line 106 (step S12).
  • the response transmission unit 178 transmits a response after completing the transmission.
  • the response receiver 158 of the host terminal 101 receives the response from the SD memory card 102 (step S13).
  • Step S14 The read data transmission unit 179 of the SD memory card 102 stops the transmission of the first data fragment and the data packet.
  • the SD memory card 102 transmits the control signal transmission line 106 and the data signal transmission line 10.
  • FIG. 5 is a flowchart showing an example of a processing flow at the time of writing in the communication system of the present embodiment.
  • Step S21 The command generation unit 155 and the command transmission unit 156 of the host terminal 101 generate and transmit a write command for writing write data to the SD memory card 102 (step S21).
  • the command receiving unit 177 of the SD memory card 102 receives the write command (step S22).
  • Step S23 The response transmission unit 178 of the SD memory card 102 and the response reception unit 158 of the host terminal 101 transmit / receive a response to the write command.
  • Steps S25 and S26 The transmission data generation unit 161 and the write data transmission unit 162 of the host terminal 101 read the write data from the RAMI 11 and generate the first data fragment and the data packet in response to the reception of the write command. And sent to the SD memory card 102 (step S25).
  • the write data receiving unit 181 of the SD memory card 102 receives the first data fragment and the data packet from the host terminal 101 (step S26).
  • the timing control unit 172 of the SD memory card 102 sequentially counts the header length, the bit length of the second (or first) data fragment, the footer length, and the basic time slot length, and writes the count value to the write data.
  • the write data generation unit 182 generates write data from the first data fragment and the data packet, and stores it in the Flash memory 13la.
  • Steps S27 and S28 The response generation unit 175 of the SD memory card 102 determines whether to transmit a write interrupt response, and generates a write interrupt response when transmitting (Yes). (Step S27). At this time, the first time slot acquisition unit 173 of the SD memory card 102 calculates the first time slot length based on the header length, footer length, and basic time slot length. The response generation unit 175 of the SD memory card 102 generates a write interrupt response so as not to exceed the first time slot length (step S28). When the write interrupt response is not transmitted (No), the write data receiving unit 181 of the SD memory card 102 further receives the first data fragment and the data packet.
  • Step S29 The first time slot acquisition unit 173 of the SD memory card 102 sequentially sets the header length, the bit length of the second (or first) data fragment, and the first time slot length based on the card clock CL KS. Count to get the starting position of the first time slot.
  • Step S30 The response transmission unit 178 of the SD memory card 102 transmits a write interrupt response to the host terminal 101 via the control signal transmission line 106 based on the start position of the first time slot ( Step S30).
  • Steps S31 and S32 The response receiving unit 158 of the host terminal 101 determines whether or not it has received the write interrupt response, so-called busy signal, from the SD memory card 102 (step S31). If the write interrupt response has not been received (No), the write data transmission unit 162 generates and transmits the first data fragment and the data packet in step S25.
  • the write data transmission unit 162 of the host terminal 101 uses the control signal transmission line 106 and the data signal transmission line 107 for the first time. Stop transmission of data fragments and data packets (step S32). Then, when reception of the write interrupt response is canceled, the write data transmission unit 162 resumes generating and transmitting the first data fragment and the data packet in step S25.
  • the first data fragment of the control signal transmission line 106 is header information. Information and footer information are not added.
  • the transmission side uses the header information and footer information of the data packet on the data signal transmission line 107 to synchronize the first data fragment and the second data fragment of the data packet and transmit the data packet to the reception side.
  • the first time slot between adjacent first data fragments of the control signal transmission line 106 is longer than the interval between the data packets of the data signal transmission line 107, and the bit length of the footer information and the header information. It is formed longer by the length of minutes.
  • an interrupt signal such as a read interrupt command or a write interrupt response is transmitted using the first time slot.
  • a separate period to be secured for transmitting a read interrupt command, a write interrupt response, or the like is not necessary, or the separate period can be shortened. Therefore, it is possible to suppress a decrease in data transmission efficiency caused by transmitting an interrupt signal using the first time slot. Also, since the first time slot is a period during which no data fragment is transmitted, loss of the data fragment can be prevented.
  • header information is added before the first data fragment
  • footer information may be added to the first data fragment.
  • the first time slot is determined by the interval between the first data fragment transmitted first and the header information of the first data fragment transmitted later. Defined.
  • the first time slot is defined by the interval between the footer information of the first data fragment transmitted first and the first data fragment transmitted later. Is done.
  • the above first time slot length calculated by footer length + basic time slot length + header length is preferably a multiple of 8! /. [0147] (6- 3)
  • the first time slot length is preferably a bit length including the switching times tl and t2. That is, the first time slot length, which is the interval between the first data fragments, is calculated by the data packet footer length + the number of bits of the switching time tl + the number of bits of the command + the switching time t2 + the header length of the data packet. Further, the first time slot length expressed as described above is also preferably a multiple of 8.
  • the data packet is formed so as to include header information, data packet, and footer information in order, but the order of these is not limited to the above.
  • this embodiment demonstrated the communication system which has a control signal transmission line and a data signal transmission line.
  • this embodiment can also be applied to a communication system that does not have a control signal transmission line and has only a data signal transmission line.
  • the first data fragment to which header information and footer information are not added is transmitted on any of the data signal transmission lines.
  • a read interrupt command, a write interrupt response, and the like are transmitted using the first data fragment transmitted adjacent to the data signal transmission line.
  • the header length, footer length, and basic time slot length are defined as communication standards. It was said that however, for example, the header length, the footer length, and the basic time slot length are different for each SD memory card, and these pieces of information may be mutually acquired when communication between the host terminal 101 and the SD memory card 102 is started.
  • the control signal transmission line 106 and the data signal transmission line 107 may be a pair of two differential transmission lines.
  • bit length of each data fragment may be fixed according to the communication standard.
  • the bit length of the data fragment need not be obtained from the header length of the second data packet as long as the bit length of the data fragment is stored in the parameter storage unit.
  • the interrupt signal is preferably sent using one first time slot.
  • the interrupt signal may be divided into a plurality of times and transmitted using a plurality of first time slots!
  • the SD memory card which is a removable memory device
  • Power Host terminal power Any portable memory device that transmits read data to a host terminal using a supplied clock can be used.
  • the applicable range is not limited to SD memory cards.
  • Other examples include CompactFlash (registered trademark), smart media, multimedia cards, and memory sticks.
  • the memory that can be mounted on the removable memory device is not limited to flash memory, but includes non-volatile memory such as MRAM and Fe RAM.
  • a computer program that causes a computer to execute the above-described method and a computer-readable recording medium that records the program are included in the scope of the present invention.
  • the computer-readable recording medium include a flexible disk, a hard disk, a CD-ROM MO DVD DVD-ROM DVD-RAM BD (Blue-ray Disc), and a semiconductor memory.
  • the computer program is not limited to the one recorded on the recording medium, and may be transmitted via an electric communication line, a wireless or wired communication line, a network represented by the Internet, or the like. Yo ...
  • FIGS. 6 and 7 are overall configuration diagrams of the communication system according to the first and second examples of the second embodiment of the present invention.
  • a transmission / reception device as a host terminal 201 and a transmission / reception device as an SD (Secure Digital) memory card 202 are connected via a force transmission line.
  • the transmission lines include a clock signal transmission line 205, a control signal transmission line 206, and a data signal transmission line 207.
  • the clock signal transmission line 205 is used to transmit a first clock CLK HI, which will be described later, used for communication between the host terminal 201 and the SD memory card 202 from the host terminal 201 to the SD memory card 202.
  • the control signal transmission line 206 is used for transmitting and receiving commands related to data reading and writing and responses to commands between the host terminal 201 and the SD memory card 202.
  • the data signal transmission line 207 is used for transmitting and receiving data between the host terminal 201 and the SD memory mode 202.
  • FIG. 8 is a time chart showing a state of data transmission at the time of reading.
  • the communication system of the present embodiment is a handshake type communication system.
  • various commands such as a read command (ReadCMD in FIG. 8) and a write command, an interrupt command, and a response to the command are sent.
  • Res in FIG. 8 is transmitted and received between the host terminal 201 and the SD memory card 202, data (DATA in FIG. 8) is transmitted.
  • the control signal transmission line 206 for the purpose of improving the data access transmission efficiency, not only the data signal transmission line 207 but also the control signal transmission is used for data transmission as shown in FIG. Line 206 is also used.
  • the data is divided into a plurality of data fragments and transmitted, and header information and footer information are added to the data fragments transmitted through the control signal transmission line 206 and the data signal transmission line 207.
  • the control signal transmission line 206 and the data signal transmission line 207 transmit data packets including header information, data fragments, and footer information. All data packets have the same bit length.
  • the header information and the footer information are information different from the data fragment.
  • the header information includes information such as a synchronization bit string and a start bit for adjusting the reception timing of the data packet, and the footer information is information such as an end bit indicating the end of the data packet. It is included.
  • the information included in the header information and footer information is not limited to these, and may include other various information.
  • the data fragment may include information for detecting a transmission error of each data fragment, such as a CRC (Cyclic Redundancy Check) bit.
  • CRC Cyclic Redundancy Check
  • the receiving side transmits the first clock CLKH1 to the transmitting side via the clock signal transmission line.
  • the transmission side transmits a data packet to the reception side based on the first clock CLKH1.
  • the reception side stops transmission of the first clock CLKH1 to the transmission side in order to stop transmission of the data packet from the transmission side. Therefore, the transmitting side cannot send data packets to the receiving side. In this way, the receiving side can control the stop of transmission of the data packet from the transmitting side.
  • the number of data signal transmission lines 207 is not limited to one, and a plurality of data signal transmission lines 207 may be provided.
  • FIG. 9 is a time chart showing the state of data transmission at the time of reading in the first embodiment.
  • the host terminal 201 stops transmission of the first clock CLKH1 (see period A (stop time slot) in FIG. 9).
  • an interrupt signal (in FIG. 9, ITRPT (for example, a read interrupt command described later;) in FIG. 9) is transmitted from the host terminal 201 to the SD memory card 202 via the control signal transmission line 206.
  • a second clock CLKH2 different from the first clock CLKH1 is transmitted to the SD memory card 202 via the data signal transmission line 207.
  • the SD memory card 202 receives the interrupt command based on the second clock CLKH2.
  • the host terminal 201 and the SD memory card 202 realize various functions to be described later in cooperation with the node configuration shown in FIG. 6 and the functional configuration of the CPU 210 shown in FIG.
  • CPU 210 Controls other RAM 211, host 212, card interface unit 213, IZO buffer, etc. of host terminal 201. Then, various functions to be described later such as data reading and writing in the host terminal 201 are realized based on various programs.
  • RAM211 Stores various data transmitted to and received from SD memory card 202
  • (C) Buffer 212, card interface unit 213 Data read from the SD memory card 202 is written to the RAM 211, and data written to the SD memory card 202 is read from the RAM 211.
  • lZO buffer Inputs and outputs data such as commands, responses, and data.
  • the I / O nofer includes data Z command output 214a, data Z response input 214b, data output 214c, data input 214d, do, rhino 215a, resino 215b, do, rhino 215c, and receiver 215d, as shown in Figure 6. It is connected. Note that the driver 215c transmits the second clock CLKH2 to the SD memory card 202 via the data signal transmission line 207.
  • (E) Driver 216 The clock CLKH1 is transmitted to the SD memory card 202 via the clock signal transmission line 405.
  • (a) CPU 230 Realizes various functions described later such as data reading and writing in the SD memory card 202 based on various programs.
  • Flash memory 23 la Stores various data transmitted / received to / from the host terminal 201 The
  • Flash memory interface unit 23 lb, nother 232, host interface unit 233 Write data read from host terminal 201 to Flash memory 231a, Flash memory of data written to host terminal 201 Read from 231a.
  • (d) lZO buffer Inputs and outputs data such as commands, responses, and data.
  • the I / O notifier includes Data Z Response Output234a, Data Z Command Input234b, Data Output Output234c, Data Input234d, Do, Rhino 235a, Resino 235b, Do, Rhino 235c, and Receiver 235d, which are connected as shown in Figure 16. Has been.
  • the receiver 235d receives the second clock CLKH2 from the host terminal 201 via the data signal transmission line 207.
  • (E) Receiver 236 The first clock CLKH1 is received from the host terminal 201.
  • Interrupt memory circuit 237 The interrupt memory circuit 237 of the SD memory card 402 is input from the output line 235bl of the receiver 235b that receives the input from the control signal transmission line 206 and the data signal transmission line 207.
  • the receiver is connected to the output line 235dl of the receiver 235d.
  • the interrupt memory circuit 237 receives an interrupt memory circuit enable signal from the CPU 230 and outputs an interrupt detection signal to the CPU 230.
  • the interval between the data packet transmitted first and the data packet transmitted later is defined as a basic time slot. Say it (see Figure 9).
  • the period when the supply of the first clock CLKH1 is stopped is called a stop time slot (see Fig. 9).
  • the stop time slot since the first clock CLKH1 is not supplied, the transmission of data packets from the SD memory card 202 to the host terminal 201 is stopped.
  • the interrupt memory circuit Enable signal is activated only in the basic time slot and the stop time slot. Therefore, the interrupt memory circuit 237 can operate only in the basic time slot and the stop time slot in response to the input of the interrupt memory circuit Enable signal.
  • the interrupt storage circuit 237 passes from the host terminal 201 via the data signal transmission line 207.
  • the second clock CLKH2 is received and the interrupt command (ITRPT in FIG. 9) is received via the control signal transmission line 206.
  • the interrupt memory circuit 237 latches the interrupt command using the second clock CLKH 2 as a trigger, and outputs an interrupt detection signal to the CPU 230.
  • the second clock CL KH2 is changed to the second card clock CLKS2 due to a delay in transmission from the host terminal 101 to the SD memory card 102. Therefore, actually, the interrupt storage circuit 237 receives the interrupt command based on the second card clock CLKS2.
  • FIG. 10 is a functional configuration diagram of the CPU 210 of the host terminal 201 and the CPU 230 of the SD memory card 202.
  • the first clock generation unit 250a generates a basic first clock CLKH1 for transmitting and receiving data between the host terminal 201 and the SD memory card 202.
  • the first clock generation unit 250a controls various functional units of the CPU 210 with the first clock CLKH1, and therefore the first clock transmission unit 251a, the timing control unit 252, the command transmission unit 256, the response reception unit 258, and the lead data reception unit 260.
  • the first clock CLKH1 is transmitted to the write data transmission unit 262 and the like.
  • the first clock transmission unit 251a transmits the first clock CLKH1 to the SD memory card 202 via the clock signal transmission line 205.
  • the first clock transmission unit 251a stops transmission of the first clock CL KH1 to the SD memory card 202 under the control of the command generation unit 255.
  • the second clock generation unit 250b generates a second clock CLKH2 that is different from the first clock CLKH1.
  • the second clock transmission unit 251 b transmits the second clock transmission unit 25 lb to the SD memory card 202 via the data signal transmission line 207 based on the control of the command generation unit 255.
  • the meter storage unit 254 stores information on the header length, footer length, and basic time slot length defined as communication standards.
  • the header length and footer length are the number of bits.
  • the basic time slot length is the length of the basic time slot, which is the interval between data packets defined by the number of bits.
  • the timing control unit 252 receives a data packet from a read data receiving unit 260 described later, and acquires the bit length of the data fragment included in the header information of the data packet.
  • the timing control unit 252 sequentially counts the header length, the bit length of the data fragment, the footer length, and the basic time slot length based on the first clock CLKH1, and transmits the count value to the read data receiving unit 260.
  • the command generation unit 255 reads a read command for reading video and audio read data stored in the SD memory card 202, a write command for writing data to the SD memory card 202, and a read from the SD memory card 202. Generates various commands such as a read interrupt command that stops reading data.
  • the command transmission unit 256 transmits various commands such as a read command and a write command to the SD memory card 202 via the control signal transmission line 206 based on the first clock CLKH1.
  • the host terminal 201 continuously receives data fragments from the SD memory card 202 via the control signal transmission line 206 and the data signal transmission line 207, and receives the read data. ing.
  • the read interrupt command is a command (interrupt signal) that is transmitted to the SD memory card 202 and stops transmission of read data.
  • the command generation unit 255 determines the status of the host terminal 201, for example, the writing of the read data transmitted from the SD memory card 202 to the RAM 211 is delayed, and determines whether or not to transmit the read interrupt command. to decide.
  • the command generation unit 255 determines that the transmission of the read interrupt command is necessary, the command generation unit 255 controls the first clock transmission unit 251a to stop the transmission of the first clock CLKH1 to the SD memory card 202, and the second clock transmission unit 251a The second clock transmission unit 251b is controlled to start transmission of the clock CLKH2 to the SD memory card 202.
  • the command transmission unit 256 transmits a read interrupt command to the SD memory card 202 via the control signal transmission line 206.
  • the response receiving unit 258 sends a response to the command transmitted by the host terminal 201. Receive from SD memory card 202.
  • the read data receiving unit 260 receives a data packet from the SD memory card 202 via the control signal transmission line 206 and the data signal transmission line 207 based on the first clock CLKH1.
  • the read data receiving unit 260 receives a count value obtained by sequentially counting the header length, the bit length of the data fragment, the footer length, and the basic time slot length from the timing control unit 252. Based on this count value, the read data receiving unit 260 can accurately receive the data fragment in the data packet without loss.
  • the read data generation unit 259 generates read data from the data fragment in the data packet and stores it in the RAM 211.
  • the transmission data generation unit 261 reads write data to be written to the SD memory card 202 from the RAM 211, and generates a plurality of data packets including header information, data fragments, and footer information.
  • the write data transmission unit 262 transmits the data packet to the SD memory card 202 via the control signal transmission line 206 and the data signal transmission line 207 based on the first clock CLKH1.
  • the first clock receiving unit 270a receives the first clock CLKH1 from the host terminal 201 via the clock signal transmission line 205.
  • the second clock receiving unit 270b receives the second clock CLKH2 from the host terminal 201 via the data signal transmission line 207.
  • the first clock CLKH1 is changed to the first card clock CLKS1 and the second clock CLKH2 is changed to the second card clock CLKS2 due to a delay in transmission from the host terminal 201 to the SD memory card 202.
  • the first clock receiving unit 270a transmits the first power clock CLKS1 to the timing control unit 270, the command receiving unit 277, the response transmitting unit 278, the read data transmitting unit 279, the write data receiving unit 281 and the like.
  • the second clock receiving unit 270b transmits the second card clock CLKS2 to the command receiving unit 277. [0193] (b) Timing control unit, parameter storage unit
  • the meter storage unit 274 stores information on a header length, a footer length, and a basic time slot length defined as communication standards.
  • the timing control unit 272 receives a data packet from a write data receiving unit 281 to be described later, and acquires the bit length of the data fragment included in the header information of the data packet.
  • the timing control unit 272 sequentially counts the header length, the bit length of the data fragment, the footer length, and the basic time slot length based on the first card clock CLKS1, and transmits the count value to the write data receiving unit 281.
  • the command receiving unit 277 receives various commands from the host terminal 201 based on the first card clock CLKS1 via the control signal transmission line 206.
  • the command receiving unit 277 receives a read interrupt command based on the second card clock CLKS2.
  • the response generation unit 275 generates responses to various commands from the host terminal 201.
  • the response transmission unit 278 transmits a response to the host terminal 201 via the control signal transmission line 206.
  • the write data receiving unit 281 receives a data packet from the host terminal 201 via the control signal transmission line 206 and the data signal transmission line 207 based on the first card clock CLKS1.
  • the write data receiving unit 281 receives from the timing control unit 272 a count value obtained by sequentially counting the header length, the bit length of the data fragment, the footer length, and the basic time slot length. Based on this count value, the write data receiving unit 281 can accurately receive the data fragment in the data packet without loss.
  • the write data generation unit 282 generates write data from a plurality of data fragments, and stores it in the flash memory 23la. [0200] (f) Transmission data generation unit, read data transmission unit
  • the transmission data generation unit 280 reads the read data to be transmitted to the host terminal 201 from the Flash memory 23la and generates a plurality of data packets. Data packets are generated including header information, data fragments, and footer information.
  • the read data transmission unit 279 transmits the data packet to the host terminal 201 via the control signal transmission line 206 and the data signal transmission line 207 based on the first card clock CLKS1.
  • the first clock CLKH 1 is transmitted from the host terminal 201 to the SD memory card 102.
  • FIG. 11 is a flowchart showing an example of a processing flow at the time of reading in the communication system of the first embodiment.
  • Step Sl, S2 The command generation unit 255 of the host terminal 201 generates a read command for reading the read data from the SD memory card 202.
  • the command transmission unit 256 of the host terminal 201 transmits the read command to the SD memory card 202 via the control signal transmission line 206 (step Sl).
  • the command receiving unit 277 of the SD memory card 202 receives the read command (step S2).
  • Steps S3 and S4 The response transmission unit 278 of the SD memory card 202 transmits a response to the read command to the host terminal 201 via the control signal transmission line 206 (step S3).
  • the response receiving unit 258 of the host terminal 201 receives the response (step S4).
  • Steps S5 and S6 The transmission data generation unit 280 of the SD memory card 202 reads the read data from the Flash memory 231a and generates a data packet in response to receiving the read command.
  • the read data transmission unit 279 of the SD memory card 202 transmits the data packet to the host terminal 201 via the control signal transmission line 206 and the data signal transmission line 207 (step S5).
  • the read data receiving unit 260 of the host terminal 201 starts from the SD memory card 202.
  • a data packet is received (step S6).
  • the timing control unit 252 of the host terminal 201 sequentially counts the header length, the bit length of the data fragment, the footer length, and the basic time slot length, and transmits the count value to the read data receiving unit 260.
  • the read data generation unit 259 generates read data from the data fragment and stores it in the RAM 211.
  • Steps S7 and S8 The command generation unit 255 of the host terminal 201 determines whether or not to transmit a read interrupt command, and generates a read interrupt command when transmitting (Yes). When the read interrupt command is not transmitted (No), the read data receiving unit 260 of the host terminal 201 further receives a data packet.
  • Steps S9 to S11 The command generation unit 255 of the host terminal 201 stops transmitting the first clock CLKH1 to the SD memory card 202 (step S9), and sends the second clock CLKH2 and the read interrupt command.
  • the data is transmitted to the SD memory card 202 (Step S10, Sl l).
  • Steps S12, S13 The command receiving unit 277 of the SD memory card 202 receives the read interrupt command based on the second card clock CLKS2.
  • Steps S14 and S15 The response transmission unit 278 of the SD memory card 202 transmits a response to the read interrupt command to the host terminal 201 via the control signal transmission line 206 (step S14).
  • the response receiving unit 258 of the host terminal 201 receives a response from the SD memory card 202 (step S15).
  • Step S16 The read data transmission unit 279 of the SD memory card 202 stops the transmission of the data packet (step S16).
  • the SD memory card 202 transmits a data packet via the control signal transmission line 206 and the data signal transmission line 207. Resume.
  • the host terminal 201 stops supplying the first clock CLKH1 to the SD memory card 202
  • the transmission of the data packet from the SD memory card 202 is stopped.
  • the host terminal 201 stops transmitting the data packet, and transmits the read interrupt command and the second clock CLKH2 to the SD memory card 202. That is, host terminal 2 01 can transmit the read interrupt command and the second clock CLKH2 at any time, and it is necessary to provide a period for transmitting the read interrupt command and the second clock CLKH2 between the data packets in advance. There is no.
  • the interval between data packets can be shortened, and a decrease in data transmission efficiency can be suppressed.
  • the read interrupt command and the second clock are transmitted through the transmission line on which the data packet was transmitted. Therefore, loss of data fragments in the data packet can be prevented.
  • FIG. 12 is a time chart showing a state of data transmission at the time of reading in the second embodiment.
  • the host terminal 201 stops transmission of the first clock CLKH1 (see period A (stop time slot) in FIG. 12).
  • the host terminal 201 notifies the SD memory mode 202 of an interrupt request (for example, a read interrupt request described later).
  • transmission of the data packet from the SD memory card 202 is stopped by stopping transmission of the first clock CLKH1.
  • the host terminal 201 and the SD memory card 202 realize various functions to be described later in cooperation with the node configuration shown in FIG. 7 and the functional configuration of the CPU 210 shown in FIG.
  • the hardware configuration of the host terminal 201 of the second embodiment is the same as that of the host terminal 201 of the first embodiment except that the CPU 210 transmits only the first clock CLK HI to the SD memory card 202. Omitted.
  • the interrupt detection counter 337 receives an internal clock from the CPU 230 and also receives a card clock CLKS and outputs an interrupt detection signal.
  • the internal clock is a clock of the SD memory card 202, and is a clock different from the clock based on the first clock CLKH1, the card clock CLKS, and the first clock CLKH1, and is generated by dividing it from the first clock CLKH1, etc. Not a clock to be played. Therefore, even if the supply of the first clock CLKH1 is stopped, the internal clock is not stopped.
  • the internal clock is a clock having a lower frequency than the first clock CLKH1.
  • the interrupt detection counter 337 counts the internal clock, and the count value is reset by supplying the first clock LKH1. That is, the card clock CLKS based on the first clock CLKH1 is input to the interrupt detection counter 337, and the count value of the internal clock is reset by the card clock CLKS. However, when the supply of the first clock CLKH1 is stopped, the count value of the internal clock is counted up without being reset.
  • a period in which the supply of the first clock CLKH1 is stopped is referred to as a stop time slot (period A in FIG. 12).
  • the stop time slot since the first clock CLKH1 is not supplied, the transmission of the data packet from the SD memory card 202 to the host terminal 201 is stopped.
  • the length of the stop time slot is determined in advance by the communication standard, and is notified from the host terminal 201 to the SD memory card 202 at the start of communication, for example.
  • the interval between the data packet transmitted first and the data packet transmitted later is the basic time. It shall be called a slot.
  • the host terminal 201 supplies the first clock CLKH 1 to the SD memory card 202 during the period excluding the stop time slot. Therefore, the count value of the internal clock by the interrupt detection counter 337 is reset to “0” by supplying the first clock CLKH1. On the other hand, in the stop time slot, the host terminal 201 stops supplying the first clock CLKH1. Therefore, the count value of the internal clock is counted up and becomes larger than “0”. This power value is transmitted to the CPU 230 as an interrupt detection signal, and the CPU 230 recognizes that the host terminal 201 has output an interrupt request based on the count value exceeding a predetermined value.
  • FIG. 13 is a functional configuration diagram of the CPU 210 of the host terminal 201 and the CPU 230 of the SD memory card 202.
  • the second clock generator 250b, the second clock transmitter 251b, and the second clock receiver 270b are not provided as in the first embodiment.
  • the same reference numerals as in the first embodiment are the same functional configurations, and are the same as those in the first embodiment except for the functional configurations described below.
  • the first clock generation unit 350 and the first clock transmission unit 351 of the second embodiment are the same as the configurations of the first clock generation unit 250a and the first clock transmission unit 251a of the first embodiment, and a description thereof will be omitted.
  • the first clock transmission unit 351 stops transmission of the first clock CLKH1 to the SD memory card 202 under the control of the interrupt request notification unit 356.
  • the command generation unit 355 of the second embodiment has almost the same configuration as the command generation unit 255 of the first embodiment, it will be briefly described below.
  • the command generation unit 355 generates various commands such as a read command and a write command. Note that the command generator 355 does not generate an interrupt command such as a read interrupt command.
  • the interrupt request notification unit 356 determines whether an interrupt is necessary for data transmission from the SD memory card 202 according to the status of the host terminal 201, and determines whether or not to stop transmission of the first clock CLKH1. To decide.
  • the host terminal 201 continuously receives data packets from the SD memory card 202 and receives read data.
  • the interrupt request notification unit 356 determines the status of the host terminal 201, for example, the writing of the read data transmitted from the SD memory card 202 to the RAM 211 is delayed, and the like from the SD memory card 202. It is determined whether or not it is necessary to stop transmission of read data, that is, whether or not the host terminal 201 needs to make a read interrupt request.
  • the interrupt request notifying unit 356 determines that it is necessary to stop the transmission of the read data, the interrupt request notifying unit 356 transmits to the SD memory card 202 of the first clock CLKH1 for the length of the stop time slot (period A in FIG. 9) 1st clock transmission to stop transmission Controls the transmission unit 351. Further, when the period A of the stop time slot has elapsed, the interrupt request notification unit 356 controls the first clock transmission unit 351 to resume transmission of the first clock CLKH1.
  • the first clock receiving unit 370 of the second embodiment is the same as the configuration of the first clock receiving unit 270a of the first embodiment, and a description thereof will be omitted.
  • the internal clock count unit 384 generates an internal clock and transmits it to the interrupt detection counter 337.
  • the internal clock is different from the first clock CLKH1, the card, the clock CLKS, and the first clock CLKH1 and is generated by dividing the clock from the first clock CLKH1, etc. not. Further, the internal clock count unit 384 receives the length of the stop time slot (period A in FIG. 9) from the host terminal 201 at the start of communication, and is based on the period A of this stop time slot and the internal clock.
  • the predetermined value is determined.
  • the predetermined value is a determination reference value for determining whether or not the supply of the first clock CLKH1 from the host terminal 201 to the SD memory card 202 is stopped.
  • the internal clock count unit 384 receives the interrupt detection signal from the interrupt detection counter 337, and detects whether the host terminal 201 has stopped transmitting the first clock CLKH.
  • the interrupt detection signal includes the count value of the internal clock. This count value is reset when the interrupt detection counter 337 receives the input of the first clock CLKH. Therefore, the internal clock count unit 384 determines whether or not the count value exceeds the above-described predetermined value, and determines that the supply of the first clock CLKH1 is stopped if it exceeds.
  • the interrupt request recognition unit 385 receives the determination result of the internal clock count unit 384. Here, when the determination result that the supply of the first clock CLKH1 is stopped is received, the interrupt request recognition unit 385 recognizes that the host terminal 201 is outputting a read interrupt request. The interrupt request recognition unit 385 transmits the recognition result to the read data transmission unit 379 and the response transmission unit 278.
  • the read data transmission unit 379 transmits the data packet via the control signal transmission line 206 and the data signal transmission line 207 based on the card clock CLKS. In addition, when the read data transmission unit 379 receives a recognition result from the interrupt request recognition unit 385 that the host terminal 201 is outputting a read interrupt request, the read data transmission unit 379 stops transmission of read data to the host terminal 201.
  • the first clock CLKH1 is transmitted from the host terminal 201 to the SD memory card 202.
  • FIG. 14 is a flowchart showing an example of a processing flow at the time of reading in the communication system of the second embodiment.
  • Step Sl, S2 The command generation unit 355 of the host terminal 201 generates a read command for reading the read data from the SD memory card 202.
  • the command transmission unit 256 of the host terminal 201 transmits the read command to the SD memory card 202 via the control signal transmission line 206 (step Sl).
  • the command receiving unit 277 of the SD memory card 202 receives the read command (step S2).
  • Steps S3 and S4 The response transmission unit 278 of the SD memory card 202 transmits a response to the read command to the host terminal 201 via the control signal transmission line 206 (step S3).
  • the response receiving unit 258 of the host terminal 201 receives the response (step S4).
  • Steps S5 and S6 The transmission data generation unit 280 of the SD memory card 202 reads the read data from the Flash memory 231a and generates a data packet in response to reception of the read command.
  • the read data transmission unit 379 of the SD memory card 202 transmits the data packet to the host terminal 201 via the control signal transmission line 206 and the data signal transmission line 207 (step S5).
  • the read data receiving unit 260 of the host terminal 201 receives a data packet from the SD memory card 202 (step S6).
  • the timing control unit 252 of the host terminal 201 sequentially counts the header length, the bit length of the data fragment, the footer length, and the basic time slot length, and transmits the count value to the read data receiving unit 260.
  • the read data generation unit 259 generates read data from the data fragment and stores it in the RAM 211.
  • Steps S7 and S8 The interrupt request notifying unit 356 of the host terminal 201 determines whether or not the host terminal 201 needs to make a read interrupt request, that is, transmits read data from the SD memory card 202. Determine if you need to stop.
  • the interrupt request notifying unit 356 controls the first clock transmitting unit 351 to stop the transmission of the first clock to the SD memory card 202.
  • the read data receiving unit 260 of the host terminal 201 further receives a data packet.
  • the length of the stop time slot (period A in FIG. 9) in which the host terminal 201 stops the transmission of the first clock CLKH1 is determined in advance by the communication standard, for example, from the host terminal 201 at the start of communication.
  • the SD memory card 202 is notified.
  • the internal clock power unit 384 of the SD memory card 202 determines a predetermined value based on the period A of the stop time slot and the internal clock.
  • Steps S9, S10 The internal clock count unit 384 receives the interrupt detection signal from the interrupt detection counter 337.
  • the internal clock count unit 384 determines whether or not the count value of the internal clock included in the interrupt detection signal is equal to or greater than a predetermined value, and transmits the determination result to the interrupt request recognition unit 385.
  • the interrupt request recognition unit 385 recognizes that the host terminal 201 is outputting a read interrupt request when the count value is equal to or greater than a predetermined value.
  • Steps S11 to S13 When the period A of the stop time slot elapses, the interrupt request notification unit 356 controls the first clock transmission unit 351 to resume transmission of the first clock CLKH1. The second clock transmission unit 351 resumes transmission of the first clock CLKH1 (step Sl l).
  • the response transmission unit 379 of the SD memory card 202 receives the recognition result that the host terminal 201 outputs a read interrupt request, the response transmission unit 379 transmits a response to the host terminal 201 via the control signal transmission line 206. (Step S12).
  • the response receiving unit 258 of the host terminal 201 receives a response from the SD memory card 202 (step S13).
  • Step S14 The read data transmission unit 379 of the SD memory card 202 stops the transmission of the data packet.
  • the read command is transmitted again from the host terminal 201 to the SD memory card 202. Then, the SD memory card 202 resumes data packet transmission via the control signal transmission line 206 and the data signal transmission line 207.
  • the host terminal 201 when the host terminal 201 stops supplying the first clock to the SD memory card 202, the transmission of the data packet from the SD memory card 202 is stopped. In this way, the host terminal 201 controls the stop of data packet transmission, whereby the SD memory card 202 recognizes the interrupt request. That is, the host terminal 201 can cause the SD memory card 202 to recognize an interrupt request at an arbitrary time, and there is no need to provide a period for recognizing the interrupt request between data packets in advance. As a result, the interval between data packets can be shortened, and a decrease in data transmission efficiency can be suppressed.
  • header information and footer information it is not necessary to add header information and footer information to all data packets transmitted through the control signal transmission line 206 and the data signal transmission line 207. ,. It is also possible to add header information and footer information only to data fragments that are transmitted through V or any of the transmission lines, and to transmit only data fragments on other transmission lines. At this time, it is only necessary to transmit only the data fragment based on the footer information and the footer information that are transmitted through any of the transmission lines.
  • the header information and the footer information are not added before and after the first data fragment for transmitting the first data fragment.
  • the data signal transmission line 207 transmits a data packet including the footer information, the second data fragment, and the footer information.
  • the bit length of the first data fragment is the same as the bit length of the second data fragment of the data packet.
  • the first data fragment is transmitted using the header information and footer information of the data packet. At this time, the first data fragment is transmitted in synchronization with the second data fragment.
  • the data packet is formed so as to include header information, data packet, and footer information in order, but the order of these is not limited to the above.
  • this embodiment demonstrated the communication system which has a control signal transmission line and a data signal transmission line.
  • the present embodiment can also be applied to a communication system that does not have a control signal transmission line and has only a data signal transmission line.
  • the present embodiment can be applied not only to data transmission via a plurality of transmission lines, but also to data transmission via a single transmission line.
  • the data packet transmitted through the control signal transmission line and the data signal transmission line is transmitted in synchronization, but is not limited to the configuration in which transmission is performed in synchronization. It should be transmitted to each transmission line based on the header information and footer information of each data packet.
  • the header length, footer length, and basic time slot length are defined as communication standards.
  • the header length, the footer length, and the basic time slot length are different for each SD memory card, and these pieces of information may be mutually acquired when communication between the host terminal 201 and the SD memory card 202 is started.
  • the control signal transmission line 206 and the data signal transmission line 207 may be a pair of two differential transmission lines.
  • bit length of each data fragment may be fixed according to the communication standard. Yes. In this case, it is not necessary to obtain the bit length of the data fragment from the header length of the data packet as long as the bit length of the data fragment is stored in the parameter storage unit.
  • the transmission of data is immediately stopped by the transmission of the interrupt command. Therefore, the interrupt command is transmitted using one first time slot. Is preferred. However, for example, when the bit length of the interrupt command exceeds the first time slot length, the interrupt command may be divided into a plurality of pieces and transmitted using a plurality of first time slots.
  • the SD memory card which is a removable memory device
  • Power Host terminal power Any portable memory device that transmits read data to a host terminal using a supplied clock can be used.
  • the applicable range is not limited to SD memory cards.
  • Other examples include CompactFlash (registered trademark), smart media, multimedia cards, and memory sticks.
  • the memory that can be mounted on the removable memory device is not limited to flash memory, but includes non-volatile memory such as MRAM and Fe RAM.
  • a computer program that causes a computer to execute the above-described method and a computer-readable recording medium that records the program are included in the scope of the present invention.
  • the computer-readable recording medium include a flexible disk, a node disk, a CD-ROM-MO, a DVD-DVD-ROM-DVD-RAM-BD (Blu-ray Disc), and a semiconductor memory. be able to.
  • the computer program is not limited to the one recorded in the recording medium, and may be transmitted via an electric communication line, a wireless or wired communication line, a network represented by the Internet, or the like. Yo ...
  • FIG. 15 is an overall configuration diagram of a communication system according to the third embodiment of the present invention.
  • a transmission / reception device as a host terminal 401 and a transmission / reception device as an SD (Secure Digital) memory card 402 are connected via a pair of differential transmission lines.
  • the communication system of the present embodiment has a general current-driven differential transmission system that transmits a signal when a predetermined potential difference is generated in a pair of differential transmission lines by a dynamic impedance circuit and an impedance circuit described later. It is used.
  • the differential transmission lines include a clock signal transmission line 405, a control signal transmission line 406, and a data signal transmission line 407.
  • the clock signal transmission line 405 is used to transmit a later-described clock CLKH used for communication between the host terminal 401 and the SD memory card 402 from the host terminal 401 to the SD memory card 402.
  • the control signal transmission line 406 is used for transmitting and receiving commands related to data reading and writing and responses to the commands between the host terminal 401 and the SD memory card 402.
  • the data signal transmission line 407 is used to transmit and receive data between the host terminal 401 and the SD memory card 402.
  • FIG. 16 is a time chart showing a state of data transmission at the time of reading.
  • the communication system of this embodiment is a handshake type communication system.
  • various commands such as a read command (ReadCMD in FIG. 16) and a write command, and responses to this command (FIG. 16). Res) is transmitted / received between the host terminal 401 and the SD memory card 402, and then data (DATA in FIG. 16) is transmitted.
  • the control signal transmission line 406 and the data signal transmission line 407 transmit data packets including header information, data fragments, and footer information. All data packets have the same bit length.
  • the header information and the footer information are different from the data fragment.
  • the header information includes information such as a synchronization bit string and start bit for adjusting the reception timing of the data packet
  • the footer information includes information such as an end bit indicating the end of the data packet. It is.
  • the information included in the header information and footer information is not limited to these, and may include other various information.
  • the data fragment may include information for detecting a transmission error of each data fragment, such as a CRC (Cyclic Redundancy Check) bit.
  • CRC Cyclic Redundancy Check
  • the reception side changes the signal amplitude of the control signal transmission line 406 between the data fragments in the data packet transmitted adjacent to the control signal transmission line 406.
  • an interrupt request (including a read interrupt request and a write interrupt request described later) is notified from the receiving side to the transmitting side.
  • the interval between data fragments is defined by the interval between the data fragment of the data packet transmitted first and the data fragment of the data packet transmitted later, and is called an extended time slot in the following embodiment. (See Figure 16).
  • a basic time slot which will be described later, is defined by an interval between a data packet transmitted first and a data packet transmitted later.
  • the number of data signal transmission lines 407 is not limited to one, and a plurality of data signal transmission lines 407 may be provided.
  • the hardware configuration of the host terminal 401 and the SD memory card 402 will be described below with reference to FIG. 15 again.
  • the host terminal 401 and the SD memory card 402 realize various functions to be described later in cooperation with the hardware configuration illustrated in FIG. 15 and the functional configuration of the CPU 410 illustrated in FIG.
  • CPU 410 Controls other RAM 411, buffer 412, card interface unit 413, IZO buffer, etc. of host terminal 401.
  • Various functions to be described later such as data reading and writing in the host terminal 401 are realized based on various programs.
  • RAM 411 Stores various data transmitted to and received from SD memory card 402
  • C Buffer 412, Card interface unit 413: Writes data read from the SD memory card 402 to the RAM 411 and reads data written to the SD memory card 402 from the RAM 411.
  • lZO buffer Inputs and outputs data such as commands, responses, and data.
  • the I / O notifier has data Z command output 414a, data Z response input 414b, data output 414c, data input 414d, dry 415a, receiver 415b, driver 415c, resino 415d, dynamic impedance circuit 417, impedance circuit 418 and potential difference detection.
  • Circuit 419 is included and connected as shown in FIG.
  • the driver 415a, the receiver 415b, the driver 415c, and the receiver 415d are connected to a control signal transmission line 406 or a data signal transmission line 407, which are differential transmission lines.
  • the dynamic impedance circuit 417 is connected to each of the two differential transmission lines 406a and 406b of the control signal transmission line 406.
  • the dynamic impedance circuit 417 changes the signal amplitude of the control signal transmission line 406 based on the interrupt request from the CPU 410.
  • FIG. 17 is a configuration diagram of the dynamic impedance circuit 417.
  • the dynamic impedance circuit 417 includes a plurality of switch circuits SW and a set of termination resistors, and a switch control circuit 417a.
  • the switch control circuit 417a is controlled by an interrupt request described later, and is connected to a predetermined switch circuit SW and a set of termination resistors.
  • the signal amplitude value of the control signal transmission line 406 configured by the differential transmission paths 406a and 406b changes.
  • the dynamic impedance circuit 417 controls the impedance to 100 ⁇ when an interrupt request is not received, and controls the impedance to 10 ⁇ when an interrupt request is received.
  • a constant current of 1 mA is driven by the driver 415a connected to the control signal transmission line 406.
  • the signal amplitude of the control signal transmission line 406 changes from a ⁇ lOOmV swing based on the common-mode potential Vcom to a ⁇ 10 mV swing.
  • the potential difference detection circuit 419 receives a predetermined reference voltage Vref, detects a change in the signal amplitude of the control signal transmission line 406, and outputs an interrupt detection signal to the CPU 410 as a detection result.
  • FIG. 18 is a configuration diagram of the potential difference detection circuit.
  • Potential difference detection circuit 419 is a comparison Units 419a and 419b and an OR circuit 419c.
  • the comparators 419a and 419b are connected to the two differential transmission lines 406a and 406b of the control signal transmission line 406, respectively, and receive the reference voltage Vref and the clock CLKH.
  • the comparators 419a and 419b use the clock CLKH as a trigger to detect whether it is higher or lower than the potential force reference voltage Vref of the differential transmission lines 406a and 406b.
  • the comparators 419a and 419b hold High when the potential of the differential transmission lines 406a and 406b is higher than the reference voltage Vre; f, and hold Low when the potential is low.
  • the comparators 419a and 419b are connected to the OR circuit 419c and input to the held value SOR circuit 419c.
  • the output of the OR circuit 419c is input to the CPU 410 as an interrupt detection signal.
  • the reference voltage Vref is 50 mV higher than the common-mode potential Vcom.
  • the SD memory card 402 does not output an interrupt request, and the signal amplitude of the control signal transmission line 406 is a swing of ⁇ lOOmV, the potential of either of the differential transmission lines 406a and 406b is higher than the reference voltage Vref. Therefore, the output of the OR circuit 419c becomes High.
  • the SD memory card 402 outputs an interrupt request and the signal amplitude of the control signal transmission line 406 has a swing of 10 mV! /, The potential of both the differential transmission lines 406a and 406b Is lower than the reference voltage Vre; f, the output of the OR circuit is Low.
  • the SD memory card 402 outputs an interrupt request and the signal amplitude of the control signal transmission line 406 decreases from ⁇ 100 mV to ⁇ 10 mV, the output of the OR circuit 419c changes from High to Low, and the interrupt detection signal Is input to CPU410.
  • the CPU 410 determines whether or not an interrupt request is output from the SD memory card 402 based on this change in the interrupt detection signal.
  • the impedance circuit 418 adjusts the impedance of the data signal transmission line 407.
  • (E) Driver 416 The clock CLKH is transmitted to the SD memory card 402 via the clock signal transmission line 405 which is a differential transmission line.
  • (a) CPU 430 Realizes various functions to be described later such as data reading and writing on the SD memory card 402 based on various programs.
  • Flash memory 43 la Stores various data transmitted / received to / from the host terminal 401.
  • lZO buffer Inputs and outputs data such as commands, responses, and data.
  • the I / O notifiers are: Data Z Response Output 434a, Data Z Command Input 434b, Data Output 434c, Data Input 434d, Dry 435a, Receiver 435b, Driver 435c and Receiver 435d, Dynamic Impedance Circuit 437, Impedance Circuit 438, and Potential Difference A detection circuit 439 is included and connected as shown in FIG.
  • the driver 435a, the receiver 435b, the driver 435c, and the Resino 435d are connected to a control signal transmission line 406 or a data signal transmission line 407, which are differential transmission lines.
  • the dynamic impedance circuit 437 is connected to each of the two differential transmission lines 406a and 406b of the control signal transmission line 406.
  • the dynamic impedance circuit 437 changes the signal amplitude of the control signal transmission line 406 based on the interrupt request from the CPU 430 force.
  • the configuration of the dynamic impedance circuit 437 is the same as that in FIG. 17 described above, and thus the description thereof will be omitted (see reference numerals in parentheses in FIG. 17).
  • the potential difference detection circuit 439 receives a predetermined reference voltage Vref, detects a change in the signal amplitude of the control signal transmission line 406, and outputs the detection result to the CPU 430.
  • the configuration of the potential difference detection circuit 439 is the same as that of FIG. 18 except that the clock CLKS is input, and thus description thereof is omitted (see reference numerals in parentheses in FIG. 18).
  • the host terminal 401 outputs an interrupt request and the signal amplitude of the control signal transmission line 406 decreases from ⁇ lOOmV to ⁇ 10mV
  • the output of the OR circuit 439c of the potential difference detection circuit 439 changes from High to Low, and the interrupt occurs. Input to CPU430 as detection signal. Based on this change in the interrupt detection signal, the CPU 430 determines whether or not the host terminal 401 has output an interrupt request.
  • the impedance circuit 438 adjusts the impedance of the data signal transmission line 407.
  • (E) Receiver 436, impedance circuit 440 The impedance circuit 440 controls the impedance of the clock signal transmission line 405, which is a differential transmission line, and the receiver 436 passes through the clock signal transmission line 405. Receives clock CLKH from host terminal 401 To do.
  • FIG. 19 is a flowchart showing the state of the control signal transmission line 406 and the state of the interrupt detection signal when a read interrupt request is output
  • FIG. 20 is a control signal transmission line 406 and a dynamic impedance circuit 417.
  • FIG. 5 is an explanatory diagram for explaining an output state of a potential difference detection circuit 439 and an interrupt detection signal.
  • the host terminal 401 receives a data packet of read data from the SD memory card 402 via the control signal transmission line 406. At this time, the host terminal 401 does not output a read interrupt request, and the state of the control signal transmission line 406 is in the state of time tl to t7 shown in FIG. During this time tl to t7, the dynamic impedance circuit 417 controls the impedance to 100 ⁇ as described above, and the signal amplitude of the control signal transmission line 406 is ⁇ 100 mV with respect to the common-mode potential Vcom. .
  • the output of either of the comparators 439a and 439b is High (H)
  • the interrupt detection signal output from the OR circuit 419c is High (H).
  • FIG. 19 only the control signal transmission line 406 is shown.
  • the host terminal 401 receives the data packet in the same manner via the data signal transmission line 407.
  • the CPU 410 of the host terminal 401 outputs a read interrupt request in order to stop the transmission of the data packet from the SD memory card 402.
  • the state of the control signal transmission line 400 at this time corresponds to the times t8 and t9 shown in FIG.
  • the CPU 410 of the host terminal 401 outputs a read interrupt request in the extended time slot of the control signal transmission line 406.
  • the extended time slot is It is defined by the interval between the data fragment of the data packet to be transmitted and the data fragment of the data packet to be transmitted later. Since the current-driven differential transmission method is used in the present embodiment, a basic time slot defined by the footer information of the data packet transmitted first and the header information of the data packet transmitted later (see FIG. 19), the control signal transmission line 406 is either in the high or low state.
  • the read interrupt request is input from the CPU 410 of the host terminal 401 to the dynamic impedance circuit 417 of the host terminal 401.
  • the dynamic impedance circuit 417 changes the impedance from 100 ⁇ to 10 ⁇ by receiving the lead interrupt request.
  • the signal amplitude of the control signal transmission line 406 is ⁇ 10 mV swing (2 OmV of 2 mV) from the swing of 10 mV (200 mV signal amplitude) with respect to the common-mode potential Vcom. Signal amplitude).
  • the outputs of both the comparators 439a and 439b are Low (L), and the interrupt detection signal that is the output of the OR circuit 419c is Low (L).
  • the interrupt detection signal that has changed from High to Low is manually input to the CPU 430 of the SD memory card 402. Based on this interrupt detection signal, the CPU 430 of the SD memory card 402 recognizes that the host terminal 401 has output a read interrupt request, and transmits a response (Res in FIG. 19) to the host terminal 401.
  • FIG. 21 is a functional configuration diagram of the CPU 410 of the host terminal 401 and the CPU 430 of the SD memory card 402.
  • the clock generation unit 450 generates a basic clock CLKH for transmitting and receiving data between the host terminal 401 and the SD memory card 402. Since the clock generation unit 450 controls various functional units of the CPU 410 with the clock CLKH, the clock transmission unit 451, the timing control unit 452, the command transmission unit 456, the response reception unit 458, the read data reception unit 460, and the write data transmission unit
  • the clock CLKH is transmitted to 462, the interrupt request notification unit 463, the interrupt request recognition unit 464, and the like.
  • the clock transmission unit 451 transmits the clock CLKH to the SD memory card 402 via the clock signal transmission line 405. [0289] (b) Timing control unit, time slot acquisition unit, parameter storage unit
  • the meter storage unit 454 stores header length, footer length, and basic time slot length information defined as communication standards.
  • the header length and footer length are the length of the header and footer defined by the number of bits.
  • the basic time slot length is the length of the basic time slot, which is the interval between data packets defined by the number of bits.
  • Time slot acquisition section 453 calculates and acquires the extended time slot length based on the header length, footer length, and basic time slot length that have also acquired parameter storage section 454.
  • the extended time slot length is calculated by footer length + basic time slot length + header length.
  • the time slot acquisition unit 453 transmits the extended time slot length to an interrupt request notification unit 463 described later.
  • the timing control unit 452 and the time slot acquisition unit 453 receive a data packet from a read data reception unit 460 described later, and acquire the bit length of the data fragment included in the header information of the data packet.
  • the time slot acquisition unit 453 grasps the start position of the extended time slot by sequentially counting the header length, the bit length of the data fragment, and the extended time slot length based on the clock CLKH. Then, the time slot acquisition unit 453 transmits the start position of the time slot to the interrupt request notification unit 463. Further, the timing control unit 452 sequentially counts the header length, the bit length of the data fragment, the footer length, and the basic time slot length based on the clock CLKH, and transmits the count value to the read data receiving unit 460.
  • start position of the time slot may be acquired based on the count value from the timing control unit 452 that is not from the time slot acquisition unit 453.
  • the command generation unit 455 generates various commands such as a read command for reading read data such as video and audio stored in the SD memory card 402 and a write command for writing data to the SD memory card 402.
  • the command transmission unit 456 transmits various commands to the SD memory card 402 via the control signal transmission line 406 based on the clock CLKH.
  • the response receiving unit 458 receives a response to the command transmitted from the host terminal 401 from the SD memory card 402.
  • the read data receiving unit 460 receives the data packet from the SD memory card 402 based on the clock CLKH via the control signal transmission line 406 and the data signal transmission line 407.
  • the read data receiving unit 460 receives a count value obtained by sequentially counting the header length, the bit length of the data fragment, the footer length, and the basic time slot length from the timing control unit 452. Based on this count value, the read data receiving unit 460 can accurately receive the data fragment in the data packet without loss.
  • the data packets constituting the read data are configured with the same bit length and transmitted synchronously in any transmission line.
  • the period during which the header information and footer information of the data packet are transmitted is included in the extended time slot period. If the interrupt request notification unit 463 outputs a read interrupt request during a period in which the header information and footer information are transmitted, the signal amplitude of the control signal transmission line 406 decreases, and the header information and footer information are accurately May not be able to be received.
  • the data packet since the data packet is transmitted in synchronism with the shifted transmission line, the data packet is transmitted from the data packet transmission line 407 other than the control signal transmission line 406 to the header. Information and footer information may be received.
  • the read data generation unit 459 generates read data from a plurality of data packets and stores it in the RAM 411.
  • the transmission data generation unit 461 reads write data for writing to the SD memory card 402 from the RAM 411, and generates a plurality of data packets including header information, data fragments, and footer information. .
  • the write data transmission unit 462 transmits the data packet to the SD memory card 402 so as to synchronize with the control signal transmission line 406 and the data signal transmission line 407 based on the clock CLKH.
  • the write data transmission unit 462 receives a notification from the interrupt request recognition unit 464 that there is a write interrupt request, the write data transmission unit 462 receives the data packet to the SD memory card 402. Stop sending
  • the interrupt request notification unit 463 generates various interrupt requests such as a read interrupt request for stopping reading of read data from the SD memory card 402.
  • the host terminal 401 continuously receives data packets from the SD memory card 402 via the control signal transmission line 406 and the data signal transmission line 407, and receives read data.
  • the read interrupt request is an interrupt request that is output using an extended time slot and stops transmission of read data.
  • the interrupt request notifying unit 463 determines the status of the host terminal 401, for example, the writing of the read data transmitted from the SD memory mode 402 to the RAM 411 is delayed, and outputs a read interrupt request. Judgment is made.
  • the interrupt request notification unit 463 determines a signal amplitude value to be changed, and determines a change period in which the signal amplitude is changed based on the extended time slot length. Then, the interrupt request notification unit 463 generates a read interrupt request based on the determined signal amplitude value and change period so that the bit length of the read interrupt request does not exceed the extended time slot length. Then, the interrupt request notification unit 463 outputs a read interrupt request to the dynamic impedance circuit 417 based on the start position of the extended time slot so that the read interrupt request can be output in the extended time slot.
  • the interrupt request recognition unit 464 receives the interrupt detection signal from the potential difference detection circuit 419, and determines whether or not the SD memory card 402 has output a write interrupt request.
  • the interrupt request recognition unit 464 transmits the presence / absence of a write interrupt request to the write data transmission unit 462.
  • the clock receiving unit 470 receives the clock CLKH from the host terminal 401.
  • the clock CLK is changed to the card clock CLKS due to a delay in transmission from the host terminal 401 to the SD memory card 402.
  • the clock receiver 470 is a card in the timing controller 472, command receiver 477, response transmitter 478, read data transmitter 479, write data receiver 481, interrupt request notifier 483, interrupt request recognizer 484, etc. Send clock CLKS.
  • Timing control unit time slot acquisition unit, parameter storage unit
  • the meter storage unit 474 stores information on the header length, footer length, and basic time slot length defined as communication standards.
  • the time slot acquisition unit 473 calculates and acquires the extended time slot length based on the header length, footer length, and basic time slot length acquired by the parameter storage unit 474.
  • the time slot acquisition unit 473 transmits the extended time slot length to the interrupt request notification unit 483.
  • the timing control unit 472 and the time slot acquisition unit 473 receive a data packet from a write data reception unit 481 described later, and acquire the bit length of the data fragment included in the header information of the data packet.
  • the time slot acquisition unit 473 grasps the start position of the extended time slot by sequentially outputting the header length, the bit length of the data fragment, and the extended time slot length based on the card clock CLKS.
  • Time slot acquisition section 473 transmits the start position of the time slot to interrupt request notification section 483.
  • the timing control unit 472 sequentially counts the header length, the bit length of the data fragment, the footer length, and the basic time slot length based on the card clock CLKS, and transmits the count value to the write data receiving unit 481.
  • start position of the time slot may be acquired based on the count value from the timing control unit 452 that is not from the time slot acquisition unit 453.
  • the command receiving unit 477 receives various commands from the host terminal 401 based on the card clock CLKS via the control signal transmission line 406.
  • the response generation unit 475 generates responses to various commands from the host terminal 401.
  • the response transmission unit 478 transmits a response to the host terminal 401 via the control signal transmission line 406.
  • the write data receiving unit 481 receives a data packet from the host terminal 401 based on the card clock CL KS.
  • the write data receiving unit 481 receives from the timing control unit 472 a count value obtained by sequentially counting the header length, the bit length of the data fragment, the footer length, and the basic time slot length. Based on this count value, the write data receiver 48 1 can be received correctly without losing data fragments in the data packet.
  • the data packets constituting the write data are configured in the same bit length and transmitted synchronously in any transmission line. Therefore, even if the write data receiving unit 481 cannot receive the header information and the footer information on the control signal transmission line 406, it can receive the header information and the footer information from the other data signal transmission line 407. good.
  • the write data generation unit 482 generates write data from a plurality of data packets and stores it in the Flash memory 43la.
  • the transmission data generating unit 480 reads the read data to be transmitted to the host terminal 401 from the Flash memory 43la and generates a plurality of data packets.
  • the read data transmission unit 479 transmits the data packet to the host terminal 402 so as to be synchronized in the control signal transmission line 406 and the data signal transmission line 407 based on the card clock CLKS.
  • the read data transmission unit 479 receives a notification from the interrupt request recognition unit 484 that there is a read interrupt request, the read data transmission unit 479 stops transmitting the data packet to the host terminal 401.
  • the interrupt request notification unit 483 generates various interrupt requests such as a write interrupt request for canceling the writing of write data from the host terminal 401.
  • the SD memory card 402 continuously receives data packets from the host terminal 401 via the control signal transmission line 406 and the data signal transmission line 407, and receives write data.
  • the write interrupt request is an interrupt request that is output using the extended time slot and stops transmission of write data.
  • the interrupt request notification unit 483 determines the status of the SD memory card 402, for example, writing of the write data transmitted from the host terminal 401 to the Flash memory 43 la is delayed, and outputs the write interrupt request. Judge whether or not.
  • the interrupt request notifying unit 483 determines a signal amplitude value to be changed, and determines a change period for changing the signal amplitude based on the extended time slot length. Then, the interrupt request notification unit 483 determines Based on the signal amplitude value and the change period, a write interrupt request is generated so that the bit length of the write interrupt request does not exceed the extended timestamp length. Then, the interrupt request notifying unit 483 outputs a write interrupt request to the dynamic impedance circuit 437 based on the start position of the extended time slot so that the write interrupt request can be output in the extended time slot.
  • the interrupt request recognition unit 484 receives the interrupt detection signal from the potential difference detection circuit 439, and determines whether or not the host terminal 401 has output a read interrupt request.
  • the interrupt request recognition unit 484 transmits the presence / absence of a read interrupt request to the read data transmission unit 479.
  • the write interrupt request is generated until the write data can be written to the Flash memory 431a and transmitted to the host terminal 402.
  • the clock CLKH is transmitted from the host terminal 401 to the SD memory card 402.
  • FIG. 22 is a flowchart showing an example of the flow of processing at the time of reading in the communication system of the present embodiment.
  • Step Sl, S2 The command generation unit 455 of the host terminal 401 generates a read command for reading the read data from the SD memory card 402.
  • the command transmission unit 456 of the host terminal 401 transmits the read command to the SD memory card 402 via the control signal transmission line 406 (step Sl).
  • the command receiving unit 477 of the SD memory card 402 receives the read command (step S2).
  • Steps S3 and S4 The response transmission unit 478 of the SD memory card 402 transmits a response to the read command to the host terminal 401 via the control signal transmission line 406 (step S3).
  • the response receiving unit 458 of the host terminal 401 receives the response (step S4).
  • Steps S5 and S6 The transmission data generation unit 480 of the SD memory card 402 reads the read data from the Flash memory 431a and generates a data packet in response to reception of the read command.
  • the read data transmission unit 479 of the SD memory card 402 transmits the data packet to the host terminal 401 via the control signal transmission line 406 and the data signal transmission line 407.
  • Step S5 The read data receiving unit 460 of the host terminal 401 receives a data packet from the SD memory card 402 (step S6).
  • the timing control unit 452 of the host terminal 401 sequentially counts the header length, the bit length of the data fragment, the footer length, and the basic time slot length, and transmits the count value to the read data receiving unit 460.
  • the read data generation unit 459 generates read data from the data packet and stores it in the RAM 411.
  • Steps S7 and S8 The interrupt request notification unit 463 of the host terminal 401 determines whether or not to output a read interrupt request, and generates a read interrupt request when outputting (Yes). (Step S7). At this time, the time slot acquisition unit 453 of the host terminal 401 calculates the extended time slot length based on the header length, footer length, and basic time slot length. The interrupt request notifying unit 463 of the host terminal 401 generates a read interrupt request so as not to exceed the extended time slot length (step S8). When the read interrupt request is not output (No), the read data receiving unit 460 of the host terminal 401 further receives a data packet.
  • Step S9 The time slot acquisition unit 453 of the host terminal 401 sequentially counts the header length, the bit length of the data fragment, and the extended time slot length based on the clock CLKH, and acquires the start position of the extended time slot .
  • Steps S10, S11 The interrupt request notifying unit 463 of the host terminal 401 outputs a read interrupt request to the dynamic impedance circuit 417 based on the start position of the extended time slot (step S10).
  • the interrupt request recognition unit 484 of the SD memory card 402 recognizes that the host terminal 401 has output a read interrupt request based on the interrupt detection signal that changes according to the output of the read interrupt request (step S11).
  • Steps S12, S13 When the response transmission unit 478 of the SD memory card 402 receives the recognition result that the host terminal 402 is outputting a read interrupt request, it passes through the control signal transmission line 406. A response is transmitted to the host terminal 401 (step S12). The response receiving unit 458 of the host terminal 401 receives a response from the SD memory card 402 (step S13).
  • Step S14 The read data transmission unit 479 of the SD memory card 402 stops the transmission of the data packet. [0327] After that, when a read command is transmitted again from the host terminal 401 to the SD memory card 402, the SD memory card 402 transmits a data packet via the control signal transmission line 406 and the data signal transmission line 407. Resume.
  • FIG. 23 is a flowchart showing an example of a processing flow at the time of writing in the communication system of the present embodiment.
  • Steps S21 and S22 The command generation unit 455 and the command transmission unit 456 of the host terminal 401 generate and transmit a write command for writing write data to the SD memory card 402 (step S21).
  • the command receiver 477 of the SD memory card 402 receives the write command (step S22).
  • Step S23 The response transmission unit 478 of the SD memory card 402 and the response reception unit 458 of the host terminal 401 transmit / receive a response to the write command.
  • Steps S25 and S26 The transmission data generation unit 461 and the write data transmission unit 462 of the host terminal 401 read out the write data from the RAM 411 and generate a data packet in response to the generation of the write command, and the SD memory card 402 (Step S25).
  • the write data receiving unit 481 of the SD memory card 402 receives a data packet from the host terminal 401 (step S26).
  • the timing control unit 472 of the SD memory card 402 sequentially counts the header length, the bit length of the data fragment, the footer length, and the basic time slot length, and transmits the count value to the write data receiving unit 481! /
  • the write data generation unit 482 generates write data from the data packet and stores it in the flash memory 43la.
  • Steps S27 and S28 The interrupt request notification unit 483 of the SD memory card 402 determines whether or not to output a write interrupt request, and generates a write interrupt request if it is output (Yes). (Step S27). At this time, the time slot acquisition unit 473 of the SD memory card 402 calculates the extended time slot length based on the header length, footer length, and basic time slot length. The interrupt request notifying unit 483 of the SD memory card 402 generates a write interrupt request so as not to exceed the extended time slot length (step S28). When the write interrupt request is not output (No), the write data receiving unit 481 of the SD memory card 402 further sends a data packet. Receive.
  • Step S29 The time slot acquisition unit 473 of the SD memory card 402 counts the header length, the data fragment bit length, and the extended time slot length sequentially based on the card clock CLKS, and determines the start position of the extended time slot. get.
  • Step S30 The interrupt request notifying unit 483 of the SD memory card 402 outputs a write interrupt request to the dynamic impedance circuit 437 based on the start position of the expansion time slot.
  • Steps S31 and S32 The interrupt request recognition unit 464 of the host terminal 401 determines that the SD memory card 402 has requested a write interrupt based on an interrupt detection signal that changes according to the output of the write interrupt request. Is output to determine whether or not the force is correct (step S31). If there is no write interrupt request output (No), in step S25, the write data transmission unit 462 generates and transmits a data packet.
  • the write data transmitting unit 462 of the host terminal 401 stops transmitting the data packet (step S32).
  • the write data transmission unit 462 resumes generating and transmitting a data packet in step S25.
  • the data transmission side can recognize an interrupt request such as a read interrupt request or a write interrupt request of the reception side force by monitoring a change in the signal amplitude of the transmission line. it can.
  • the receiving side notifies the interrupt request by changing the signal amplitude in the extended time slot between adjacent data fragments.
  • a period as long as the bit length of the interrupt command is required between data fragments.
  • this notification method it is not necessary to provide a period as long as the bit length of the interrupt command between data fragments. Therefore, it is possible to suppress a decrease in data transmission efficiency due to notification of an interrupt request. Further, since the extended time slot is a period in which no data fragment is transmitted, loss of the data fragment can be prevented.
  • the potential difference detection circuits 419 and 439 shown in FIG. 15 are not limited to the circuit shown in FIG. Another configuration of the potential difference detection circuit will be described with reference to FIGS. Fig. 24 shows another configuration of the potential difference detection circuit.
  • Fig. 25 shows the output state of the control signal transmission line 406, the dynamic impedance circuit 417, the potential difference detection circuit 439 composed of Fig. 24, and the interrupt detection signal. It is another explanatory drawing explaining. Since the configuration of the potential difference detection circuit 439 of the SD memory card 402 is the same as that of the potential difference detection circuit 419, description thereof is omitted.
  • the potential difference detection circuit 419 includes integration circuit units 419d and 419e, comparators 419f and 419g, and an OR circuit 419h.
  • the integrating circuit portions 419d and 419e are connected to the two differential transmission lines 406a and 406b of the control signal transmission line 406, respectively, and are supplied with the common-mode potential Vcom of the differential signal and the reset signal.
  • the integrating circuit units 419d and 419e receive the potentials of the differential transmission lines 406a and 406b, and calculate an integral value for each predetermined time with reference to the common-mode potential Vcom of the differential signal.
  • the integrating circuit units 419d and 419e reset the integrated value at each edge timing of the reset signal shown in FIG.
  • Comparators 419f and 419g compare the input integral value with a certain reference potential Vref, and output High (H) if the integral value is greater than Vre; f, or Low (L) if it is smaller. To do.
  • the signal amplitude of the control signal transmission line 406 is ⁇ lOOmV swing, and when the interrupt request is output, the control signal transmission line The signal amplitude of 406 has a swing of ⁇ 10 mV. If no interrupt request is output at this time, the integration value of either integration circuit 4 19d or 419e exceeds the reference potential Vref, and either comparator 419f or 419g holds High (H). .
  • FIGS. 26 to 28 may be used as a method for notifying the transmission request from the data packet receiving side to the transmitting side.
  • Figure 26 shows an example of this embodiment.
  • FIG. 27 is a diagram showing the overall configuration of a communication system according to a modified example
  • FIG. 27 is a configuration diagram showing the configuration of a comparator
  • FIG. 28 shows the output state of the control signal transmission line 406, the comparator 441, and the interrupt detection signal It is explanatory drawing demonstrated.
  • the configuration other than the comparator 441 is the same as that in FIG.
  • the configuration of the comparator 443 of the SD memory card 402 is the same as that of the comparator 441, and thus the description thereof is omitted.
  • the comparator 441 is connected to the input line 442a of the driver 415a and the output line 4 42b of the receiver 415b. Including.
  • the driver 415a holds a signal output from the host terminal 401 to the control signal transmission line 406, and the receiver 415b holds a signal transmitted from the SD memory card via the control signal transmission line 406. ing.
  • the operation of the comparator 441 will be described by taking as an example a case where the SD memory card 402 outputs a write interrupt request while the host terminal 401 is transmitting write data to the SD memory card 402.
  • the host terminal 401 continuously transmits data packets to the SD memory card 402 via the control signal transmission line 406 and the data signal transmission line 407.
  • the differential amplitude of the control signal transmission line 406 decreases as described above.
  • the impedance of the control signal transmission line 406 is lower than the amplitude level that can be discriminated by the receiver 415b of the host terminal 401 connected to the control signal transmission line 406.
  • the receiver 415b of the host terminal 401 cannot recognize the differential signal of the control signal transmission line 406 and cannot output a correct logic level. Therefore, the output line 442b of the receiver 415b is in an indefinite state of either high or low (see the X mark in Fig. 28). Therefore, as shown in FIG. 28, the value of the interrupt detection signal that is the output of the comparator 441 shown in FIG. 27 is not necessarily Low (L) but may be High (H) (see FIG. 28). (See the X on 28). If the SD memory mode 402 does not output a write interrupt request, the logic levels of the input line 442a of the driver 415a and the output line 442b of the receiver 415b are always equal.
  • the value of the interrupt detection signal that is the output of the comparator 441 is always low.
  • the CPU 410 of the host terminal 401 can recognize that the SD memory card 402 has output a write interrupt request by detecting such a change in the interrupt detection signal.
  • the comparator is not limited to the configuration shown in FIG. 27 as long as the comparator operates as described above.
  • the comparator 441 shown in FIG. 27 can be realized with a smaller partial area than the potential difference detection circuit 419 shown in FIG.
  • the signal amplitude of the control signal transmission line 406 is changed in the extended time slot defined by the interval between the data fragment of the data packet transmitted first and the data fragment of the data packet transmitted later. . However, it is between the data packet transmitted first and the data packet transmitted later, that is, between the footer information of the data packet transmitted first and the header information of the data packet transmitted later. In the basic time slot, the signal amplitude may be changed. Since the signal amplitude does not change during the transmission period of the header information and footer information, it is possible to prevent the footer information and header information from being received accurately. Since the current-driven differential transmission method is used in the present embodiment, each transmission line including the control signal transmission line 406 is in a high or low state even during the basic time slot. It is in
  • header information and footer information may be added only to data fragments that are transmitted through any one transmission line, and only data fragments may be transmitted through other transmission lines. At this time, it is only necessary to transmit only the data fragment based on the footer information and the footer information transmitted via any one of the transmission lines.
  • the header information and the footer information are not added before and after the first data fragment for transmitting the first data fragment.
  • the data signal transmission line 407 transmits a data packet including the footer information, the second data fragment, and the footer information.
  • the bit length of the first data fragment is the same as the bit length of the second data fragment of the data packet, and the first data fragment is transmitted in synchronization with the second data fragment.
  • the adjacent first transmission line 406 for control signals The signal amplitude of the control signal transmission line 406 is changed in the first time slot between the data fragment and the first data fragment.
  • time slot acquisition section 453 calculates the first time slot length that is the interval between the first data fragments based on the header length, footer length, and basic time slot length acquired from parameter storage section 454. Calculate and get.
  • the first time slot length is calculated by footer length + basic time slot length + header length.
  • the time slot acquisition unit 453 transmits the first time slot length to the interrupt request notification unit 463.
  • the interrupt request notifying unit 463 determines a signal amplitude value to be changed, and determines a change period in which the signal amplitude is changed based on the first time slot length. Then, the interrupt request notification unit 463 generates a read interrupt request based on the determined signal amplitude value and change period.
  • the timing control unit 452 receives the data packet from the read data receiving unit 460 via the data signal transmission line 407, and acquires the bit length of the second data fragment included in the header information.
  • the time slot acquisition unit 453 sequentially counts the header length, the bit length of the second data fragment, and the first time slot length based on the clock CLKH, and acquires the start position of the first time slot. Then, the time slot acquisition unit 453 transmits the start position of the first time slot to the interrupt request notification unit 463.
  • the interrupt request notification unit 463 inputs a read interrupt request to the dynamic impedance circuit 417 based on the start position of the first time slot, and changes the signal amplitude of the control signal transmission line 406.
  • the potential difference detection circuit 439 of the SD memory card 402 detects this change in signal amplitude, and the CPU 430 of the SD memory card 402 recognizes that the host terminal 401 has output a read interrupt request.
  • the data packets transmitted through the control signal transmission line 406 and the data signal transmission line 407 are transmitted in synchronization.
  • the configuration is not limited to the configuration in which transmission is performed in synchronization. It may be transmitted to each transmission line based on the header information and footer information of each data packet.
  • the signal amplitude of the transmission line becomes small when the interrupt request with the large signal amplitude of the transmission line is output.
  • the interrupt request can be recognized if the interrupt request can be recognized by the change in the signal amplitude, if the interrupt request with a small transmission line signal amplitude is output, the signal amplitude of the transmission line increases. It's okay.
  • the above extended time slot length calculated by footer length + basic time slot length + header length is preferably a multiple of 8.
  • the extended time slot length is preferably a bit length including the switching times tl and t2. That is, the extended time slot length is calculated by footer length + number of bits of switching time tl + number of bits of command + switching time t2 + header length. This extended time slot length is also preferably a multiple of eight.
  • the interrupt request is not limited to a read interrupt request and a write interrupt request, and may be a request for delaying data transmission from the transmitting side for a certain period or instructing data retransmission.
  • the data packet is formed so as to include header information, data packet, and footer information in order, but the order of these is not limited to the above. [0354] (6-12)
  • this embodiment demonstrated the communication system which has a control signal transmission line and a data signal transmission line.
  • this embodiment can also be applied to a communication system that does not have a control signal transmission line and has only a data signal transmission line.
  • the header length, footer length, and basic time slot length are defined as communication standards.
  • the header length, footer length, and basic time slot length are different for each SD memory card, and these information may be acquired mutually at the start of communication between the host terminal and the SD memory card.
  • bit length of each data fragment may be fixed according to the communication standard.
  • the bit length of the data fragment need not be obtained from the header length of the second data packet as long as the bit length of the data fragment is stored in the parameter storage unit.
  • the SD memory card which is a removable memory device
  • Power Host terminal power Any portable memory device that transmits read data to a host terminal using a supplied clock can be used.
  • the applicable range is not limited to SD memory cards.
  • Other examples include CompactFlash (registered trademark), smart media, multimedia cards, and memory sticks.
  • the memory that can be mounted on the removable memory device is not limited to flash memory, but includes non-volatile memory such as MRAM and Fe RAM.
  • a computer program that causes a computer to execute the above-described method and a computer-readable recording medium that records the program are included in the scope of the present invention.
  • a computer-readable recording medium for example, a flexible disk
  • Examples include hard disks, CD-ROM MO DVD DVD-ROM DVD-RAM BD (Blu-ray Disc), and semiconductor memory.
  • the computer program is not limited to the one recorded on the recording medium, and may be transmitted via an electric communication line, a wireless or wired communication line, a network represented by the Internet, or the like. Yo ...
  • the present invention can be used in the case of realizing a reduction in data transmission efficiency while transmitting an interrupt signal in data transmission between transmitting and receiving apparatuses.

Abstract

 本発明は、割込信号を送信することによるデータ伝送効率の低下を抑制することを目的とする。  受信側と送信側とが少なくとも2本以上の伝送線路を介して、データを複数のデータフラグメントに分割して送受信し、送信側は、複数のデータフラグメントのうち第1データフラグメントを伝送線路のうち第1伝送線路を介して伝送し、ヘッダ情報と、第1データフラグメントと同じビット長からなる第2データフラグメントと、フッタ情報とを含むデータパケットを第1伝送線路以外の第2伝送線路を介して伝送し、かつ第1データフラグメントと第2データフラグメントとを同期して伝送し、第1伝送線路の隣接する第1データフラグメント間の間隔であるタイムスロットにおいて、送信側を制御するための割込信号を受信側から送信側に送信することを特徴とする、信号伝送方法を提供する。

Description

明 細 書
信号伝送方法、送受信装置及び通信システム
技術分野
[0001] 本発明は、データ伝送における信号伝送方法、送受信装置及び通信システムに関 する。
背景技術
[0002] 送受信装置間でデータ伝送を行う通信システムには、 USB (Universal Serial Bus)や IEEE (Institute of Electrical and Electronics Engineers; 1394 に代表されるように、送受信装置間に 1本又は複数のデータ信号用の伝送線路(以 下、データ信号用伝送線路と言う)を有する通信システムや、データ信号用伝送線路 及び制御信号用の伝送線路(以下、制御信号用伝送線路と言う)をともに有する通 信システムがある。前者の通信システムでは、データ信号用伝送線路を介して送受 信装置間でデータの伝送が行われ、制御信号用伝送線路を介してデータの伝送開 始ゃ終了などの各種制御信号の伝送が行われる。また、データ伝送の効率を高める ために制御信号用伝送線路及びデータ信号用伝送線路をともに用いてデータの伝 送が行われる場合もある。
[0003] このような通信システムの一例が特許文献 1に開示されている。この通信システムで は、データ信号用伝送線路を用いて、又はデータ信号用伝送線路及び制御信号用 伝送線路をともに用いて連続的にデータ伝送を行っている。特許文献 1では、このよ うに連続的にデータが伝送されて!ヽる伝送線路にお!ヽて、時分割多重伝送方法を用
V、て、データの受信側から送信側に制御信号である割込要求信号を送信する技術 が開示されている。時分割多重伝送方法では、複数の送受信装置に対して伝送線 路の使用できる期間が割り当てられており、送信側と受信側とが交互に、データ信号 用伝送線路及び制御信号用伝送線路を利用することができる。ここで、受信側が送 信側力もデータを受信中に、割込要求信号を送信側に送信する場合には、送信側 力ものデータとデータとの間の期間、つまり受信側に割り当てられた期間を利用して 送信側に割込要求信号を送信する。よって、受信側は、割込要求信号を随時かつ即 座に送信側に送信することが可能である。
特許文献 1:特許第 2733242号明細書
発明の開示
発明が解決しょうとする課題
[0004] しかし、特許文献 1の時分割多重伝送方法では、割込要求信号を随時かつ即座に 送信側に送信するために、割込信号を伝送するための期間を、送信側からのデータ とデータとの間に確保する必要がある。つまり、送信側からのデータとデータとの間に は、割込信号のビット長、もしくはそれ以上のビット長に相当する期間を確保する必 要がある。その結果、送信側力 のデータ伝送の効率を低下させることになり、デー タ伝送の高速化がますます進む今後にお ヽて大きな課題となる。
[0005] そこで、本発明は、割込信号を送信することによるデータ伝送効率の低下を抑制す ることができる信号伝送方法、送受信装置及び通信システムを提供することを目的と する。
課題を解決するための手段
[0006] 上記課題を解決するために、発明 1は、受信側と送信側とが少なくとも 2本以上の 伝送線路を介して、データを複数のデータフラグメントに分割して送受信し、前記送 信側は、前記複数のデータフラグメントのうち第 1データフラグメントを前記伝送線路 のうち第 1伝送線路を介して伝送し、ヘッダ情報と、前記第 1データフラグメントと同じ ビット長力 なる第 2データフラグメントと、フッタ情報とを含むデータパケットを前記第 1伝送線路以外の第 2伝送線路を介して伝送し、かつ前記第 1データフラグメントと前 記第 2データフラグメントとを同期して伝送し、前記第 1伝送線路の隣接する前記第 1 データフラグメント間の間隔であるタイムスロットにお 、て、前記送信側を制御するた めの割込信号を前記受信側から前記送信側に送信することを特徴とする、信号伝送 方法を提供する。
[0007] 本発明にお 、て、第 1データフラグメントは、ヘッダ情報及びフッタ情報が付加され ていない。送信側は、第 2伝送線路のデータパケットのヘッダ情報及びフッタ情報を 用い、第 1データフラグメントとデータパケットの第 2データフラグメントとを同期させて 受信側に送信する。このとき、第 1伝送線路の隣接する第 1データフラグメント間のタ ィムスロットは、第 2伝送線路のデータパケット間の間隔よりも、フッタ情報及びヘッダ 情報のビット長分の長さ分だけ長く形成される。本発明では、このタイムスロットを利 用して割込信号を送信するため、割込信号を送信するために確保すべき別途の期 間が不要であるか、または別途の期間を短くすることができる。そのため、タイムスロッ トを用いて割込信号を送信することによるデータの伝送効率の低下を抑制することが できる。また、タイムスロットはデータフラグメントが伝送されていない期間であるため、 データフラグメントの損失を防止することができる。
[0008] なお、本発明は、例えば、受信側及び送信側がホスト端末及びリムーバブルメモリ デバイスである場合に適用可能である。例えば、ホスト端末が、第 1及び第 2伝送線 路を介してリムーバブルメモリデバイスからリードデータを読み出している場合に、第 1伝送線路のタイムスロットを用いてリムーバブルメモリデバイスに割込信号を送信す る場合に適用可能である。また、リムーバブルメモリデバイスが、ホスト端末から第 1及 び第 2伝送線路を介してライトデータを受信して記憶している場合に、第 1伝送線路 のタイムスロットを用いてホスト端末に割込信号を送信する場合にも適用可能である。
[0009] 発明 2は、発明 1において、前記第 1データフラグメントには、ヘッダ情報又はフッタ 情報の 、ずれかが付加されて 、ることを特徴とする、信号伝送方法を提供する。
[0010] 第 1伝送線路の隣接する第 1データフラグメントにフッタ情報を付加した場合には、 タイムスロットは、データパケット間の間隔よりもヘッダ情報のビット長分の長さ分だけ 長く形成される。また、第 1データフラグメントにヘッダ情報を付加した場合には、タイ ムスロットは、データパケット間の間隔よりもフッタ情報のビット長分の長さ分だけ長く 形成される。このタイムスロットを利用して割込信号を送信するため、割込信号を送信 するために確保すべき別途の期間が不要であるか、または別途の期間を短くすること ができる。そのため、タイムスロットを用いて割込信号を送信することによるデータの伝 送効率の低下を抑制することができる。
[0011] 発明 3は、発明 1において、前記割込信号は、前記第 1データフラグメント及び前記 データパケットの送信を停止するための信号であることを特徴とする、信号伝送方法 を提供する。
[0012] データの伝送効率の低下を抑制しつつ、送信側力 の第 1データフラグメント及び データパケットの送信を停止させることができる。
[0013] 発明 4は、データを複数のデータフラグメントに分割し、前記複数のデータフラグメ ントから第 1データフラグメントを生成し、ヘッダ情報、前記第 1データフラグメントと同 じビット長力 なる第 2データフラグメント及びフッタ情報を含むデータパケットを生成 するデータ生成部と、前記第 1データフラグメントと前記第 2データフラグメントとを同 期させて、前記第 1データフラグメントを少なくとも 2本以上の伝送線路のうち第 1伝送 線路を介して、前記データパケットを前記第 1伝送線路以外の第 2伝送線路を介して 受信側に送信するデータ送信部と、前記第 1伝送線路の隣接する前記第 1データフ ラグメント間の間隔であるタイムスロットにお 、て、割込信号を前記受信側から受信す る割込信号受信部と、を含むことを特徴とする送受信装置を提供する。
[0014] 本発明は、発明 1と同様の作用効果を奏する。
[0015] 発明 5は、発明 4において、前記割込信号の受信に応じて、レスポンスを前記受信 側に送信するレスポンス送信部をさらに含み、前記割込信号は、前記第 1データフラ グメント及び前記データパケットの送信を停止するための信号であり、前記データ送 信部は、前記割込信号受信部が前記割込信号を受信した時に、前記第 1及び第 2 伝送線路を介して送信している前記第 1データフラグメント及び前記データパケットの 送信を完了し、前記レスポンス送信部は、前記第 1データフラグメント及び前記デー タパケットの送信完了後、前記受信側にレスポンスを送信することを特徴とする、送受 信装置を提供する。
[0016] 割込信号の受信時に送信されている第 1データフラグメントデータパケットの送信を 完了することで、送信中の第 1データフラグメント及びデータパケットの送信が未完了 となって破壊されるのを防止することができる。
[0017] 発明 6は、複数のデータフラグメントに分割されて伝送されるデータを送信側から受 信する送受信装置であって、前記複数のデータフラグメントのうち第 1データフラグメ ントを少なくとも 2本以上の伝送線路のうち第 1伝送線路を介して、ヘッダ情報、前記 第 1データフラグメントと同じビット長力もなる第 2データフラグメント及びフッタ情報を 含むデータパケットを前記第 1伝送線路以外の第 2伝送線路を介して、前記送信側 から受信するデータ受信部と、前記第 1伝送線路の隣接する前記第 1データフラグメ ント間の間隔であるタイムスロットの開始位置及びタイムスロット長を取得するタイムス ロット取得部と、前記タイムスロット長に基づ 、て前記送信側を制御するための割込 信号を生成する割込信号生成部と、前記タイムスロットにおいて、前記タイムスロット の開始位置に基づいて、前記割込信号を前記送信側に送信する割込信号送信部と
、前記第 1データフラグメントと前記第 2データフラグメントとは同期して伝送されてい ることを特徴とする、送受信装置を提供する。
[0018] 本発明は、発明 1と同様の作用効果を奏する。
[0019] 発明 7は、発明 6において、発明 4に記載の送受信装置と、発明 6に記載の送受信 装置と、を含む通信システムを提供する。
[0020] 本発明は、発明 1と同様の作用効果を奏する。
[0021] 発明 8は、受信側と送信側とが伝送線路を介して、データを複数のデータフラグメン トに分割して送受信し、前記受信側は、クロック信号用伝送路を介して第 1クロックを 送信側に送信し、前記送信側は、前記伝送線路を介し、前記データフラグメントを前 記第 1クロックに基づいて前記受信側に送信し、前記受信側は、前記送信側からの 前記データフラグメントの送信を停止するために、前記第 1クロックの送信側への送 信を停止することを特徴とする、信号伝送方法を提供する。
[0022] 送信側は、受信側から送信される第 1クロックに基づ ヽて、データフラグメントを受信 側に送信している。ここで、受信側が第 1クロックの供給を停止することで、送信側は 受信側にデータフラグメントを送信することができない。このようにして、受信側は、送 信側からのデータフラグメントの送信の停止を制御することができる。
[0023] 発明 9は、発明 8において、前記伝送線路は少なくとも 2本以上であり、前記受信側 は、前記第 1クロックの送信側への送信を停止した後、前記送信側を制御するための 割込信号を、前記伝送線路のうち第 1伝送線路を介して前記送信側に送信し、かつ 前記第 1伝送線路以外の第 2伝送線路を介して前記送信側に第 2クロックを送信し、 前記送信側は、前記割込信号を前記第 2クロックに基づ ヽて受信することを特徴とす る、信号伝送方法を提供する。
[0024] 上記発明によれば、受信側が第 1クロックの送信側への供給を停止すると、送信側 力ものデータフラグメントの送信が停止する。このようにして受信側がデータフラグメン トの送信停止を制御し、割込信号及び第 2クロックを送信側に送信する。つまり、受信 側が割込信号及び第 2クロックを任意の時間に送信することが可能であり、データフ ラグメント間に、割込信号及び第 2クロックを送信するための期間を予め設ける必要が 無い。そのため、データフラグメント間の間隔を短くすることができ、データの伝送効 率の低下を抑制することができる。また、送信側力ものデータフラグメントの送信が停 止した後に、データフラグメントが伝送されていた伝送線路を介して割込信号及び第 2クロックを送信する。よって、データフラグメントの損失を防止することができる。
[0025] なお、データフラグメントにフッタ情報及びヘッダ情報が付加されたデータパケット を伝送線路を介して送信しても良い。この場合にも、前述の理由によりデータパケット 間の間隔を短くすることができ、データの伝送効率の低下を抑制することができる。
[0026] また、本発明は、例えば、受信側及び送信側がホスト端末及びリムーバブルメモリ デバイスである場合に適用可能である。例えば、ホスト端末が伝送線路を介してリム 一バブルメモリデバイス力もリードデータを読み出している場合に、ホスト端末が第 1 クロックのリムーバブルメモリデバイスへの供給を停止する。その後、ホスト端末は、第
1伝送線路を介してリムーバブルメモリデバイスに割込信号を送信し、第 2伝送線路 を介してリムーバブルメモリデバイスに第 2クロックを送信する場合に適用可能である
[0027] 発明 10は、発明 9において、前記割込信号は、前記データフラグメントの送信を停 止するための信号であることを特徴とする、信号伝送方法を提供する。
[0028] データの伝送効率の低下を抑制しつつ、送信側力 のデータフラグメントの送信を 停止させることができる。
[0029] 発明 11は、発明 8において、前記受信側は、前記第 1クロックの送信側への送信を 停止した後、前記送信側を制御するために割込要求を出力し、前記送信側は、カウ ント値が前記第 1クロックの受信によりリセットされる内部クロックを有しており、前記第 1クロックの送信停止により、前記内部クロックのカウント値が所定値を超えることに基 づ ヽて前記割込要求を認識することを特徴とする、信号伝送方法を提供する。
[0030] 上記発明によれば、受信側が第 1クロックの送信側への供給を停止すると、送信側 力ものデータフラグメントの送信が停止する。このようにして受信側がデータフラグメン トの送信停止を制御し、これにより送信側は割込要求を認識する。つまり、受信側は 、任意の時間に送信側に割込要求を認識させることが可能であり、データフラグメント 間に、割込要求を認識させるための期間を予め設ける必要が無い。そのため、デー タフラグメント間の間隔を短くすることができ、データの伝送効率の低下を抑制するこ とがでさる。
[0031] なお、データフラグメントにフッタ情報及びヘッダ情報が付加されたデータパケット を伝送線路を介して送信しても良い。この場合にも、前述の理由によりデータパケット 間の間隔を短くすることができ、データの伝送効率の低下を抑制することができる。
[0032] また、送信側の内部クロックの周波数は、第 1クロックの周波数よりも低く設定されて いる。
[0033] また、本発明は、例えば、受信側及び送信側がホスト端末及びリムーバブルメモリ デバイスである場合に適用可能である。例えば、ホスト端末が、伝送線路を介してリム 一バブルメモリデバイス力もリードデータを読み出している場合に、第 1クロックの供 給停止によりリムーバブルメモリデバイスに割込要求を認識させる場合に適用可能で ある。
[0034] 発明 12は、発明 11において、前記割込要求は、前記データフラグメントの送信を 停止するための要求であることを特徴とする、信号伝送方法を提供する。
[0035] データの伝送効率の低下を抑制しつつ、送信側力 のデータフラグメントの送信を 停止させることができる。
[0036] 発明 13は、データを複数に分割してデータフラグメントを生成するデータ生成部と 、前記データフラグメントを受信側に送信するための第 1クロックを、クロック信号用伝 送路を介して前記受信側力 受信する第 1クロック受信部と、伝送線路を介し、前記 データフラグメントを前記第 1クロックに基づいて前記受信側に送信するデータ送信 部とを含み、前記受信側からの前記第 1クロックの送信が停止され、前記データ送信 部は前記データフラグメントの前記受信側への送信を停止することを特徴とする、送 受信装置を提供する。
[0037] 本発明は、発明 8と同様の作用効果を奏する。
[0038] 発明 14は、発明 13において、前記伝送線路は少なくとも 2本以上であり、前記デ ータ送信部は、前記少なくとも 2本以上の伝送線路を介して前記データフラグメントを 前記第 1クロックに基づ 、て前記受信側に送信し、前記伝送線路のうち第 2伝送線路 を介して前記受信側力も第 2クロックを受信する第 2クロック受信部と、前記第 2クロッ クに基づいて、前記伝送線路のうち第 1伝送線路を介して、前記送信側を制御する ための割込信号を前記受信側から受信する割込信号受信部とを含み、前記受信側 力もの前記第 1クロックの送信が停止された後、前記第 2クロック受信部は前記第 2ク ロックを受信し、かつ前記割込信号受信部は前記第 2クロックに基づ 、て前記割込信 号を受信することを特徴とする、送受信装置を提供する。
[0039] 本発明は、発明 9と同様の作用効果を奏する。
[0040] 発明 15は、発明 14において、前記割込信号の受信に応じて、レスポンスを前記受 信側に送信するレスポンス送信部をさらに含むことを特徴とする、送受信装置を提供 する。
[0041] 発明 16は、発明 13において、前記第 1クロックの受信によりリセットされる内部クロッ クのカウント値をカウントする内部クロックカウント部と、前記内部クロックのカウント値 に基づいて、前記受信側の割込要求を認識する割込要求認識部とをさらに含み、前 記割込要求認識部は、前記第 1クロックの送信停止により、前記内部クロックのカウン ト値が所定値を超えることに基づいて前記割込要求を認識することを特徴とする、送 受信装置を提供する。
[0042] 本発明は、発明 11と同様の作用効果を奏する。
[0043] 発明 17は、発明 16において、前記割込要求の認識に応じて、レスポンスを前記受 信側に送信するレスポンス送信部をさらに含むことを特徴とする、送受信装置を提供 する。
[0044] 発明 18は、複数のデータフラグメントに分割されて伝送されるデータを送信側から 受信する送受信装置であって、前記送信側が前記データフラグメントの送信に用い る第 1クロックを、クロック信号用伝送路を介して前記送信側に送信する第 1クロック送 信部と、伝送線路を介し、前記データフラグメントを前記第 1クロックに基づいて前記 送信側から受信するデータ受信部とを含み、前記第 1クロック送信部は、前記送信側 力もの前記データフラグメントの送信を停止するために、前記第 1クロックの送信側へ の送信を停止することを特徴とする、送受信装置を提供する。
[0045] 本発明は、発明 8と同様の作用効果を奏する。
[0046] 発明 19は、発明 18において、前記伝送線路は少なくとも 2本以上であり、前記デ ータ受信部は、前記少なくとも 2本以上の伝送線路を介して前記データフラグメントを 前記第 1クロックに基づ ヽて前記送信側から受信し、前記送信側を制御するための 割込信号を生成する割込信号生成部と、前記伝送線路のうち第 1伝送線路を介して 前記送信側に前記割込信号を送信する割込信号送信部と、前記伝送線路のうち第 2伝送線路を介して前記送信側に第 2クロックを送信する第 2クロック送信部とを含み 、前記第 1クロック送信部が前記第 1クロックの送信側への送信を停止した後、前記 割込信号送信部は、前記第 1伝送線路を介して前記送信側に前記割込信号を送信 し、かつ前記第 2クロック送信部は、前記第 2伝送線路を介して前記送信側に第 2クロ ックを送信することを特徴とする、送受信装置を提供する。
[0047] 本発明は、発明 9と同様の作用効果を奏する。
[0048] 発明 20は、発明 18において、前記第 1クロックの送信を停止するように前記第 1ク ロック送信部を制御することにより、前記送信側を制御するための割込要求を前記送 信側に通知する割込要求通知部をさらに含むことを特徴とする、送受信装置を提供 する。
[0049] 本発明は、発明 11と同様の作用効果を奏する。
[0050] 発明 21は、発明 13に記載の送受信装置と、発明 18に記載の送受信装置と、を含 む通信システムを提供する。
[0051] 本発明は、発明 8と同様の作用効果を奏する。
[0052] 発明 22は、受信側と送信側とが伝送線路を介して、データを複数のデータフラグメ ントに分割して送受信し、前記受信側は、前記伝送線路の隣接する前記データフラ グメント間において、前記送信側を制御するための割込要求を前記送信側に通知す るために、前記伝送線路の信号振幅を変化させ、前記送信側は、前記信号振幅の 変化を検出することを特徴とする、信号伝送方法を提供する。
[0053] 上記発明によれば、データの送信側は、伝送線路の信号振幅の変化を監視するこ とで、受信側力もの割込要求を認識することができる。ここで、受信側は、隣接するデ ータフラグメント間において、信号振幅を変化させて割込要求を通知する。送信側を 制御するための割込信号を受信側から送信側に送信するためには、データフラグメ ント間には割込信号のビット長ほどの期間が必要である力 本発明の割込要求の通 知方法によればデータフラグメント間には割込信号のビット長ほどの期間を設ける必 要が無い。そのため、割込要求を通知することによるデータの伝送効率の低下を抑 制することができる。また、データフラグメント間は、データフラグメントが伝送されてい ない期間であるため、データフラグメントの損失を防止することができる。
[0054] なお、伝送線路での信号振幅を変化させる方法としては、例えば、受信側にぉ 、て 伝送線路の終端抵抗を第 1抵抗値力ゝら第 2抵抗値に変化させる方法が挙げられる。
[0055] また、データフラグメントには、ヘッダ情報及び Z又はフッタ情報が付加されても良 い。
[0056] また、本発明は、例えば、受信側及び送信側がホスト端末及びリムーバブルメモリ デバイスである場合に適用可能である。例えば、ホスト端末が、伝送線路を介してリム 一バブルメモリデバイス力もリードデータを読み出している場合に、データフラグメント 間を用いてリムーバブルメモリデバイスに割込要求を通知する場合に適用可能であ る。また、リムーバブルメモリデバイスが、ホスト端末力も伝送線路を介してライトデー タを受信して記憶している場合に、データフラグメント間を用いてホスト端末に割込要 求を通知する場合にも適用可能である。
[0057] 発明 23は、発明 22において、前記割込要求は、前記データフラグメントの送信を 停止するための要求であることを特徴とする、信号伝送方法を提供する。
[0058] データの伝送効率の低下を抑制しつつ、送信側力 のデータフラグメントの送信を 停止させることができる。
[0059] 発明 24は、データを複数に分割し、複数のデータフラグメントを生成するデータ生 成部と、前記データフラグメントを伝送線路を介して受信側に送信するデータ送信部 と、前記伝送線路の隣接する前記データフラグメント間において、前記伝送線路の信 号振幅の変化を検出することで、前記受信側からの割込要求を認識する割込要求 認識部と、を含むことを特徴とする送受信装置を提供する。
[0060] 本発明は、発明 22と同様の作用効果を奏する。 [0061] なお、本発明の割込要求認識部は、伝送線路の信号振幅値と、所定の参照振幅 値とを比較することにより割込要求を認識する。例えば、伝送線路の信号振幅値が所 定の参照振幅値よりも大きい場合は、割込要求認識部は割込要求を認識しない。一 方、伝送線路の信号振幅値が所定の参照振幅値よりも小さい場合は、割込要求認 識部は割込要求を認識する。
[0062] また、データ送信部は、データフラグメントの送信を所定のクロックを用いて受信側 に送信している。ここで、割込要求認識部は、所定のクロックと同一周波数のクロック を用いて信号振幅の変化を検出している。
[0063] 発明 25は、発明 24において、前記割込要求の認識に応じて、レスポンスを前記受 信側に送信するレスポンス送信部をさらに含むことを特徴とする、送受信装置を提供 する。
[0064] 発明 26は、データを分割した複数のデータフラグメントを伝送線路を介して送信側 から受信するデータ受信部と、前記伝送線路の隣接する前記データフラグメント間に おいて、前記伝送線路の信号振幅を変化させることで、前記送信側を制御するため の割込要求を前記送信側に通知する割込要求通知部と、を含むことを特徴とする、 送受信装置を提供する。
[0065] 本発明は、発明 22と同様の作用効果を奏する。
[0066] なお、割込要求通知部は、例えば、受信側の伝送線路の終端抵抗を第 1抵抗値か ら第 2抵抗値に変化させることにより、伝送線路での信号振幅を変化させる。
[0067] 発明 27は、発明 24に記載の送受信装置と、発明 26に記載の送受信装置と、を含 む通信システムを提供する。
[0068] 本発明は、発明 22と同様の作用効果を奏する。
発明の効果
[0069] 本発明によれば、割込信号を送信することによるデータ伝送効率の低下を抑制す ることができる信号伝送方法、送受信装置及び通信システムを提供することができる 図面の簡単な説明
[0070] [図 1]本発明の第 1実施形態例に係る通信システムの全体構成図。 [図 2]リード時のデータ伝送の様子を示すタイムチャート。
[図 3]ホスト端末 101の CPU110及び SDメモリカード 102の CPU130の機能構成図
[図 4]本実施形態の通信システムにおける、リード時の処理の流れの一例を示すフロ 一チャート。
[図 5]本実施形態の通信システムにおける、ライト時の処理の流れの一例を示すフロ 一チャート。
圆 6]本発明の第 2実施形態例の第 1実施例に係る通信システムの全体構成図。 圆 7]本発明の第 2実施形態例の第 2実施例に係る通信システムの全体構成図。
[図 8]リード時のデータ伝送の様子を示すタイムチャート。
[図 9]第 1実施例におけるリード時のデータ伝送の様子を示すタイムチャート。
[図 10]ホスト端末 201の CPU210及び SDメモリカード 202の CPU230の機能構成 図。
[図 11]第 1実施例の通信システムにおける、リード時の処理の流れの一例を示すフロ 一チャート。
[図 12]第 2実施例におけるリード時のデータ伝送の様子を示すタイムチャート。
[図 13]ホスト端末 201の CPU210及び SDメモリカード 202の CPU230の機能構成 図。
[図 14]第 2実施例の通信システムにおける、リード時の処理の流れの一例を示すフロ 一チャート。
圆 15]本発明の第 3実施形態例に係る通信システムの全体構成図。
[図 16]リード時のデータ伝送の様子を示すタイムチャート。
[図 17]動的インピーダンス回路 417の構成図。
圆 18]電位差検出回路の構成図。
[図 19]リード割込要求が出力された場合の制御信号用伝送線路 406の状態及び割 込検出信号の状態を示すフローチャート。
圆 20]制御信号用伝送線路 406、動的インピーダンス回路 417、電位差検出回路 4 39及び割込検出信号の出力状態等を説明する説明図。 [図 21]ホスト端末 401の CPU410及び SDメモリカード 402の CPU430の機能構成1—
図 o。1—
[図 22]本実施形態の通信システムにおける、リード時の処理の流れの一例を示すフ 口1 ~~テャ1 ~~卜。
[図 23]本実施形態の通信システムにおける、ライト時の処理の流れの一例を示すフロ 一チャート。
圆 24]電位差検出回路の別の構成図。
[図 25]制御信号用伝送線路 406、動的インピーダンス回路 417、図 24で構成される 電位差検出回路 439及び割込検出信号の出力状態を説明する別の説明図。
[図 26]本実施形態例の変形例に係る通信システムの全体構成。
[図 27]比較器の構成を示す構成図。
圆 28]制御信号用伝送線路 406、比較器 441及び割込検出信号の出力状態等を説 明する説明図。
符号の説明
201、 401 :ホス卜端末
102、 202、 402 : SDメモリカード
105、 205、 405 :クロック信号用伝送線路
106、 206、 406 :制御信号用伝送線路
107、 207、 407 :データ信号用伝送線路
110、 130、 210、 230、 410、 430 : CPU
150 :クロック生成咅
151 :クロック送信咅
152、 172、 252、 272、 452 :タイミング制御部
153、 173、 453、 473 :タイムスロット取得部
154、 174、 254、 274、 454、 474 :ノ ラメータ記'隐咅
155、 175、 255、 275、 355、 455 :コマンド生成部
156、 176、 256、 276、 456 :コマンド送信部
157、 177、 257、 277、 457、 477 :コマンド受信部 158、 258、 458:レスポンス受信部
178、 278、 478:レスポンス送信部
159、 259、 459:リードデータ生成部
179、 279、 379、 479:リードデータ送信部
160、 260、 160:リードデータ受信部
161、 180、 261、 280、 461、 480:送信データ生成部
162、 262、 462:ライトデータ送信部
170、 470:クロック受信咅
181、 281、 481:ライトデータ受信部
182、 282、 482:ライトデータ生成部
237:割込言 '己憶回路
250a, 350:第 1クロック生成部
251a, 351:第 1クロック送信部
250b:第 2クロック生成部
25 lb:第 2クロック送信咅
270a, 370:第 1クロック受信部
270b:第 2クロック受信部
337:割込検出カウンタ
384:内部クロックカウント部
385:割込要求認識部
406a, 406b:差動伝送路
419、 439:電位差検出回路
463、 483:割込要求通知部
484:割込要求認識部
発明を実施するための最良の形態
[0072] 以下、本発明の実施形態を、図面を用いて説明する。
[0073] <第 1実施形態例 >
(1)概要 図 1は、本発明の第 1実施形態例に係る通信システムの全体構成を示す説明図で ある。この通信システムでは、ホスト端末 101である送受信装置と SD (Secure Digit al)メモリカード 102である送受信装置とが、伝送線路を介して接続される。伝送線路 には、クロック信号用伝送線路 105、制御信号用伝送線路 106及びデータ信号用伝 送線路 107が含まれる。クロック信号用伝送線路 105は、ホスト端末 101及び SDメモ リカード 102間の通信に用いられる後述のクロック CLKHを、ホスト端末 101から SD メモリカード 102に伝送するために用いられる。制御信号用伝送線路 106は、データ の読み出し、書き込みなどに関するコマンド、後述の割込コマンド及びコマンドに対 するレスポンスを、ホスト端末 101及び SDメモリカード 102間で送受信するために用 いられる。データ信号用伝送線路 107は、ホスト端末 101及び SDメモリカード 102間 でデータを送受信するために用いられる。
[0074] 図 2は、リード時のデータ伝送の様子を示すタイムチャートである。本実施形態の通 信システムはハンドシェイク型の通信システムであり、データの伝送の際には、まずリ ードコマンド(図 2中、 ReadCMD)やライトコマンドなどの各種コマンド及びこのコマン ドに対するレスポンス(図 2中、 Res)がホスト端末 101及び SDメモリカード 102間で送 受信された後、データ(図 2中、 DATA)の伝送が行われる。
[0075] また、本実施形態の通信システムでは、データアクセスの伝送効率を向上すること を目的として、図 2に示すようにデータの伝送にはデータ信号用伝送線路 107だけで なく制御信号用伝送線路 106も用いる。データは複数のデータフラグメントに分割さ れて伝送されるが、制御信号用伝送線路 106を介して伝送される第 1データフラグメ ントには、第 1データフラグメントの前後にヘッダ情報及びフッタ情報が付加されてい ない。一方、データ信号用伝送線路 107を介して伝送される第 2データフラグメントは 、ヘッダ情報及びフッタ情報が付加されている。つまり、データ信号用伝送線路 107 では、ヘッダ情報、第 2データフラグメント及びフッタ情報を含むデータパケットが伝 送される。第 1データフラグメントのビット長は、第 2データフラグメントのビット長と同一 であり、第 1データフラグメントと第 2データフラグメントとは同期して伝送される。なお 、制御信号用伝送線路 106及びデータ信号用伝送線路 107の伝送線路長の違 ヽ は、無視できるほど小さいものとする。 [0076] ここで、ヘッダ情報及びフッタ情報はデータフラグメントとは異なる情報である。へッ ダ情報にはデータパケットの受信タイミングの調整のための、例えば同期ビット列及 びスタートビットなどの情報が含まれており、フッタ情報にはデータパケットの終了を 示す、例えばエンドビットなどの情報が含まれている。なお、ヘッダ情報及びフッタ情 報に含まれる情報は、これらに限定されず、その他の各種情報を含んでいても良い。 また、データフラグメントには、 CRC (Cyclic Redundancy Check:巡回冗長検査 )ビットなど、各データフラグメントの伝送エラーを検出するための情報が含まれて ヽ ても良い。
[0077] 本実施形態では、制御信号用伝送線路 106にお ヽて隣接して伝送される送信側 からの第 1データフラグメント間の間隔(以下、第 1タイムスロットという)を用いて、デー タフラグメントの受信側力も送信側に割込信号(図 2中、 ITRPT (例えば、後述のリー ド割込コマンドである。;))を伝送する。第 1データフラグメントにはヘッダ情報及びフッ タ情報が付加されていないため、第 1タイムスロットは、先に伝送される第 1データフラ グメントと、後に伝送される第 1データフラグメントと、の間隔により定義される。また、 後述の基本タイムスロットは、ヘッダ情報及びフッタ情報を含む、隣接するデータパケ ットにおいて、先に伝送されるデータパケットと、後に伝送されるデータパケットと、の 間隔により定義される。
[0078] なお、データ信号用伝送線路 107は、 1本に限られず複数設けられても良い。
[0079] (2)ハードウェア構成
以下に、再び図 1を用いて、ホスト端末 101及び SDメモリカード 102のハードウェア 構成について説明する。ホスト端末 101及びメモリカード 102は、図 1に示すハードウ エア構成と、後述の図 3に示す CPU110の機能構成との協働により、後述する各種 機能を実現する。
[0080] (2— 1)ホスト端末
(a) CPU110 :ホスト端末 101のその他の RAMI 11、ノ ッファ 112、カードインタ 一フェース部 113及び IZOバッファ等を制御する。そして、ホスト端末 101でのデー タの読み出し及び書き込みなどの後述する各種機能を各種プログラムに基づいて実 現する。 [0081] (b)RAMl l l : SDメモリカード 102との間で送受信される各種データを記憶する
[0082] (c)バッファ 112、カードインターフェース部 113 : SDメモリカード 102から読み出 されたデータの RAMI 11への書き込み、 SDメモリカード 102へ書き込まれるデータ の RAMI 11からの読み出しを行う。
[0083] (d)lZOバッファ:コマンド、レスポンス、データ等のデータの入出力を行う。 I/O ノ ッファは、データ Zコマンド Outputl l4a、データ Zレスポンス Inputl l4b、デー 夕 Outputl l4c、データ Inputl l4d、 ド、ライノ 115a、レシーノ 115b、 ド、ライノ 115c 及びレシーバ 115dを含み、これらが図 1に示すように接続されて!ヽる。
[0084] (e)ドライバ 116 :クロック信号用伝送線路 105を介して、クロック CLKHを SDメモ リカード 102に送信する。
[0085] (2— 2) SDメモリカード
(a) CPU130: SDメモリカード 102でのデータの読み出し及び書き込みなどの後 述する各種機能を各種プログラムに基づ 、て実現する。
[0086] (b) Flashメモリ 131a:ホスト端末 101との間で送受信される各種データを記憶す る。
[0087] (c) Flashメモリインターフェース部 13 lb、 ノ ッファ 132、ホストインターフェース部 133 :ホスト端末 101から読み出されたデータの Flashメモリ 131aへの書き込み、ホス ト端末 101へ書き込まれるデータの Flashメモリ 131aからの読み出しを行う。
[0088] (d)lZOバッファ:コマンド、レスポンス、データ等のデータの入出力を行う。 I/O ノ ッファは、データ Zレスポンス Outputl34a、データ Zコマンド Inputl34b、デー 夕 Outputl34c、データ Input 134d、ド、ライノ 135a、レシーノ 135b、ド、ライノ 135c 及びレシーバ 135dを含み、これらが図 1に示すように接続されて!、る。
[0089] (e)レシーバ 136 :クロック CLKHをホスト端末 101から受信する。
[0090] (3)機能構成
図 3は、ホスト端末 101の CPU110及び SDメモリカード 102の CPU130の機能構 成図である。
[0091] (3— 1)ホスト端末の CPUの機能構成 (a)クロック生成咅、クロック送信咅
クロック生成部 150は、ホスト端末 101と SDメモリカード 102との間でデータを送受 信するための基本のクロック CLKHを生成する。クロック生成部 150は、 CPU110の 各種機能部をクロック CLKHにより制御するため、クロック送信部 151、タイミング制 御部 152、コマンド送信部 156、レスポンス受信部 158、リードデータ受信部 160及 びライトデータ送信部 162等にクロック CLKHを送信する。クロック送信部 151は、ク ロック CLKHをクロック信号用伝送線路 105を介して SDメモリカード 102に送信する
[0092] (b)タイミング制御部、第 1タイムスロット取得部、パラメータ記憶部
ノ メータ記憶部 154は、通信規格として定められているヘッダ長、フッタ長及び基 本タイムスロット長の情報を記憶している。ここで、ヘッダ長及びフッタ長は、ビット数 で定義されたヘッダ及びフッタの長さである。基本タイムスロット長とは、ビット数で定 義されたデータパケット間の間隔である基本タイムスロットの長さである。
[0093] 第 1タイムスロット取得部 153は、パラメータ記憶部 154から取得したヘッダ長、フッ タ長及び基本タイムスロット長に基づいて、第 1データフラグメント間の間隔である第 1 タイムスロット長を算出して取得する。第 1データフラグメントは、 SDメモリカード 102 から制御信号用伝送線路 106を介して連続的に伝送されている。ここで、第 1タイム スロット長は、フッタ長 +基本タイムスロット長 +ヘッダ長により算出される。第 1タイム スロット取得部 153は、コマンド生成部 155に第 1タイムスロット長を送信する。
[0094] また、タイミング制御部 152及び第 1タイムスロット取得部 153は、後述のリードデー タ受信部 160からデータ信号用伝送線路 107を介してデータパケットを受信し、デー タパケットのヘッダ情報に含まれる第 2データフラグメントのビット長を取得する。ここ で、第 1データフラグメントのビット長と第 2データフラグメントのビット長とは同じである 。第 1タイムスロット取得部 153は、ヘッダ長、第 2 (又は第 1)データフラグメントのビッ ト長及び第 1タイムスロット長をクロック CLKHに基づいて順にカウントすることで、第 1 タイムスロットの開始位置を把握する。そして、第 1タイムスロット取得部 153は、第 1タ ィムスロットの開始位置をコマンド送信部 156に送信する。また、タイミング制御部 15 2は、ヘッダ長、第 2 (又は第 1)データフラグメントのビット長、フッタ長及び基本タイム スロット長をクロック CLKHに基づいて順にカウントし、カウント値をリードデータ受信 部 160に送信する。
[0095] なお、タイムスロットの開始位置は、タイムスロット取得部 153からではなぐタイミン グ制御部 152からのカウント値に基づいて取得しても良い。
[0096] (c)コマンド生成部、コマンド送信部
コマンド生成部 155は、 SDメモリカード 102に記憶されている映像、音声等のリード データを読み出すためのリードコマンド、 SDメモリカード 102にデータを書き込むた めのライトコマンド、 SDメモリカード 102からのリードデータの読み出しを中止するリー ド割込コマンドなどの各種コマンドを生成する。
[0097] ここで、リード時には、ホスト端末 101は、制御信号用伝送線路 106を介して連続的 に第 1データフラグメントを、またデータ信号用伝送線路 107を介して連続的にデー タパケットを、 SDメモリカード 102からリードデータを受信している。リード割込コマン ドは、このような場合に、隣接する第 1データフラグメント間の第 1タイムスロットを用い て SDメモリカード 102に送信され、リードデータの送信を停止するコマンド (割込信号 )である。コマンド生成部 155は、例えば SDメモリカード 102から送信されたリードデ ータの RAMI 11への書き込みが遅れている等、ホスト端末 101の状況を判断し、リ ード割込コマンドを送信する力否かを判断する。コマンド生成部 155は、リード割込コ マンドを送信する場合には、リード割込コマンドのビット長が、第 1タイムスロット長を超 えな 、ようにリード割込コマンドを生成する。
[0098] コマンド送信部 156は、制御信号用伝送線路 106を介して、リードコマンド及びライ トコマンド等の各種コマンドを SDメモリカード 102にクロック CLKHに基づいて送信 する。なお、コマンド送信部 156は、第 1タイムスロット内でリード割込コマンドを送信 可能なように、第 1タイムスロットの開始位置に基づいてリード割込コマンドを送信する
[0099] (d)レスポンス受信部
レスポンス受信部 158は、ホスト端末 101が送信したコマンドに対するレスポンスを SDメモリカード 102から受信する。なお、レスポンス受信部 158は、 SDメモリカード 1 02からライト割込レスポンス、いわゆるビジー信号を受信している力否かを判断し、ラ イト割込レスポンスの受信の有無をライトデータ送信部 162に通知する。
[0100] (e)リードデータ受信部、リードデータ生成部
リードデータ受信部 160は、 SDメモリカード 102からの第 1データフラグメント及び データパケットをクロック CLKHに基づいて受信する。ここで、リードデータ受信部 16 0は、第 1データフラグメントを制御信号用伝送線路 106を介して、データパケットを データ信号用伝送線路 107を介して受信している。また、リードデータ受信部 160は 、ヘッダ長、第 2 (又は第 1)データフラグメントのビット長、フッタ長及び基本タイムス口 ット長を順にカウントしたカウント値をタイミング制御部 152から受信している。このカウ ント値に基づいて、リードデータ受信部 160は、第 1データフラグメント及びデータパ ケット内の第 2データフラグメントを損失することなく正確に受信することができる。な お、制御信号用伝送線路 106の第 1データフラグメントは、データ信号用伝送線路 1 07のデータパケットのヘッダ情報及びフッタ情報に基づ 、て伝送されており、第 1デ ータフラグメントとデータパケットの第 2データフラグメントとは同期している。
[0101] リードデータ生成部 159は、複数の第 1及び第 2データフラグメントからリードデータ を生成し、 RAM 111に記憶させる。
[0102] (f)送信データ生成部、ライトデータ送信部
送信データ生成部 161は、ライトコマンドが生成されると、 SDメモリカード 102に書 き込むためのライトデータを RAMI 11から読み出し、複数の第 1データフラグメント及 びデータパケットを生成する。第 1データフラグメントはヘッダ情報及びフッタ情報を 付加せずに生成する。一方、データパケットは、ヘッダ情報、第 2データフラグメント 及びフッタ情報を含むように生成する。また、同期して伝送される第 1データフラグメ ントと第 2データフラグメントとのビット長は同一とする。
[0103] ライトデータ送信部 162は、クロック CLKHに基づいて、第 1データフラグメントを制 御信号用伝送線路 106を介して SDメモリカード 102送信し、データパケットをデータ 信号用伝送線路 107を介して SDメモリカード 102に送信する。なお、ライトデータ送 信部 162は、制御信号用伝送線路 106の第 1データフラグメントを、データ信号用伝 送線路 107のデータパケットのヘッダ情報及びフッタ情報に基づ 、て送信する。よつ て、第 1データフラグメントとデータパケットの第 2データフラグメントとは同期している [0104] また、ライトデータ送信部 162は、レスポンス受信部 158からライト割込レスポンスの 受信の有無を受け取る。ライト割込レスポンスを受信している場合は、ライトデータ送 信部 162は、第 1データフラグメント及びデータパケットの送信を停止する。一方、ライ ト割込レスポンスを受信して 、な 、場合は第 1データフラグメント及びデータパケット の送信を継続し、ライト割込レスポンスが解除された場合はこれらの送信を再開する。
[0105] ここで、ライトデータ送信部 162は、レスポンス受信部 158がライト割込レスポンスを 受信している時に第 1データフラグメント及びデータパケットを送信している場合には 、これらの第 1データフラグメント及びデータパケットの送信を完了する。このようにライ ト割込レスポンスの受信時に送信されている第 1データフラグメント及びデータバケツ トの送信を完了することで、送信中の第 1データフラグメント及びデータパケットの送 信が未完了となって破壊されるのを防止することができる。
[0106] (3— 2) SDメモリカードの CPUの機能構成
(a)クロック受信部
クロック受信部 170は、ホスト端末 101からクロック CLKHを受信する。なお、ホスト 端末 101から SDメモリカード 102への送信の際の遅延により、クロック CLKHはカー ドクロック CLKSに変化している。クロック受信部 170は、タイミング制御部 172、コマ ンド受信部 177、レスポンス送信部 178、リードデータ送信部 179及びライトデータ受 信部 181等にカードクロック CLKSを送信する。
[0107] (b)タイミング制御部、第 1タイムスロット取得部、パラメータ記憶部
ノ メータ記憶部 174は、通信規格として定められているヘッダ長、フッタ長及び基 本タイムスロット長の情報を記憶して 、る。
[0108] 第 1タイムスロット取得部 173は、パラメータ記憶部 174から取得したヘッダ長、フッ タ長及び基本タイムスロット長に基づいて、隣接する第 1データフラグメント間の間隔 である第 1タイムスロット長を算出して取得する。第 1タイムスロット取得部 173は、レス ポンス生成部 175に第 1タイムスロット長を送信する。
[0109] また、タイミング制御部 172及び第 1タイムスロット取得部 173は、後述のライトデー タ受信部 181からデータパケットを受信し、データパケットのヘッダ情報に含まれる第 2データフラグメントのビット長を取得する。第 1タイムスロット取得部 173は、ヘッダ長 、第 2 (又は第 1)データフラグメントのビット長及び第 1タイムスロット長をカードクロック CLKSに基づいて順にカウントし、第 1タイムスロットの開始位置を取得する。そして、 第 1タイムスロット取得部 173は、第 1タイムスロットの開始位置をレスポンス送信部 17 8に送信する。なお、同期して伝送される第 1データフラグメントと第 2データフラグメン トとのビット長は同一である。
[0110] また、タイミング制御部 172は、ヘッダ長、第 2 (又は第 1)データフラグメントのビット 長、フッタ長及び基本タイムスロット長をカードクロック CLKSに基づいて順にカウント し、カウント値をライトデータ受信部 181に送信する。
[0111] (c)コマンド受信部
コマンド受信部 177は、制御信号用伝送線路 106を介して、リード割込コマンドを 含む各種コマンドをカードクロック CLKSに基づいてホスト端末 101から受信する。
[0112] (d)レスポンス生成部、レスポンス送信部
レスポンス生成部 175は、ホスト端末 101からの各種コマンドに対するレスポンスを 生成する。また、レスポンス生成部 175は、ライトデータの書き込みを中止するライト 割込レスポンスの生成も行う。
[0113] ここで、ライト時には、 SDメモリカード 102は、ホスト端末 101から制御信号用伝送 線路 106を介して連続的に第 1データフラグメントを受信し、ライトデータを受信して いる。ライト割込レスポンスは、このような場合に、隣接する第 1データフラグメント間の 第 1タイムスロットを用いてホスト端末 101に送信され、ライトデータの送信を停止する レスポンス (割込信号)である。レスポンス生成部 175は、例えばホスト端末 101から 送信されたライトデータの Flashメモリ 13 laへの書き込みが遅れている等、 SDメモリ カード 102の状況を判断し、ライト割込レスポンスを送信するカゝ否かを判断する。レス ポンス生成部 175は、ライト割込レスポンスを送信する場合には、ライト割込レスボン スのビット長力 第 1タイムスロット長を超えないようにライト割込レスポンスを生成する
[0114] レスポンス送信部 178は、コマンド受信部 177がホスト端末 101から各種コマンドを 受信すると、制御信号用伝送線路 106を介してホスト端末 101にレスポンスを送信す る。また、レスポンス送信部 178は、ライト割込レスポンスについては、第 1タイムスロッ ト内でライト割込レスポンスを送信可能なように、第 1タイムスロットの開始位置に基づ いて送信する。なお、ライト割込レスポンスは、ライトデータの Flashメモリ 13 laへの書 き込みが可能になるまで生成され、ホスト端末 102に送信される。
[0115] なお、後述の通り、リード割込コマンドを受信している際に、リードデータ送信部 179 が第 1データフラグメント及びデータパケットをホスト端末 101に送信している場合に は、レスポンス送信部 178は、これらの送信完了後にレスポンスをホスト端末 101に 送信する。
[0116] (e)ライトデータ受信部、ライトデータ生成部
ライトデータ受信部 181は、ホスト端末 101からの第 1データフラグメント及びデータ パケットをカードクロック CLKSに基づいて受信する。ここで、ライトデータ受信部 181 は、第 1データフラグメントを制御信号用伝送線路 106を介して、データパケットをデ ータ信号用伝送線路 107を介して受信している。また、ライトデータ受信部 181は、 ヘッダ長、第 2 (又は第 1)データフラグメントのビット長、フッタ長及び基本タイムスロッ ト長を順にカウントしたカウント値をタイミング制御部 172から受信している。このカウ ント値に基づいて、ライトデータ受信部 181は、第 1データフラグメント及びデータパ ケット内の第 2データフラグメントを損失することなく正確に受信することができる。な お、第 1データフラグメントは、データパケットのヘッダ情報及びフッタ情報に基づい て伝送されており、第 1データフラグメントとデータパケットの第 2データフラグメントと は同期している。
[0117] ライトデータ生成部 182は、複数の第 1及び第 2データフラグメントからライトデータ を生成し、 Flashメモリ 131aに記憶させる。
[0118] (f)送信データ生成部、リードデータ送信部
送信データ生成部 180は、コマンド受信部 177がホスト端末 101からリードコマンド を受信すると、ホスト端末 101に送信するためのリードデータを Flashメモリ 131aから 読み出し、複数の第 1データフラグメント及びデータパケットを生成する。データパケ ットは、ヘッダ情報、第 2データフラグメント及びフッタ情報を含んで生成される。また 、同期して伝送される第 1データフラグメント及び第 2データフラグメントのビット数は 同じである。
[0119] リードデータ送信部 179は、カードクロック CLKSに基づいて、第 1データフラグメン トを制御信号用伝送線路 106を介してホスト端末 101送信し、データパケットをデー タ信号用伝送線路 107を介してホスト端末 101に送信する。なお、リードデータ送信 部 179は、第 1データフラグメントを、データパケットのヘッダ情報及びフッタ情報に基 づいて送信する。よって、第 1データフラグメントとデータパケットの第 2データフラグメ ントとは同期している。
[0120] また、リードデータ送信部 179は、リード割込コマンドの受信時に第 1データフラグメ ント及びデータパケットを送信している場合には、これらの第 1データフラグメント及び データパケットの送信を完了する。このようにリード割込コマンドの受信時に送信され ている第 1データフラグメント及びデータパケットの送信を完了することで、送信中の 第 1データフラグメント及びデータパケットの送信が未完了となって破壊されるのを防 止することができる。
[0121] (4)処理の流れ
以下に説明する処理においては、ホスト端末 101から SDメモリカード 102にクロック CLKHが送信されている。
[0122] (4 1)リード時
図 4は、本実施形態の通信システムにおける、リード時の処理の流れの一例を示す フローチャートである。
[0123] ステップ Sl、 S2 :ホスト端末 101のコマンド生成部 155は、 SDメモリカード 102から リードデータを読み出すためのリードコマンドを生成する。ホスト端末 101のコマンド 送信部 156は、リードコマンドを制御信号用伝送線路 106を介して SDメモリカード 10 2に送信する(ステップ Sl)。 SDメモリカード 102のコマンド受信部 177はリードコマン ドを受信する (ステップ S 2)。
[0124] ステップ S3、 S4 : SDメモリカード 102のレスポンス送信部 178は、リードコマンドに 対するレスポンスを、制御信号用伝送線路 106を介してホスト端末 101に送信する( ステップ S3)。ホスト端末 101のレスポンス受信部 158はレスポンスを受信する(ステツ プ S4)。 [0125] ステップ S5、 S6 : SDメモリカード 102の送信データ生成部 180は、リードコマンドの 受信に応じて、 Flashメモリ 131 aからリードデータを読み出して第 1データフラグメント 及びデータパケットを生成する。 SDメモリカード 102のリードデータ送信部 179は、 第 1データフラグメントを制御信号用伝送線路 106を介してホスト端末 101に送信し、 データパケットをデータ信号用伝送線路 107を介してホスト端末 101に送信する (ス テツプ S5)。ホスト端末 101のリードデータ受信部 160は、 SDメモリカード 102から第 1データフラグメント及びデータパケットを受信する (ステップ S6)。このとき、ホスト端 末 101のタイミング制御部 152は、ヘッダ長、第 2 (又は第 1)データフラグメントのビッ ト長、フッタ長及び基本タイムスロット長を順にカウントし、カウント値をリードデータ受 信部 160に送信している。
[0126] その後、リードデータ生成部 159は、第 1及び第 2データフラグメントからリードデー タを生成し、 RAMI 11に記憶させる。
[0127] ステップ S7、 S8 :ホスト端末 101のコマンド生成部 155は、リード割込コマンドの送 信を行うか否かを判断し、送信する場合 (Yes)にはリード割込コマンドを生成する (ス テツプ S7)。このとき、ホスト端末 101の第 1タイムスロット取得部 153は、ヘッダ長、フ ッタ長及び基本タイムスロット長に基づいて第 1タイムスロット長を算出している。ホスト 端末 101のコマンド生成部 155は、第 1タイムスロット長を超えないようにリード割込コ マンドを生成する (ステップ S8)。リード割込コマンドの送信を行わない場合 (No)に は、ホスト端末 101のリードデータ受信部 160はさら〖こ第 1データフラグメント及びデ ータパケットを受信する。
[0128] ステップ S9 :ホスト端末 101の第 1タイムスロット取得部 153は、ヘッダ長、第 2 (又は 第 1)データフラグメントのビット長及び第 1タイムスロット長をクロック CLKHに基づい て順にカウントし、第 1タイムスロットの開始位置を取得する。
[0129] ステップ S10、 S11 :ホスト端末 101のコマンド送信部 156は、制御信号用伝送線 路 106を介して、第 1タイムスロットの開始位置に基づき、リード割込コマンドを SDメ モリカード 102に送信する(ステップ S10)。 SDメモリカード 102のコマンド受信部 17 7は、ホスト端末 101からリード割込コマンドを受信する (ステップ SI 1)。
[0130] ステップ S12、 S13 : SDメモリカード 102のレスポンス送信部 178は、制御信号用伝 送線路 106を介して、リード割込コマンドに対するレスポンスをホスト端末 101に送信 する (ステップ S12)。なお、リード割込コマンドの受信の際にリードデータ送信部 179 が第 1データフラグメント及びデータパケットを送信している場合には、これらの送信 を完了後、レスポンス送信部 178はレスポンスを送信する。
[0131] ホスト端末 101のレスポンス受信部 158は、 SDメモリカード 102からレスポンスを受 信する (ステップ S 13)。
[0132] ステップ S14 : SDメモリカード 102のリードデータ送信部 179は、第 1データフラグメ ント及びデータパケットの送信を停止する。
[0133] その後、ホスト端末 101から SDメモリカード 102にリードコマンドが再び送信される と、 SDメモリカード 102は制御信号用伝送線路 106及びデータ信号用伝送線路 10
7を介して第 1データフラグメント及びデータパケットの送信を再開する。
[0134] (4 2)ライト時
図 5は、本実施形態の通信システムにおける、ライト時の処理の流れの一例を示す フローチャートである。
[0135] ステップ S21 :ホスト端末 101のコマンド生成部 155及びコマンド送信部 156は、 S Dメモリカード 102にライトデータを書き込むためのライトコマンドを生成し、送信する( ステップ S21)。 SDメモリカード 102のコマンド受信部 177はライトコマンドを受信する (ステップ S22)。
[0136] ステップ S23 : SDメモリカード 102のレスポンス送信部 178及びホスト端末 101のレ スポンス受信部 158は、ライトコマンドに対するレスポンスを送受信する。
[0137] ステップ S25、 S26 :ホスト端末 101の送信データ生成部 161及びライトデータ送信 部 162は、ライトコマンドの受信に応じて、 RAMI 11からライトデータを読み出して第 1データフラグメント及びデータパケットを生成し、 SDメモリカード 102に送信する(ス テツプ S25)。 SDメモリカード 102のライトデータ受信部 181は、ホスト端末 101から 第 1データフラグメント及びデータパケットを受信する(ステップ S26)。このとき、 SDメ モリカード 102のタイミング制御部 172は、ヘッダ長、第 2 (又は第 1)データフラグメン トのビット長、フッタ長及び基本タイムスロット長を順にカウントし、カウント値をライトデ ータ受信部 181に送信して 、る。 [0138] その後、ライトデータ生成部 182は、第 1データフラグメント及びデータパケットから ライトデータを生成し、 Flashメモリ 13 laに記憶させる。
[0139] ステップ S27、 S28 : SDメモリカード 102のレスポンス生成部 175は、ライト割込レス ポンスの送信を行うか否かを判断し、送信する場合 (Yes)にはライト割込レスポンスを 生成する(ステップ S27)。このとき、 SDメモリカード 102の第 1タイムスロット取得部 1 73は、ヘッダ長、フッタ長及び基本タイムスロット長に基づいて第 1タイムスロット長を 算出している。 SDメモリカード 102のレスポンス生成部 175は、第 1タイムスロット長を 超えないようにライト割込レスポンスを生成する (ステップ S28)。ライト割込レスポンス の送信を行わない場合 (No)には、 SDメモリカード 102のライトデータ受信部 181は さらに第 1データフラグメント及びデータパケットを受信する。
[0140] ステップ S29 : SDメモリカード 102の第 1タイムスロット取得部 173は、ヘッダ長、第 2 (又は第 1)データフラグメントのビット長及び第 1タイムスロット長をカードクロック CL KSに基づいて順にカウントし、第 1タイムスロットの開始位置を取得する。
[0141] ステップ S30 : SDメモリカード 102のレスポンス送信部 178は、制御信号用伝送線 路 106を介して、第 1タイムスロットの開始位置に基づき、ライト割込レスポンスをホスト 端末 101に送信する (ステップ S30)。
[0142] ステップ S31、 S32 :ホスト端末 101のレスポンス受信部 158は、 SDメモリカード 10 2からライト割込レスポンス、いわゆるビジー信号を受信している力否かを判断する (ス テツプ S31)。ライト割込レスポンスを受信していない場合 (No)は、ステップ S25にて 、ライトデータ送信部 162は、第 1データフラグメント及びデータパケットを生成及び送 信を行う。
[0143] 一方、ライト割込レスポンスを受信している場合 (Yes)は、ホスト端末 101のライトデ ータ送信部 162は、制御信号用伝送線路 106及びデータ信号用伝送線路 107を介 した第 1データフラグメント及びデータパケットの送信を停止する (ステップ S32)。そし て、ライト割込レスポンスの受信が解除されると、ライトデータ送信部 162は、ステップ S25にて、第 1データフラグメント及びデータパケットを生成及び送信を再開する。
[0144] (5)作用効果
本発明において、制御信号用伝送線路 106の第 1データフラグメントは、ヘッダ情 報及びフッタ情報が付加されていない。送信側は、データ信号用伝送線路 107のデ ータパケットのヘッダ情報及びフッタ情報を用い、第 1データフラグメントとデータパケ ットの第 2データフラグメントとを同期させて受信側に送信する。このとき、制御信号用 伝送線路 106の隣接する第 1データフラグメント間の第 1タイムスロットは、データ信 号用伝送線路 107のデータパケット間の間隔よりも、フッタ情報及びヘッダ情報のビ ット長分の長さ分だけ長く形成される。本発明では、この第 1タイムスロットを利用して リード割込コマンドやライト割込レスポンスなどの割込信号を送信する。そのため、リ ード割込コマンドやライト割込レスポンス等を送信するために確保すべき別途の期間 が不要であるか、または別途の期間を短くすることができる。よって、第 1タイムスロット を用いて割込信号を送信することによるデータの伝送効率の低下を抑制することが できる。また、第 1タイムスロットはデータフラグメントが伝送されていない期間であるた め、データフラグメントの損失を防止することができる。
[0145] (6)変形例
(6- 1)
上記では、制御信号用伝送線路 106を伝送する第 1データフラグメントにはヘッダ 情報及びフッタ情報がともに付加されていない。しかし、ヘッダ情報又はフッタ情報の いずれかを第 1データフラグメントに付加しても良い。例えば、第 1データフラグメント の前にヘッダ情報が付加されると、第 1タイムスロットは、先に伝送される第 1データフ ラグメントと、後に伝送される第 1データフラグメントのヘッダ情報と、の間隔によって 定義される。あるいは、第 1データフラグメントの後にフッタ情報が付加されると、第 1 タイムスロットは、先に伝送される第 1データフラグメントのフッタ情報と、後に伝送され る第 1データフラグメントと、の間隔によって定義される。このような第 1タイムスロットを 用いることで、ヘッダ長又はフッタ長分だけ余分にタイムスロットを確保することができ 、伝送効率の低下を抑制することができる。
[0146] (6- 2)
SDメモリカード 102では、データは 8ビット単位で処理を行っている。よって、フッタ 長 +基本タイムスロット長 +ヘッダ長により算出される上記の第 1タイムスロット長は、 8の倍数であるのが好まし!/、。 [0147] (6- 3)
送信側力 のデータの伝送が終了し、受信側がコマンドを正常に送信側に出力で きる状態になるまでには、例えば数クロック分の切替時間 tlが必要となる。また、受信 側からの割込信号の送信が終了し、送信側が再びデータの伝送を開始できる状態 になるまでには、例えば数クロック分の切替時間 t2が必要となる。よって、第 1タイム スロット長は、この切替時間 tl及び t2を含むビット長であるのが好ましい。つまり、第 1 データフラグメント間の間隔である第 1タイムスロット長は、データパケットのフッタ長 + 切替時間 tlのビット数 +コマンドのビット数 +切替時間 t2 +データパケットのヘッダ 長により算出される。また、前記のように表される第 1タイムスロット長もまた、 8の倍数 であるのが好ましい。
[0148] (6-4)
上記では、送信側からデータを受信しているときに、受信側カ^ード割込コマンド又 はライト割込レスポンスを送信側に送信する場合にっ ヽて説明した。本実施形態は、 その他、送信側力 データを受信しているときに、送信を一定期間遅らせたり、デー タの再送を指示したりする各種信号を送信側に送信する場合にも適用可能である。
[0149] (6- 5)
上記では、データパケットは、ヘッダ情報、データパケット及びフッタ情報を順に含 むように形成されて 、るが、これらの順序は前記に限定されな 、。
[0150] (6-6)
上記では、本実施形態は、制御用信号伝送線路及びデータ信号用伝送線路を有 する通信システムについて説明した。しかし、制御信号用伝送線路を有さず、データ 信号用伝送線路のみを有する通信システムにおいても本実施形態を適用可能であ る。例えば、データ信号用伝送線路のいずれかにおいて、ヘッダ情報及びフッタ情 報が付加されていない第 1データフラグメントを送信する。そして、そのデータ信号用 伝送線路を隣接して伝送する第 1データフラグメント間を用いて、リード割込コマンド 及びライト割込レスポンス等を送信する。
[0151] (6- 7)
上記では、ヘッダ長、フッタ長及び基本タイムスロット長が通信規格として定められ ているとした。しかし、例えば SDメモリカード毎にヘッダ長、フッタ長及び基本タイムス ロット長が異なり、ホスト端末 101と SDメモリカード 102との通信開始時に、これらの 情報を相互に取得するようにしても良い。
[0152] (6-8)
制御信号用伝送線路 106及びデータ信号用伝送線路 107は、一対の 2本の差動 伝送線路であっても良い。
[0153] (6- 9)
上記では、各データフラグメントのビット長がヘッダ情報に記載されて 、る構成を説 明した。しかし、各データフラグメントのビット長が通信規格により固定されていても良 い。この場合には、ノ ラメータ記憶部にデータフラグメントのビット長を格納しておけ ば良ぐ第 2データパケットのヘッダ長から随時、データフラグメントのビット長を取得 する必要は無い。
[0154] (6- 10)
割込信号の送信により即座にデータの伝送が中止されるのが好ましいため、割込 信号は 1個の第 1タイムスロットを用いて送信されるのが好ましい。しかし、例えば割込 信号のビット長が第 1タイムスロット長を超える場合は、割込信号を複数に分割し、複 数の第 1タイムスロットを用いて送信しても良!、。
[0155] (6- 11)
上記では、リムーバブルメモリデバイスである SDメモリカードを例に挙げて説明した 力 ホスト端末力 供給されたクロックでリードデータをホスト端末に送信するような携 帯可能なリムーバブルメモリデバイスであれば、本発明を適用可能な範囲は SDメモ リカードに限定されない。例えば、その他、コンパクトフラッシュ(登録商標)、スマート メディア、マルチメディアカード、メモリースティック等が挙げられる。また、リムーパブ ルメモリデバイスが搭載可能なメモリは、フラッシュメモリに限定されず、 MRAM、 Fe RAM等の不揮発性メモリが挙げられる。
[0156] (6- 12)
前述した方法をコンピュータに実行させるコンピュータプログラム及びそのプロダラ ムを記録したコンピュータ読み取り可能な記録媒体は、本発明の範囲に含まれる。こ こで、コンピュータ読み取り可能な記録媒体としては、例えば、フレキシブルディスク、 ヽードディスク、 CD— ROM MO DVD DVD— ROM DVD— RAM BD (Blu e-ray Disc)、半導体メモリを挙げることができる。
[0157] 前記コンピュータプログラムは、前記記録媒体に記録されたものに限られず、電気 通信回線、無線又は有線通信回線、インターネットを代表とするネットワーク等を経 由して伝送されるものであってもよ 、。
[0158] <第 2実施形態例 >
図 6、図 7は、本発明の第 2実施形態例の第 1実施例及び第 2実施例に係る通信シ ステムの全体構成図である。この通信システムでは、ホスト端末 201である送受信装 置と SD (Secure Digital)メモリカード 202である送受信装置と力 伝送線路を介し て接続される。伝送線路には、クロック信号用伝送線路 205、制御信号用伝送線路 2 06及びデータ信号用伝送線路 207が含まれる。クロック信号用伝送線路 205は、ホ スト端末 201及び SDメモリカード 202間の通信に用いられる後述の第 1クロック CLK HI等を、ホスト端末 201から SDメモリカード 202に伝送するために用いられる。制御 信号用伝送線路 206は、データの読み出し、書き込みなどに関するコマンド及びコマ ンドに対するレスポンスを、ホスト端末 201及び SDメモリカード 202間で送受信する ために用いられる。データ信号用伝送線路 207は、ホスト端末 201及び SDメモリ力 ード 202間でデータを送受信するために用いられる。
[0159] 図 8は、リード時のデータ伝送の様子を示すタイムチャートである。本実施形態の通 信システムはハンドシェイク型の通信システムであり、データの伝送の際には、まずリ ードコマンド(図 8中、 ReadCMD)やライトコマンドなどの各種コマンド、割込コマンド 及びコマンドに対するレスポンス(図 8中、 Res)がホスト端末 201及び SDメモリカード 202間で送受信された後、データ(図 8中、 DATA)の伝送が行われる。
[0160] また、本実施形態の通信システムでは、データアクセスの伝送効率を向上すること を目的として、図 8に示すようにデータの伝送にはデータ信号用伝送線路 207だけで なく制御信号用伝送線路 206も用いる。データは複数のデータフラグメントに分割さ れて伝送されており、制御信号用伝送線路 206及びデータ信号用伝送線路 207を 介して伝送されるデータフラグメントには、ヘッダ情報及びフッタ情報が付加されて ヽ る。つまり、制御信号用伝送線路 206及びデータ信号用伝送線路 207では、ヘッダ 情報、データフラグメント及びフッタ情報を含むデータパケットが伝送される。また、全 てのデータパケットは同じビット長により構成されている。
[0161] ここで、ヘッダ情報及びフッタ情報はデータフラグメントとは異なる情報である。へッ ダ情報にはデータパケットの受信タイミングの調整のための、例えば同期ビット列及 びスタートビットなどの情報が含まれており、フッタ情報にはデータパケットの終了を 示す、例えばエンドビットなどの情報が含まれている。なお、ヘッダ情報及びフッタ情 報に含まれる情報は、これらに限定されず、その他の各種情報を含んでいても良い。 また、データフラグメントには、 CRC (Cyclic Redundancy Check:巡回冗長検査 )ビットなど、各データフラグメントの伝送エラーを検出するための情報が含まれて ヽ ても良い。
[0162] 本実施形態では、受信側は、クロック信号用伝送線路を介して第 1クロック CLKH1 を送信側に送信している。また、送信側は、第 1クロック CLKH1に基づいて受信側 にデータパケットを送信している。このとき、受信側は、送信側からのデータパケットの 送信を停止するために、第 1クロック CLKH1の送信側への送信を停止する。よって、 送信側は受信側にデータパケットを送信することができない。このようにして、受信側 は、送信側からのデータパケットの送信の停止を制御することができる。
[0163] なお、データ信号用伝送線路 207は、 1本に限られず複数設けられても良い。
[0164] 以下に、本実施形態の一例として、第 1実施例及び第 2実施例を以下に説明する。
[0165] (第 1実施例)
(1)概要
図 9は、第 1実施例におけるリード時のデータ伝送の様子を示すタイムチャートであ る。第 1実施例では、ホスト端末 201が、第 1クロック CLKH1の送信を停止する(図 9 の期間 A (停止タイムスロット)を参照)。これにより、 SDメモリカード 202からのデータ パケットの送信が停止している。その後、制御信号用伝送線路 206を介して、ホスト 端末 201から SDメモリカード 202に割込信号(図 9中、 ITRPT (例えば、後述のリー ド割込コマンドである。;))を送信する。また、データ信号用伝送線路 207を介して、第 1クロック CLKH1とは異なる第 2クロック CLKH2を SDメモリカード 202に送信する。 SDメモリカード 202は、第 2クロック CLKH2に基づいて割込コマンドを受信する。
[0166] (2)ハードウェア構成
以下に、再び図 6を用いて、ホスト端末 201及び SDメモリカード 202のハードウェア 構成について説明する。ホスト端末 201及び SDメモリカード 202は、図 6に示すノヽー ドウエア構成と、後述の図 10に示す CPU210の機能構成との協働により、後述する 各種機能を実現する。
[0167] (2— 1)ホスト端末
(a) CPU210 :ホスト端末 201のその他の RAM211、 ノ ッファ 212、カードインタ 一フェース部 213及び IZOバッファ等を制御する。そして、ホスト端末 201でのデー タの読み出し及び書き込みなどの後述する各種機能を各種プログラムに基づいて実 現する。
[0168] (b)RAM211 : SDメモリカード 202との間で送受信される各種データを記憶する
[0169] (c)バッファ 212、カードインターフェース部 213 : SDメモリカード 202から読み出 されたデータの RAM211への書き込み、 SDメモリカード 202へ書き込まれるデータ の RAM211からの読み出しを行う。
[0170] (d)lZOバッファ:コマンド、レスポンス、データ等のデータの入出力を行う。 I/O ノ ッファは、データ Zコマンド Output214a、データ Zレスポンス Input214b、デー 夕 Output214c、データ Input214d、ド、ライノ 215a、レシーノ 215b、ド、ライノ 215c 及びレシーバ 215dを含み、これらが図 6に示すように接続されている。なお、ドライバ 215cは、データ信号用伝送線路 207を介して第 2クロック CLKH2を SDメモリカード 202に送信する。
[0171] (e)ドライバ 216 :クロック信号用伝送線路 405を介して、クロック CLKH1を SDメ モリカード 202に送信する。
[0172] (2— 2) SDメモリカード
(a) CPU230: SDメモリカード 202でのデータの読み出し及び書き込みなどの後 述する各種機能を各種プログラムに基づ 、て実現する。
[0173] (b) Flashメモリ 23 la:ホスト端末 201との間で送受信される各種データを記憶す る。
[0174] (c) Flashメモリインターフェース部 23 lb、 ノ ッファ 232、ホストインターフェース部 233 :ホスト端末 201から読み出されたデータの Flashメモリ 231aへの書き込み、ホス ト端末 201へ書き込まれるデータの Flashメモリ 231aからの読み出しを行う。
[0175] (d) lZOバッファ:コマンド、レスポンス、データ等のデータの入出力を行う。 I/O ノ ッファは、データ Zレスポンス Output234a、データ Zコマンド Input234b、デー 夕 Output234c、データ Input234d、ド、ライノ 235a、レシーノ 235b、ド、ライノ 235c 及びレシーバ 235dを含み、これらが図 16示すように接続されている。なお、レシ一 ノ 235dは、データ信号用伝送線路 207を介して第 2クロック CLKH2をホスト端末 2 01から受信する。
[0176] (e)レシーバ 236 :第 1クロック CLKH1をホスト端末 201から受信する。
[0177] (f)割込記憶回路 237 : SDメモリカード 402の割込記憶回路 237は、制御信号用 伝送線路 206から入力を受けるレシーバ 235bの出力ライン 235blと、データ信号用 伝送線路 207から入力を受けるレシーバ 235dの出力ライン 235dlとに接続されてい る。さらに、割込記憶回路 237は、 CPU230から割込記憶回路 Enable信号が入力さ れ、割込検出信号を CPU230に出力する。ここで、制御信号用伝送線路 206及び データ信号用伝送線路 207を隣接して伝送するデータパケットにおいて、先に伝送 されるデータパケットと、後に伝送されるデータパケットと、の間隔を基本タイムスロット と言うものとする(図 9参照)。また、第 1クロック CLKH1の供給が停止されている期間 を停止タイムスロットと言うものとする(図 9参照)。停止タイムスロットでは、第 1クロック CLKH1の供給が無いため、 SDメモリカード 202からホスト端末 201へのデータパケ ットの送信が停止している。割込記憶回路 Enable信号は、基本タイムスロット及び停 止タイムスロットにおいてのみ活性ィ匕される。よって、割込記憶回路 237は、割込記 憶回路 Enable信号の入力を受けて、基本タイムスロット及び停止タイムスロットにお いてのみ動作可能である。
[0178] 第 1クロック CLKH1の供給が停止することで、ホスト端末 401へのデータパケットの 送信が停止する。その後、図 9に示すように、停止タイムスロット(図 9中、期間 A)にお いて、割込記憶回路 237は、ホスト端末 201から、データ信号用伝送線路 207を介し て第 2クロック CLKH2の入力を受け、かつ制御信号用伝送線路 206を介して割込コ マンド(図 9中、 ITRPT)の入力を受ける。割込記憶回路 237は、第 2クロック CLKH 2をトリガとして割込コマンドをラッチし、割込検出信号を CPU230に出力する。なお 、ホスト端末 101から SDメモリカード 102への送信の際の遅延により、第 2クロック CL KH2は第 2カードクロック CLKS2に変化している。よって、実際には、割込記憶回路 237は、第 2カードクロック CLKS2に基づいて割込コマンドを受信する。
[0179] (3)機能構成
図 10は、ホスト端末 201の CPU210及び SDメモリカード 202の CPU230の機能 構成図である。
[0180] (3— 1)ホスト端末の CPUの機能構成
(a)第 1クロック生成部、第 1クロック送信部
第 1クロック生成部 250aは、ホスト端末 201と SDメモリカード 202との間でデータを 送受信するための基本の第 1クロック CLKH1を生成する。第 1クロック生成部 250a は、 CPU210の各種機能部を第 1クロック CLKH1により制御するため、第 1クロック 送信部 251a、タイミング制御部 252、コマンド送信部 256、レスポンス受信部 258、リ ードデータ受信部 260及びライトデータ送信部 262等に第 1クロック CLKH1を送信 する。第 1クロック送信部 251aは、第 1クロック CLKH1をクロック信号用伝送線路 20 5を介して SDメモリカード 202に送信する。
[0181] また、第 1クロック送信部 251aは、コマンド生成部 255の制御により第 1クロック CL KH1の SDメモリカード 202への送信を停止する。
[0182] (b)第 2クロック生成部、第 2クロック送信部
第 2クロック生成部 250bは、第 1クロック CLKH1とは異なる第 2クロック CLKH2を 生成する。第 2クロック送信部 251bは、コマンド生成部 255の制御に基づいて第 2ク ロック送信部 25 lbを、データ信号用伝送線路 207を介して SDメモリカード 202に送 信する。
[0183] (b)タイミング制御部、パラメータ記憶部
ノ メータ記憶部 254は、通信規格として定められているヘッダ長、フッタ長及び基 本タイムスロット長の情報を記憶している。ここで、ヘッダ長及びフッタ長は、ビット数 で定義されたヘッダ及びフッタの長さである。基本タイムスロット長とは、ビット数で定 義されたデータパケット間の間隔である基本タイムスロットの長さである。
[0184] タイミング制御部 252は、後述のリードデータ受信部 260からデータパケットを受信 し、データパケットのヘッダ情報に含まれるデータフラグメントのビット長を取得する。 タイミング制御部 252は、ヘッダ長、データフラグメントのビット長、フッタ長及び基本 タイムスロット長を第 1クロック CLKH1に基づいて順にカウントし、カウント値をリード データ受信部 260に送信する。
[0185] (d)コマンド生成部、コマンド送信部
コマンド生成部 255は、 SDメモリカード 202に記憶されている映像、音声等のリード データを読み出すためのリードコマンド、 SDメモリカード 202にデータを書き込むた めのライトコマンド、 SDメモリカード 202からのリードデータの読み出しを中止するリー ド割込コマンドなどの各種コマンドを生成する。コマンド送信部 256は、制御信号用 伝送線路 206を介して、リードコマンド及びライトコマンド等の各種コマンドを SDメモリ カード 202に第 1クロック CLKH1に基づいて送信する。
[0186] ここで、リード時には、ホスト端末 201は、 SDメモリカード 202から制御信号用伝送 線路 206及びデータ信号用伝送線路 207を介して連続的にデータフラグメントを受 信し、リードデータを受信している。リード割込コマンドは、このような場合に、 SDメモ リカード 202に送信され、リードデータの送信を停止するコマンド (割込信号)である。 コマンド生成部 255は、例えば SDメモリカード 202から送信されたリードデータの RA M211への書き込みが遅れている等、ホスト端末 201の状況を判断し、リード割込コ マンドを送信するか否かを判断する。そして、コマンド生成部 255は、リード割込コマ ンドの送信が必要と判断すると、第 1クロック CLKH1の SDメモリカード 202への送信 を停止するように第 1クロック送信部 251aを制御し、第 2クロック CLKH2の SDメモリ カード 202への送信を開始するように第 2クロック送信部 251bを制御する。また、第 1 クロック CLKH1の送信が停止した後、コマンド送信部 256は制御信号用伝送線路 2 06を介してリード割込コマンドを SDメモリカード 202に送信する。
[0187] (e)レスポンス受信部
レスポンス受信部 258は、ホスト端末 201が送信したコマンドに対するレスポンスを SDメモリカード 202から受信する。
[0188] (f)リードデータ受信部、リードデータ生成部
リードデータ受信部 260は、制御信号用伝送線路 206及びデータ信号用伝送線路 207を介して、 SDメモリカード 202からデータパケットを第 1クロック CLKH1に基づ いて受信する。また、リードデータ受信部 260は、ヘッダ長、データフラグメントのビッ ト長、フッタ長及び基本タイムスロット長を順にカウントしたカウント値をタイミング制御 部 252から受信している。このカウント値に基づいて、リードデータ受信部 260は、デ ータパケット内のデータフラグメントを損失することなく正確に受信することができる。
[0189] リードデータ生成部 259は、データパケット内のデータフラグメントからリードデータ を生成し、 RAM211に記憶させる。
[0190] (g)送信データ生成部、ライトデータ送信部
送信データ生成部 261は、ライトコマンドが生成されると、 SDメモリカード 202に書 き込むためのライトデータを RAM211から読み出し、ヘッダ情報、データフラグメント 及びフッタ情報を含む複数のデータパケットを生成する。
[0191] ライトデータ送信部 262は、第 1クロック CLKH1に基づいて、制御信号用伝送線路 206及びデータ信号用伝送線路 207を介して、データパケットを SDメモリカード 202 に送信する。
[0192] (3— 2) SDメモリカードの CPUの機能構成
(a)第 1クロック受信部、第 2クロック受信部
第 1クロック受信部 270aは、クロック信号用伝送線路 205を介してホスト端末 201か ら第 1クロック CLKH1を受信する。第 2クロック受信部 270bは、データ信号用伝送線 路 207を介してホスト端末 201から第 2クロック CLKH2を受信する。なお、ホスト端末 201から SDメモリカード 202への送信の際の遅延により、第 1クロック CLKH1は第 1 カードクロック CLKS1に、第 2クロック CLKH2は第 2カードクロック CLKS2に変化し ている。第 1クロック受信部 270aは、タイミング制御部 270、コマンド受信部 277、レス ポンス送信部 278、リードデータ送信部 279及びライトデータ受信部 281等に第 1力 一ドクロック CLKS1を送信する。第 2クロック受信部 270bは、コマンド受信部 277に 第 2カードクロック CLKS2を送信する。 [0193] (b)タイミング制御部、パラメータ記憶部
ノ メータ記憶部 274は、通信規格として定められているヘッダ長、フッタ長及び基 本タイムスロット長の情報を記憶して 、る。
[0194] タイミング制御部 272は、後述のライトデータ受信部 281からデータパケットを受信 し、データパケットのヘッダ情報に含まれるデータフラグメントのビット長を取得する。 タイミング制御部 272は、ヘッダ長、データフラグメントのビット長、フッタ長及び基本 タイムスロット長を第 1カードクロック CLKS1に基づいて順にカウントし、カウント値を ライトデータ受信部 281に送信する。
[0195] (c)コマンド受信部
コマンド受信部 277は、制御信号用伝送線路 206を介して各種コマンドを第 1カー ドクロック CLKS1に基づいてホスト端末 201から受信する。また、コマンド受信部 277 は、リード割込コマンドを第 2カードクロック CLKS2に基づいて受信する。
[0196] (d)レスポンス生成部、レスポンス送信部
レスポンス生成部 275は、ホスト端末 201からの各種コマンドに対するレスポンスを 生成する。
[0197] レスポンス送信部 278は、コマンド受信部 277がホスト端末 201から各種コマンドを 受信すると、制御信号用伝送線路 206を介してホスト端末 201にレスポンスを送信す る。
[0198] (e)ライトデータ受信部、ライトデータ生成部
ライトデータ受信部 281は、制御信号用伝送線路 206及びデータ信号用伝送線路 207を介して、ホスト端末 201からのデータパケットを第 1カードクロック CLKS1に基 づいて受信する。また、ライトデータ受信部 281は、ヘッダ長、データフラグメントのビ ット長、フッタ長及び基本タイムスロット長を順にカウントしたカウント値をタイミング制 御部 272から受信している。このカウント値に基づいて、ライトデータ受信部 281は、 データパケット内のデータフラグメントを損失することなく正確に受信することができる
[0199] ライトデータ生成部 282は、複数のデータフラグメントからライトデータを生成し、 Fla shメモリ 23 laに記 '慮させる。 [0200] (f)送信データ生成部、リードデータ送信部
送信データ生成部 280は、コマンド受信部 277がホスト端末 201からリードコマンド を受信すると、ホスト端末 201に送信するためのリードデータを Flashメモリ 23 laから 読み出し、複数のデータパケットを生成する。データパケットは、ヘッダ情報、データ フラグメント及びフッタ情報を含んで生成される。
[0201] リードデータ送信部 279は、第 1カードクロック CLKS1に基づいて、データパケット を制御信号用伝送線路 206及びデータ信号用伝送線路 207を介してホスト端末 20 1に送信する。
[0202] (4)処理の流れ
以下に説明する処理を開始するにあたって、ホスト端末 201から SDメモリカード 10 2に第 1クロック CLKH1が送信されている。
[0203] (4 1)リード時
図 11は、第 1実施例の通信システムにおける、リード時の処理の流れの一例を示す フローチャートである。
[0204] ステップ Sl、 S2 :ホスト端末 201のコマンド生成部 255は、 SDメモリカード 202から リードデータを読み出すためのリードコマンドを生成する。ホスト端末 201のコマンド 送信部 256は、リードコマンドを制御信号用伝送線路 206を介して SDメモリカード 20 2に送信する(ステップ Sl)。 SDメモリカード 202のコマンド受信部 277はリードコマン ドを受信する (ステップ S 2)。
[0205] ステップ S3、 S4 : SDメモリカード 202のレスポンス送信部 278は、リードコマンドに 対するレスポンスを、制御信号用伝送線路 206を介してホスト端末 201に送信する( ステップ S3)。ホスト端末 201のレスポンス受信部 258はレスポンスを受信する(ステツ プ S4)。
[0206] ステップ S5、 S6: SDメモリカード 202の送信データ生成部 280は、リードコマンドの 受信に応じて、 Flashメモリ 231aからリードデータを読み出してデータパケットを生成 する。 SDメモリカード 202のリードデータ送信部 279は、制御信号用伝送線路 206 及びデータ信号用伝送線路 207を介してデータパケットをホスト端末 201に送信する (ステップ S5)。ホスト端末 201のリードデータ受信部 260は、 SDメモリカード 202から データパケットを受信する (ステップ S6)。このとき、ホスト端末 201のタイミング制御部 252は、ヘッダ長、データフラグメントのビット長、フッタ長及び基本タイムスロット長を 順にカウントし、カウント値をリードデータ受信部 260に送信している。
[0207] その後、リードデータ生成部 259は、データフラグメントからリードデータを生成し、 RAM211に記憶させる。
[0208] ステップ S7、 S8 :ホスト端末 201のコマンド生成部 255は、リード割込コマンドの送 信を行うか否かを判断し、送信する場合 (Yes)にはリード割込コマンドを生成する。リ ード割込コマンドの送信を行わない場合 (No)には、ホスト端末 201のリードデータ受 信部 260はさらにデータパケットを受信する。
[0209] ステップ S9〜S11 :ホスト端末 201のコマンド生成部 255は、第 1クロック CLKH1 の SDメモリカード 202への送信を停止し (ステップ S9)、かつ第 2クロック CLKH2及 びリード割込コマンドを SDメモリカード 202に送信する(ステップ S10、 Sl l)。
[0210] ステップ S12、 S13 : SDメモリカード 202のコマンド受信部 277は、リード割込コマン ドを第 2カードクロック CLKS2に基づいて受信する。
[0211] ステップ S14、 S15 : SDメモリカード 202のレスポンス送信部 278は、制御信号用伝 送線路 206を介して、リード割込コマンドに対するレスポンスをホスト端末 201に送信 する(ステップ S14)。ホスト端末 201のレスポンス受信部 258は、 SDメモリカード 202 からレスポンスを受信する(ステップ S 15)。
[0212] ステップ S16 : SDメモリカード 202のリードデータ送信部 279は、データパケットの 送信を停止する (ステップ S 16)。
[0213] その後、ホスト端末 201から SDメモリカード 202にリードコマンドが再び送信される と、 SDメモリカード 202は制御信号用伝送線路 206及びデータ信号用伝送線路 20 7を介してデータパケットの送信を再開する。
[0214] (5)作用効果
上記第 1実施例によれば、ホスト端末 201が第 1クロック CLKH1の SDメモリカード 202への供給を停止すると、 SDメモリカード 202からのデータパケットの送信が停止 する。このようにしてホスト端末 201がデータパケットの送信を停止し、リード割込コマ ンド及び第 2クロック CLKH2を SDメモリカード 202に送信する。つまり、ホスト端末 2 01がリード割込コマンド及び第 2クロック CLKH2を任意の時間に送信することが可 能であり、データパケット間に、リード割込コマンド及び第 2クロック CLKH2を送信す るための期間を予め設ける必要が無い。そのため、データパケット間の間隔を短くす ることができ、データの伝送効率の低下を抑制することができる。また、 SDメモリカー ド 202からのデータパケットの送信が停止した後に、データパケットが伝送されていた 伝送線路を介してリード割込コマンド及び第 2クロックを送信する。よって、データパケ ット内のデータフラグメントの損失を防止することができる。
[0215] (第 2実施例)
(1)概要
図 12は、第 2実施例におけるリード時のデータ伝送の様子を示すタイムチャートで ある。第 2実施例では、ホスト端末 201が、第 1クロック CLKH1の送信を停止する(図 12の期間 A (停止タイムスロット)を参照)。これにより、ホスト端末 201から SDメモリ力 ード 202に割込要求 (例えば、後述のリード割込要求)を通知する。このとき、第 1クロ ック CLKH1の送信停止により、 SDメモリカード 202からのデータパケットの送信が停 止している。
[0216] (2)ハードウェア構成
以下に、再び図 7を用いて、ホスト端末 201及び SDメモリカード 202のハードウェア 構成について説明する。ホスト端末 201及び SDメモリカード 202は、図 7に示すノヽー ドウエア構成と、後述の図 13に示す CPU210の機能構成との協働により、後述する 各種機能を実現する。
[0217] (2— 1)ホスト端末
第 2実施例のホスト端末 201のハードウェア構成は、 CPU210が第 1クロック CLK HIのみを SDメモリカード 202に送信する点を除いて、第 1実施例のホスト端末 201 と同様であるので説明を省略する。
[0218] (2— 2) SDメモリカード
第 2実施例のホスト端末 201のハードウェア構成は、割込検出カウンタ 337を除い て第 1実施例の SDメモリカード 202と同様であるので、割込検出カウンタ 337以外の 説明を省略する。 [0219] 割込検出カウンタ 337は、 CPU230から内部クロックが入力され、またカードクロッ ク CLKSが入力され、割込検出信号を出力する。内部クロックは、 SDメモリカード 20 2が有するクロックであり、第 1クロック CLKH1、カードクロック CLKS及び第 1クロック CLKH1に基づくクロックとは異なるクロックであり、かつ第 1クロック CLKH1等から分 周して生成されるクロックでもない。よって、第 1クロック CLKH1の供給が停止しても 、内部クロックは停止しない。また、内部クロックは、第 1クロック CLKH1よりも低い周 波数のクロックである。
[0220] 割込検出カウンタ 337は、内部クロックをカウントしており、カウント値は第 1クロック C LKH1の供給によりリセットされる。つまり、第 1クロック CLKH1に基づくカードクロッ ク CLKSが割込検出カウンタ 337に入力され、このカードクロック CLKSにより内部ク ロックのカウント値がリセットされる。しかし、第 1クロック CLKH1の供給が停止すると、 内部クロックのカウント値がリセットされること無くカウントアップされる。
[0221] ここで、第 1クロック CLKH1の供給が停止されている期間を停止タイムスロット(図 1 2中、期間 A)と言うものとする。停止タイムスロットでは、第 1クロック CLKH1の供給が 無いため、 SDメモリカード 202からホスト端末 201へのデータパケットの送信が停止 している。この停止タイムスロットの長さは、通信規格で予め決まっており、例えば通 信開始時にホスト端末 201から SDメモリカード 202に通知される。なお、制御信号用 伝送線路 206及びデータ信号用伝送線路 207を隣接して伝送するデータパケット〖こ おいて、先に伝送されるデータパケットと、後に伝送されるデータパケットと、の間隔を 基本タイムスロットと言うものとする。
[0222] 図 12において、停止タイムスロットを除く期間では、ホスト端末 201は SDメモリカー ド 202に第 1クロック CLKH1を供給している。よって、割込検出カウンタ 337による内 部クロックのカウント値は、第 1クロック CLKH1の供給によりリセットされ" 0"である。一 方、停止タイムスロットでは、ホスト端末 201は第 1クロック CLKH1の供給を停止して いる。よって、内部クロックのカウント値がカウントアップされ" 0"より大きくなる。この力 ゥント値が割込検出信号として CPU230に送信され、 CPU230はカウント値が所定 値を超えることに基づいて、ホスト端末 201が割込要求を出力したことを認識する。
[0223] (3)機能構成 図 13は、ホスト端末 201の CPU210及び SDメモリカード 202の CPU230の機能 構成図である。第 2実施例では、第 1実施例のように第 2クロック生成部 250b、第 2ク ロック送信部 251b、第 2クロック受信部 270bは設けられていない。また、第 1実施例 と同一の符号番号は同一の機能構成であり、以下に説明する機能構成を除いて第 1 実施例と同様であるので説明を省略する。
[0224] (3— 1)ホスト端末の CPUの機能構成
(a)第 1クロック生成部、第 1クロック送信部
第 2実施例の第 1クロック生成部 350及び第 1クロック送信部 351は、第 1実施例の 第 1クロック生成部 250a及び第 1クロック送信部 251aの構成と同様であり説明を省 略する。なお、第 1クロック送信部 351は、割込要求通知部 356の制御により第 1クロ ック CLKH1の SDメモリカード 202への送信を停止する。
[0225] (b)コマンド生成部
第 2実施例のコマンド生成部 355は、第 1実施例のコマンド生成部 255とほぼ同様 の構成であるので、以下に簡単に説明する。コマンド生成部 355は、リードコマンド、 ライトコマンドなどの各種コマンドを生成する。なお、コマンド生成部 355は、リード割 込みコマンド等の割込コマンドは生成しな 、。
[0226] (c)割込要求通知部
割込要求通知部 356は、ホスト端末 201の状況に応じて、 SDメモリカード 202から のデータ送信に対して割込が必要かどうかを判断し、第 1クロック CLKH1の送信を 停止するか否かを決定する。
[0227] ここで、リード時には、ホスト端末 201は、 SDメモリカード 202から連続的にデータ パケットを受信し、リードデータを受信している。ここで、割込要求通知部 356は、例 えば SDメモリカード 202から送信されたリードデータの RAM211への書き込みが遅 れている等、ホスト端末 201の状況を判断し、 SDメモリカード 202からのリードデータ の送信を停止する必要がある力否力、つまりホスト端末 201がリード割込要求を行う 必要があるカゝ否かを判断する。そして、割込要求通知部 356は、リードデータの送信 を停止する必要があると判断すると、停止タイムスロット(図 9の期間 A)の長さ分だけ 、第 1クロック CLKH1の SDメモリカード 202への送信を停止するように第 1クロック送 信部 351を制御する。また、停止タイムスロットの期間 Aが経過すると、割込要求通知 部 356は、第 1クロック CLKH1の送信を再開するように第 1クロック送信部 351を制 御する。
[0228] (3— 2) SDメモリカードの CPUの機能構成
(a)第 1クロック受信部
第 2実施例の第 1クロック受信部 370は、第 1実施例の第 1クロック受信部 270aの構 成と同様であり説明を省略する。
[0229] (b)内部クロックカウント部、割込要求認識部
内部クロックカウント部 384は、内部クロックを生成し、割込検出カウンタ 337に送信 する。なお、内咅クロックは、第 1クロック CLKH1、カード、クロック CLKS及び第 1クロ ック CLKH1〖こ基づくクロックとは異なるクロックであり、かつ第 1クロック CLKH1等か ら分周して生成されるクロックでもない。また、内部クロックカウント部 384は、通信開 始時にホスト端末 201から停止タイムスロット(図 9の期間 A)の長さを受信しており、こ の停止タイムスロットの期間 Aと内部クロックとに基づいて、所定値を決定する。所定 値とは、ホスト端末 201から SDメモリカード 202への第 1クロック CLKH1の供給が、 停止しているカゝ否かを判断するための判断基準値である。
[0230] また、内部クロックカウント部 384は、割込検出カウンタ 337から割込検出信号を受 信し、ホスト端末 201が第 1クロック CLKHの送信を停止したカゝ否かを検出する。ここ で、割込検出信号には、内部クロックのカウント値が含まれている。このカウント値は、 割込検出カウンタ 337が第 1クロック CLKHの入力を受けることでリセットされる。よつ て、内部クロックカウント部 384は、カウント値が前述の所定値を超えているか否かを 判定し、超えていれば第 1クロック CLKH1の供給が停止していると判断する。
[0231] 割込要求認識部 385は、内部クロックカウント部 384の判定結果を受信する。ここで 、第 1クロック CLKH1の供給が停止しているとの判定結果を受信した場合は、割込 要求認識部 385は、ホスト端末 201がリード割込要求を出力していると認識する。割 込要求認識部 385は、認識結果をリードデータ送信部 379及びレスポンス送信部 27 8に送信する。
[0232] (c)リードデータ送信部 リードデータ送信部 379は、カードクロック CLKSに基づいて、データパケットを制 御信号用伝送線路 206及びデータ信号用伝送線路 207を介してホスト端末 201〖こ 送信する。また、リードデータ送信部 379は、ホスト端末 201がリード割込要求を出力 しているとの認識結果を割込要求認識部 385から受信すると、ホスト端末 201へのリ ードデータの送信を停止する。
[0233] (4)処理の流れ
以下に説明する処理を開始するにあたって、ホスト端末 201から SDメモリカード 20 2に第 1クロック CLKH1が送信されている。
[0234] (4 1)リード時
図 14は、第 2実施例の通信システムにおける、リード時の処理の流れの一例を示す フローチャートである。
[0235] ステップ Sl、 S2 :ホスト端末 201のコマンド生成部 355は、 SDメモリカード 202から リードデータを読み出すためのリードコマンドを生成する。ホスト端末 201のコマンド 送信部 256は、リードコマンドを制御信号用伝送線路 206を介して SDメモリカード 20 2に送信する(ステップ Sl)。 SDメモリカード 202のコマンド受信部 277はリードコマン ドを受信する (ステップ S 2)。
[0236] ステップ S3、 S4 : SDメモリカード 202のレスポンス送信部 278は、制御信号用伝送 線路 206を介して、リードコマンドに対するレスポンスをホスト端末 201に送信する (ス テツプ S3)。ホスト端末 201のレスポンス受信部 258はレスポンスを受信する(ステツ プ S4)。
[0237] ステップ S5、 S6: SDメモリカード 202の送信データ生成部 280は、リードコマンドの 受信に応じて、 Flashメモリ 231aからリードデータを読み出してデータパケットを生成 する。 SDメモリカード 202のリードデータ送信部 379は、制御信号用伝送線路 206 及びデータ信号用伝送線路 207を介してデータパケットをホスト端末 201に送信する (ステップ S5)。ホスト端末 201のリードデータ受信部 260は、 SDメモリカード 202から データパケットを受信する (ステップ S6)。このとき、ホスト端末 201のタイミング制御部 252は、ヘッダ長、データフラグメントのビット長、フッタ長及び基本タイムスロット長を 順にカウントし、カウント値をリードデータ受信部 260に送信している。 [0238] その後、リードデータ生成部 259は、データフラグメントからリードデータを生成し、 RAM211に記憶させる。
[0239] ステップ S7、 S8 :ホスト端末 201の割込要求通知部 356は、ホスト端末 201がリード 割込要求を行う必要があるか否力、つまり、 SDメモリカード 202からのリードデータの 送信を停止する必要があるか否かを判断する。リード割込要求を行う場合 (Yes)、割 込要求通知部 356は、 SDメモリカード 202への第 1クロックの送信を停止させるように 第 1クロック送信部 351を制御する。リード割込要求を行わない場合 (No)、ホスト端 末 201のリードデータ受信部 260はさらにデータパケットを受信する。
[0240] ここで、ホスト端末 201が第 1クロック CLKH1の送信を停止する停止タイムスロット( 図 9の期間 A)の長さは、通信規格で予め決まっており、例えば通信開始時にホスト 端末 201から SDメモリカード 202に通知される。 SDメモリカード 202の内部クロック力 ゥント部 384は、この停止タイムスロットの期間 Aと内部クロックとに基づいて、所定値 を決定する。
[0241] ステップ S9、 S 10 :内部クロックカウント部 384は、割込検出カウンタ 337から割込 検出信号を受信している。内部クロックカウント部 384は、割込検出信号に含まれる 内部クロックのカウント値が所定値以上であるか否かを判定し、判定結果を割込要求 認識部 385に送信する。割込要求認識部 385は、カウント値が所定値以上である場 合は、ホスト端末 201がリード割込要求を出力していると認識する。
[0242] ステップ S11〜S13 :停止タイムスロットの期間 Aが経過すると、割込要求通知部 35 6は、第 1クロック CLKH1の送信を再開するように第 1クロック送信部 351を制御する 。第丄クロック送信部 351は、第 1クロック CLKH1の送信を再開する (ステップ Sl l)。 SDメモリカード 202のレスポンス送信部 379は、ホスト端末 201がリード割込要求を 出力しているとの認識結果を受信すると、制御信号用伝送線路 206を介してホスト端 末 201にレスポンスを送信する(ステップ S12)。ホスト端末 201のレスポンス受信部 2 58は、 SDメモリカード 202からレスポンスを受信する(ステップ S 13)。
[0243] ステップ S14 : SDメモリカード 202のリードデータ送信部 379は、データパケットの 送信を停止する。
[0244] その後、ホスト端末 201から SDメモリカード 202にリードコマンドが再び送信される と、 SDメモリカード 202は制御信号用伝送線路 206及びデータ信号用伝送線路 20 7を介してデータパケットの送信を再開する。
[0245] (5)作用効果
上記第 2実施例によれば、ホスト端末 201が第 1クロックの SDメモリカード 202への 供給を停止すると、 SDメモリカード 202からのデータパケットの送信が停止する。この ようにしてホスト端末 201がデータパケットの送信停止を制御し、これにより SDメモリ カード 202は割込要求を認識する。つまり、ホスト端末 201は、任意の時間に SDメモ リカード 202に割込要求を認識させることが可能であり、データパケット間に、割込要 求を認識させるための期間を予め設ける必要が無い。そのため、データパケット間の 間隔を短くすることができ、データの伝送効率の低下を抑制することができる。
[0246] (変形例)
(1)
本実施形態の第 1実施例、第 2実施例において、制御信号用伝送線路 206及びデ ータ信号用伝送線路 207を伝送する全てのデータパケットに、ヘッダ情報及びフッタ 情報を付加する必要は無 、。 V、ずれかの伝送線路を伝送するデータフラグメントに のみヘッダ情報及びフッタ情報を付加し、それ以外の伝送線路ではデータフラグメン トのみを伝送するようにしても良い。このとき、いずれかの伝送線路を介して伝送され て 、るフッタ情報及びフッタ情報に基づ 、て、データフラグメントのみを伝送するよう にすれば良い。
[0247] 例えば、制御信号用伝送線路 206では第 1データフラグメントを伝送する力 第 1デ ータフラグメントの前後にヘッダ情報及びフッタ情報が付加されていない。一方、デ ータ信号用伝送線路 207では、フッタ情報、第 2データフラグメント及びフッタ情報を 含むデータパケットが伝送される。第 1データフラグメントのビット長は、データパケット の第 2データフラグメントのビット長と同一である。第 1データフラグメントを、データパ ケットのヘッダ情報及びフッタ情報を用いて伝送する。このとき、第 1データフラグメン トは第 2データフラグメントに同期して伝送される。
[0248] (2)
上記第 1及び第 2実施例では、送信側からデータを受信しているときに、送信側か らのデータパケットの送信を停止させる場合について説明した。上記第 1及び第 2実 施例は、その他、送信側力もデータを受信しているときに、送信を一定期間遅らせた り、データの再送を指示したりする各種信号を送信側に送信する場合にも適用可能 である。
[0249] (3)
上記では、データパケットは、ヘッダ情報、データパケット及びフッタ情報を順に含 むように形成されて 、るが、これらの順序は前記に限定されな 、。
[0250] (4)
上記において、本実施形態は、制御用信号伝送線路及びデータ信号用伝送線路 を有する通信システムについて説明した。しかし、制御信号用伝送線路を有さず、デ ータ信号用伝送線路のみを有する通信システムにおいても本実施形態を適用可能 である。また、本実施形態は、複数の伝送線路を介したデータ伝送への適用のみな らず、 1本の伝送線路を介したデータ伝送への適用も可能である。
[0251] (5)
上記では、制御信号用伝送線路及びデータ信号用伝送線路を伝送するデータパ ケットは同期して伝送されるが、同期して伝送される構成に限定されない。各データ パケットのヘッダ情報及びフッタ情報に基づ 、て各伝送線路に伝送されれば良 、。
[0252] (6)
上記では、ヘッダ長、フッタ長及び基本タイムスロット長が通信規格として定められ ているとした。しかし、例えば SDメモリカード毎にヘッダ長、フッタ長及び基本タイムス ロット長が異なり、ホスト端末 201と SDメモリカード 202との通信開始時に、これらの 情報を相互に取得するようにしても良い。
[0253] (7)
制御信号用伝送線路 206及びデータ信号用伝送線路 207は、一対の 2本の差動 伝送線路であっても良い。
[0254] (8)
上記では、各データフラグメントのビット長がヘッダ情報に記載されて 、る構成を説 明した。しかし、各データフラグメントのビット長が通信規格により固定されていても良 い。この場合には、ノ ラメータ記憶部にデータフラグメントのビット長を格納しておけ ば良ぐデータパケットのヘッダ長から随時データフラグメントのビット長を取得する必 要は無い。
[0255] (9)
上記本実施形態の第 1実施例では、割込コマンドの送信により即座にデータの伝 送が中止されるのが好ましいため、割込コマンドは 1個の第 1タイムスロットを用いて 送信されるのが好ましい。しかし、例えば割込コマンドのビット長が第 1タイムスロット 長を超える場合は、割込コマンドを複数に分割し、複数の第 1タイムスロットを用いて 送信しても良い。
[0256] (10)
上記では、リムーバブルメモリデバイスである SDメモリカードを例に挙げて説明した 力 ホスト端末力 供給されたクロックでリードデータをホスト端末に送信するような携 帯可能なリムーバブルメモリデバイスであれば、本発明を適用可能な範囲は SDメモ リカードに限定されない。例えば、その他、コンパクトフラッシュ(登録商標)、スマート メディア、マルチメディアカード、メモリースティック等が挙げられる。また、リムーパブ ルメモリデバイスが搭載可能なメモリは、フラッシュメモリに限定されず、 MRAM、 Fe RAM等の不揮発性メモリが挙げられる。
[0257] (11)
前述した方法をコンピュータに実行させるコンピュータプログラム及びそのプロダラ ムを記録したコンピュータ読み取り可能な記録媒体は、本発明の範囲に含まれる。こ こで、コンピュータ読み取り可能な記録媒体としては、例えば、フレキシブルディスク、 ノヽードディスク、 CD— ROMゝ MO、 DVDゝ DVD— ROMゝ DVD— RAMゝ BD (Blu e-ray Disc)、半導体メモリを挙げることができる。
[0258] 前記コンピュータプログラムは、前記記録媒体に記録されたものに限られず、電気 通信回線、無線又は有線通信回線、インターネットを代表とするネットワーク等を経 由して伝送されるものであってもよ 、。
[0259] <第 3実施形態例 >
(1)概要 図 15は、本発明の第 3実施形態例に係る通信システムの全体構成図である。この 通信システムでは、ホスト端末 401である送受信装置と SD (Secure Digital)メモリ カード 402である送受信装置とが、 2本一対の差動伝送線路を介して接続される。本 実施形態の通信システムには、後述の動的インピーダンス回路及びインピーダンス 回路により一対の差動伝送線路に所定の電位差が発生することで信号を伝送する、 一般的な電流駆動型差動伝送方式が用いられている。差動伝送線路には、クロック 信号用伝送線路 405、制御信号用伝送線路 406及びデータ信号用伝送線路 407 が含まれる。クロック信号用伝送線路 405は、ホスト端末 401及び SDメモリカード 40 2間の通信に用いられる後述のクロック CLKHを、ホスト端末 401から SDメモリカード 402に伝送するために用いられる。制御信号用伝送線路 406は、データの読み出し 、書き込みなどに関するコマンド及びコマンドに対するレスポンスを、ホスト端末 401 及び SDメモリカード 402間で送受信するために用いられる。データ信号用伝送線路 407は、ホスト端末 401及び SDメモリカード 402間でデータを送受信するために用い られる。
[0260] 図 16は、リード時のデータ伝送の様子を示すタイムチャートである。本実施形態の 通信システムはハンドシェイク型の通信システムであり、データの伝送の際には、まず リードコマンド(図 16中、 ReadCMD)やライトコマンドなどの各種コマンド及びこのコ マンドに対するレスポンス(図 16中、 Res)がホスト端末 401及び SDメモリカード 402 間で送受信された後、データ(図 16中、 DATA)の伝送が行われる。
[0261] また、本実施形態の通信システムでは、データアクセスの伝送効率を向上すること を目的として、図 16に示すようにデータの伝送にはデータ信号用伝送線路 407だけ でなく制御信号用伝送線路 406も用いる。データは複数のデータフラグメントに分割 されて伝送されており、制御信号用伝送線路 406及びデータ信号用伝送線路 407を 介して伝送されるデータフラグメントには、フッタ情報及びフッタ情報が付加されて ヽ る。つまり、制御信号用伝送線路 406及びデータ信号用伝送線路 407では、ヘッダ 情報、データフラグメント及びフッタ情報を含むデータパケットが伝送される。また、全 てのデータパケットは同じビット長により構成されている。
[0262] ここで、ヘッダ情報及びフッタ情報はデータフラグメントとは異なる情報である。へッ ダ情報にはデータパケットの受信タイミングの調整のための、例えば同期ビット列及 びスタートビットなどの情報が含まれており、フッタ情報にはデータパケットの終了を 示す、例えばエンドビットなどの情報が含まれている。なお、ヘッダ情報及びフッタ情 報に含まれる情報は、これらに限定されず、その他の各種情報を含んでいても良い。 また、データフラグメントには、 CRC (Cyclic Redundancy Check:巡回冗長検査 )ビットなど、各データフラグメントの伝送エラーを検出するための情報が含まれて ヽ ても良い。
[0263] 本実施形態では、制御信号用伝送線路 406にお ヽて隣接して伝送されるデータパ ケット内のデータフラグメント間において、受信側が制御信号用伝送線路 406の信号 振幅を変化させる。これにより、受信側から送信側に割込要求 (後述のリード割込要 求及びライト割込要求を含む。)を通知する。ここで、データフラグメント間の間隔は、 先に伝送されるデータパケットのデータフラグメントと、後に伝送されるデータパケット のデータフラグメントと、の間隔により定義され、以下の本実施形態では拡張タイムス ロットと言うものとする(図 16参照)。また、後述の基本タイムスロットは、先に伝送され るデータパケットと、後に伝送されるデータパケットと、の間隔により定義される。
[0264] なお、データ信号用伝送線路 407は、 1本に限られず複数設けられても良い。
[0265] (2)ハードウェア構成
以下に、再び図 15を用いて、ホスト端末 401及び SDメモリカード 402のハードゥエ ァ構成について説明する。ホスト端末 401及び SDメモリカード 402は、図 15に示す ハードウェア構成と、後述の図 21に示す CPU410の機能構成との協働により、後述 する各種機能を実現する。
[0266] (2— 1)ホスト端末
(a) CPU410 :ホスト端末 401のその他の RAM411、ノ ッファ 412、カードインタ 一フェース部 413及び IZOバッファ等を制御する。そして、ホスト端末 401でのデー タの読み出し及び書き込みなどの後述する各種機能を各種プログラムに基づいて実 現する。
[0267] (b)RAM411 : SDメモリカード 402との間で送受信される各種データを記憶する [0268] (c)バッファ 412、カードインターフェース部 413 : SDメモリカード 402から読み出 されたデータの RAM411への書き込み、 SDメモリカード 402へ書き込まれるデータ の RAM411からの読み出しを行う。
[0269] (d)lZOバッファ:コマンド、レスポンス、データ等のデータの入出力を行う。 I/O ノ ッファは、データ Zコマンド Output414a、データ Zレスポンス Input414b、デー タ Output414c、データ Input414d、ドライノく 415a、レシーバ 415b、ドライバ 415c 、レシーノ 415d、動的インピーダンス回路 417、インピーダンス回路 418及び電位 差検出回路 419を含み、これらが図 15に示すように接続されている。ドライバ 415a、 レシーバ 415b、ドライバ 415c及びレシーバ 415dは、差動伝送線路である制御信号 用伝送線路 406又はデータ信号用伝送線路 407に接続されている。
[0270] 動的インピーダンス回路 417は、制御信号用伝送線路 406の 2本の差動伝送路 40 6a及び 406bそれぞれに接続されている。動的インピーダンス回路 417は、 CPU41 0からの割込要求に基づいて、制御信号用伝送線路 406の信号振幅を変化させる。 図 17は、動的インピーダンス回路 417の構成図である。図 17に示すように、動的イン ピーダンス回路 417では、複数のスィッチ回路 SW及び終端抵抗のセットと、スィッチ 制御回路 417aとを有している。そして、スィッチ制御回路 417aが、後述の割込要求 により制御され、所定のスィッチ回路 SW及び終端抵抗のセットと接続される。これに より、差動伝送路 406a及び 406bにより構成される制御信号用伝送線路 406の信号 振幅値が変化する。例えば、動的インピーダンス回路 417は、割込要求を受信して いない場合はインピーダンスを 100 Ωに制御し、割込要求を受信している場合はイン ピーダンスを 10 Ωに制御する。ここで、制御信号用伝送線路 406に接続されているド ライバ 415aにより 1mAの定電流が駆動されるとする。割込要求の受信によりインピ 一ダンスが 100 Ωから 10 Ωに変化すると、制御信号用伝送線路 406の信号振幅は、 同相電位 Vcomを基準とする ± lOOmVのスイングから ± 10mVのスイングに変化す る。
[0271] 電位差検出回路 419は、所定の基準電圧 Vrefの入力を受け、制御信号用伝送線 路 406の信号振幅の変化を検出し、 CPU410に検出結果として割込検出信号を出 力する。図 18は、電位差検出回路の構成図である。電位差検出回路 419は、比較 器 419a、 419bと、 OR回路 419cとを有する。比較器 419a、 419bは、制御信号用伝 送線路 406の 2本の差動伝送路 406a及び 406bそれぞれに接続されており、また基 準電圧 Vref及びクロック CLKHが入力されている。比較器 419a及び 419bは、クロッ ク CLKHをトリガにして、差動伝送路 406a及び 406bの電位力 基準電圧 Vrefよりも 高いか低いかを検出する。比較器 419a及び 419bは、差動伝送路 406a及び 406b の電位が基準電圧 Vre;fよりも高 、場合には Highを保持し、低 、場合は Lowを保持 する。比較器 419a及び 419bは、 OR回路 419cに接続されており、保持している値 力 SOR回路 419cに入力される。そして、 OR回路 419cの出力が割込検出信号として CPU410に入力される。ここで、例えば、基準電圧 Vrefが同相電位 Vcomに対して 50mV高いとする。 SDメモリカード 402が割込要求を出力しておらず、制御信号用 伝送線路 406の信号振幅が ± lOOmVのスイングの場合、差動伝送路 406a及び 40 6bのいずれかの電位は基準電圧 Vrefよりも高いため、 OR回路 419cの出力は High となる。一方、 SDメモリカード 402が割込要求を出力しており、制御信号用伝送線路 406の信号振幅が士 10mVのスイングとなって!/、る場合、差動伝送路 406a及び 40 6b両方の電位が基準電圧 Vre;fよりも低いため、 OR回路の出力は Lowとなる。結局 、 SDメモリカード 402が割込要求を出力し、制御信号用伝送線路 406の信号振幅が ± 100mVから ± 10mVに低下すると、 OR回路 419cの出力は Highから Lowに変 化し、割込検出信号として CPU410に入力される。 CPU410は、割込検出信号のこ の変化に基づいて、 SDメモリカード 402による割込要求の出力の有無を判断する。
[0272] インピーダンス回路 418は、データ信号用伝送線路 407のインピーダンスを調整し ている。
[0273] (e)ドライバ 416:差動伝送線路であるクロック信号用伝送線路 405を介して、クロ ック CLKHを SDメモリカード 402に送信する。
[0274] (2— 2) SDメモリカード
(a) CPU430: SDメモリカード 402でのデータの読み出し及び書き込みなどの後 述する各種機能を各種プログラムに基づ 、て実現する。
[0275] (b) Flashメモリ 43 la:ホスト端末 401との間で送受信される各種データを記憶す る。 [0276] (c) Flashメモリインターフェース部 43 lb、 ノ ッファ 432、ホストインターフェース部 433 :ホスト端末 401から読み出されたデータの Flashメモリ 431aへの書き込み、ホス ト端末 401へ書き込まれるデータの Flashメモリ 431aからの読み出しを行う。
[0277] (d) lZOバッファ:コマンド、レスポンス、データ等のデータの入出力を行う。 I/O ノ ッファは、データ Zレスポンス Output434a、データ Zコマンド Input434b、デー タ Output434c、データ Input434d、ドライノく 435a、レシーバ 435b、ドライバ 435c 及びレシーバ 435d、動的インピーダンス回路 437、インピーダンス回路 438及び電 位差検出回路 439を含み、これらが図 15に示すように接続されている。ドライバ 435 a、レシーバ 435b、ドライバ 435c及びレシーノ 435dは、差動伝送線路である制御 信号用伝送線路 406又はデータ信号用伝送線路 407に接続されている。
[0278] 動的インピーダンス回路 437は、制御信号用伝送線路 406の 2本の差動伝送路 40 6a、 406bそれぞれに接続されている。動的インピーダンス回路 437は、 CPU430力 らの割込要求に基づいて、制御信号用伝送線路 406の信号振幅を変化させる。動 的インピーダンス回路 437の構成は、前述の図 17と同様であるので説明を省略する (符号番号は図 17中の括弧内を参照)。
[0279] 電位差検出回路 439は、所定の基準電圧 Vrefの入力を受け、制御信号用伝送線 路 406の信号振幅の変化を検出し、 CPU430に検出結果を出力する。電位差検出 回路 439の構成は、クロック CLKSが入力される点を除 、て前述の図 18と同様であ るので説明を省略する (符号番号は図 18中の括弧内を参照)。ホスト端末 401が割 込要求を出力し、制御信号用伝送線路 406の信号振幅が ± lOOmVから ± 10mV に低下すると、電位差検出回路 439の OR回路 439cの出力は Highから Lowに変化 し、割込検出信号として CPU430に入力される。 CPU430は、割込検出信号のこの 変化に基づいて、ホスト端末 401による割込要求の出力の有無を判断する。
[0280] インピーダンス回路 438は、データ信号用伝送線路 407のインピーダンスを調整し ている。
[0281] (e)レシーバ 436、インピーダンス回路 440 :インピーダンス回路 440は、差動伝 送線路であるクロック信号用伝送線路 405のインピーダンスを制御し、レシーバ 436 は、クロック信号用伝送線路 405を介して、クロック CLKHをホスト端末 401から受信 する。
[0282] (2— 3)割込要求出力時の動作
本実施形態では、送信側から受信側にデータパケットが連続的に伝送されて 、る 場合に、データフラグメント間である拡張タイムスロットにおいて、受信側が割込要求 を出力する。ホスト端末 401が SDメモリカード 402からリードデータを受信している場 合に、ホスト端末 401がリード割込要求を出力した場合を例に挙げ、動的インピーダ ンス回路 417及び電位差検出回路 439の動作について説明する。図 19はリード割 込要求が出力された場合の制御信号用伝送線路 406の状態及び割込検出信号の 状態を示すフローチャートであり、図 20は制御信号用伝送線路 406、動的インピー ダンス回路 417、電位差検出回路 439及び割込検出信号の出力状態等を説明する 説明図である。
[0283] (a)データパケットの受信
図 19を参照すると、ホスト端末 401は、制御信号用伝送線路 406を介して SDメモリ カード 402からリードデータのデータパケットを受信している。このとき、ホスト端末 40 1はリード割込要求を出力しておらず、制御信号用伝送線路 406の状態は図 20に示 す時間 tl〜t7の状態にある。この時間 tl〜t7では、動的インピーダンス回路 417は 前述の通りインピーダンスを 100 Ωに制御しており、制御信号用伝送線路 406の信 号振幅は同相電位 Vcomを基準とする ± 100mVとなっている。よって、 SDメモリ力 ード 402の電位差検出回路 439では、比較器 439a、 439bのいずれかの出力は Hig h (H)となり、 OR回路 419cの出力である割込検出信号は High (H)となる。なお、図 19では、制御信号用伝送線路 406のみを図示している力 ホスト端末 401は、デー タ信号用伝送線路 407を介しても同様にデータパケットを受信して 、る。
[0284] (b)リード割込要求の送信
次に、ホスト端末 401の CPU410は、 SDメモリカード 402からのデータパケットの送 信を停止するために、リード割込要求を出力する。このときの制御信号用伝送線路 4 06の状態は図 20に示す時間 t8、 t9に相当する。
[0285] なお、ホスト端末 401の CPU410は、制御信号用伝送線路 406の拡張タイムスロッ トにおいて、リード割込要求を出力する。拡張タイムスロットは、図 19に示すように、先 に伝送されるデータパケットのデータフラグメントと、後に伝送されるデータパケットの データフラグメントと、の間隔により定義される。本実施形態では電流駆動型差動伝 送方式を用いているため、先に伝送されるデータパケットのフッタ情報と、後に伝送さ れるデータパケットのヘッダ情報と、により定義される基本タイムスロット(図 19参照) においても、制御信号用伝送線路 406は High又は Lowのいずれかの状態にある。
[0286] リード割込要求は、ホスト端末 401の CPU410からホスト端末 401の動的インピー ダンス回路 417に入力される。動的インピーダンス回路 417は、前述の通りリード割 込要求の受信によりインピーダンスを 100 Ωから 10 Ωに変化させる。このとき、図 19 及び図 20に示すように、制御信号用伝送線路 406の信号振幅は、同相電位 Vcom を基準とする士 lOOmVのスイング(200mVの信号振幅)から ± 10mVのスイング(2 OmVの信号振幅)に変化する。よって、 SDメモリカード 402の電位差検出回路 439 では、比較器 439a、 439b両方の出力が Low(L)となり、 OR回路 419cの出力であ る割込検出信号は Low (L)となる。この Highから Lowに変化した割込検出信号が、 SDメモリカード 402の CPU430に人力される。 SDメモリカード 402の CPU430は、 この割込検出信号に基づいて、ホスト端末 401がリード割込要求を出力したことを認 識し、レスポンス(図 19中、 Res)をホスト端末 401に送信する。
[0287] (3)機能構成
図 21は、ホスト端末 401の CPU410及び SDメモリカード 402の CPU430の機能 構成図である。
[0288] (3— 1)ホスト端末の CPUの機能構成
(a)クロック生成咅、クロック送信咅
クロック生成部 450は、ホスト端末 401と SDメモリカード 402との間でデータを送受 信するための基本のクロック CLKHを生成する。クロック生成部 450は、 CPU410の 各種機能部をクロック CLKHにより制御するため、クロック送信部 451、タイミング制 御部 452、コマンド送信部 456、レスポンス受信部 458、リードデータ受信部 460、ラ イトデータ送信部 462、割込要求通知部 463及び割込要求認識部 464等にクロック CLKHを送信する。クロック送信部 451は、クロック CLKHをクロック信号用伝送線路 405を介して SDメモリカード 402に送信する。 [0289] (b)タイミング制御部、タイムスロット取得部、パラメータ記憶部
ノ メータ記憶部 454は、通信規格として定められているヘッダ長、フッタ長及び基 本タイムスロット長の情報を記憶している。ここで、ヘッダ長及びフッタ長は、ビット数 で定義されたヘッダ及びフッタの長さである。基本タイムスロット長とは、ビット数で定 義されたデータパケット間の間隔である基本タイムスロットの長さである。
[0290] タイムスロット取得部 453は、パラメータ記憶部 454力も取得したヘッダ長、フッタ長 及び基本タイムスロット長に基づいて、拡張タイムスロット長を算出して取得する。ここ で、拡張タイムスロット長は、フッタ長 +基本タイムスロット長 +ヘッダ長により算出さ れる。タイムスロット取得部 453は、後述の割込要求通知部 463に拡張タイムスロット 長を送信する。
[0291] また、タイミング制御部 452及びタイムスロット取得部 453は、後述のリードデータ受 信部 460からデータパケットを受信し、データパケットのヘッダ情報に含まれるデータ フラグメントのビット長を取得する。タイムスロット取得部 453は、ヘッダ長、データフラ グメントのビット長及び拡張タイムスロット長をクロック CLKHに基づいて順にカウント することで、拡張タイムスロットの開始位置を把握する。そして、タイムスロット取得部 4 53は、タイムスロットの開始位置を割込要求通知部 463に送信する。また、タイミング 制御部 452は、ヘッダ長、データフラグメントのビット長、フッタ長及び基本タイムス口 ット長をクロック CLKHに基づいて順にカウントし、カウント値をリードデータ受信部 46 0に送信する。
[0292] なお、タイムスロットの開始位置は、タイムスロット取得部 453からではなぐタイミン グ制御部 452からのカウント値に基づ 、て取得しても良 、。
[0293] (c)コマンド生成部、コマンド送信部
コマンド生成部 455は、 SDメモリカード 402に記憶されている映像、音声等のリード データを読み出すためのリードコマンド、 SDメモリカード 402にデータを書き込むた めのライトコマンドなどの各種コマンドを生成する。コマンド送信部 456は、制御信号 用伝送線路 406を介して、各種コマンドを SDメモリカード 402にクロック CLKHに基 づいて送信する。
[0294] (d)レスポンス受信部 レスポンス受信部 458は、ホスト端末 401が送信したコマンドに対するレスポンスを SDメモリカード 402から受信する。
[0295] (e)リードデータ受信部、リードデータ生成部
リードデータ受信部 460は、 SDメモリカード 402からのデータパケットを、制御信号 用伝送線路 406及びデータ信号用伝送線路 407を介してクロック CLKHに基づいて 受信する。また、リードデータ受信部 460は、ヘッダ長、データフラグメントのビット長、 フッタ長及び基本タイムスロット長を順にカウントしたカウント値をタイミング制御部 45 2から受信している。このカウント値に基づいて、リードデータ受信部 460は、データ パケット内のデータフラグメントを損失することなく正確に受信することができる。
[0296] なお、リードデータを構成するデータパケットは、いずれの伝送線路においても同じ ビット長で構成され同期して伝送されている。ここで、図 19に示すように、データパケ ットのヘッダ情報及びフッタ情報が送信されている期間は、拡張タイムスロットの期間 に含まれる。ヘッダ情報及びフッタ情報が送信されている期間に、割込要求通知部 4 63がリード割込要求を出力すると、制御信号用伝送線路 406の信号振幅が小さくな り、ヘッダ情報及びフッタ情報を正確に受信できなくなる可能性がある。しかし、前述 のように 、ずれの伝送線路にぉ 、てもデータパケットが同期して伝送されて 、るため 、制御信号用伝送線路 406以外のデータ信号用伝送線路 407を伝送するデータパ ケットからヘッダ情報及びフッタ情報を受信すれば良い。
[0297] リードデータ生成部 459は、複数のデータパケットからリードデータを生成し、 RAM 411に記憶させる。
[0298] (f)送信データ生成部、ライトデータ送信部
送信データ生成部 461は、ライトコマンドが生成されると、 SDメモリカード 402〖こ書 き込むためのライトデータを RAM411から読み出し、ヘッダ情報、データフラグメント 及びフッタ情報を含む複数のデータパケットを生成する。
[0299] ライトデータ送信部 462は、クロック CLKHに基づ 、て、制御信号用伝送線路 406 及びデータ信号用伝送線路 407において同期するように、データパケットを SDメモリ カード 402に送信する。また、ライトデータ送信部 462は、割込要求認識部 464から ライト割込要求が有るとの通知を受信すると、 SDメモリカード 402へのデータパケット の送信を停止する。
[0300] (g)割込要求通知部、割込要求認識部
割込要求通知部 463は、 SDメモリカード 402からのリードデータの読み出しを中止 するリード割込要求などの各種割込要求を生成する。ここで、リード時には、ホスト端 末 401は、 SDメモリカード 402から制御信号用伝送線路 406及びデータ信号用伝 送線路 407を介して連続的にデータパケットを受信し、リードデータを受信している。 リード割込要求は、このような場合に、拡張タイムスロットを用いて出力され、リードデ ータの送信を停止する割込要求である。割込要求通知部 463は、例えば SDメモリ力 ード 402から送信されたリードデータの RAM411への書き込みが遅れている等、ホ スト端末 401の状況を判断し、リード割込要求を出力するカゝ否かを判断する。割込要 求通知部 463は、変化させる信号振幅値を決定し、拡張タイムスロット長に基づいて 信号振幅を変化させる変化期間を決定する。そして、割込要求通知部 463は、決定 した信号振幅値及び変化期間に基づいて、リード割込要求のビット長が拡張タイムス ロット長を超えないようにリード割込要求を生成する。そして、割込要求通知部 463は 、拡張タイムスロット内でリード割込要求を出力可能なように、拡張タイムスロットの開 始位置に基づいてリード割込要求を動的インピーダンス回路 417に出力する。
[0301] 割込要求認識部 464は、電位差検出回路 419からの割込検出信号を受信し、 SD メモリカード 402がライト割込要求を出力したか否かを判断する。割込要求認識部 46 4は、ライト割込要求の有無をライトデータ送信部 462に送信する。
[0302] (3— 2) SDメモリカードの CPUの機能構成
(a)クロック受信部
クロック受信部 470は、ホスト端末 401からクロック CLKHを受信する。なお、ホスト 端末 401から SDメモリカード 402への送信の際の遅延により、クロック CLKはカード クロック CLKSに変化している。クロック受信部 470は、タイミング制御部 472、コマン ド受信部 477、レスポンス送信部 478、リードデータ送信部 479、ライトデータ受信部 481、割込要求通知部 483及び割込要求認識部 484等にカードクロック CLKSを送 信する。
[0303] (b)タイミング制御部、タイムスロット取得部、パラメータ記憶部 ノ メータ記憶部 474は、通信規格として定められているヘッダ長、フッタ長及び基 本タイムスロット長の情報を記憶して 、る。
[0304] タイムスロット取得部 473は、パラメータ記憶部 474力も取得したヘッダ長、フッタ長 及び基本タイムスロット長に基づいて、拡張タイムスロット長を算出して取得する。タイ ムスロット取得部 473は、割込要求通知部 483に拡張タイムスロット長を送信する。
[0305] また、タイミング制御部 472及びタイムスロット取得部 473は、後述のライトデータ受 信部 481からデータパケットを受信し、データパケットのヘッダ情報に含まれるデータ フラグメントのビット長を取得する。タイムスロット取得部 473は、ヘッダ長、データフラ グメントのビット長及び拡張タイムスロット長をカードクロック CLKSに基づいて順に力 ゥントすることで、拡張タイムスロットの開始位置を把握する。そして、タイムスロット取 得部 473は、タイムスロットの開始位置を割込要求通知部 483に送信する。また、タイ ミング制御部 472は、ヘッダ長、データフラグメントのビット長、フッタ長及び基本タイ ムスロット長をカードクロック CLKSに基づいて順にカウントし、カウント値をライトデー タ受信部 481に送信する。
[0306] なお、タイムスロットの開始位置は、タイムスロット取得部 453からではなぐタイミン グ制御部 452からのカウント値に基づ 、て取得しても良 、。
[0307] (c)コマンド受信部
コマンド受信部 477は、制御信号用伝送線路 406を介して、各種コマンドをカード クロック CLKSに基づいてホスト端末 401から受信する。
[0308] (d)レスポンス生成部、レスポンス送信部
レスポンス生成部 475は、ホスト端末 401からの各種コマンドに対するレスポンスを 生成する。レスポンス送信部 478は、制御信号用伝送線路 406を介してホスト端末 4 01にレスポンスを送信する。
[0309] (e)ライトデータ受信部、ライトデータ生成部
ライトデータ受信部 481は、ホスト端末 401からのデータパケットをカードクロック CL KSに基づいて受信する。また、ライトデータ受信部 481は、ヘッダ長、データフラグメ ントのビット長、フッタ長及び基本タイムスロット長を順にカウントしたカウント値をタイミ ング制御部 472から受信している。このカウント値に基づいて、ライトデータ受信部 48 1は、データパケット内のデータフラグメントを損失することなく正確に受信することが できる。
[0310] なお、ライトデータを構成するデータパケットは、いずれの伝送線路においても同じ ビット長で構成され同期して伝送されている。よって、ライトデータ受信部 481は、制 御信号用伝送線路 406にお 、てヘッダ情報及びフッタ情報を受信できなくても、他 のデータ信号用伝送線路 407からヘッダ情報及びフッタ情報を受信すれば良い。
[0311] ライトデータ生成部 482は、複数のデータパケットからライトデータを生成し、 Flash メモリ 43 laに記憶させる。
[0312] (f)送信データ生成部、リードデータ送信部
送信データ生成部 480は、コマンド受信部 477がホスト端末 401からリードコマンド を受信すると、ホスト端末 401に送信するためのリードデータを Flashメモリ 43 laから 読み出し、複数のデータパケットを生成する。
[0313] リードデータ送信部 479は、カードクロック CLKSに基づいて、制御信号用伝送線 路 406及びデータ信号用伝送線路 407において同期するように、データパケットをホ スト端末 402に送信する。また、リードデータ送信部 479は、割込要求認識部 484か らリード割込要求が有るとの通知を受信すると、ホスト端末 401へのデータパケットの 送信を停止する。
[0314] (g)割込要求通知部、割込要求認識部
割込要求通知部 483は、ホスト端末 401からのライトデータの書き込みを中止する ライト割込要求などの各種割込要求を生成する。ここで、ライト時には、 SDメモリカー ド 402は、ホスト端末 401から制御信号用伝送線路 406及びデータ信号用伝送線路 407を介して連続的にデータパケットを受信し、ライトデータを受信している。ライト割 込要求は、このような場合に、拡張タイムスロットを用いて出力され、ライトデータの送 信を停止する割込要求である。割込要求通知部 483は、例えばホスト端末 401から 送信されたライトデータの Flashメモリ 43 laへの書き込みが遅れている等、 SDメモリ カード 402の状況を判断し、ライト割込要求を出力するか否かを判断する。割込要求 通知部 483は、変化させる信号振幅値を決定し、拡張タイムスロット長に基づいて信 号振幅を変化させる変化期間を決定する。そして、割込要求通知部 483は、決定し た信号振幅値及び変化期間に基づいて、ライト割込要求のビット長が拡張タイムス口 ット長を超えないようにライト割込要求を生成する。そして、割込要求通知部 483は、 拡張タイムスロット内でライト割込要求を出力可能なように、拡張タイムスロットの開始 位置に基づいてライト割込要求を動的インピーダンス回路 437に出力する。
[0315] 割込要求認識部 484は、電位差検出回路 439からの割込検出信号を受信し、ホス ト端末 401がリード割込要求を出力したか否かを判断する。割込要求認識部 484は、 リード割込要求の有無をリードデータ送信部 479に送信する。なお、ライト割込要求 は、ライトデータの Flashメモリ 431aへの書き込みが可能になるまで生成され、ホスト 端末 402に送信される。
[0316] (4)処理の流れ
以下に説明する処理においては、ホスト端末 401から SDメモリカード 402にクロック CLKHが送信されている。
[0317] (4 1)リード時
図 22は、本実施形態の通信システムにおける、リード時の処理の流れの一例を示 すフローチャートである。
[0318] ステップ Sl、 S2 :ホスト端末 401のコマンド生成部 455は、 SDメモリカード 402力 ら リードデータを読み出すためのリードコマンドを生成する。ホスト端末 401のコマンド 送信部 456は、リードコマンドを制御信号用伝送線路 406を介して SDメモリカード 40 2に送信する(ステップ Sl)。 SDメモリカード 402のコマンド受信部 477はリードコマン ドを受信する (ステップ S 2)。
[0319] ステップ S3、 S4 : SDメモリカード 402のレスポンス送信部 478は、リードコマンドに 対するレスポンスを、制御信号用伝送線路 406を介してホスト端末 401に送信する( ステップ S3)。ホスト端末 401のレスポンス受信部 458はレスポンスを受信する(ステツ プ S4)。
[0320] ステップ S5、 S6: SDメモリカード 402の送信データ生成部 480は、リードコマンドの 受信に応じて、 Flashメモリ 431aからリードデータを読み出してデータパケットを生成 する。 SDメモリカード 402のリードデータ送信部 479は、データパケットを制御信号 用伝送線路 406及びデータ信号用伝送線路 407を介してホスト端末 401に送信する (ステップ S5)。ホスト端末 401のリードデータ受信部 460は、 SDメモリカード 402から データパケットを受信する (ステップ S6)。このとき、ホスト端末 401のタイミング制御部 452は、ヘッダ長、データフラグメントのビット長、フッタ長及び基本タイムスロット長を 順にカウントし、カウント値をリードデータ受信部 460に送信している。
[0321] その後、リードデータ生成部 459は、データパケットからリードデータを生成し、 RA M411に記憶させる。
[0322] ステップ S7、 S8 :ホスト端末 401の割込要求通知部 463は、リード割込要求の出力 を行うか否かを判断し、出力する場合 (Yes)にはリード割込要求を生成する (ステツ プ S7)。このとき、ホスト端末 401のタイムスロット取得部 453は、ヘッダ長、フッタ長及 び基本タイムスロット長に基づいて拡張タイムスロット長を算出している。ホスト端末 4 01の割込要求通知部 463は、拡張タイムスロット長を超えないようにリード割込要求 を生成する (ステップ S8)。リード割込要求の出力を行わない場合 (No)には、ホスト 端末 401のリードデータ受信部 460はさらにデータパケットを受信する。
[0323] ステップ S9 :ホスト端末 401のタイムスロット取得部 453は、ヘッダ長、データフラグ メントのビット長及び拡張タイムスロット長をクロック CLKHに基づいて順にカウントし、 拡張タイムスロットの開始位置を取得する。
[0324] ステップ S10、 S11:ホスト端末 401の割込要求通知部 463は、拡張タイムスロット の開始位置に基づき、リード割込要求を動的インピーダンス回路 417に出力する (ス テツプ S10)。 SDメモリカード 402の割込要求認識部 484は、リード割込要求の出力 に応じて変化する割込検出信号に基づいて、ホスト端末 401がリード割込要求を出 力したことを認識する (ステップ S11)。
[0325] ステップ S12、 S13 : SDメモリカード 402のレスポンス送信部 478は、ホスト端末 40 2がリード割込要求を出力しているとの認識結果を受信すると、制御信号用伝送線路 406を介してホスト端末 401にレスポンスを送信する(ステップ S 12)。ホスト端末 401 のレスポンス受信部 458は、 SDメモリカード 402からレスポンスを受信する(ステップ S13)。
[0326] ステップ S14 : SDメモリカード 402のリードデータ送信部 479は、データパケットの 送信を停止する。 [0327] その後、ホスト端末 401から SDメモリカード 402にリードコマンドが再び送信される と、 SDメモリカード 402は制御信号用伝送線路 406及びデータ信号用伝送線路 40 7を介してデータパケットの送信を再開する。
[0328] (4 2)ライト時
図 23は、本実施形態の通信システムにおける、ライト時の処理の流れの一例を示 すフローチャートである。
[0329] ステップ S21、 S22 :ホスト端末 401のコマンド生成部 455及びコマンド送信部 456 は、 SDメモリカード 402にライトデータを書き込むためのライトコマンドを生成し、送信 する(ステップ S21)。 SDメモリカード 402のコマンド受信部 477はライトコマンドを受 信する (ステップ S 22)。
[0330] ステップ S23: SDメモリカード 402のレスポンス送信部 478及びホスト端末 401のレ スポンス受信部 458は、ライトコマンドに対するレスポンスを送受信する。
[0331] ステップ S25、 S26 :ホスト端末 401の送信データ生成部 461及びライトデータ送信 部 462は、ライトコマンドの生成に応じて、 RAM411からライトデータを読み出してデ ータパケットを生成し、 SDメモリカード 402に送信する(ステップ S25)。 SDメモリカー ド 402のライトデータ受信部 481は、ホスト端末 401からデータパケットを受信する (ス テツプ S26)。このとき、 SDメモリカード 402のタイミング制御部 472は、ヘッダ長、デ ータフラグメントのビット長、フッタ長及び基本タイムスロット長を順にカウントし、カウン ト値をライトデータ受信部 481に送信して!/、る。
[0332] その後、ライトデータ生成部 482は、データパケットからライトデータを生成し、 Flas hメモリ 43 laに記憶させる。
[0333] ステップ S27、 S28: SDメモリカード 402の割込要求通知部 483は、ライト割込要求 の出力を行うか否かを判断し、出力する場合 (Yes)にはライト割込要求を生成する( ステップ S27)。このとき、 SDメモリカード 402のタイムスロット取得部 473は、ヘッダ 長、フッタ長及び基本タイムスロット長に基づいて拡張タイムスロット長を算出している 。 SDメモリカード 402の割込要求通知部 483は、拡張タイムスロット長を超えないよう にライト割込要求を生成する (ステップ S28)。ライト割込要求の出力を行わない場合 (No)には、 SDメモリカード 402のライトデータ受信部 481はさらにデータパケットを 受信する。
[0334] ステップ S29: SDメモリカード 402のタイムスロット取得部 473は、ヘッダ長、データ フラグメントのビット長及び拡張タイムスロット長をカードクロック CLKSに基づいて順 にカウントし、拡張タイムスロットの開始位置を取得する。
[0335] ステップ S30 : SDメモリカード 402の割込要求通知部 483は、拡張タイムスロットの 開始位置に基づき、ライト割込要求を動的インピーダンス回路 437に出力する。
[0336] ステップ S31、 S32 :ホスト端末 401の割込要求認識部 464は、ライト割込要求の出 力に応じて変化する割込検出信号に基づいて、 SDメモリカード 402がライト割込要 求を出力して!/、る力否かを判断する (ステップ S31)。ライト割込要求が出力されて!ヽ ない場合 (No)は、ステップ S25にて、ライトデータ送信部 462はデータパケットを生 成及び送信を行う。
[0337] 一方、ライト割込要求が出力されている場合 (Yes)は、ホスト端末 401のライトデー タ送信部 462は、データパケットの送信を停止する (ステップ S32)。そして、ライト割 込要求の出力が解除されると、ライトデータ送信部 462は、ステップ S25にて、データ パケットを生成及び送信を再開する。
[0338] (5)作用効果
本実施形態によれば、データの送信側は、伝送線路の信号振幅の変化を監視する ことで、受信側力 のリード割込要求やライト割込要求等などの割込要求を認識する ことができる。ここで、受信側は、隣接するデータフラグメント間である拡張タイムスロッ トにおいて、信号振幅を変化させて割込要求を通知する。送信側を制御するための 割込信号を受信側力 送信側に送信するためには、データフラグメント間には割込コ マンドのビット長ほどの期間が必要であるが、本発明の割込要求の通知方法によれ ばデータフラグメント間には割込コマンドのビット長ほどの期間を設ける必要が無い。 そのため、割込要求を通知することによるデータの伝送効率の低下を抑制することが できる。また、拡張タイムスロットは、データフラグメントが伝送されていない期間であ るため、データフラグメントの損失を防止することができる。
[0339] (6)変形例
(6- 1) 図 15に示す電位差検出回路 419及び 439は、図 18に示される回路に限定されな い。図 24及び図 25を用いて電位差検出回路の別の構成について説明する。図 24 は電位差検出回路の別の構成図であり、図 25は制御信号用伝送線路 406、動的ィ ンピーダンス回路 417、図 24で構成される電位差検出回路 439及び割込検出信号 の出力状態を説明する別の説明図である。 SDメモリカード 402の電位差検出回路 4 39の構成は、電位差検出回路 419と同様であるので説明を省略する。
[0340] 電位差検出回路 419は、積分回路部 419d、 419e、比較器 419f、 419g、 OR回路 419hを有する。積分回路部 419d、 419eは、制御信号用伝送線路 406の 2本の差 動伝送路 406a及び 406bそれぞれに接続されており、また差動信号の同相電位 Vc om及びリセット信号が入力されている。積分回路部 419d、 419eは、差動伝送路 40 6a及び 406bの電位の入力を受け、差動信号の同相電位 Vcomを基準として所定時 間ごとの積分値を算出する。なお、積分回路部 419d、 419eは、図 25に示すリセット 信号のエッジタイミングごとに積分値をリセットする。比較器 419f、 419gは、入力され た積分値とある所定の基準電位 Vrefを比較し、積分値が Vre;fより大き 、場合は Hig h (H)を、小さい場合は Low (L)を出力する。ここで、前述の通り、割込要求の出力が 無い場合は制御信号用伝送線路 406の信号振幅は ± lOOmVのスイングであり、一 方割込要求が出力されている場合は制御信号用伝送線路 406の信号振幅は ± 10 mVのスイングとなる。このとき、割込要求が出力されていない場合は、積分回路部 4 19d、 419eのいずれかの積分値が基準電位 Vrefを上回り、比較器 419f、 419gの いずれかが High (H)を保持する。一方、割込要求が出力されている場合は、積分回 路部 419d、 419e両方の積分値が基準電位 Vrefを下回り、比較器 419f、 419g両 方が Low (L)を保持する。結局、割込要求の受信により制御信号用伝送線路 406の 信号振幅が ± 100mVから ± 10mVに低下すると、 OR回路 419hの出力は High (H )から Low (L)に変化し、割込検出信号として CPU410に入力される。 CPU410は、 割込検出信号のこの変化に基づいて割込要求の出力の有無を判断する。
[0341] (6- 2)
本実施形態にお!、て、データパケット受信側から送信側へ割込要求を通知するた めの方法として、図 26〜図 28に示す構成を用いても良い。図 26は本実施形態例の 変形例に係る通信システムの全体構成図であり、図 27は比較器の構成を示す構成 図であり、図 28は制御信号用伝送線路 406、比較器 441及び割込検出信号の出力 状態等を説明する説明図である。比較器 441以外の構成は、図 15と同様であるので 説明を省略する。また、 SDメモリカード 402の比較器 443の構成は比較器 441と同 様であるので説明を省略する。
[0342] 比較器 441は、ドライバ 415aの入力ライン 442a及びレシーバ 415bの出力ライン 4 42bに接続されており、クロック CLKHが入力される遅延素子 441a、 Ex— OR回路 4 41b及び Dフリップフロップ 441cを含む。ここで、ドライバ 415aはホスト端末 401が制 御信号用伝送線路 406に出力する信号を保持しており、レシーバ 415bは SDメモリ カードから制御信号用伝送線路 406を介して送信される信号を保持している。
[0343] ホスト端末 401が SDメモリカード 402にライトデータを送信している時に、 SDメモリ カード 402がライト割込要求を出力する場合を例に挙げて比較器 441の動作を説明 する。ホスト端末 401は、制御信号用伝送線路 406及びデータ信号用伝送線路 407 を介して SDメモリカード 402にデータパケットを連続的に送信している。ここで、 SDメ モリカード 402の CPU430力 動的インピーダンス回路 437にライト割込要求を出力 すると、前述のとおり制御信号用伝送線路 406の差動振幅は低下する。このとき、制 御信号用伝送線路 406のインピーダンスは、制御信号用伝送線路 406に接続され ているホスト端末 401のレシーバ 415bが判別可能な振幅レベルを下回る。ホスト端 末 401のレシーバ 415bは、制御信号用伝送線路 406の差動信号を認識できず、正 しい論理レベルを出力できない。よって、レシーバ 415bの出力ライン 442bは High 力 Lowかのいずれかの不定状態となる(図 28の X印を参照)。よって、図 28に示す ように、図 27で示される比較器 441の出力である割込検出信号の値は、必ずしも Lo w (L)とはならず High (H)となる場合がある(図 28の X印を参照)。なお、 SDメモリ力 ード 402がライト割込要求を出力していない場合は、ドライバ 415aの入力ライン 442 aと、レシーバ 415bの出力ライン 442bと、の論理レベルは常に等しい。よって、比較 器 441の出力である割込検出信号の値は必ず Lowとなる。ホスト端末 401の CPU4 10は、このような割込検出信号の変化を検出することで、 SDメモリカード 402がライト 割込要求を出力したことを認識することができる。 [0344] なお、上記のような動作をする比較器であれば、前記図 27の構成に限定されない 。また、図 27に示す比較器 441は図 15に示す電位差検出回路 419に比べて小さな 部面積で実現することができ好ま 、。
(6- 3)
上記では、先に伝送されるデータパケットのデータフラグメントと、後に伝送されるデ ータパケットのデータフラグメントと、の間隔により定義される拡張タイムスロットにおい て、制御信号用伝送線路 406の信号振幅を変化させる。しかし、先に伝送されるデ ータパケットと、後に伝送されるデータパケットとの間、つまり、先に伝送されるデータ パケットのフッタ情報と、後に伝送されるデータパケットのヘッダ情報と、の間である基 本タイムスロットにおいて、信号振幅を変化させるようにしても良い。ヘッダ情報及び フッタ情報の伝送期間に信号振幅の変化が生じないため、フッタ情報及びヘッダ情 報が正確に受信できなくなるのを阻止することができる。なお、本実施形態では電流 駆動型差動伝送方式を用いて 、るため、制御信号用伝送線路 406を含む各伝送線 路は、基本タイムスロットの期間においても、 High又は Lowのいずれかの状態にある
(6-4)
制御信号用伝送線路 406及びデータ信号用伝送線路 407を伝送する全てのデー タパケットに、ヘッダ情報及びフッタ情報を付加する必要は無い。いずれかの伝送線 路を伝送するデータフラグメントにのみヘッダ情報及びフッタ情報を付加し、それ以 外の伝送線路ではデータフラグメントのみを伝送するようにしても良い。このとき、い ずれかの伝送線路を介して伝送されて!、るフッタ情報及びフッタ情報に基づ 、て、 データフラグメントのみを伝送するようにすれば良 、。
[0345] 例えば、制御信号用伝送線路 406では第 1データフラグメントを伝送する力 第 1デ ータフラグメントの前後にヘッダ情報及びフッタ情報が付加されていない。一方、デ ータ信号用伝送線路 407では、フッタ情報、第 2データフラグメント及びフッタ情報を 含むデータパケットが伝送される。第 1データフラグメントのビット長は、データパケット の第 2データフラグメントのビット長と同一であり、第 1データフラグメントは第 2データ フラグメントに同期して伝送される。ここで、制御信号用伝送線路 406の隣接する第 1 データフラグメントと第 1データフラグメントとの間の第 1タイムスロットで、制御信号用 伝送線路 406の信号振幅を変化させる。このように、前述の期間に割込要求を出力 することによつても、データの伝送効率の低下を抑制しつつ、データフラグメントの情 報が損失するのを防止することができる。
[0346] 具体的に、タイムスロット取得部 453は、パラメータ記憶部 454から取得したヘッダ 長、フッタ長及び基本タイムスロット長に基づいて、第 1データフラグメント間の間隔で ある第 1タイムスロット長を算出して取得する。ここで、第 1タイムスロット長は、フッタ長 +基本タイムスロット長 +ヘッダ長により算出される。タイムスロット取得部 453は、割 込要求通知部 463に第 1タイムスロット長を送信する。割込要求通知部 463は、変化 させる信号振幅値を決定し、第 1タイムスロット長に基づいて信号振幅を変化させる 変化期間を決定する。そして、割込要求通知部 463は、決定した信号振幅値及び変 化期間に基づくリード割込要求を生成する。また、タイミング制御部 452は、リードデ ータ受信部 460からデータ信号用伝送線路 407を介してデータパケットを受信し、へ ッダ情報に含まれる第 2データフラグメントのビット長を取得する。タイムスロット取得 部 453は、ヘッダ長、第 2データフラグメントのビット長及び第 1タイムスロット長をクロ ック CLKHに基づいて順にカウントし、第 1タイムスロットの開始位置を取得する。そし て、タイムスロット取得部 453は、第 1タイムスロットの開始位置を割込要求通知部 46 3に送信する。割込要求通知部 463は、第 1タイムスロットの開始位置に基づいて、リ ード割込要求を動的インピーダンス回路 417に入力し、制御信号用伝送線路 406の 信号振幅を変化させる。 SDメモリカード 402の電位差検出回路 439がこの信号振幅 の変化を検出し、 SDメモリカード 402の CPU430はホスト端末 401がリード割込要求 を出力したことを認識する。
[0347] (6- 5)
上記では、制御信号用伝送線路 406及びデータ信号用伝送線路 407を伝送する データパケットは同期して伝送されるが、同期して伝送される構成に限定されない。 各データパケットのヘッダ情報及びフッタ情報に基づいて各伝送線路に伝送されれ ば良い。
[0348] (6-6) 上記では、制御信号用伝送線路及びデータ信号用伝送線路を介してデータ伝送 が行われている。しかし、本実施形態は、複数の伝送線路を介したデータ伝送への 適用のみならず、 1本の伝送線路を介したデータ伝送への適用も可能である。
[0349] (6- 7)
上記では、割込要求が出力されていない場合は伝送線路の信号振幅が大きぐ割 込要求が出力されると、伝送線路の信号振幅が小さくなる。しかし、信号振幅の変化 により割込要求が認識できれば良ぐ割込要求が出力されていない場合は伝送線路 の信号振幅が小さぐ割込要求が出力されると、伝送線路の信号振幅が大きくなつて も良い。
[0350] (6-8)
SDメモリカードでは、データは 8ビット単位で処理を行っている。よって、フッタ長 + 基本タイムスロット長 +ヘッダ長により算出される上記の拡張タイムスロット長は、 8の 倍数であるのが好ましい。
[0351] (6- 9)
送信側力 のデータの伝送が終了し、受信側が割込要求を出力できる状態になる までには、例えば数クロック分の切替時間 tlが必要となる。また、受信側からの割込 要求の出力が終了し、送信側が再びデータの伝送を開始できる状態になるまでには 、例えば数クロック分の切替時間 t2が必要となる。よって、拡張タイムスロット長は、こ の切替時間 tl及び t2を含むビット長であるのが好ましい。つまり、拡張タイムスロット 長は、フッタ長 +切替時間 tlのビット数 +コマンドのビット数 +切替時間 t2 +ヘッダ 長により算出される。この拡張タイムスロット長もまた、 8の倍数であるのが好ましい。
[0352] (6- 10)
上記割込要求は、リード割込要求及びライト割込要求に限られず、その他送信側か らのデータ送信を一定期間遅らせたり、データの再送を指示したりする要求であって も良い。
[0353] (6- 11)
上記では、データパケットは、ヘッダ情報、データパケット及びフッタ情報を順に含 むように形成されて 、るが、これらの順序は前記に限定されな 、。 [0354] (6- 12)
上記では、本実施形態は、制御用信号伝送線路及びデータ信号用伝送線路を有 する通信システムについて説明した。しかし、制御信号用伝送線路を有さず、データ 信号用伝送線路のみを有する通信システムにおいても本実施形態を適用可能であ る。
[0355] (6- 13)
上記では、ヘッダ長、フッタ長及び基本タイムスロット長が通信規格として定められ ているとした。しかし、例えば SDメモリカード毎にヘッダ長、フッタ長及び基本タイムス ロット長が異なり、ホスト端末と SDメモリカードとの通信開始時に、これらの情報を相 互に取得するようにしても良 、。
[0356] (6- 14)
上記では、各データフラグメントのビット長がヘッダ情報に記載されて 、る構成を説 明した。しかし、各データフラグメントのビット長が通信規格により固定されていても良 い。この場合には、ノ ラメータ記憶部にデータフラグメントのビット長を格納しておけ ば良ぐ第 2データパケットのヘッダ長から随時データフラグメントのビット長を取得す る必要は無い。
[0357] (6- 15)
上記では、リムーバブルメモリデバイスである SDメモリカードを例に挙げて説明した 力 ホスト端末力 供給されたクロックでリードデータをホスト端末に送信するような携 帯可能なリムーバブルメモリデバイスであれば、本発明を適用可能な範囲は SDメモ リカードに限定されない。例えば、その他、コンパクトフラッシュ(登録商標)、スマート メディア、マルチメディアカード、メモリースティック等が挙げられる。また、リムーパブ ルメモリデバイスが搭載可能なメモリは、フラッシュメモリに限定されず、 MRAM、 Fe RAM等の不揮発性メモリが挙げられる。
[0358] (6- 16)
前述した方法をコンピュータに実行させるコンピュータプログラム及びそのプロダラ ムを記録したコンピュータ読み取り可能な記録媒体は、本発明の範囲に含まれる。こ こで、コンピュータ読み取り可能な記録媒体としては、例えば、フレキシブルディスク、 ヽードディスク、 CD— ROM MO DVD DVD— ROM DVD— RAM BD (Blu e-ray Disc)、半導体メモリを挙げることができる。
[0359] 前記コンピュータプログラムは、前記記録媒体に記録されたものに限られず、電気 通信回線、無線又は有線通信回線、インターネットを代表とするネットワーク等を経 由して伝送されるものであってもよ 、。
産業上の利用可能性
[0360] 本発明は、送受信装置間のデータ伝送において、割込信号の伝送を行いつつ、デ ータの伝送効率の低下を抑制することを実現する場合に利用可能である。

Claims

請求の範囲
[1] 受信側と送信側とが少なくとも 2本以上の伝送線路を介して、データを複数のデー タフラグメントに分割して送受信し、
前記送信側は、前記複数のデータフラグメントのうち第 1データフラグメントを前記 伝送線路のうち第 1伝送線路を介して伝送し、ヘッダ情報と、前記第 1データフラグメ ントと同じビット長力もなる第 2データフラグメントと、フッタ情報とを含むデータパケット を前記第 1伝送線路以外の第 2伝送線路を介して伝送し、かつ前記第 1データフラグ メントと前記第 2データフラグメントとを同期して伝送し、
前記第 1伝送線路の隣接する前記第 1データフラグメント間の間隔であるタイムス口 ットにお 1、て、前記送信側を制御するための割込信号を前記受信側から前記送信側 に送信することを特徴とする、信号伝送方法。
[2] 前記第 1データフラグメントには、ヘッダ情報又はフッタ情報のいずれかが付加され て ヽることを特徴とする、請求項 1に記載の信号伝送方法。
[3] 前記割込信号は、前記第 1データフラグメント及び前記データパケットの送信を停 止するための信号であることを特徴とする、請求項 1に記載の信号伝送方法。
[4] データを複数のデータフラグメントに分割し、前記複数のデータフラグメントから第 1 データフラグメントを生成し、ヘッダ情報、前記第 1データフラグメントと同じビット長か らなる第 2データフラグメント及びフッタ情報を含むデータパケットを生成するデータ 生成部と、
前記第 1データフラグメントと前記第 2データフラグメントとを同期させて、前記第 1デ ータフラグメントを少なくとも 2本以上の伝送線路のうち第 1伝送線路を介して、前記 データパケットを前記第 1伝送線路以外の第 2伝送線路を介して受信側に送信する データ送信部と、
前記第 1伝送線路の隣接する前記第 1データフラグメント間の間隔であるタイムス口 ットにおいて、割込信号を前記受信側から受信する割込信号受信部と、
を含むことを特徴とする送受信装置。
[5] 前記割込信号の受信に応じて、レスポンスを前記受信側に送信するレスポンス送 信部をさらに含み、 前記割込信号は、前記第 1データフラグメント及び前記データパケットの送信を停 止するための信号であり、
前記データ送信部は、前記割込信号受信部が前記割込信号を受信した時に、前 記第 1及び第 2伝送線路を介して送信している前記第 1データフラグメント及び前記 データパケットの送信を完了し、
前記レスポンス送信部は、前記第 1データフラグメント及び前記データパケットの送 信完了後、前記受信側にレスポンスを送信することを特徴とする、請求項 4に記載の 送受信装置。
[6] 複数のデータフラグメントに分割されて伝送されるデータを送信側から受信する送 受信装置であって、
前記複数のデータフラグメントのうち第 1データフラグメントを少なくとも 2本以上の伝 送線路のうち第 1伝送線路を介して、ヘッダ情報、前記第 1データフラグメントと同じビ ット長力 なる第 2データフラグメント及びフッタ情報を含むデータパケットを前記第 1 伝送線路以外の第 2伝送線路を介して、前記送信側から受信するデータ受信部と、 前記第 1伝送線路の隣接する前記第 1データフラグメント間の間隔であるタイムス口 ットの開始位置及びタイムスロット長を取得するタイムスロット取得部と、
前記タイムスロット長に基づいて前記送信側を制御するための割込信号を生成する 割込信号生成部と、
前記タイムスロットにおいて、前記タイムスロットの開始位置に基づいて、前記割込 信号を前記送信側に送信する割込信号送信部と、
前記第 1データフラグメントと前記第 2データフラグメントとは同期して伝送されてい ることを特徴とする、送受信装置。
[7] 請求項 4に記載の送受信装置と、請求項 6に記載の送受信装置と、を含む通信シ ステム。
[8] 受信側と送信側とが伝送線路を介して、データを複数のデータフラグメントに分割し て送受信し、
前記受信側は、クロック信号用伝送路を介して第 1クロックを送信側に送信し、 前記送信側は、前記伝送線路を介し、前記データフラグメントを前記第 1クロックに 基づ 、て前記受信側に送信し、
前記受信側は、前記送信側からの前記データフラグメントの送信を停止するために
、前記第 1クロックの送信側への送信を停止することを特徴とする、信号伝送方法。
[9] 前記伝送線路は少なくとも 2本以上であり、
前記受信側は、前記第 1クロックの送信側への送信を停止した後、前記送信側を制 御するための割込信号を、前記伝送線路のうち第 1伝送線路を介して前記送信側に 送信し、かつ前記第 1伝送線路以外の第 2伝送線路を介して前記送信側に第 2クロッ クを送信し、
前記送信側は、前記割込信号を前記第 2クロックに基づいて受信することを特徴と する、請求項 8に記載の信号伝送方法。
[10] 前記割込信号は、前記データフラグメントの送信を停止するための信号であること を特徴とする、請求項 9に記載の信号伝送方法。
[11] 前記受信側は、前記第 1クロックの送信側への送信を停止した後、前記送信側を制 御するために割込要求を出力し、
前記送信側は、カウント値が前記第 1クロックの受信によりリセットされる内部クロック を有しており、前記第 1クロックの送信停止により、前記内部クロックのカウント値が所 定値を超えることに基づ ヽて前記割込要求を認識することを特徴とする、請求項 8〖こ 記載の信号伝送方法。
[12] 前記割込要求は、前記データフラグメントの送信を停止するための要求であること を特徴とする、請求項 11に記載の信号伝送方法。
[13] データを複数に分割してデータフラグメントを生成するデータ生成部と、
前記データフラグメントを受信側に送信するための第 1クロックを、クロック信号用伝 送路を介して前記受信側力 受信する第 1クロック受信部と、
伝送線路を介し、前記データフラグメントを前記第 1クロックに基づ 、て前記受信側 に送信するデータ送信部とを含み、
前記受信側からの前記第 1クロックの送信が停止され、前記データ送信部は前記 データフラグメントの前記受信側への送信を停止することを特徴とする、送受信装置
[14] 前記伝送線路は少なくとも 2本以上であり、
前記データ送信部は、前記少なくとも 2本以上の伝送線路を介して前記データフラ グメントを前記第 1クロックに基づいて前記受信側に送信し、
前記伝送線路のうち第 2伝送線路を介して前記受信側力 第 2クロックを受信する 第 2クロック受信部と、
前記第 2クロックに基づいて、前記伝送線路のうち第 1伝送線路を介して、前記送 信側を制御するための割込信号を前記受信側から受信する割込信号受信部とを含 み、
前記受信側からの前記第 1クロックの送信が停止された後、前記第 2クロック受信部 は前記第 2クロックを受信し、かつ前記割込信号受信部は前記第 2クロックに基づ 、 て前記割込信号を受信することを特徴とする、請求項 13に記載の送受信装置。
[15] 前記割込信号の受信に応じて、レスポンスを前記受信側に送信するレスポンス送 信部をさらに含むことを特徴とする、請求項 14に記載の送受信装置。
[16] 前記第 1クロックの受信によりリセットされる内部クロックのカウント値をカウントする内 咅クロックカウン卜咅と、
前記内部クロックのカウント値に基づ 、て、前記受信側の割込要求を認識する割込 要求認識部とをさらに含み、
前記割込要求認識部は、前記第 1クロックの送信停止により、前記内部クロックの力 ゥント値が所定値を超えることに基づいて前記割込要求を認識することを特徴とする 、請求項 13に記載の送受信装置。
[17] 前記割込要求の認識に応じて、レスポンスを前記受信側に送信するレスポンス送 信部をさらに含むことを特徴とする、請求項 16に記載の送受信装置。
[18] 複数のデータフラグメントに分割されて伝送されるデータを送信側から受信する送 受信装置であって、
前記送信側が前記データフラグメントの送信に用いる第 1クロックを、クロック信号用 伝送路を介して前記送信側に送信する第 1クロック送信部と、
伝送線路を介し、前記データフラグメントを前記第 1クロックに基づ 、て前記送信側 力 受信するデータ受信部とを含み、 前記第 1クロック送信部は、前記送信側力 の前記データフラグメントの送信を停止 するために、前記第 1クロックの送信側への送信を停止することを特徴とする、送受信 装置。
[19] 前記伝送線路は少なくとも 2本以上であり、
前記データ受信部は、前記少なくとも 2本以上の伝送線路を介して前記データフラ グメントを前記第 1クロックに基づいて前記送信側力 受信し、
前記送信側を制御するための割込信号を生成する割込信号生成部と、 前記伝送線路のうち第 1伝送線路を介して前記送信側に前記割込信号を送信する 割込信号送信部と、
前記伝送線路のうち第 2伝送線路を介して前記送信側に第 2クロックを送信する第 2クロック送信部とを含み、
前記第 1クロック送信部が前記第 1クロックの送信側への送信を停止した後、前記 割込信号送信部は、前記第 1伝送線路を介して前記送信側に前記割込信号を送信 し、かつ前記第 2クロック送信部は、前記第 2伝送線路を介して前記送信側に第 2クロ ックを送信することを特徴とする、請求項 18に記載の送受信装置。
[20] 前記第 1クロックの送信を停止するように前記第 1クロック送信部を制御することによ り、前記送信側を制御するための割込要求を前記送信側に通知する割込要求通知 部をさらに含むことを特徴とする、請求項 18に記載の送受信装置。
[21] 請求項 13に記載の送受信装置と、請求項 18に記載の送受信装置と、を含む通信 システム。
[22] 受信側と送信側とが伝送線路を介して、データを複数のデータフラグメントに分割し て送受信し、
前記受信側は、前記伝送線路の隣接する前記データフラグメント間において、前記 送信側を制御するための割込要求を前記送信側に通知するために、前記伝送線路 の信号振幅を変化させ、
前記送信側は、前記信号振幅の変化を検出することを特徴とする、信号伝送方法
[23] 前記割込要求は、前記データフラグメントの送信を停止するための要求であること を特徴とする、請求項 22に記載の信号伝送方法。
[24] データを複数に分割し、複数のデータフラグメントを生成するデータ生成部と、 前記データフラグメントを伝送線路を介して受信側に送信するデータ送信部と、 前記伝送線路の隣接する前記データフラグメント間にお 、て、前記伝送線路の信 号振幅の変化を検出することで、前記受信側からの割込要求を認識する割込要求 認識部と、
を含むことを特徴とする送受信装置。
[25] 前記割込要求の認識に応じて、レスポンスを前記受信側に送信するレスポンス送 信部をさらに含むことを特徴とする、請求項 24に記載の送受信装置。
[26] データを分割した複数のデータフラグメントを伝送線路を介して送信側から受信す るデータ受信部と、
前記伝送線路の隣接する前記データフラグメント間にお 、て、前記伝送線路の信 号振幅を変化させることで、前記送信側を制御するための割込要求を前記送信側に 通知する割込要求通知部と、
を含むことを特徴とする、送受信装置。
[27] 請求項 24に記載の送受信装置と、請求項 26に記載の送受信装置と、を含む通信 システム。
PCT/JP2007/053010 2006-04-26 2007-02-20 信号伝送方法、送受信装置及び通信システム WO2007125670A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US12/295,407 US8099537B2 (en) 2006-04-26 2007-02-20 Method, device, and system for transmitting data fragments over multiple transmission lines and techniques for stopping data transmission
EP20070714536 EP2015230B1 (en) 2006-04-26 2007-02-20 Signal transmission method, transmission/reception device, and communication system
JP2008513094A JP4931912B2 (ja) 2006-04-26 2007-02-20 信号伝送方法、送受信装置及び通信システム
CN2007800149724A CN101432762B (zh) 2006-04-26 2007-02-20 信号传送方法、发送接收装置和通信系统

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2006-121459 2006-04-26
JP2006121459 2006-04-26

Publications (1)

Publication Number Publication Date
WO2007125670A1 true WO2007125670A1 (ja) 2007-11-08

Family

ID=38655210

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2007/053010 WO2007125670A1 (ja) 2006-04-26 2007-02-20 信号伝送方法、送受信装置及び通信システム

Country Status (6)

Country Link
US (1) US8099537B2 (ja)
EP (1) EP2015230B1 (ja)
JP (1) JP4931912B2 (ja)
CN (1) CN101432762B (ja)
TW (1) TW200813730A (ja)
WO (1) WO2007125670A1 (ja)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009090801A1 (ja) * 2008-01-15 2009-07-23 Nagasaki University, National University Corporation 周波数検出装置、周波数検出方法、電気回路制御装置、電気回路制御方法、遅延回路および遅延回路システム
WO2011052141A1 (ja) * 2009-10-29 2011-05-05 パナソニック株式会社 データ伝送システム
JP2011100427A (ja) * 2009-11-09 2011-05-19 Sharp Corp インターフェース装置
CN102087697A (zh) * 2011-02-25 2011-06-08 深圳市中兴长天信息技术有限公司 一种阅读器与无线标签的数据传输方法
CN110089040A (zh) * 2017-04-07 2019-08-02 Oppo广东移动通信有限公司 数据传输的方法和发送端设备

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7581678B2 (en) 2005-02-22 2009-09-01 Tyfone, Inc. Electronic transaction card
US8332680B2 (en) * 2007-08-13 2012-12-11 Rambus Inc. Methods and systems for operating memory in two modes
US9741027B2 (en) 2007-12-14 2017-08-22 Tyfone, Inc. Memory card based contactless devices
US7961101B2 (en) * 2008-08-08 2011-06-14 Tyfone, Inc. Small RFID card with integrated inductive element
US8451122B2 (en) 2008-08-08 2013-05-28 Tyfone, Inc. Smartcard performance enhancement circuits and systems
US20100033310A1 (en) * 2008-08-08 2010-02-11 Narendra Siva G Power negotation for small rfid card
WO2010099093A1 (en) 2009-02-24 2010-09-02 Tyfone, Inc. Contactless device with miniaturized antenna
JP4714306B1 (ja) * 2009-11-18 2011-06-29 株式会社アドバンテスト 受信装置、試験装置、受信方法、および試験方法
JP5580786B2 (ja) * 2010-07-23 2014-08-27 パナソニック株式会社 ホスト装置、周辺装置、通信システム、および、通信方法
CN102142954B (zh) * 2010-11-30 2014-11-05 中兴通讯股份有限公司 一种机架内的时间同步方法及设备
JP6029437B2 (ja) * 2012-11-30 2016-11-24 ルネサスエレクトロニクス株式会社 半導体装置及びアクセス制限方法
US20160124876A1 (en) * 2014-08-22 2016-05-05 HGST Netherlands B.V. Methods and systems for noticing completion of read requests in solid state drives
JP2017004404A (ja) * 2015-06-15 2017-01-05 ソニー株式会社 通信装置、及び、制御方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2733242B2 (ja) 1988-03-28 1998-03-30 松下電工株式会社 時分割多重電送方式
JP2812537B2 (ja) * 1990-06-06 1998-10-22 日本放送協会 Icカードシステム
JP2002183692A (ja) * 2000-12-14 2002-06-28 Sony Corp Icカードおよびicカードシステム
JP3690873B2 (ja) * 1996-06-07 2005-08-31 シチズン時計株式会社 無接点型メモリカード・システムの通信回路

Family Cites Families (44)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4395756A (en) * 1981-02-17 1983-07-26 Pitney Bowes Inc. Processor implemented communications interface having external clock actuated disabling control
GB2097563B (en) * 1981-03-07 1985-10-16 British Aerospace Serial bus interface unit
US4467412A (en) * 1981-05-18 1984-08-21 Atari, Inc. Slave processor with clock controlled by internal ROM & master processor
JPS60225269A (ja) * 1984-04-24 1985-11-09 Casio Comput Co Ltd デ−タ転送方式
US5319752A (en) * 1992-09-18 1994-06-07 3Com Corporation Device with host indication combination
US5655131A (en) * 1992-12-18 1997-08-05 Xerox Corporation SIMD architecture for connection to host processor's bus
US5530875A (en) * 1993-04-29 1996-06-25 Fujitsu Limited Grouping of interrupt sources for efficiency on the fly
TW230808B (en) * 1993-06-04 1994-09-21 Philips Electronics Nv A two-line mixed analog/digital bus system and a station for use in such a system
JP2848784B2 (ja) * 1994-08-02 1999-01-20 沖電気工業株式会社 パケット交換方式
US5671421A (en) * 1994-12-07 1997-09-23 Intel Corporation Serial interrupt bus protocol
JPH08328684A (ja) * 1995-05-30 1996-12-13 Toshiba Corp コンピュータシステム
US5835779A (en) * 1996-03-15 1998-11-10 Lucent Technologies Inc. Message transmission among processing units using interrupt control technique
US6088741A (en) * 1996-05-09 2000-07-11 Citizen Watch Co., Ltd. Storage medium system which uses a contactless memory card
US5971284A (en) * 1997-03-25 1999-10-26 Intellidyne, Llc Apparatus for regulating heater cycles to improve forced-air heating system efficiency
US5940485A (en) * 1997-06-12 1999-08-17 Trivium Systems, Inc Data interface connected in line between a keyboard and a keyboard port of a personal computer
KR100258361B1 (ko) * 1997-11-21 2000-06-01 김영환 출력 데이터 보정장치를 가지는 고속 디램 시스템
US6081523A (en) * 1997-12-05 2000-06-27 Advanced Micro Devices, Inc. Arrangement for transmitting packet data segments from a media access controller across multiple physical links
US6262998B1 (en) * 1997-12-24 2001-07-17 Nortel Networks Limited Parallel data bus integrated clocking and control
US6321288B1 (en) * 1999-01-26 2001-11-20 National Semiconductor Corporation Serial IRQ slave controller with auto-synchronization
US6557063B1 (en) * 1999-02-26 2003-04-29 Semtech Corporation Power conservation with a synchronous master-slave serial data bus
KR100342020B1 (ko) * 1999-03-12 2002-06-27 윤종용 고유번호를 구비한 원격제어컴퓨터시스템 및 그것의 관리 방법
JP2000293485A (ja) * 1999-04-08 2000-10-20 Matsushita Electric Ind Co Ltd 通信インターフェース
CN2478178Y (zh) * 2000-04-22 2002-02-20 杭州南望电力科技有限公司 远程图像监控服务器
US6782486B1 (en) * 2000-08-11 2004-08-24 Advanced Micro Devices, Inc. Apparatus for stopping and starting a clock in a clock forwarded I/O system depending on the presence of valid data in a receive buffer
US6832325B2 (en) * 2000-12-29 2004-12-14 Intel Corporation Device on a source synchronous bus sending data in quadrature phase relationship and receiving data in phase with the bus clock signal
US7003580B1 (en) * 2000-12-29 2006-02-21 Sprint Communications Company L.P. Bandwidth boost using a wireless communication path
US7313715B2 (en) * 2001-02-09 2007-12-25 Samsung Electronics Co., Ltd. Memory system having stub bus configuration
JP3870717B2 (ja) * 2001-05-14 2007-01-24 セイコーエプソン株式会社 データ転送制御装置及び電子機器
US6549162B1 (en) * 2001-06-12 2003-04-15 Qualcomm, Inc. Method and apparatus for transmitting real time data from aircraft to ground stations using a data protocol over a satellite system
DE10138883B4 (de) * 2001-08-08 2006-03-30 Infineon Technologies Ag Verfahren sowie Vorrichtung zur synchronen Signalübertragung zwischen Logik-/Speicherbausteinen
US7355971B2 (en) * 2001-10-22 2008-04-08 Intel Corporation Determining packet size in networking
US7200151B2 (en) * 2002-06-28 2007-04-03 Manter Venitha L Apparatus and method for arbitrating among equal priority requests
KR100506529B1 (ko) * 2003-08-06 2005-08-03 삼성전자주식회사 데이터 통신 네트워크에서의 경로 엠티유 발견 네트워크장치, 시스템 및 그 방법
JP2005135109A (ja) * 2003-10-29 2005-05-26 Kyocera Mita Corp データ転送システム
US7073146B2 (en) * 2003-10-30 2006-07-04 Atrenta Inc. Method for clock synchronization validation in integrated circuit design
WO2005094555A2 (en) * 2004-03-25 2005-10-13 Washington University Design and use of restartable clocks including crystal-based restartable clocks
US7362739B2 (en) * 2004-06-22 2008-04-22 Intel Corporation Methods and apparatuses for detecting clock failure and establishing an alternate clock lane
US7418528B2 (en) * 2004-07-22 2008-08-26 Texas Instruments Incorporated Multimode, multiline data transfer system and method of operating the same
EP1796320B1 (en) * 2004-09-21 2013-10-16 Hitachi, Ltd. Node device
US20080008183A1 (en) * 2004-12-28 2008-01-10 Keiichi Takagaki Communication Device, Storage Medium, Integrated Circuit, and Communication System
US20060143348A1 (en) * 2004-12-29 2006-06-29 Wilson Matthew T System, method, and apparatus for extended serial peripheral interface
EP1879333A1 (en) * 2006-07-12 2008-01-16 Siemens Aktiengesellschaft Method for transmitting packets in a network
JP2008022678A (ja) * 2006-07-14 2008-01-31 Matsushita Electric Ind Co Ltd モータ駆動装置及びモータ制動方法
JP5217982B2 (ja) * 2008-12-04 2013-06-19 ソニー株式会社 情報処理装置および方法、並びにプログラム

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2733242B2 (ja) 1988-03-28 1998-03-30 松下電工株式会社 時分割多重電送方式
JP2812537B2 (ja) * 1990-06-06 1998-10-22 日本放送協会 Icカードシステム
JP3690873B2 (ja) * 1996-06-07 2005-08-31 シチズン時計株式会社 無接点型メモリカード・システムの通信回路
JP2002183692A (ja) * 2000-12-14 2002-06-28 Sony Corp Icカードおよびicカードシステム

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2015230A4 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009090801A1 (ja) * 2008-01-15 2009-07-23 Nagasaki University, National University Corporation 周波数検出装置、周波数検出方法、電気回路制御装置、電気回路制御方法、遅延回路および遅延回路システム
US9297842B2 (en) 2008-01-15 2016-03-29 Nagasaki University, National University Corporation Frequency detection device
WO2011052141A1 (ja) * 2009-10-29 2011-05-05 パナソニック株式会社 データ伝送システム
CN102273155A (zh) * 2009-10-29 2011-12-07 松下电器产业株式会社 数据传输系统
US8548069B2 (en) 2009-10-29 2013-10-01 Panasonic Corporation Data transmission system capable of transmitting interrupt signal without interrupt gate period
JP2011100427A (ja) * 2009-11-09 2011-05-19 Sharp Corp インターフェース装置
CN102087697A (zh) * 2011-02-25 2011-06-08 深圳市中兴长天信息技术有限公司 一种阅读器与无线标签的数据传输方法
CN110089040A (zh) * 2017-04-07 2019-08-02 Oppo广东移动通信有限公司 数据传输的方法和发送端设备
CN110089040B (zh) * 2017-04-07 2022-04-15 Oppo广东移动通信有限公司 数据传输的方法和发送端设备
US11345467B2 (en) 2017-04-07 2022-05-31 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Data transmission method, and sending end device

Also Published As

Publication number Publication date
TW200813730A (en) 2008-03-16
CN101432762A (zh) 2009-05-13
JP4931912B2 (ja) 2012-05-16
CN101432762B (zh) 2012-05-09
EP2015230A1 (en) 2009-01-14
US8099537B2 (en) 2012-01-17
EP2015230A4 (en) 2012-02-22
JPWO2007125670A1 (ja) 2009-09-10
US20090290582A1 (en) 2009-11-26
EP2015230B1 (en) 2014-04-02

Similar Documents

Publication Publication Date Title
WO2007125670A1 (ja) 信号伝送方法、送受信装置及び通信システム
US7548736B2 (en) Transmitter, receiver, data transfer system, transmission method, reception method, computer program for transmission, computer program for reception, and recording medium
JP4746998B2 (ja) 伝送レート調整装置および伝送レート調整方法
US7895385B2 (en) Establishing communication over serial buses in a slave device
US10852799B2 (en) Adaptive use of multiple power supplies in communication systems
US20180067715A1 (en) Digital accessory interface calibration
JP2022031983A (ja) 送信装置、受信装置及び送受信システム
KR20190115427A (ko) 동적 히스테리시스 회로
KR20200130140A (ko) 직렬 주변장치 인터페이스 기능을 가진 통신 시스템
US7627800B2 (en) Communicating with error checking to a device capable of operating according to an address prefix serial bus protocol
JP4875832B2 (ja) 転送装置、プログラム及びコンピュータ読み取り可能な記憶媒体
GB2538246A (en) Digital accessory interface calibration
US20110255470A1 (en) Data processing device, system and method for data processing, recording medium with program recorded therein, data transfer device, system and method for data transfer, and recording medium with program recorded therein
WO2016181096A1 (en) Digital accessory interface
US10013304B2 (en) Electrical apparatus, control device and communication method that control communications performed at different communication rates
WO2022230447A1 (ja) 通信装置、通信システム及び通信方法
US10862830B2 (en) Real-time on-chip data transfer system
JP2011186791A (ja) Usbハブ及びusbハブの制御方法
JP4187920B2 (ja) データ通信方式
JP3623677B2 (ja) データ通信方式
US7716539B2 (en) Serial communication control system
JPH11205396A (ja) シリアル通信装置
TWI333338B (en) Data communication system and method between electric components
JP3886758B2 (ja) バッファメモリ制御装置
JP2013126057A (ja) センサおよびセンシング方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07714536

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 12295407

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2008513094

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 200780014972.4

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2007714536

Country of ref document: EP