Master device, slave device, and master-slave system

By transmitting the voltage switching command through the signal line between the host device and the slave device and switching to low voltage power supply, the problem of large power loss in the voltage reduction process of slave devices such as SD cards in the prior art is solved, and power consumption is reduced. reduction and device battery life improvement.

CN118742873APending Publication Date: 2024-10-01PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380022980.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-02-22
Filing Date
2023-01-24
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing slave devices such as SD cards cause a large power loss during voltage reduction processing, which is particularly undesirable in mobile devices and IoT devices that do not supply a large amount of total power, resulting in high power consumption.

Method used

The voltage switching command is transmitted through the signal line between the host device and the slave device, switching to low voltage (such as 1.8V or 1.2V) power supply, and stopping using high voltage (3.3V) power supply to achieve power reduction.

Benefits of technology

While maintaining interchangeability with existing SD cards, it achieves reduction in power consumption in steady state, reduces power loss, and improves the battery life of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118742873A_ABST
    Figure CN118742873A_ABST
Patent Text Reader

Abstract

The master device supplies power having a first voltage to the slave device via a first power supply line, and instructs the slave device via a signal line to confirm whether or not the slave device corresponds to a power input having a second voltage lower than the first voltage. Voltage switching is indicated to the slave device via a signal line. When the host device receives a normal response from the slave device in response to the instruction of voltage switching, the host device supplies power having the second voltage to the slave device via the second power supply line, and stops the supply of power having the first voltage to the slave device via the first power supply line.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a master device, a slave device, and a master-slave system formed by these devices. Background Art

[0002] In recent years, slave devices such as SD cards (registered trademark) that have flash memory and other pluggable storage media as back-end modules have become popular. SD cards as slave devices can be connected to host devices such as personal computers and cameras to receive power from the host device while accessing data to the back-end module.

[0003] Patent Document 1 discloses a technique for converting a signal voltage for performing data communication between a slave device and a host device after the host device activates the slave device.

[0004] Patent Document 2 discloses a technique for reducing the influence of a clock signal on an internal power supply voltage when a memory module is shifted to a low power consumption mode.

[0005] Prior art literature

[0006] Patent Literature

[0007] Patent Document 1: International Publication No. 2009 / 107400

[0008] Patent Document 2: Japanese Patent Application Publication No. 2017-084305 Summary of the invention

[0009] In order for the host device to start the SD card as a slave device to read and write data, it is necessary to supply 3.3V power to the SD card from the host device. The 3.3V power supply is necessary for the flash memory and the controller inside the SD card, where the controller controls data transmission and reception with the host device and data access to the flash memory.

[0010] In the past, the mainstream input power supply voltage of semiconductor chips such as controllers and flash memories was 3.3 V. However, recently, the number of semiconductor chips that support lower input power supply voltages such as 1.8 V has increased. When such semiconductor chips are installed in existing SD cards, the 3.3 V power supply input to the SD card needs to be stepped down to 1.8 V by a regulator and then supplied to the semiconductor chip.

[0011] In such a structure, for example, if the current consumption of the flash memory generated when reading and writing data is assumed to be 0.2A, the voltage reduction process in the regulator generates a power loss of (3.3V-1.8V)×0.2A=0.3W. This is not preferable in mobile devices and IoT devices, which are host devices with a small total amount of power that can be supplied.

[0012] The present disclosure provides a host device, a slave device, and a master-slave system that can achieve a reduction in power consumption in a stable state while maintaining compatibility with existing SD cards.

[0013] The host device in the present disclosure is a host device connected to the slave device via at least the first power line, the second power line, and a plurality of signal lines. The host device performs the following processing: supplying power having a first voltage to the slave device via the first power line, instructing the slave device via the signal line to confirm whether the slave device corresponds to a power input having a second voltage lower than the first voltage, and instructing the slave device to switch the voltage via the signal line when the slave device corresponds to the power input having the second voltage. When the host device receives a normal response from the slave device in response to the instruction of the voltage switch, it supplies power having the second voltage to the slave device via the second power line, and stops supplying power having the first voltage to the slave device via the first power line.

[0014] In addition, the slave device in the present disclosure is a slave device connected to the host device via at least a first power line, a second power line, and a plurality of signal lines. The slave device receives power supply having a first voltage from the host device via the first power line, responds to the host device via the signal line when receiving an instruction from the host device via the signal line to confirm whether the slave device corresponds to power input having a second voltage lower than the first voltage, and sends a normal response to the host device via the signal line when receiving an instruction to switch the voltage from the host device via the signal line.

