CN116362275A - Card reading device and electronic device with card reading function - Google Patents
- ️Fri Jun 30 2023
CN116362275A - Card reading device and electronic device with card reading function - Google Patents
Card reading device and electronic device with card reading function Download PDFInfo
-
Publication number
- CN116362275A CN116362275A CN202111562447.4A CN202111562447A CN116362275A CN 116362275 A CN116362275 A CN 116362275A CN 202111562447 A CN202111562447 A CN 202111562447A CN 116362275 A CN116362275 A CN 116362275A Authority
- CN
- China Prior art keywords
- card
- signal
- circuit
- pin
- memory card Prior art date
- 2021-12-20 Legal status (The legal status 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 status listed.)
- Pending
Links
- 239000003990 capacitor Substances 0.000 claims abstract description 66
- 230000002093 peripheral effect Effects 0.000 claims abstract description 41
- 238000000034 method Methods 0.000 description 17
- 238000010586 diagram Methods 0.000 description 13
- 230000005540 biological transmission Effects 0.000 description 7
- 230000008878 coupling Effects 0.000 description 5
- 238000010168 coupling process Methods 0.000 description 5
- 238000005859 coupling reaction Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 230000007812 deficiency Effects 0.000 description 2
- 230000008054 signal transmission Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
- G06K17/0022—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
- G06K17/0025—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Credit Cards Or The Like (AREA)
Abstract
一种读卡装置以及具有一读卡功能的电子装置,电子装置包含:一芯片、一存储卡插槽、一读卡装置以及一电容。存储卡插槽用来接收一存储卡。读卡装置通过一快速周边组件互连接口与该芯片耦接,并从该存储卡插槽接收一第一快速周边组件互连信号、一第二类超高速安全数字卡信号及一传统安全数字卡信号的至少其中之一,其中,该第二类超高速安全数字卡信号包含一直流成分及一交流成分。电容用来建立该快速周边组件互连接口。该读卡装置包含一桥接读卡电路,该桥接读卡电路用来将该传统安全数字卡信号或该第二类超高速安全数字卡信号转换成一第二快速周边组件互连信号,以通过该快速周边组件互连接口传输。
A card reading device and an electronic device with a card reading function, the electronic device includes: a chip, a memory card slot, a card reading device and a capacitor. The memory card slot is used to receive a memory card. The card reading device is coupled to the chip through a fast peripheral component interconnection interface, and receives a first fast peripheral component interconnection signal, a second type ultra-high speed secure digital card signal and a conventional secure digital card slot from the memory card slot At least one of the card signals, wherein the second type UHSSD card signal includes a DC component and an AC component. Capacitors are used to establish the fast peripheral component interconnect interface. The card reader device includes a bridge card reader circuit for converting the traditional secure digital card signal or the second type ultra-high speed secure digital card signal into a second fast peripheral component interconnection signal for passing through the Fast Peripheral Component Interconnect interface transfer.
Description
技术领域technical field
本发明涉及安全数字(Secure Digital,SD)存储卡,尤其涉及SD卡的读卡装置、电子装置及判断SD卡种类的方法。The invention relates to a secure digital (Secure Digital, SD) memory card, in particular to a card reading device for an SD card, an electronic device and a method for judging the type of the SD card.
背景技术Background technique
目前较常见的安全数字存储卡有以下三种:传统SD卡(legacy SD card)、支持快速周边组件互连(Peripheral Component Interconnect Express) 接口(以下简称PCIe接口)的SD卡(即,SD快速(SD Express)卡) 以及支持第二类超高速(Ultra High Speed typeII,UHS-II)接口(以下简称UHS-II接口)的SD卡(以下简称UHS-II SD卡)。SD Express卡及UHS-II SD卡皆向下相容传统SD卡。然而,由于SD Express卡及UHS-II SD卡在信号接触点排列上完全相同,但PCIe接口为交流(Alternating Current, AC)耦合的接口且UHS-II接口为直流(Direct Current,DC)耦合的接口,所以读卡机难以同时支持SD Express卡及UHS-II SD卡,造成使用者诸多不便。举例来说,一个不支持UHS-II SD卡的读卡机只能基于传统SD卡的规格读取UHS-II SD卡。At present, there are three types of secure digital memory cards that are more common: traditional SD card (legacy SD card), SD card that supports Peripheral Component Interconnect Express (PCIe interface) (hereinafter referred to as PCIe interface) (i.e., SD Express ( SD Express) card) and an SD card that supports the second type of ultra-high speed (Ultra High Speed type II, UHS-II) interface (hereinafter referred to as UHS-II interface) (hereinafter referred to as UHS-II SD card). Both SD Express cards and UHS-II SD cards are backward compatible with traditional SD cards. However, since the SD Express card and UHS-II SD card are identical in signal contact point arrangement, the PCIe interface is an AC (Alternating Current, AC) coupled interface and the UHS-II interface is a DC (Direct Current, DC) coupled interface Interface, so it is difficult for the card reader to support SD Express card and UHS-II SD card at the same time, causing a lot of inconvenience to users. For example, a card reader that does not support UHS-II SD cards can only read UHS-II SD cards based on the specifications of traditional SD cards.
因此,需要一种能支持多种SD卡的读卡机或电子装置。Therefore, there is a need for a card reader or electronic device that can support multiple SD cards.
发明内容Contents of the invention
鉴于现有技术的不足,本发明的一目的在于提供一种能支持多种SD 卡的读卡装置或电子装置,以改善现有技术的不足。In view of the deficiencies of the prior art, an object of the present invention is to provide a card reader or electronic device capable of supporting multiple SD cards, so as to improve the deficiencies of the prior art.
本发明的一实施例提供一种具有一读卡功能的电子装置,包含:一芯片、一存储卡插槽、一读卡装置以及一电容。存储卡插槽用来接收一存储卡。读卡装置耦接于该芯片与该存储卡插槽之间,通过一快速周边组件互连接口与该芯片耦接,并从该存储卡插槽接收一第一快速周边组件互连信号、一第二类超高速安全数字卡信号及一传统安全数字卡信号的至少其中之一,其中,该第二类超高速安全数字卡信号包含一直流成分及一交流成分。电容耦接于该芯片与该读卡装置之间,用来建立该快速周边组件互连接口。该读卡装置包含一桥接读卡电路,该桥接读卡电路用来将该传统安全数字卡信号或该第二类超高速安全数字卡信号转换成一第二快速周边组件互连信号,以通过该快速周边组件互连接口传输。An embodiment of the present invention provides an electronic device with a card reading function, including: a chip, a memory card slot, a card reading device and a capacitor. The memory card slot is used to receive a memory card. The card reading device is coupled between the chip and the memory card slot, is coupled to the chip through a fast peripheral component interconnection interface, and receives a first fast peripheral component interconnection signal, a fast peripheral component interconnection signal from the memory card slot At least one of a second type of ultra high speed secure digital card signal and a traditional secure digital card signal, wherein the second type of ultra high speed secure digital card signal includes a DC component and an AC component. The capacitor is coupled between the chip and the card reader, and is used to establish the fast peripheral component interconnection interface. The card reader device includes a bridge card reader circuit for converting the traditional secure digital card signal or the second type ultra-high speed secure digital card signal into a second fast peripheral component interconnection signal for passing through the Fast Peripheral Component Interconnect interface transfer.
本发明的另一实施例提供一种读卡装置,包含:一第一接脚、一第二接脚、一桥接读卡电路、一选择电路以及一控制电路。第一接脚用来接收一第二类超高速安全数字卡信号或一第一快速周边组件互连信号。第二接脚用来接收一传统安全数字卡信号。桥接读卡电路耦接该第一接脚及该第二接脚,用来将该第二类超高速安全数字卡信号或该传统安全数字卡信号转换为一第二快速周边组件互连信号。选择电路接收该第一快速周边组件互连信号或该第二快速周边组件互连信号。控制电路耦接该选择电路,用来检测一存储卡的种类,以及根据该存储卡的种类控制该选择电路输出该第一快速周边组件互连信号或该第二快速周边组件互连信号。Another embodiment of the present invention provides a card reading device, including: a first pin, a second pin, a bridge card reader circuit, a selection circuit and a control circuit. The first pin is used for receiving a second type super high speed SD card signal or a first fast peripheral component interconnection signal. The second pin is used to receive a traditional secure digital card signal. The bridge reader circuit is coupled to the first pin and the second pin, and is used for converting the second type ultra-high speed SD card signal or the traditional SD card signal into a second fast peripheral component interconnection signal. The selection circuit receives the first fast peripheral device interconnect signal or the second fast peripheral device interconnect signal. The control circuit is coupled to the selection circuit, and is used for detecting the type of a memory card, and controlling the selection circuit to output the first fast peripheral device interconnection signal or the second fast peripheral device interconnection signal according to the type of the memory card.
本发明的另一实施例提供一种读卡装置,包含:一第一接脚、一第二接脚、一桥接读卡电路、一电容、一选择电路以及一控制电路。第一接脚用来接收一第一信号。第二接脚用来接收一第二信号。桥接读卡电路耦接该第一接脚及该第二接脚,用来将该第一信号或该第二信号转换为一快速周边组件互连信号。电容具有一第一端及一第二端,该第一端电连接该第一接脚以接收该第一信号,该第二端输出或接收一第三信号,其中,该第一信号包含一交流成分及一直流成分,而该第三信号包含该交流成分但不包含该直流成分。选择电路接收该第三信号及该快速周边组件互连信号。控制电路耦接该选择电路,用来检测一存储卡的种类,以及根据该存储卡的种类控制该选择电路输出该第三信号或该快速周边组件互连信号。Another embodiment of the present invention provides a card reading device, including: a first pin, a second pin, a bridge card reader circuit, a capacitor, a selection circuit and a control circuit. The first pin is used for receiving a first signal. The second pin is used for receiving a second signal. The bridge reader circuit is coupled to the first pin and the second pin, and is used for converting the first signal or the second signal into a fast peripheral component interconnection signal. The capacitor has a first end and a second end, the first end is electrically connected to the first pin to receive the first signal, and the second end outputs or receives a third signal, wherein the first signal includes a an AC component and a DC component, and the third signal includes the AC component but does not include the DC component. The selection circuit receives the third signal and the fast peripheral device interconnect signal. The control circuit is coupled to the selection circuit, and is used for detecting the type of a memory card, and controlling the selection circuit to output the third signal or the fast peripheral component interconnection signal according to the type of the memory card.
相较于现有技术,本发明的读卡装置及具有读卡功能的电子装置可以至少同时支持SD Express卡、UHS-II SD卡及传统SD卡。Compared with the prior art, the card reading device and the electronic device with card reading function of the present invention can at least simultaneously support SD Express card, UHS-II SD card and traditional SD card.
有关本发明的特征、实作与技术效果,兹配合附图作实施例详细说明如下。The features, implementation and technical effects of the present invention are described in detail as follows with reference to the accompanying drawings.
附图说明Description of drawings
图1-图12为本发明电子装置的一实施例的功能方框图;1-12 are functional block diagrams of an embodiment of the electronic device of the present invention;
图13显示安全数字卡的接脚编号;Figure 13 shows the pin numbering of the Secure Digital card;
图14显示本发明存储卡种类识别方法的一实施例的流程图;Fig. 14 shows the flowchart of an embodiment of the memory card type identification method of the present invention;
符号说明Symbol Description
10A、10B、10C、10D、10E、10F、10G、10H、10I、10J、10K、10L:电子装置10A, 10B, 10C, 10D, 10E, 10F, 10G, 10H, 10I, 10J, 10K, 10L: Electronics
20:SD卡20: SD card
12:芯片12: chip
C1、C2、C3:电容C1, C2, C3: capacitance
11A、11B、11C、11D、11E、11F、11G、11H、11I、11J、11K、11L:读卡装置11A, 11B, 11C, 11D, 11E, 11F, 11G, 11H, 11I, 11J, 11K, 11L: card reader
18:存储卡插槽18: Memory card slot
S0、S1、S2、S4、S5、S6、S7、S9:信号S0, S1, S2, S4, S5, S6, S7, S9: signal
P1、P3、P2、P4:接脚P1, P3, P2, P4: pins
105、140:选择电路105, 140: Selection circuit
120:控制电路120: Control circuit
130:桥接读卡电路130: bridge card reader circuit
135:UHS-II物理层135: UHS-II physical layer
S3、S8:控制信号S3, S8: control signal
Pa、Pb:端点Pa, Pb: endpoint
145:开关电路145: switch circuit
150:终端调整电路150: Terminal adjustment circuit
S11、S12、S13、S14、S15、S16、S21、S22、S23、S24、S25、S26、 S27、S31、S32、S33、S34:步骤S11, S12, S13, S14, S15, S16, S21, S22, S23, S24, S25, S26, S27, S31, S32, S33, S34: steps
具体实施方式Detailed ways
以下说明内容的技术用语是参照本技术领域的习惯用语,如本说明书对部分用语有加以说明或定义,该部分用语的解释是以本说明书的说明或定义为准。The technical terms in the following description refer to the customary terms in this technical field. If some terms are explained or defined in this manual, the explanations of these terms shall be based on the descriptions or definitions in this manual.
本发明的公开内容包含支持多种SD卡的读卡装置或电子装置以及识别SD卡种类的方法。由于本发明的读卡装置及电子装置所包含的部分元件单独而言可能为已知元件,因此在不影响该装置发明的充分公开及可实施性的前提下,以下说明对于已知元件的细节将予以省略。此外,本发明的识别SD卡种类的方法的部分或全部流程可以是软件及/或固件的形式,并且可通过本发明的读卡装置或其等效装置来执行,在不影响该方法发明的充分公开及可实施性的前提下,以下方法发明的说明将着重于步骤内容而非硬件。The disclosed content of the present invention includes a card reading device or an electronic device supporting multiple SD cards and a method for identifying the type of the SD card. Since some components included in the card reading device and electronic device of the present invention may be known components individually, so without affecting the full disclosure and implementability of the invention of the device, the details of the known components are described below will be omitted. In addition, part or all of the process of the method for identifying the type of SD card of the present invention can be in the form of software and/or firmware, and can be executed by the card reader device of the present invention or its equivalent device, without affecting the method of the invention Under the premise of full disclosure and practicability, the description of the method invention below will focus on the steps rather than the hardware.
图1为本发明电子装置的一实施例的功能方框图。电子装置10A具有读卡功能,可以存取SD卡20。电子装置10A包含芯片12、电容C1、读卡装置11A、电容C2及存储卡插槽18。读卡装置11A耦接于芯片12与存储卡插槽18之间。更明确地说,读卡装置11A通过电容C1耦接芯片 12,以及通过电容C2耦接存储卡插槽18。存储卡插槽18用来接收SD卡 20(即,供SD卡20插入)。FIG. 1 is a functional block diagram of an embodiment of the electronic device of the present invention. The electronic device 10A has a card reading function and can access the SD card 20 . The electronic device 10A includes a chip 12 , a capacitor C1 , a card reader 11A, a capacitor C2 and a memory card slot 18 . The card reading device 11A is coupled between the chip 12 and the memory card slot 18 . More specifically, the card reading device 11A is coupled to the chip 12 through the capacitor C1, and is coupled to the memory card slot 18 through the capacitor C2. The memory card slot 18 is used to receive an SD card 20 (i.e., for the SD card 20 to be inserted).
电容C1的一端耦接或电连接芯片12,另一端耦接或电连接读卡装置 11A。电容C1作为交流耦合(AC coupling)电容。当信号的传输方向为芯片12到读卡装置11A时,芯片12与电容C1之间的信号S0包含交流成分及直流成分,而电容C1与读卡装置11A之间的信号S1只包含该交流成分,但不包含该直流成分;当信号的传输方向为读卡装置11A到芯片 12时,信号S1包含交流成分及直流成分时,而信号S0只包含该交流成分,但不包含该直流成分。因为PCIe信号是一种通过交流耦合传递的信号,所以电容C1的目的之一是用来提供芯片12与读卡装置11A之间的 PCIe信号连接,即,建立芯片12与读卡装置11A之间的PCIe接口。One end of the capacitor C1 is coupled or electrically connected to the chip 12, and the other end is coupled or electrically connected to the card reading device 11A. The capacitor C1 is used as an AC coupling (AC coupling) capacitor. When the transmission direction of the signal is from the chip 12 to the card reader 11A, the signal S0 between the chip 12 and the capacitor C1 includes AC and DC components, while the signal S1 between the capacitor C1 and the card reader 11A only includes the AC component , but does not include the DC component; when the signal transmission direction is from the card reader 11A to the chip 12, the signal S1 includes the AC component and the DC component, while the signal S0 only includes the AC component, but does not include the DC component. Because the PCIe signal is a signal transmitted through AC coupling, one of the purposes of the capacitor C1 is to provide a PCIe signal connection between the chip 12 and the card reader 11A, that is, to establish a connection between the chip 12 and the card reader 11A. PCIe interface.
电容C2的一端耦接或电连接读卡装置11A的接脚P1,电容C2的另一端耦接或电连接存储卡插槽18的接脚P3。电容C2作为交流耦合电容。当信号的传输方向为存储卡插槽18到读卡装置11A时,接脚P3与电容 C2之间的信号S5包含交流成分及直流成分,而电容C2与接脚P1之间的信号S2只包含该交流成分,但不包含该直流成分;当信号的传输方向为读卡装置11A到存储卡插槽18时,信号S2可能包含交流成分及直流成分,而信号S5只包含该交流成分,但不包含该直流成分。值得注意的是,当接脚P1与接脚P3之间传递的信号是PCIe信号时,信号S5及信号S2皆为PCIe信号。One end of the capacitor C2 is coupled or electrically connected to the pin P1 of the card reading device 11A, and the other end of the capacitor C2 is coupled or electrically connected to the pin P3 of the memory card slot 18 . Capacitor C2 acts as an AC coupling capacitor. When the transmission direction of the signal is from the memory card slot 18 to the card reader 11A, the signal S5 between the pin P3 and the capacitor C2 includes an AC component and a DC component, while the signal S2 between the capacitor C2 and the pin P1 only includes The AC component, but does not include the DC component; when the transmission direction of the signal is from the card reader 11A to the memory card slot 18, the signal S2 may include the AC component and the DC component, while the signal S5 only includes the AC component, but does not Contains the DC component. It should be noted that when the signal transmitted between the pin P1 and the pin P3 is a PCIe signal, both the signal S5 and the signal S2 are PCIe signals.
读卡装置11A还包含接脚P2及接脚P4。接脚P2耦接或电连接接脚 P3,接脚P4耦接或电连接存储卡插槽18的至少一接脚(图未示)。当SD 卡20是传统SD卡时,读卡装置11A至少通过接脚P4存取SD卡20(信号S7是遵循传统SD卡规格的信号,以下简称传统SD卡信号)。当SD 卡20是UHS-II SD卡时(此时信号S5是遵循UHS-II SD卡规格的信号,以下简称UHS-IISD卡信号),读卡装置11A至少通过接脚P2存取SD卡 20,但不通过接脚P1存取SD卡20,此时接脚P1会变成边带(sideband) 信号进行辅助使用,如提供时钟或是一些控制信号。当SD卡20是SD Express卡时(此时信号S5是SD Express卡信号),读卡装置11A至少通过接脚P1存取SD卡20,但不通过接脚P2存取SD卡20。The card reading device 11A further includes a pin P2 and a pin P4 . The pin P2 is coupled or electrically connected to the pin P3, and the pin P4 is coupled or electrically connected to at least one pin of the memory card slot 18 (not shown). When the SD card 20 is a traditional SD card, the card reading device 11A at least accesses the SD card 20 through the pin P4 (the signal S7 is a signal conforming to the standard of the traditional SD card, hereinafter referred to as the traditional SD card signal). When the SD card 20 is a UHS-II SD card (the signal S5 is a signal following the UHS-II SD card specification, hereinafter referred to as the UHS-II SD card signal), the card reading device 11A at least accesses the SD card 20 through the pin P2 , but the SD card 20 is not accessed through the pin P1. At this time, the pin P1 will become a sideband signal for auxiliary use, such as providing a clock or some control signals. When the SD card 20 is an SD Express card (the signal S5 is an SD Express card signal), the card reader 11A at least accesses the SD card 20 through the pin P1, but does not access the SD card 20 through the pin P2.
在一些实施例中,芯片12、电容C1、电容C2、11A及存储卡插槽18 被设置于电子装置10A的电路板(图未示)上,而上述的信号S0、信号 S1、信号S2、信号S5及信号S7经由电路板或导线上的走线传输。In some embodiments, the chip 12, the capacitor C1, the capacitor C2, 11A, and the memory card slot 18 are arranged on a circuit board (not shown) of the electronic device 10A, and the above-mentioned signal S0, signal S1, signal S2, The signal S5 and the signal S7 are transmitted through the wiring on the circuit board or the wire.
读卡装置11A包含选择电路105(例如多工器(multiplexer,MUX))、控制电路120及桥接读卡电路130。控制电路120耦接选择电路105及桥接读卡电路130,用来控制选择电路105及桥接读卡电路130。The card reading device 11A includes a selection circuit 105 (such as a multiplexer (MUX)), a control circuit 120 and a bridge card reading circuit 130 . The control circuit 120 is coupled to the selection circuit 105 and the bridge reader circuit 130 for controlling the selection circuit 105 and the bridge reader circuit 130 .
桥接读卡电路130可以将传统SD卡信号(即信号S7)转换成PCIe 信号(即信号S4)。桥接读卡电路130包含UHS-II物理层135,用来将 UHS-II SD卡信号(例如信号S5)转换成信号S4。换言之,桥接读卡电路130是传统SD卡和UHS-II SD卡桥接读卡电路。传统SD卡和UHS-II SD卡桥接读卡电路为本技术领域技术人员所熟知,故不赘述其细节,关于传统SD卡部分,可以参考SD协会网站https: //www.sdcard.org/downloads/pls/上的Physical LayerSimplified Specification;而关于UHS-II部分,可以参考UHS-II Simplified Addendum。The bridge reader circuit 130 can convert the traditional SD card signal (ie, the signal S7 ) into a PCIe signal (ie, the signal S4 ). The bridge reader circuit 130 includes a UHS-II physical layer 135 for converting a UHS-II SD card signal (such as signal S5 ) into a signal S4 . In other words, the bridge card reader circuit 130 is a bridge card reader circuit between a traditional SD card and a UHS-II SD card. The traditional SD card and UHS-II SD card bridge card reader circuit is well known to those skilled in the art, so the details will not be repeated. For the traditional SD card part, you can refer to the SD Association website https: //www.sdcard.org/downloads The Physical LayerSimplified Specification on /pls/; for the UHS-II part, you can refer to the UHS-II Simplified Addendum.
选择电路105接收信号S2及信号S4。控制电路120通过控制信号S3 控制选择电路105。当SD卡20为SD Express卡时,控制电路120控制选择电路105选择端点Pa;即,使电容C1与接脚P1之间形成通路(即,信号连接:信号S1=信号S2),并且使电容C1与桥接读卡电路130之间形成断路(即,不信号连接:信号S1≠信号S4)。当SD卡20为UHS-II SD 卡或传统SD卡时,控制电路120控制选择电路105选择端点Pb;即,使电容C1与桥接读卡电路130之间形成通路(信号S1=信号S4),并且使电容C1与接脚P1之间形成断路(信号S1≠信号S2)。The selection circuit 105 receives the signal S2 and the signal S4. The control circuit 120 controls the selection circuit 105 through the control signal S3. When SD card 20 is SD Express card, control circuit 120 controls selection circuit 105 to select terminal Pa; An open circuit is formed between C1 and the bridge card reader circuit 130 (that is, no signal connection: signal S1≠signal S4). When the SD card 20 is a UHS-II SD card or a traditional SD card, the control circuit 120 controls the selection circuit 105 to select the terminal Pb; that is, a path is formed between the capacitor C1 and the bridge card reader circuit 130 (signal S1=signal S4), And an open circuit is formed between the capacitor C1 and the pin P1 (signal S1≠signal S2).
当SD卡20是SD Express卡时,芯片12通过以下的路径存取SD卡
当SD卡20是UHS-II SD卡时,芯片12 通过以下的路径存取SD卡/>当SD卡20 是传统SD卡时,芯片12通过以下的路径存取SD卡/> 换言之,读卡装置11A支持多种SD卡的存取,而采用读卡装置11A的电子装置10A则具有多种SD卡的存取能力。When the SD card 20 is an SD Express card, the chip 12 accesses the SD card through the following paths When the SD card 20 is a UHS-II SD card, the chip 12 accesses the SD card through the following path When the SD card 20 is a traditional SD card, the chip 12 accesses the SD card through the following path In other words, the card reading device 11A supports the access of various SD cards, and the electronic device 10A adopting the card reading device 11A has the access capability of various SD cards.图1中的芯片12通过PCIe接口与读卡装置11A连接或沟通;换言之,电容C1的设置可以使芯片12与读卡装置11A之间的信号传输符合PCIe 规格。因此,在一些实施例中,电容C2可以被省略以节省成本或电路面积。The chip 12 in FIG. 1 is connected or communicated with the card reader 11A through the PCIe interface; in other words, the setting of the capacitor C1 can make the signal transmission between the chip 12 and the card reader 11A conform to the PCIe specification. Therefore, in some embodiments, the capacitor C2 can be omitted to save cost or circuit area.
图2为本发明电子装置的另一实施例的功能方框图。电子装置10B包含芯片12、电容C1、读卡装置11B及存储卡插槽18。读卡装置11B与图 1的读卡装置11A相同。电子装置10B与电子装置10A相似,差别在于电子装置10B不包含电容C2。在图2的实施例中,电容C1负责信号的交流耦合。相较于图1,图2的实施例因为少了电容C2,所以可以节省成本以及电路板的面积。FIG. 2 is a functional block diagram of another embodiment of the electronic device of the present invention. The electronic device 10B includes a chip 12 , a capacitor C1 , a card reading device 11B and a memory card slot 18 . The card reading device 11B is the same as the card reading device 11A shown in Fig. 1 . The electronic device 10B is similar to the electronic device 10A, except that the electronic device 10B does not include the capacitor C2. In the embodiment of FIG. 2, the capacitor C1 is responsible for the AC coupling of the signal. Compared with FIG. 1 , the embodiment of FIG. 2 can save cost and area of the circuit board because the capacitor C2 is less.
图3为本发明电子装置的另另一实施例的功能方框图。电子装置10C 包含芯片12、电容C1、读卡装置11C、电容C2及存储卡插槽18。读卡装置11C与读卡装置11A相似,但读卡装置11C还包含选择电路140。选择电路140耦接或电连接控制电路120、接脚P1、接脚P2、选择电路105 及桥接读卡电路130。FIG. 3 is a functional block diagram of another embodiment of the electronic device of the present invention. The electronic device 10C includes a chip 12 , a capacitor C1 , a card reader 11C, a capacitor C2 and a memory card slot 18 . The card reading device 11C is similar to the card reading device 11A, but the card reading device 11C also includes a selection circuit 140 . The selection circuit 140 is coupled or electrically connected to the control circuit 120 , the pin P1 , the pin P2 , the selection circuit 105 and the bridge card reader circuit 130 .
控制电路120根据SD卡20的种类通过控制信号S8控制选择电路 140。更明确地说,当SD卡20是SD Express卡时,控制电路120控制选择电路140以使选择电路105与接脚P1之间形成通路(信号S9=信号S2),并且使桥接读卡电路130与接脚P2之间形成断路(即,桥接读卡电路130 与接脚P2不信号连接或不电连接);当SD卡20是UHS-II SD卡时,控制电路120控制选择电路140以使选择电路105与接脚P1之间形成断路,并且使桥接读卡电路130与接脚P2之间形成通路(信号S6=信号S5,即,桥接读卡电路130与接脚P2信号连接或电连接)。在一些实施例中,选择电路140可以是多工器。The control circuit 120 controls the selection circuit 140 according to the type of the SD card 20 through the control signal S8. More specifically, when the SD card 20 is an SD Express card, the control circuit 120 controls the selection circuit 140 to form a path (signal S9=signal S2) between the selection circuit 105 and the pin P1, and bridges the card reader circuit 130 form an open circuit with the pin P2 (that is, the bridge card reader circuit 130 is not signally connected or electrically connected to the pin P2); when the SD card 20 is a UHS-II SD card, the control circuit 120 controls the selection circuit 140 so that An open circuit is formed between the selection circuit 105 and the pin P1, and a path is formed between the bridge card reader circuit 130 and the pin P2 (signal S6=signal S5, that is, the bridge card reader circuit 130 is signally connected or electrically connected to the pin P2 ). In some embodiments, selection circuit 140 may be a multiplexer.
当桥接读卡电路130与接脚P2之间形成断路时,绝大部分的信号S5 会通过电容C2传送至接脚P1,有助于提高信号S2的品质(例如,减少信号衰减或干扰)。也就是说,相较于图1的实施例,图3的实施例可以提升SD Express卡的PCIe信号(即,信号S2与信号S9)的品质。When an open circuit is formed between the bridge reader circuit 130 and the pin P2, most of the signal S5 will be transmitted to the pin P1 through the capacitor C2, which helps to improve the quality of the signal S2 (eg, reduce signal attenuation or interference). That is to say, compared with the embodiment of FIG. 1 , the embodiment of FIG. 3 can improve the quality of the PCIe signal (ie, signal S2 and signal S9 ) of the SD Express card.
图4为本发明电子装置的另一实施例的功能方框图。电子装置10D包含芯片12、电容C1、读卡装置11D、电容C2及存储卡插槽18。读卡装置11D与读卡装置11A相似,但读卡装置11D还包含开关电路145。开关电路145耦接或电连接控制电路120、接脚P2及桥接读卡电路130。FIG. 4 is a functional block diagram of another embodiment of the electronic device of the present invention. The electronic device 10D includes a chip 12 , a capacitor C1 , a card reader 11D, a capacitor C2 and a memory card slot 18 . The card reading device 11D is similar to the card reading device 11A, but the card reading device 11D further includes a switch circuit 145 . The switch circuit 145 is coupled or electrically connected to the control circuit 120 , the pin P2 and the bridge card reader circuit 130 .
控制电路120根据SD卡20的种类通过控制信号S8控制开关电路 145。更明确地说,当SD卡20是SD Express卡时,控制电路120控制开关电路145以使桥接读卡电路130与接脚P2之间形成断路;当SD卡20 是UHS-II SD卡时,控制电路120控制开关电路145以使桥接读卡电路130 与接脚P2之间形成通路(信号S6=信号S5)。The control circuit 120 controls the switch circuit 145 through the control signal S8 according to the type of the SD card 20 . More specifically, when the SD card 20 is an SD Express card, the control circuit 120 controls the switch circuit 145 to form an open circuit between the bridge card reader circuit 130 and the pin P2; when the SD card 20 is a UHS-II SD card, The control circuit 120 controls the switch circuit 145 to form a path between the bridge reader circuit 130 and the pin P2 (signal S6=signal S5).
类似地,当桥接读卡电路130与接脚P2之间形成断路时,SD Express 卡的PCIe信号(即,信号S2)的品质可以获得提升。Similarly, when an open circuit is formed between the bridge card reader circuit 130 and the pin P2, the quality of the PCIe signal of the SD Express card (ie, the signal S2 ) can be improved.
图5为本发明电子装置的另一实施例的功能方框图。电子装置10E包含芯片12、电容C1、读卡装置11E及存储卡插槽18。读卡装置11E与读卡装置11B相似,但读卡装置11E不包含接脚P2;因此,桥接读卡电路 130是通过接脚P1而非接脚P2来接收信号S5。相较于图2的实施例,因为读卡装置11E的接脚更少,所以读卡装置11E的面积较小且成本较低。此外,减少接脚也可以减少电路板上的走线,进一步降低电路板的面积及成本。FIG. 5 is a functional block diagram of another embodiment of the electronic device of the present invention. The electronic device 10E includes a chip 12 , a capacitor C1 , a card reader 11E and a memory card slot 18 . The card reading device 11E is similar to the card reading device 11B, but the card reading device 11E does not include the pin P2; therefore, the bridge card reading circuit 130 receives the signal S5 through the pin P1 instead of the pin P2. Compared with the embodiment of FIG. 2 , since the card reading device 11E has fewer pins, the area of the card reading device 11E is smaller and the cost is lower. In addition, reducing the number of pins can also reduce the wiring on the circuit board, further reducing the area and cost of the circuit board.
再者,因为信号S5的频率约为吉赫(gigahertz,GHz)等级,这样的高速信号对于走线有分叉相当敏感,分叉需要小于1/8波长才能降低对原信号影响,所以芯片内走线更能实现传输线(transmission line)的阻抗匹配。举例来说,8GHz的PCIe信号所对应的走线长度(接脚P1与桥接读卡电路130之间的距离)应小于波长的1/8(约为4mm);对于这种等级的长度,在芯片内(即,读卡装置11E内)比在电路板上容易调整走线长度。Furthermore, because the frequency of the signal S5 is about gigahertz (GHz), such a high-speed signal is quite sensitive to the bifurcation of the wiring, and the bifurcation needs to be less than 1/8 of the wavelength to reduce the impact on the original signal. The trace can better achieve the impedance matching of the transmission line. For example, the trace length corresponding to the 8GHz PCIe signal (the distance between the pin P1 and the bridge card reader circuit 130) should be less than 1/8 of the wavelength (about 4mm); It is easier to adjust the wire length in the chip (that is, in the card reading device 11E) than on the circuit board.
图6为本发明电子装置的另一实施例的功能方框图。电子装置10F包含芯片12、电容C1、读卡装置11F及存储卡插槽18。读卡装置11F与读卡装置11E相似,但读卡装置11F还包含选择电路140。选择电路140耦接或电连接控制电路120、接脚P1、选择电路105及桥接读卡电路130。FIG. 6 is a functional block diagram of another embodiment of the electronic device of the present invention. The electronic device 10F includes a chip 12 , a capacitor C1 , a card reader 11F and a memory card slot 18 . The card reading device 11F is similar to the card reading device 11E, but the card reading device 11F also includes a selection circuit 140 . The selection circuit 140 is coupled or electrically connected to the control circuit 120 , the pin P1 , the selection circuit 105 and the bridge reader circuit 130 .
控制电路120根据SD卡20的种类通过控制信号S8控制选择电路 140。更明确地说,当SD卡20是SD Express卡时,控制电路120控制选择电路140以使选择电路105与接脚P1之间形成通路(信号S9=信号S5),并且使桥接读卡电路130与接脚P1之间形成断路;当SD卡20是UHS-II SD卡时,控制电路120控制选择电路140以使选择电路105与接脚P1之间形成断路,并且使桥接读卡电路130与接脚P1之间形成通路(信号S6=信号S5)。The control circuit 120 controls the selection circuit 140 according to the type of the SD card 20 through the control signal S8. More specifically, when the SD card 20 is an SD Express card, the control circuit 120 controls the selection circuit 140 so that a path is formed between the selection circuit 105 and the pin P1 (signal S9=signal S5), and bridges the card reader circuit 130 form an open circuit with the pin P1; when the SD card 20 is a UHS-II SD card, the control circuit 120 controls the selection circuit 140 to form an open circuit between the selection circuit 105 and the pin P1, and bridge the card reader circuit 130 with the A path is formed between the pins P1 (signal S6=signal S5).
当桥接读卡电路130与接脚P1之间形成断路时,桥接读卡电路130 与接脚P1之间的阻抗增加;如此一来,绝大部分的信号S5会通过选择电路140传送至选择电路105(即,信号S9=信号S5),有助于提高信号S9 的品质。也就是说,相较于图5的实施例,图6的实施例可以提升SD Express卡的PCIe信号(即,信号S5与信号S9)的品质。When an open circuit is formed between the bridge card reader circuit 130 and the pin P1, the impedance between the bridge card reader circuit 130 and the pin P1 increases; in this way, most of the signal S5 will be transmitted to the selection circuit through the selection circuit 140 105 (ie, signal S9 = signal S5 ), which helps to improve the quality of signal S9 . That is to say, compared with the embodiment of FIG. 5 , the embodiment of FIG. 6 can improve the quality of the PCIe signal (ie, signal S5 and signal S9 ) of the SD Express card.
图7为本发明电子装置的另一实施例的功能方框图。电子装置10G包含芯片12、电容C1、读卡装置11G及存储卡插槽18。读卡装置11G与读卡装置11E相似,但读卡装置11G还包含开关电路145。开关电路145耦接或电连接控制电路120、接脚P1、选择电路105及桥接读卡电路130。FIG. 7 is a functional block diagram of another embodiment of the electronic device of the present invention. The electronic device 10G includes a chip 12 , a capacitor C1 , a card reader 11G and a memory card slot 18 . The card reading device 11G is similar to the card reading device 11E, but the card reading device 11G further includes a switch circuit 145 . The switch circuit 145 is coupled or electrically connected to the control circuit 120 , the pin P1 , the selection circuit 105 and the bridge card reader circuit 130 .
控制电路120根据SD卡20的种类通过控制信号S8控制开关电路 145。更明确地说,当SD卡20是SD Express卡时,控制电路120控制开关电路145以使桥接读卡电路130与接脚P1之间形成断路;当SD卡20 是UHS-II SD卡时,控制电路120控制开关电路145以使桥接读卡电路130 与接脚P1之间形成通路(信号S6=信号S5)。The control circuit 120 controls the switch circuit 145 through the control signal S8 according to the type of the SD card 20 . More specifically, when the SD card 20 is an SD Express card, the control circuit 120 controls the switch circuit 145 to form an open circuit between the bridge card reader circuit 130 and the pin P1; when the SD card 20 is a UHS-II SD card, The control circuit 120 controls the switch circuit 145 to form a path between the bridge reader circuit 130 and the pin P1 (signal S6=signal S5).
类似地,当桥接读卡电路130与接脚P1之间形成断路时,SD Express 卡的PCIe信号(即,信号S5)的品质可以获得提升。Similarly, when an open circuit is formed between the bridge reader circuit 130 and the pin P1, the quality of the PCIe signal (ie, the signal S5 ) of the SD Express card can be improved.
图8为本发明电子装置的另一实施例的功能方框图。电子装置10H包含芯片12、电容C1、读卡装置11H及存储卡插槽18。读卡装置11H与读卡装置11E相似,但读卡装置11H还包含终端调整电路150。终端调整电路150耦接或电连接控制电路120、接脚P1、选择电路105及桥接读卡电路130。FIG. 8 is a functional block diagram of another embodiment of the electronic device of the present invention. The electronic device 10H includes a chip 12 , a capacitor C1 , a card reader 11H and a memory card slot 18 . The card reading device 11H is similar to the card reading device 11E, but the card reading device 11H also includes a terminal adjustment circuit 150 . The terminal adjustment circuit 150 is coupled or electrically connected to the control circuit 120 , the pin P1 , the selection circuit 105 and the bridge card reader circuit 130 .
控制电路120根据SD卡20的种类通过控制信号S8控制终端调整电路150。更明确地说,当SD卡20是SD Express卡时,控制电路120控制终端调整电路150为第一阻抗(相对高的阻抗,例如,使连接桥接读卡电路130的走线分支(stub)降低对PCIe信号(即,信号S5)的干扰);当 SD卡20是UHS-II SD卡时,控制电路120控制终端调整电路150为第二阻抗(相对低的阻抗,例如,使桥接读卡电路130与接脚P1之间形成通路(信号S6=信号S5))。在一些实施例中,第一阻抗大于第二阻抗。The control circuit 120 controls the terminal adjustment circuit 150 through the control signal S8 according to the type of the SD card 20 . More specifically, when the SD card 20 is an SD Express card, the control circuit 120 controls the terminal adjustment circuit 150 to be the first impedance (relatively high impedance, for example, to reduce the wiring branch (stub) connecting the bridge card reader circuit 130 To the interference of PCIe signal (that is, signal S5)); When SD card 20 is UHS-II SD card, control circuit 120 controls termination adjustment circuit 150 to be the second impedance (relatively low impedance, for example, makes the bridge card reader circuit A path is formed between 130 and pin P1 (signal S6=signal S5)). In some embodiments, the first impedance is greater than the second impedance.
图9为本发明电子装置的另一实施例的功能方框图。电子装置10I包含芯片12、电容C1、读卡装置11I及存储卡插槽18。读卡装置11I与读卡装置11E相似,但读卡装置11I还包含电容C3。电容C3的第一端耦接或电连接接脚P1及桥接读卡电路130;电容C3的第二端耦接或电连接选择电路105(即,第二端输出或接收信号S2)。换言之,在图9的实施例中,当信号的传输方向为存储卡插槽18到读卡装置11I时,信号S5包含直流成分及交流成分,而信号S2只包含该交流成分但不包含该直流成分;当信号的传输方向为读卡装置11I到存储卡插槽18时,信号S2可能包含直流成分及交流成分,而信号S5只包含该交流成分但不包含该直流成分。值得注意的是,当端点Pa与接脚P1之间传递的信号是PCIe信号时,信号S5及信号S2皆为PCIe信号。相较于图1的实施例,读卡装置11I的接脚更少,所以可以减少电路板上的走线,以降低电路板的面积及成本。FIG. 9 is a functional block diagram of another embodiment of the electronic device of the present invention. The electronic device 10I includes a chip 12 , a capacitor C1 , a card reader 11I and a memory card slot 18 . The card reading device 11I is similar to the card reading device 11E, but the card reading device 11I also includes a capacitor C3. The first end of the capacitor C3 is coupled or electrically connected to the pin P1 and the bridge card reader circuit 130 ; the second end of the capacitor C3 is coupled or electrically connected to the selection circuit 105 (ie, the second end outputs or receives the signal S2 ). In other words, in the embodiment of FIG. 9 , when the transmission direction of the signal is from the memory card slot 18 to the card reader 11I, the signal S5 includes a DC component and an AC component, while the signal S2 only includes the AC component but does not include the DC component. component; when the transmission direction of the signal is from the card reader 11I to the memory card slot 18, the signal S2 may contain a DC component and an AC component, while the signal S5 only contains the AC component but does not contain the DC component. It should be noted that when the signal transmitted between the terminal Pa and the pin P1 is a PCIe signal, both the signal S5 and the signal S2 are PCIe signals. Compared with the embodiment in FIG. 1 , the card reading device 11I has fewer pins, so the traces on the circuit board can be reduced to reduce the area and cost of the circuit board.
图10为本发明电子装置的另一实施例的功能方框图。电子装置10J 包含芯片12、电容C1、读卡装置11J及存储卡插槽18。读卡装置11J与读卡装置11I相似,但读卡装置11J还包含选择电路140。选择电路140 耦接或电连接控制电路120、接脚P1、电容C3及桥接读卡电路130。电容C3的一端耦接或电连接选择电路140;电容C3的另一端耦接或电连接选择电路105。FIG. 10 is a functional block diagram of another embodiment of the electronic device of the present invention. The electronic device 10J includes a chip 12 , a capacitor C1 , a card reading device 11J and a memory card slot 18 . The card reading device 11J is similar to the card reading device 11I, but the card reading device 11J also includes a selection circuit 140 . The selection circuit 140 is coupled or electrically connected to the control circuit 120 , the pin P1 , the capacitor C3 and the bridge card reader circuit 130 . One end of the capacitor C3 is coupled or electrically connected to the selection circuit 140 ; the other end of the capacitor C3 is coupled or electrically connected to the selection circuit 105 .
控制电路120根据SD卡20的种类通过控制信号S8控制选择电路140。更明确地说,当SD卡20是SD Express卡时,控制电路120控制选择电路140以使电容C3与接脚P1之间形成通路,并且使桥接读卡电路 130与接脚P1之间形成断路;当SD卡20是UHS-II SD卡时,控制电路 120控制选择电路140以使电容C3与接脚P1之间形成断路,并且使桥接读卡电路130与接脚P1之间形成通路(信号S6=信号S5)。The control circuit 120 controls the selection circuit 140 through the control signal S8 according to the type of the SD card 20 . More specifically, when the SD card 20 is an SD Express card, the control circuit 120 controls the selection circuit 140 so that a path is formed between the capacitor C3 and the pin P1, and an open circuit is formed between the bridge card reader circuit 130 and the pin P1 When the SD card 20 is a UHS-II SD card, the control circuit 120 controls the selection circuit 140 so that an open circuit is formed between the capacitor C3 and the pin P1, and a path is formed between the bridge card reader circuit 130 and the pin P1 (signal S6 = signal S5).
当桥接读卡电路130与接脚P1之间形成断路时,桥接读卡电路130 与接脚P1之间的阻抗增加;如此一来,绝大部分的信号S5会通过选择电路140传送至电容C3,有助于提升SD Express卡的PCIe信号(即,信号 S5与信号S2)的品质。When an open circuit is formed between the bridge card reader circuit 130 and the pin P1, the impedance between the bridge card reader circuit 130 and the pin P1 increases; thus, most of the signal S5 will be transmitted to the capacitor C3 through the selection circuit 140 , help to improve the quality of the PCIe signal (ie, the signal S5 and the signal S2 ) of the SD Express card.
图11为本发明电子装置的另一实施例的功能方框图。电子装置10K 包含芯片12、电容C1、读卡装置11K及存储卡插槽18。读卡装置11K 与读卡装置11I相似,但读卡装置11K还包含开关电路145。开关电路145 耦接或电连接控制电路120、接脚P1、电容C3及桥接读卡电路130。FIG. 11 is a functional block diagram of another embodiment of the electronic device of the present invention. The electronic device 10K includes a chip 12 , a capacitor C1 , a card reading device 11K and a memory card slot 18 . The card reading device 11K is similar to the card reading device 11I, but the card reading device 11K further includes a switch circuit 145 . The switch circuit 145 is coupled or electrically connected to the control circuit 120 , the pin P1 , the capacitor C3 and the bridge card reader circuit 130 .
控制电路120根据SD卡20的种类通过控制信号S8控制开关电路 145。更明确地说,当SD卡20是SD Express卡时,控制电路120控制开关电路145以使桥接读卡电路130与接脚P1之间形成断路;当SD卡20 是UHS-II SD卡时,控制电路120控制开关电路145以使桥接读卡电路130 与接脚P1之间形成通路(信号S6=信号S5)。The control circuit 120 controls the switch circuit 145 through the control signal S8 according to the type of the SD card 20 . More specifically, when the SD card 20 is an SD Express card, the control circuit 120 controls the switch circuit 145 to form an open circuit between the bridge card reader circuit 130 and the pin P1; when the SD card 20 is a UHS-II SD card, The control circuit 120 controls the switch circuit 145 to form a path between the bridge reader circuit 130 and the pin P1 (signal S6=signal S5).
类似地,当桥接读卡电路130与接脚P1之间形成断路时,SD Express 卡的PCIe信号(即,信号S5与信号S2)的品质可以获得提升。Similarly, when an open circuit is formed between the bridge reader circuit 130 and the pin P1, the quality of the PCIe signal (ie, the signal S5 and the signal S2 ) of the SD Express card can be improved.
图12为本发明电子装置的另一实施例的功能方框图。电子装置10L 包含芯片12、电容C1、读卡装置11L及存储卡插槽18。读卡装置11L与读卡装置11I相似,但读卡装置11L还包含终端调整电路150。终端调整电路150耦接或电连接控制电路120、接脚P1、电容C3及桥接读卡电路 130。FIG. 12 is a functional block diagram of another embodiment of the electronic device of the present invention. The electronic device 10L includes a chip 12 , a capacitor C1 , a card reader 11L and a memory card slot 18 . The card reading device 11L is similar to the card reading device 11I, but the card reading device 11L also includes a terminal adjustment circuit 150 . The terminal adjustment circuit 150 is coupled or electrically connected to the control circuit 120 , the pin P1 , the capacitor C3 and the bridge card reader circuit 130 .
控制电路120根据SD卡20的种类通过控制信号S8控制终端调整电路150。更明确地说,当SD卡20是SD Express卡时,控制电路120控制终端调整电路150为第一阻抗(相对高的阻抗,例如,使连接桥接读卡电路130的走线分支降低对PCIe信号(即,信号S5)的干扰);当SD卡 20是UHS-II SD卡时,控制电路120控制终端调整电路150为第二阻抗(相对低的阻抗,例如,使桥接读卡电路130与接脚P1之间形成通路(信号 S6=信号S5))。在一些实施例中,第一阻抗大于第二阻抗。The control circuit 120 controls the terminal adjustment circuit 150 through the control signal S8 according to the type of the SD card 20 . More specifically, when the SD card 20 is an SD Express card, the control circuit 120 controls the terminal adjustment circuit 150 to be the first impedance (relatively high impedance, for example, making the wiring branch connected to the bridge card reader circuit 130 lower to the PCIe signal. (that is, the interference of the signal S5)); when the SD card 20 was a UHS-II SD card, the control circuit 120 controlled the terminal adjustment circuit 150 to be the second impedance (relatively low impedance, for example, make the bridge card reader circuit 130 and the interface A path is formed between the pins P1 (signal S6=signal S5)). In some embodiments, the first impedance is greater than the second impedance.
上述的接脚P1、P2、P3及P4各可以代表一个或一个以上的接脚。本技术领域技术人员可以根据以上的公开内容来设计控制电路120,也就是说,控制电路120可以是特殊应用集成电路(Application Specific Integrated Circuit,ASIC)或是由可程序化逻辑装置(Programmable Logic Device, PLD)等电路或硬件实作。Each of the above-mentioned pins P1, P2, P3, and P4 may represent one or more pins. Those skilled in the art can design the control circuit 120 according to the above disclosure, that is, the control circuit 120 can be an application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or a programmable logic device (Programmable Logic Device) , PLD) and other circuits or hardware implementations.
综上所述,本发明提供多种读卡装置,该些读卡装置支持多种SD卡。本发明亦提供多种采用该些读卡装置的电子装置。To sum up, the present invention provides various card reading devices, and these card reading devices support various SD cards. The invention also provides various electronic devices using the card reading devices.
图13显示安全数字卡(传统SD卡、UHS-II SD卡及SD Express卡) 的接脚编号,该些接脚编号是遵循安全数字协会(Secure Digital Association)所制定的安全数字卡规范。关于该些接脚的描述及更多细节请参考SD协会网站https://www.sdcard.org/downloads/pls/的Physical Layer Simplified Specification,换言之,图13中所列的接脚或信号名称(例如时钟RCLK+/-、时钟REFCLK+/-、信号PERST#、CLKREQ#等)皆可在安全数字卡规范找到定义或相关的实作细节。Figure 13 shows the pin numbers of the Secure Digital cards (traditional SD card, UHS-II SD card and SD Express card), which are in compliance with the Secure Digital Card specification formulated by the Secure Digital Association. For a description of these pins and more details, please refer to the Physical Layer Simplified Specification on the SD Association website https://www.sdcard.org/downloads/pls/, in other words, the pins or signal names listed in Figure 13 ( For example, clock RCLK+/-, clock REFCLK+/-, signal PERST#, CLKREQ#, etc.) can be found in the SD card specification or related implementation details.
在图1至图12的实施例中,控制电路120通过接脚P1、P2、P4及/ 或读卡装置(例如,11A至11L的任一者)的其他接脚(图未示)来与 SD卡20沟通(包含但不限于传/收时钟、命令、数据等)。为了简洁起见,在图1至图12中省略该些接脚与控制电路120之间及与存储卡插槽18之间的连线。In the embodiment of FIGS. 1 to 12, the control circuit 120 communicates with other pins (not shown) of the card reading device (for example, any one of 11A to 11L) through pins P1, P2, P4 and/or SD card 20 communication (including but not limited to transmission/reception of clock, command, data, etc.). For the sake of brevity, the connections between these pins and the control circuit 120 and the memory card slot 18 are omitted in FIGS. 1 to 12 .
图14显示本发明记忆卡存储卡种类识别方法的一实施例的流程图。该流程可以由读卡装置执行,包含以下步骤。FIG. 14 shows a flow chart of an embodiment of a method for identifying a type of a memory card according to the present invention. This process can be executed by the card reading device, and includes the following steps.
步骤S11:对SD卡20进行UHS-II SD卡初始化程序。步骤S21:判断SD卡20是否为UHS-II SD卡。如果判断结果为是,则进行步骤S31;否则,进行步骤S12。步骤S31:继续UHS-II SD卡初始化程序(细节请参阅安全数位数字卡规范)。Step S11: Perform a UHS-II SD card initialization procedure on the SD card 20 . Step S21: Determine whether the SD card 20 is a UHS-II SD card. If the judgment result is yes, go to step S31; otherwise, go to step S12. Step S31: Continue the UHS-II SD card initialization procedure (please refer to the SD card specification for details).
步骤S12:控制编号4接脚实质上为0伏特(V)以及控制编号14接脚实质上为0V(即,等效于关闭(turn off)编号4接脚及编号14接脚)。请注意,“实质上为某一电压”代表等于或近似该电压。Step S12 : Control pin number 4 to be substantially 0V and control pin number 14 to be substantially 0V (that is, equivalent to turning off pin number 4 and pin number 14 ). Note that "substantially a certain voltage" means equal to or approximately the voltage.
步骤S13:对SD卡20进行SD Express卡初始化程序。步骤S22:判断SD卡20是否为SDExpress卡。如果判断结果为是,则进行步骤S32;否则,进行步骤S14。步骤S32:继续SDExpress卡初始化程序(细节请参阅安全数位数字卡规范)。Step S13: carry out the SD Express card initialization program on the SD card 20 . Step S22: Determine whether the SD card 20 is an SDExpress card. If the judgment result is yes, go to step S32; otherwise, go to step S14. Step S32: Continue the SDExpress card initialization procedure (for details, please refer to the SD card specification).
步骤S14:步骤S14与步骤S12相同。Step S14: Step S14 is the same as step S12.
步骤S15:对SD卡20进行传统SD卡初始化程序。步骤S23:判断 SD卡20是否为传统SD卡。如果判断结果为是,则进行步骤S33;否则,进行步骤S34。Step S15: Carry out a traditional SD card initialization procedure on the SD card 20 . Step S23: judging whether the SD card 20 is a traditional SD card. If the judgment result is yes, go to step S33; otherwise, go to step S34.
步骤S33:继续传统SD卡初始化程序(细节请参阅安全数位数字卡规范)。Step S33: Continue the traditional SD card initialization procedure (please refer to the SD card specification for details).
步骤S34:控制编号4接脚实质上为0V,因为SD卡20为其他种类的记忆卡存储卡或非为记忆卡存储卡。Step S34: The control number 4 pin is substantially 0V, because the SD card 20 is a memory card of other types or not a memory card.
前揭实施例虽以传统SD卡、SD Express卡及UHS-II SD卡为例,然此并非对本发明的限制,本技术领域人士可依本发明的揭露适当地将本发明应用于其它类型的SD记忆卡。Although the foregoing embodiments take traditional SD cards, SD Express cards and UHS-II SD cards as examples, this is not a limitation to the present invention, and those skilled in the art can appropriately apply the present invention to other types of devices according to the disclosure of the present invention. SD memory card.
由于本技术领域具有通常知识者可藉由本案的装置发明的揭露内容来了解本案的方法发明的实施细节与变化,因此,为避免赘文,在不影响该方法发明的揭露要求及可实施性的前提下,重复的说明在此予以节略。请注意,前揭图示中,元件的形状、尺寸及比例仅为示意,是供本技术领域具有通常知识者了解本发明之用,非用以限制本发明。此外,在一些实施例中,前揭的流程图中所提及的步骤可依实际操作调整其前后顺序,甚至可同时或部分同时执行。Because those skilled in the art can understand the implementation details and changes of the method invention in this case through the disclosure of the device invention in this case, therefore, in order to avoid redundant text, the disclosure requirements and implementability of the method invention will not be affected. Under the premise of , repeated explanations are omitted here. Please note that the shapes, sizes and proportions of the components in the foregoing drawings are only for illustration, and are for those skilled in the art to understand the present invention, and are not intended to limit the present invention. In addition, in some embodiments, the steps mentioned in the above-mentioned flow charts can be adjusted in sequence according to actual operations, and can even be executed simultaneously or partly simultaneously.
虽然本发明的实施例如上所述,然而该些实施例并非用来限定本发明,本技术领域具有通常知识者可依据本发明的明示或隐含的内容对本发明的技术特征施以变化,凡此种种变化均可属于本发明所寻求的专利保护范畴,换言之,本发明的专利保护范围须视本说明书的权利要求所界定者为准。Although the embodiments of the present invention are as described above, these embodiments are not intended to limit the present invention, and those skilled in the art can make changes to the technical characteristics of the present invention according to the explicit or implicit content of the present invention. All these changes can belong to the scope of patent protection sought by the present invention. In other words, the scope of patent protection of the present invention must be defined by the claims in this specification.
Claims (10)
1.一种具有一读卡功能的电子装置,包含:1. An electronic device with a card reading function, comprising: 一芯片;a chip; 一存储卡插槽,用来接收一存储卡;a memory card slot for receiving a memory card; 一读卡装置,耦接于该芯片与该存储卡插槽之间,通过一快速周边组件互连接口与该芯片耦接,并从该存储卡插槽接收一第一快速周边组件互连信号、一第二类超高速安全数字卡信号及一传统安全数字卡信号的至少其中之一,其中,该第二类超高速安全数字卡信号包含一直流成分及一交流成分;以及A card reading device, coupled between the chip and the memory card slot, coupled with the chip through a fast peripheral component interconnection interface, and receiving a first fast peripheral component interconnection signal from the memory card slot . At least one of a Type 2 VHSSD signal and a Conventional SDcard signal, wherein the Type 2 VHSSD signal includes a DC component and an AC component; and 一电容,耦接于该芯片与该读卡装置之间,用来建立该快速周边组件互连接口;A capacitor, coupled between the chip and the card reader, is used to establish the fast peripheral component interconnection interface; 其中,该读卡装置包含一桥接读卡电路,该桥接读卡电路用来将该传统安全数字卡信号或该第二类超高速安全数字卡信号转换成一第二快速周边组件互连信号,以通过该快速周边组件互连接口传输。Wherein, the card reading device includes a bridge card reader circuit, and the bridge card reader circuit is used to convert the traditional secure digital card signal or the second type ultra-high speed secure digital card signal into a second fast peripheral component interconnection signal to Pass through the fast peripheral component interconnect interface. 2.如权利要求1所述的电子装置,其中,该电容是一第一电容,该读卡装置具有一第一接脚及一第二接脚,该电子装置还包含:2. The electronic device as claimed in claim 1, wherein the capacitor is a first capacitor, the card reading device has a first pin and a second pin, and the electronic device further comprises: 一第二电容,具有一第一端及一第二端,该第一端电连接该读卡装置的该第一接脚,该第二端电连接该读卡装置的该第二接脚及该存储卡插槽。A second capacitor has a first end and a second end, the first end is electrically connected to the first pin of the card reading device, and the second end is electrically connected to the second pin of the card reading device and The memory card slot. 3.如权利要求2所述的电子装置,其中,该读卡装置还包含:3. The electronic device as claimed in claim 2, wherein the card reading device further comprises: 一选择电路,电连接该第一接脚及该第二接脚;以及a selection circuit electrically connected to the first pin and the second pin; and 一控制电路,耦接该选择电路,用来控制该选择电路;a control circuit, coupled to the selection circuit, for controlling the selection circuit; 其中,当该存储卡是一安全数字快速卡时,该控制电路控制该选择电路使该桥接读卡电路不与该第二接脚形成信号连接,以及,当该存储卡是一第二类超高速安全数字卡时,该控制电路控制该选择电路使该桥接读卡电路与该第二接脚形成信号连接。Wherein, when the memory card is a secure digital flash card, the control circuit controls the selection circuit so that the bridge card reader circuit does not form a signal connection with the second pin, and when the memory card is a second-type super For a high-speed secure digital card, the control circuit controls the selection circuit to form a signal connection between the bridge card reader circuit and the second pin. 4.如权利要求2所述的电子装置,其中,该读卡装置还包含:4. The electronic device as claimed in claim 2, wherein the card reading device further comprises: 一开关电路,电连接该第一接脚及该第二接脚;以及a switch circuit electrically connecting the first pin and the second pin; and 一控制电路,耦接该开关电路,用来控制该开关电路;a control circuit, coupled to the switch circuit, for controlling the switch circuit; 其中,当该存储卡是一安全数字快速卡时,该控制电路控制该开关电路使该桥接读卡电路不与该第二接脚形成信号连接,以及,当该存储卡是一第二类超高速安全数字卡时,该控制电路控制该开关电路使该桥接读卡电路与该第二接脚形成信号连接。Wherein, when the memory card is a secure digital flash card, the control circuit controls the switch circuit so that the bridge card reader circuit does not form a signal connection with the second pin, and when the memory card is a second type super For a high-speed secure digital card, the control circuit controls the switch circuit so that the bridge card reader circuit forms a signal connection with the second pin. 5.如权利要求1所述的电子装置,其中,该读卡装置还包含:5. The electronic device as claimed in claim 1, wherein the card reading device further comprises: 一接脚,电连接该桥接读卡电路以及该存储卡插槽;a pin electrically connected to the bridge card reader circuit and the memory card slot; 一选择电路,耦接该接脚,并且通过该接脚接收该第一快速周边组件互连信号;以及a selection circuit, coupled to the pin, and receives the first fast peripheral device interconnection signal through the pin; and 一控制电路,耦接该选择电路,用来检测该存储卡的种类,以及根据该存储卡的种类控制该选择电路输出该第一快速周边组件互连信号或该第二快速周边组件互连信号。A control circuit, coupled to the selection circuit, is used to detect the type of the memory card, and control the selection circuit to output the first fast peripheral component interconnection signal or the second fast peripheral component interconnection signal according to the type of the memory card . 6.如权利要求1所述的电子装置,其中,该读卡装置还包含:6. The electronic device as claimed in claim 1, wherein the card reading device further comprises: 一接脚,电连接该存储卡插槽;a pin electrically connected to the memory card slot; 一开关电路,电连接该接脚及该桥接读卡电路;以及a switch circuit electrically connected to the pin and the bridge card reader circuit; and 一控制电路,耦接该开关电路,用来控制该开关电路;a control circuit, coupled to the switch circuit, for controlling the switch circuit; 其中,当该存储卡是一安全数字快速卡时,该控制电路控制该开关电路使该桥接读卡电路不与该接脚形成信号连接,以及,当该存储卡是一第二类超高速安全数字卡时,该控制电路控制该开关电路使该桥接读卡电路与该接脚形成信号连接。Wherein, when the memory card is a secure digital fast card, the control circuit controls the switch circuit so that the bridge card reader circuit does not form a signal connection with the pin, and, when the memory card is a second type ultra-high speed security In the case of a digital card, the control circuit controls the switch circuit to form a signal connection between the bridge card reader circuit and the pin. 7.如权利要求1所述的电子装置,其中,该读卡装置还包含:7. The electronic device as claimed in claim 1, wherein the card reading device further comprises: 一接脚,电连接该存储卡插槽;a pin electrically connected to the memory card slot; 一终端调整电路,电连接该接脚及该桥接读卡电路;以及a terminal adjustment circuit electrically connected to the pin and the bridge card reader circuit; and 一控制电路,耦接该终端调整电路,用来控制该终端调整电路;a control circuit, coupled to the terminal adjustment circuit, for controlling the terminal adjustment circuit; 其中,当该存储卡是一安全数字快速卡时,该控制电路设定该终端调整电路的阻抗为一第一阻抗,以及,当该存储卡是一第二类超高速安全数字卡时,该控制电路设定该终端调整电路的阻抗为一第二阻抗,该第一阻抗大于该第二阻抗。Wherein, when the memory card is a secure digital flash card, the control circuit sets the impedance of the terminal adjustment circuit to a first impedance, and, when the memory card is a second type ultra-high speed secure digital card, the The control circuit sets the impedance of the terminal adjusting circuit as a second impedance, and the first impedance is greater than the second impedance. 8.如权利要求1所述的电子装置,其中,该电容是一第一电容,该读卡装置还包含:8. The electronic device as claimed in claim 1, wherein the capacitor is a first capacitor, and the card reading device further comprises: 一接脚,电连接该存储卡插槽及该桥接读卡电路;a pin electrically connected to the memory card slot and the bridge card reader circuit; 一第二电容,电连接该接脚;a second capacitor electrically connected to the pin; 一选择电路,耦接该第二电容,并且通过该第二电容接收该第一快速周边组件互连信号;以及a selection circuit, coupled to the second capacitor, and receiving the first fast peripheral device interconnection signal through the second capacitor; and 一控制电路,耦接该选择电路,用来检测该存储卡的种类,以及根据该存储卡的种类控制该选择电路输出该第一快速周边组件互连信号或该第二快速周边组件互连信号。A control circuit, coupled to the selection circuit, is used to detect the type of the memory card, and control the selection circuit to output the first fast peripheral component interconnection signal or the second fast peripheral component interconnection signal according to the type of the memory card . 9.一种读卡装置,包含:9. A card reading device, comprising: 一第一接脚,用来接收一第二类超高速安全数字卡信号或一第一快速周边组件互连信号;A first pin, used for receiving a second type super high speed secure digital card signal or a first fast peripheral component interconnection signal; 一第二接脚,用来接收一传统安全数字卡信号;a second pin for receiving a traditional secure digital card signal; 一桥接读卡电路,耦接该第一接脚及该第二接脚,用来将该第二类超高速安全数字卡信号或该传统安全数字卡信号转换为一第二快速周边组件互连信号;a bridge card reader circuit, coupled to the first pin and the second pin, for converting the second type ultra-high speed secure digital card signal or the traditional secure digital card signal into a second fast peripheral component interconnection Signal; 一选择电路,接收该第一快速周边组件互连信号或该第二快速周边组件互连信号;以及a selection circuit receiving the first fast peripheral device interconnect signal or the second fast peripheral device interconnect signal; and 一控制电路,耦接该选择电路,用来检测一存储卡的种类,以及根据该存储卡的种类控制该选择电路输出该第一快速周边组件互连信号或该第二快速周边组件互连信号。A control circuit, coupled to the selection circuit, is used to detect the type of a memory card, and control the selection circuit to output the first fast peripheral component interconnection signal or the second fast peripheral component interconnection signal according to the type of the memory card . 10.一种读卡装置,包含:10. A card reading device, comprising: 一第一接脚,用来接收一第一信号;a first pin for receiving a first signal; 一第二接脚,用来接收一第二信号;a second pin for receiving a second signal; 一桥接读卡电路,耦接该第一接脚及该第二接脚,用来将该第一信号或该第二信号转换为一快速周边组件互连信号;a bridge card reader circuit, coupled to the first pin and the second pin, for converting the first signal or the second signal into a fast peripheral component interconnection signal; 一电容,具有一第一端及一第二端,该第一端电连接该第一接脚以接收该第一信号,该第二端输出或接收一第三信号,其中,该第一信号包含一交流成分及一直流成分,而该第三信号包含该交流成分但不包含该直流成分;A capacitor has a first end and a second end, the first end is electrically connected to the first pin to receive the first signal, and the second end outputs or receives a third signal, wherein the first signal includes an AC component and a DC component, and the third signal includes the AC component but does not include the DC component; 一选择电路,接收该第三信号及该快速周边组件互连信号;以及a selection circuit receiving the third signal and the fast peripheral device interconnect signal; and 一控制电路,耦接该选择电路,用来检测一存储卡的种类,以及根据该存储卡的种类控制该选择电路输出该第三信号或该快速周边组件互连信号。A control circuit, coupled to the selection circuit, is used to detect the type of a memory card, and control the selection circuit to output the third signal or the fast peripheral component interconnection signal according to the type of the memory card.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111562447.4A CN116362275A (en) | 2021-12-20 | 2021-12-20 | Card reading device and electronic device with card reading function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111562447.4A CN116362275A (en) | 2021-12-20 | 2021-12-20 | Card reading device and electronic device with card reading function |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116362275A true CN116362275A (en) | 2023-06-30 |
Family
ID=86935104
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111562447.4A Pending CN116362275A (en) | 2021-12-20 | 2021-12-20 | Card reading device and electronic device with card reading function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116362275A (en) |
-
2021
- 2021-12-20 CN CN202111562447.4A patent/CN116362275A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7646212B2 (en) | 2010-01-12 | Memory system including a power divider on a multi module memory bus |
US8692574B2 (en) | 2014-04-08 | Methods and systems for reducing supply and termination noise |
EP1997063A1 (en) | 2008-12-03 | Negotiation of a proper communication protocol between a data carrier and a reader device |
US9537462B2 (en) | 2017-01-03 | Communication circuit with impedance matching |
JP4039948B2 (en) | 2008-01-30 | Recognition of device connection status in USB |
TWI789148B (en) | 2023-01-01 | Method of identifying type of memory card |
CN112131165B (en) | 2025-03-07 | Method and system for integrated circuit |
US11573264B2 (en) | 2023-02-07 | Device for testing chip or die with better system IR drop |
CN116362275A (en) | 2023-06-30 | Card reading device and electronic device with card reading function |
CN110554990A (en) | 2019-12-10 | Mainboard circuit compatible with PCIE and SATA circuits |
TWI789147B (en) | 2023-01-01 | Card reading device and electronic device with card reading function |
US20240006737A1 (en) | 2024-01-04 | Dual directional coupler with multiple couplings for symmetrical performance |
CN101154759A (en) | 2008-04-02 | Vertical structure of antenna substrate and main substrate |
CN103944021A (en) | 2014-07-23 | Micro Secure Digital Adapter |
US7420818B2 (en) | 2008-09-02 | Memory module having a matching capacitor and memory system having the same |
US8432019B2 (en) | 2013-04-30 | Techniques for capacitively coupling signals with an integrated circuit |
TW454114B (en) | 2001-09-11 | Resistance adjustment device for control chips on the motherboard |
CN112799986B (en) | 2024-03-26 | Universal serial bus switching circuit and related electronic device |
CN113033222B (en) | 2022-09-23 | Identification method of electronic equipment, user identification card and memory card |
KR100945283B1 (en) | 2010-03-04 | PC |
CN111210861B (en) | 2020-09-29 | Flash memory |
TWI762685B (en) | 2022-05-01 | Printed circuit board |
CN216700013U (en) | 2022-06-07 | Golden finger circuit board and PCIe signal test system |
TW493126B (en) | 2002-07-01 | Modular bus with serially connected signal lines |
US12074358B2 (en) | 2024-08-27 | Symmetrical dual direction coupler |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
2023-06-30 | PB01 | Publication | |
2023-06-30 | PB01 | Publication | |
2023-07-18 | SE01 | Entry into force of request for substantive examination | |
2023-07-18 | SE01 | Entry into force of request for substantive examination |