[0015] In addition, the master-slave system in the present disclosure is a master-slave system having a master device and a slave device connected to the master device via at least a first power line, a second power line, and a plurality of signal lines. The master device supplies power having a first voltage to the slave device via the first power line, and indicates to the slave device via the signal line whether the slave device corresponds to a power input having a second voltage lower than the first voltage. When the slave device receives the indication of confirmation of whether it corresponds to the power input having the second voltage, it responds to the host device via the signal line. When the slave device corresponds to the power input having the second voltage, the host device instructs the slave device to switch the voltage via the signal line. When the host device instructs the slave device to switch the voltage via the signal line, the slave device sends a normal response to the host device via the signal line. When the host device receives a normal response from the slave device, the host device supplies power having a second voltage to the slave device via the second power line, and stops supplying power having the first voltage via the first power line.

[0016] According to the present disclosure, it is possible to reduce power consumption of a pluggable slave device such as an SD card. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is a block diagram showing the configuration of a master-slave system including a slave device and a master device according to the first embodiment.

[0018] Figure 2 This is a diagram for explaining the terminal arrangement of an SD card as an example of the slave device according to the first embodiment.

[0019] Figure 3 This is a diagram for explaining the terminal arrangement of a microSD card as an example of the slave device according to the first embodiment.

[0020] Figure 4 This is a timing chart showing a startup sequence of the master-slave system according to the first embodiment.

[0021] Figure 5 This is a diagram for explaining the parameters built into the power supply voltage confirmation command, the signal voltage confirmation command, the power supply and signal voltage switching command, and the corresponding replies in the first embodiment.

[0022] Figure 6 This is a flowchart of a startup sequence of the master-slave system according to the first embodiment.

[0023] Figure 7 This is a block diagram showing the configuration of a master-slave system including a slave device and a master device according to the second embodiment.

[0024] Figure 8 This is a diagram for explaining the terminal arrangement of an SD card as an example of a slave device according to the second embodiment.

[0025] Fig. 9 This is a diagram for explaining the terminal arrangement of a microSD card as an example of a slave device according to the second embodiment.

[0026] Fig.10 This is a timing chart showing a startup sequence of the master-slave system according to the second embodiment.

[0027] Fig.11 This is a diagram for explaining parameters built into a power supply voltage confirmation command, a signal voltage confirmation command, a power supply and a signal voltage switching command, and corresponding replies in the second embodiment.

[0028] Fig.12 This is a flowchart of a startup sequence of the master-slave system according to the second embodiment.

[0029] Fig.13 It is a diagram for explaining the relationship between the SD Express card and the SD card involved in the embodiment of the present invention.

[0030] Fig.14 : is a diagram for explaining the relationship between a microSD Express card and a microSD card according to an embodiment of the present invention. DETAILED DESCRIPTION

[0031] Hereinafter, it is appropriate to describe the embodiments in detail with reference to the accompanying drawings. However, sometimes the necessary detailed description is omitted. For example, sometimes the detailed description of the well-known matters and the repeated description of the substantially same structure are omitted. This is to avoid the following description from becoming unnecessarily lengthy and to facilitate the understanding of those skilled in the art. In addition, the components marked with the same reference numerals have the same functions in each embodiment.

[0032] In addition, the inventor provides the drawings and the following descriptions for those skilled in the art to fully understand the present disclosure, and does not intend to limit the subject matter described in the claims thereby.

[0033] [First embodiment]

[0034] Figure 1 This is a block diagram for explaining a master-slave system composed of a slave device according to the first embodiment and a master device that controls the slave device.

[0035] In addition, in this description, the so-called low level of a signal refers to a state where the voltage of the signal is at or near 0 V. In addition, the so-called high level of a signal refers to a state where the voltage of the signal is higher than the low level and can be identified with the signal of the low level. In this embodiment, the voltage value representing the high level is determined to be 3.3V or 1.8V.

[0036] like Figure 1 As shown in FIG. 1 , the host device 100 includes at least: a first power supply unit 101 for supplying 3.3V power; a second power supply unit 102 for supplying 1.8V power; a host device controller 103; a first SW 106 for switching whether the power supplied by the first power supply unit 101 is output to the outside; and a second SW 107 for switching whether the power supplied by the second power supply unit 102 is output to the outside. The host device controller 103 includes at least a host device I / F unit 104 and a ROM 105 as a read-only memory. An example of the host device I / F unit 104 is a processor that executes a program stored in the ROM 105.

[0037] The host device 100 and the slave device 120 are mechanically connected. In addition, the host device 100 is electrically connected to the slave device 120 via a 3.3V power line, namely a VDD1 line 110 (an example of a first power line), a 1.8V power line, namely a VDD2 line 111 (an example of a second power line), and a signal line described later. In addition, as shown in the second embodiment, the host device 100 is further connected to the slave device 120 via a 1.2V power line, namely a VDD line (not shown). That is, the host device 100 can be connected to the slave device via three or more power lines (power lines).

[0038] The slave device 120 includes at least a regulator 121 for stepping down a 3.3V power supply to a 1.8V power supply, a slave device controller 122 , a backend module 123 , and a backend bus 124 for performing data communication between the slave device controller 122 and the backend module 123 .

[0039] The slave device controller 122 includes at least a slave device I / F unit 125, a ROM 126, and a register 127. The slave device controller 122 in the present disclosure controls each element inside the slave device 120. An example of the slave device I / F unit 125 is a processor that executes a program stored in the ROM 126.

[0040] As an example of the backend module 123 in the present disclosure, there is a flash memory that stores data transmitted from the host device 100 .

[0041] The host device I / F unit 104 and the slave device I / F unit 125 perform signal communication via the CLK line 112, the CMD line 113, and the DAT line 114. The DAT line 114 is composed of four signal lines, but the number of signal lines is not limited to four. The CLK line 112, the CMD line 113, and the DAT line 114 are collectively referred to as signal lines. In addition, the host device I / F unit 104 and the slave device I / F unit 125 can also communicate via at least one signal line (for example, the CMD line 113) among the multiple signal lines (CLK line 112, CMD line 113, and DAT line 114).

[0042] Figure 2 This is a diagram for explaining the terminal arrangement and terminal names of an SD card as an example of the slave device according to the first embodiment. Figure 2 The SD card shown in (a) has 9 terminals numbered 1 to 9 at the top of the figure and 1 terminal numbered 14 at the bottom, for a total of 10 terminals. Figure 2 As described in (b) of FIG. 1 , the power supply or signal line corresponding to the terminal name is connected. In addition, VSS1 and VSS2 here both represent ground terminals.

[0043] While the conventional SD card is composed of only terminals numbered 1 to 9, the SD card in the present embodiment includes a VDD1 terminal (terminal number 14) serving as a 1.8V power supply line in addition to the above 9 terminals.

[0044] Figure 3 This is a diagram for explaining the terminal arrangement and terminal names of a microSD card as another example of the slave device according to the first embodiment. The microSD card has a smaller surface area and thickness than the SD card, but the communication protocol with the host device 100 is the same as that of the SD card. Figure 3 The microSD card shown in (a) has eight terminals numbered 1 to 8 at the top of the figure and one terminal numbered 9 at the bottom, for a total of nine terminals. Figure 3 As recorded in (b),.

[0045] The conventional microSD card is composed of only terminals numbered 1 to 8, whereas the microSD card in this embodiment includes a terminal for VDD1 (terminal number 9) which is a 1.8V power supply line in addition to the above 8 terminals.

[0046] Figure 4 is a timing chart showing a startup sequence according to the first embodiment. Figure 5 Yes Description Figure 4 A diagram showing the structure of a power supply voltage confirmation command and its response, a signal voltage confirmation command and its response, and a power supply and signal voltage switching command in a startup sequence. Figure 6 This is a flowchart related to the first embodiment.

[0047] Below, use Figures 1 to 6 The operation of the master-slave system in this embodiment will be described.

[0048] The host device 100 is activated, and the first power supply unit 101 and the second power supply unit 102 are activated. Then, the 3.3V power supply is supplied from the first power supply unit 101 to the host device controller 103. In addition, the power supplied to the host device controller 103 may be the 1.8V power supply supplied from the second power supply unit 102, or both the 3.3V power supply and the 1.8V power supply. Then, in the host device controller 103, a program for activating the host device I / F unit 104 is loaded from the ROM 105.

[0049] Since the first SW 106 and the second SW 107 are turned off immediately after the host device 100 is activated, the 3.3V power supplied by the first power supply unit 101 and the 1.8V power supplied by the second power supply unit 102 are not output to the outside of the host device 100 .

[0050] After the host device 100 is started up, the host device I / F unit 104 instructs the first SW 106 to be turned on. Figure 4 At time t1, the 3.3V power supply is supplied to the slave device 120 via the VDD1 line 110. That is, the host device 100 supplies power having a voltage of 3.3V to the slave device 120 via the VDD1 line 110. In conjunction with the rising edge of the 3.3V power supply, the CMD line 113 and the DAT line 114 transition from a low level to a 3.3V high level through a pull-up resistor (not shown) (601).

[0051] The slave device 120 is respectively in the case of an SD card, Figure 2 The pin number 4 of the microSD card receives a 3.3V power supply. Figure 3 The terminal number 4 of the slave device 120 receives the supply of 3.3V power. The 3.3V power supplied to the slave device 120 is stepped down to 1.8V power by the regulator 121 and supplied to the slave device controller 122 and the back-end module 123. In the slave device controller 122, a program for starting the slave device I / F unit 125 is loaded from the ROM 126, and the register 127 is started.

[0052] After the host device 100 can stably supply 3.3V power to the slave device 120, the host device I / F unit 104 supplies a 3.3V clock to the slave device I / F unit 125 via the CLK line 112 at time t2 (602).

[0053] Next, the master device I / F unit 104 sends a power supply voltage confirmation command 401 (CMD8) to the slave device I / F unit 125 via the CMD line 113. Figure 5 As shown in (a) of FIG. 4 , in the power supply voltage confirmation command 401, the 1.8V power supply inquiry bit is reused. That is, the host device 100 instructs the slave device to confirm whether the slave device 120 corresponds to the power input with 1.8V. In this embodiment, the 1.8V power supply inquiry bit is set to "1 (an example of a given value)" (there is an inquiry).

[0054] When the slave device I / F unit 125 receives the power supply voltage confirmation command 401 and sets "1" in the 1.8V power supply inquiry bit, it calls the bit "1" indicating the 1.8V power supply from the register 127 and checks the power supply voltage. Figure 5 The 1.8V power supply response bit of the reply 402 (R7) shown in (a) is set. Then, the slave device I / F unit 125 transmits the reply 402 to the master device I / F unit 104 via the CMD line 113 (603).

[0055] In addition, when the slave device 120 is not compatible with the 1.8V power supply, the 1.8V power supply response bit of the reply 402 is always set to "0" regardless of the value of the 1.8V power supply inquiry bit of the power supply voltage confirmation command 401. In addition, when the value of the 1.8V power supply inquiry bit of the power supply voltage confirmation command 401 is "0", regardless of whether the slave device 120 is compatible with the 1.8V power supply, the 1.8V power supply response bit of the reply 402 is always set to "0 (an example of a given value)".

[0056] After receiving the reply 402, the master device I / F unit 104 sends a signal voltage confirmation command 403 (ACMD41) to the slave device I / F unit 125 via the CMD line 113. ACMD is an abbreviation for Application CMD. Figure 5 As shown in (b) of FIG. 4 , a 1.8V signal inquiry bit is multiplexed in the signal voltage confirmation command 403. In the present embodiment, "1" (inquiry is made) is set in the 1.8V signal inquiry bit.

[0057] The slave device I / F unit 125 that has received the signal voltage confirmation command 403 sets the 1.8V signal inquiry bit to "1", and calls the bit "1" indicating that it corresponds to the 1.8V signal from the register 127, and Figure 5 The 1.8V signal response bit of the reply 404 (R3) shown in (b) is set. Then, the slave device I / F unit 125 transmits the reply 404 to the master device I / F unit 104 via the CMD line 113 (604).

[0058] In addition, similarly to the 1.8V power supply, when the slave device 120 does not support the 1.8V signal, the 1.8V signal response bit of the reply 404 is always set to "0" regardless of the value of the 1.8V signal inquiry bit of the signal voltage confirmation command 403. In addition, when the value of the 1.8V signal inquiry bit of the signal voltage confirmation command 403 is "0", the 1.8V signal response bit of the reply 404 is always set to "0" regardless of whether the slave device 120 supports the 1.8V signal.

[0059] After the above series of confirmation operations, the master device I / F unit 104 sends a power supply and signal voltage switching confirmation command 405 (CMD11) to the slave device I / F unit 125 via the CMD line 113. In the power supply and signal voltage switching confirmation command 405 in the present embodiment, the power supply voltage switching indication bit is multiplexed, and "1 (an example of a given value)" is set to this bit (switch to 1.8V power supply).

[0060] The slave device I / F unit 125 receiving the power supply and signal voltage switching confirmation command 405 sends a reply 406 (R1) to the master device I / F unit 104 (605) via the CMD line 113. That is, the slave device 120 sends a normal response to the master device 100 via the CMD line 113.

[0061] Next, the slave device I / F unit 125 drives all signal lines of the CMD line 113 and the DAT line 114 to a low level at time t3 (606). In addition, even if the slave device 120 does not support the 1.8V power supply, upon receiving the power supply and signal voltage switching confirmation command 405 in which "1" is multiplexed in the power supply voltage switching indication bit, the slave device 120 does not send a reply 406 (R1) and does not drive the CMD line 113 and the DAT line 114 to a low level. As a result, the host device 100 detects that the switching to the 1.8V power supply cannot be performed.

[0062] When the host device I / F unit 104 detects that the slave device supports 1.8V power (Yes in 607), that is, when the value of the 1.8V power response bit in the reply 402 is "1" and the reply 406 is received, after detecting that all signal lines of the CMD line 113 and the DAT line 114 are at a low level, the second SW 107 is turned on at time t4, and 1.8V power is supplied to the slave device 120 via the VDD2 line 111 (608). That is, the host device 100 supplies 1.8V power to the slave device 120 via the VDD2 line 111. At this time, in the case of an SD card, the slave device 120 receives the power from the VDD2 line 111. Figure 2 The pin number 14 receives the 1.8V power supply. In the case of a microSD card, the Figure 3 The terminal number 9 receives the supply of 1.8V power.

[0063] After the host device 100 can stably supply 1.8V power to the slave device 120, the host device I / F unit 104 stops supplying 3.3V clock at time t5 (609). Then, at time t6 after a predetermined time has passed since time t5, the host device I / F unit 104 starts supplying 1.8V clock via the CLK line 112 (610).

[0064] Between time t5 and t6, the master device I / F unit 104 and the slave device I / F unit 125 perform processing required to switch the signal voltage of each signal line from 3.3 V to 1.8 V. In the present embodiment, the time from time t5 to t6 is set to be 5 ms or longer, but may be other values.

[0065] After time t6, when the slave device I / F unit 125 detects a 1.8V clock in the CLK line 112, it first drives the CMD line 113 to a 1.8V high level, and then stops driving the CMD line 113 at time t7. As a result, the CMD line 113 maintains a 1.8V high level through a pull-up resistor. Next, the slave device I / F unit 125 drives the DAT line 114 to a 1.8V high level, and then stops driving all signal lines of the DAT line 114 at time t8. As a result, the DAT line 114 maintains a 1.8V high level through a pull-up resistor (611).

[0066] When the host device I / F unit 104 detects that both the CMD line 113 and the DAT 114 are at high level, it turns off the first SW 106 at time t9 to stop the supply of 3.3V power via the VDD1 line 110 (612). Thereafter, the slave device 120 is driven only by the 1.8V power supplied via the VDD2 line 111, and the regulator 121 does not operate.

[0067] In addition, when the host device I / F unit 104 detects that the slave device does not support 1.8V power supply (No in 607), that is, when the value of the 1.8V power supply response bit in reply 402 is "0", it does not implement the 1.8V power supply start (608) and the 3.3V power supply stop (612), but keeps the 3.3V power supply unchanged, and executes the 3.3V clock supply stop (609), the 1.8V clock supply start (610), and the low-level drive stop (611) of the CMD and DAT lines of the slave device to drive the slave device 120.

[0068] As described above, in this embodiment, after switching the power supply and the signal voltage, the power loss that was previously generated in the regulator 121 can be eliminated when reading and writing data to the back-end module 123 via the back-end bus 124. Furthermore, in conjunction with the reduction of the signal voltage from 3.3V to 1.8V, power consumption is reduced in the master-slave system of this embodiment.

[0069] [Second embodiment]

[0070] Figure 7 This is a block diagram for explaining a master-slave system composed of a slave device involved in the second embodiment and a master device that controls the slave device. The first embodiment switches the power supply and signal voltage from 3.3V to 1.8V respectively, whereas the present embodiment switches the power supply and signal voltage from 3.3V to 1.2V respectively. Therefore, in the present embodiment, the voltage value representing the high level is determined to be 3.3V or 1.2V.

[0071] like Figure 7 As shown, the host device 700 includes: a first power supply unit 101; a third power supply unit 702 that supplies 1.2V power; a host device controller 703; a first SW 106; and a third SW 707 that switches whether the power supplied by the third power supply unit 702 is output to the outside.

[0072] The connection between the master device 700 and the slave device 720 is basically the same as that of the first embodiment, except that the VDD2 line 111 is replaced with a VDD3 line 711 for supplying a 1.2V power supply.

[0073] The slave device 120 includes at least a regulator 721 for stepping down a 3.3V power supply to a 1.2V power supply, a slave device controller 722, a backend module 723, and a backend bus 124 for performing data communication between the slave device controller 722 and the backend module 723. The slave device controller 722 and the backend module 723 in this embodiment are driven by a 1.2V power supply.

[0074] Figure 8 FIG. 2 is a diagram for explaining the terminal arrangement and terminal names of an SD card as an example of a slave device according to the second embodiment. Figure 8 In the SD card of this embodiment shown in (a), Figure 2 In (a), instead of the terminal number 14 described, a terminal for VDD3 (terminal number 18) is provided.

[0075] Fig. 9 FIG. 2 is a diagram for explaining the terminal arrangement and terminal names of a microSD card as another example of a slave device according to the second embodiment. Fig. 9 In the microSD card of this embodiment shown in (a), instead of Figure 3 In addition to the terminal number 9 described in (a), a terminal for VDD3 (terminal number 17) is provided.

[0076] Fig.10 is a timing chart showing a startup sequence according to the second embodiment. Fig.11 Yes Description Fig.10 A diagram showing the structure of the power supply voltage confirmation command and its response, the signal voltage confirmation command and its response, and the power supply and signal voltage switching command in the startup sequence of the power supply voltage confirmation command and its response, Fig.12 This is a flowchart according to the second embodiment.

[0077] Below, use Figures 7 to 12 , the operation of this embodiment is explained centering on the differences from the first embodiment.

[0078] Similar to the first embodiment, immediately after the host device 700 is activated, the first SW 106 and the third SW 707 are turned off, so the 3.3V power supplied by the first power supply unit 101 and the 1.2V power supplied by the third power supply unit 702 are not output to the outside of the host device 700 .

[0079] If the host device I / F unit 704 instructs to turn on the first SW 106, Fig.10 At time t1, the 3.3V power supply is supplied to the slave device 720 via the VDD1 line 110 (1201). At this time, in the case of an SD card, the slave device 720 Figure 8 The pin number 4 of the microSD card receives a 3.3V power supply. Fig. 9 The terminal number 4 of the MCU receives the supply of 3.3V power, which is stepped down to 1.2V by the regulator 721 and then supplied to the slave device controller 722 and the back-end module 723 .

[0080] After the master device I / F unit 704 supplies a 3.3V clock to the slave device I / F unit 725 (1202) via the CLK line 112 at time t2, it sends a power supply voltage confirmation command 1001 (CMD8) to the slave device I / F unit 725 via the CMD line 113. In the power supply voltage confirmation command 1001 in this embodiment, in addition to the 1.8V power supply inquiry bit described in the first embodiment, a 1.2V power supply inquiry bit is further provided. In this embodiment, "1" (inquiry is made) is set to the 1.2V power supply inquiry bit.

[0081] When the slave device I / F unit 725 receives the power supply voltage confirmation command 1001 and sets "1" in the 1.2V power supply inquiry bit, it calls the bit "1" indicating that the 1.2V power supply corresponds to the register 127. Fig.11 The 1.2 V power supply response bit of the reply 1002 (R7) shown in (a) is set to "1" and sent to the host device I / F unit 704 (1203).

[0082] When the slave device 720 does not support 1.2 V power supply or the value of the 1.2 V power supply inquiry bit of the power supply voltage confirmation command 1001 is "0", the operation is the same as that of the first embodiment.

[0083] After receiving the reply 1002, the master device I / F unit 704 sends a signal voltage confirmation command 1003 (ACMD41) to the slave device I / F unit 725. Fig.11As shown in (b) of FIG. 4 , in the signal voltage confirmation command 403 , the 1.8V signal inquiry bit and the 1.2V signal inquiry bit are multiplexed. In the present embodiment, “1” (inquiry is made) is set to the 1.2V signal inquiry bit.

[0084] At this time, the slave device I / F unit 725 Figure 5 The 1.2 V signal response bit of the reply 1004 (R3) shown in (b) is set to "1" and sent to the host device I / F unit 704 (1204).

[0085] In addition, when the slave device 720 does not support the 1.2V signal or the value of the 1.2V signal inquiry bit of the signal voltage confirmation command 1003 is "0", the operation is the same as that of the first embodiment.

[0086] After the above series of confirmation operations, the master device I / F section 704 transmits a power supply and signal voltage switching confirmation command 1005 ( CMD11 ) to the slave device I / F section 725 via the CMD line 113 .

[0087] In the power supply and signal voltage switching confirmation command 1005 of the present embodiment, there are a power supply voltage switching indication bit consisting of 2 bits and a signal voltage switching indication bit consisting of 1 bit. In the present embodiment, since both the power supply and the signal are switched to 1.2V, "10" is set in the power supply voltage switching indication bit (switched to 1.2V power supply), and "1" is set in the signal voltage switching indication bit (converted to 1.2V signal). In addition, unlike the power supply voltage switching indication bit, the signal voltage switching indication bit does not define a value that means "no switching". This is because, in the prior art, the power supply and signal voltage switching confirmation command 1005 (the power supply and signal voltage switching confirmation command 405 are also the same) is a command issued to switch to a 1.8V signal, maintaining consistency with the existing SD card specifications. Assuming that it is desired to maintain the signal voltage at 3.3V and change the power supply voltage unchanged, the signal voltage switching indication bit is expanded and a value equivalent to "no signal voltage switching" is defined.

[0088] The slave device I / F unit 725 that has received the power supply and signal voltage switching confirmation command 1005 sends a response 1006 ( R1 ) to the master device I / F unit 704 via the CMD line 113 ( 1205 ).

[0089] Regarding subsequent actions, instead of the host device 100 starting to supply 1.8V power via the VDD2 line 111 in the first embodiment, the host device 700 starts to supply 1.2V power via the VDD3 line 711. After time t6, the signal voltages of the CLK line 112, the CMD line 113, and the DAT line 114 become 1.2V. Other than this, it is the same as the first embodiment.

[0090] As described above, in the present embodiment, by switching the power supply voltage and the signal voltage to 1.2 V which is lower than 1.8 V, the power consumption can be further reduced compared with the first embodiment.

[0091] [Supplementary Note]

[0092] The slave device of the present invention, i.e., the SD card and the microSD card, receives a 3.3V power supply immediately after startup, and is driven by a power supply having a lower voltage (1.8V or 1.2V) by a switching instruction from the host device. This is because the host device corresponding to the existing SD card and microSD card can only supply a 3.3V power supply, so even if the slave device of the present invention is connected to the existing host device, it operates correctly, thereby maintaining compatibility.

[0093] In the present invention, the slave device I / F section is driven by a 1.8V power supply supplied via the VDD2 line 111 or a 1.2V power supply supplied via the VDD3 line 711. However, the slave device I / F section needs to generate a 3.3V signal at least immediately after startup. Therefore, instead of the above structure, a structure in which a 3.3V power supply supplied via the VDD1 line 110 is supplied to the slave device controller can be adopted. In this case, the following method can be adopted: a regulator that steps down the 3.3V power supply to 1.8V or 1.2V is provided in the slave device controller, and either or both of the 3.3V directly input to the slave device controller or the 1.8V or 1.2V stepped down by the regulator is used as a power supply in accordance with the timing. In addition, in the case of such a structure, it is considered to implement processing corresponding to each power island in the slave device controller, and it is expected to make the minimum time from time t5 to t6 longer.

[0094] Among SD cards, there is an SD Express card that can communicate using the PCIe bus in addition to the existing SD interface. Fig.13(a) is a diagram illustrating the terminal configuration of the SD Express card. In addition to the 3.3V power supply terminal VDD1 (terminal number 4), the SD Express card also has a 1.8V power supply terminal VDD2 (terminal number 14) and a 1.2V power supply terminal VDD3 (terminal number 18). The SD card ( Fig.13 The VDD2 terminal of (b)) is consistent with the terminal of the SD Express card. Similarly, the SD card ( Fig.13 The VDD3 terminal of (c)) is consistent with the terminal of the SD Express card. Therefore, the connector required for connecting the host device and the SD card in the embodiment of the present invention can directly use the connector used for the SD Express card. This means that when implementing the present invention, there is no need to manufacture a new connector, which is a great advantage from the perspective of development period and cost. Furthermore, in the present invention, it is also possible to use Fig.13 An SD card as shown in (d) of FIG. 1 includes both a VDD2 terminal and a VDD3 terminal and operates with either a 1.8V power supply or a 1.2V power supply. In this case, a connector for an SD Express card can also be used.

[0095] Likewise, if Fig.14 As shown, in the case where the slave device of the present invention is a microSD card ( Fig.14 (b), (c), and (d)) can also use the microSD Express card connector that supports the PCIe bus without change, which can save the time and effort of manufacturing a new connector.

[0096] In addition, in the SD card or microSD card of the present invention, a VSS terminal can be added at a position corresponding to the VSS (ground) terminal of the SD Express card or microSD Express card. Fig.13 As shown in (a) and (e) of the SD Express card, since the terminals with terminal numbers 10, 13, and 17 are VSS terminals, the SD card ( Fig.13 In (b), (c), and (d)), add one or more terminals corresponding to terminal number 10, 13, or 17 as VSS terminals.

[0097] Likewise, in the case of a microSD card, Fig.14 As shown in (a) and (e) of the present invention, since the terminals 10, 13, and 16 in the microSD Express card are VSS terminals, the microSD card ( Fig.14In (b), (c), and (d)), add one or more terminals corresponding to terminal number 10, 13, or 16 as VSS terminals.

[0098] In addition, in the slave device of the present invention, the backend module is described as a flash memory, but in addition to the flash memory, a wireless communication module for wireless communication with the outside can also achieve the same effect. An example of a slave device equipped with a wireless communication module as a backend module is an SDIO card.

[0099] In addition, in the present invention, the power supply voltage check and the signal voltage check are implemented by separate commands, but they may be implemented by one command.

[0100] In addition, in the present invention, it is described that after voltage switching ( Figure 4 or Fig.10 The power supply voltage and signal voltage are equal in the embodiment of the present invention, but they may be different, for example, the power supply voltage after voltage switching is 1.8V and the signal voltage is 1.2V.

[0101] Industrial Applicability

[0102] The present disclosure can be applied to slave devices represented by SD cards and microSD cards, host devices that control the slave devices, and master-slave systems composed of the host devices and slave devices.

[0103] Description of Reference Numerals

[0104] 100 Host device

[0105] 101 1st power supply unit

[0106] 102 Second power supply unit

[0107] 103 Host device controller

[0108] 104 Host device I / F unit

[0109] 105 ROM

[0110] 106 1st SW

[0111] 107 2nd SW

[0112] 110 VDD1 line

[0113] 111 VDD2 line

[0114] 112 CLK lines

[0115] 113 CMD Line

[0116] 114 DAT lines

[0117] 120 Slave device

[0118] 121 Regulator

[0119] 122 Slave device controller

[0120] 123 Backend Module

[0121] 124 Back-end bus

[0122] 125 Slave device I / F section

[0123] 126 ROM

[0124] 127 Registers

[0125] 401 Power supply voltage confirmation command

[0126] 402 Replies

[0127] 403 Signal voltage confirmation command

[0128] 404 replies

[0129] 405 Power supply, signal voltage switching confirmation command

[0130] 406 Replies

[0131] 700 Host device

[0132] 702 Third power supply unit

[0133] 703 Host Device Controller

[0134] 704 Host device I / F unit

[0135] 707 3SW

[0136] 711 VDD3 line

[0137] 720 Slave Device

[0138] 721 Regulator

[0139] 722 Slave Device Controller

[0140] 723 Backend Module

[0141] 725 Slave device I / F section

[0142] 1001 Power supply voltage confirmation command

[0143] 1002 Replies

[0144] 1003 Signal voltage confirmation command

[0145] 1004 Replies

[0146] 1005 Power supply, signal voltage switching confirmation command

[0147] 1,006 replies.

Claims

1. A host device connected to a slave device via at least a first power line, a second power line, and a plurality of signal lines, The host device performs the following processing: supplying power having a first voltage to the slave device via the first power line, instructing the slave device via the signal line to confirm whether the slave device is compatible with power input having a second voltage lower than the first voltage, When the slave device responds to the power input having the second voltage, instructing the slave device to switch the voltage via the signal line, When a normal response is received from the slave device in response to the instruction for the voltage switching, power having the second voltage is supplied to the slave device via the second power line; Power having the first voltage is supplied to the slave device via the first power line.

2. The host device according to claim 1, wherein: The master device instructs the slave device to check whether it corresponds to the power input having the second voltage, and transmits a command having a given value to the slave device via the signal line in order to instruct the voltage switching.

3. A slave device connected to a master device via at least a first power line, a second power line and a plurality of signal lines, The slave device performs the following processing: receiving power having a first voltage from the host device via the first power line, When receiving an instruction from the master device via the signal line to confirm whether the slave device corresponds to power input having a second voltage lower than the first voltage, responding to the master device via the signal line, When receiving an instruction to switch the voltage from the host device via the signal line, a normal response is sent to the host device via the signal line.

4. The slave device according to claim 3, wherein: The slave device responds to the master device, and transmits a reply having a given value to the master device via the signal line in order to transmit the normal response to the master device.

5. A master-slave system comprising: a host device; and a slave device connected to the master device via at least a first power line, a second power line, and a plurality of signal lines, The master device supplies power having a first voltage to the slave device via the first power line. the master device instructing the slave device via the signal line to confirm whether the slave device is compatible with power input having a second voltage lower than the first voltage, When receiving the instruction to confirm whether the slave device corresponds to the power input having the second voltage, the slave device responds to the master device via the signal line. When the slave device responds to the power input having the second voltage, the master device instructs the slave device to switch the voltage via the signal line. When the master device instructs the voltage switching via the signal line, the slave device sends a normal response to the master device via the signal line. When the master device receives the normal response from the slave device, the master device supplies the power having the second voltage to the slave device via the second power line. The master device stops supplying the power having the first voltage to the slave device via the first power line.

6. The master-slave system according to claim 5, wherein: The master device instructs the slave device to confirm whether it corresponds to the power input having the second voltage, and transmits a command having a given value to the slave device via the signal line to instruct the voltage switching. The slave device responds to the master device, and transmits a reply having a given value to the master device via the signal line in order to transmit the normal response to the master device.