SD card physical switch detection circuit and method, and SD card switch detection device
A technology of physical switch and detection circuit, applied in fault hardware test method, error detection/correction, detection of faulty computer hardware, etc., can solve the problem of inability to detect whether the SD card is locked, user troublesome, and user unable to write data SD Cards and other problems, to achieve the effect of shortening the R&D test cycle
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] Please refer to figure 2 , figure 2 The circuit diagram corresponding to the function of detecting the physical switch of the SD card is realized for this embodiment.
[0037] This part of the circuit includes a PCH chip 100, an SD card connector 300 and a power supply circuit 200, wherein the GPIO port of the PCH chip 100 is connected to the WP_Switch pin of the SD card connector 300; the power supply circuit 200 is connected to the The GPIO port is connected to the connecting wire of the WP_Switch pin;
[0038] When the WP_Switch pin of the SD card connector 300 is grounded, the GPIO port on the PCH chip 100 detects a low level, and the corresponding SD card physical switch is in a closed state; when the WP_Switch pin is suspended, the GPIO port detects a high level level, when the corresponding physical switch of the SD card is in the disconnected state.
[0039] You can also set a pull up or pull down to change the level of the GPIO port, so that the GPIO port ...
Embodiment 2
[0042] like image 3 The shown SD card switch detection device includes a PCH chip, an SD card connector, an SD card control chip, a MOS tube, and a power supply circuit; wherein, the GPIO1 port of the PCH chip is connected to the WP_Switch pin of the SD card connector;
[0043] The power supply circuit is connected to the connecting line between the GPIO1 port and the WP_Switch pin;
[0044] The GPIO1 port of the PCH chip acquires the pin state of WP_Switch, and determines the physical switch state of the SD card according to the pin state.
[0045]The gate of the MOS transistor is connected to the GPIO0 port of the PCH chip, the source is connected to the WP_Switch of the SD card connector, and the drain is connected to the WP pin of the SD card control chip.
[0046] The power supply circuit includes a +3V voltage and a 10KΩ resistor, because the GPIO port of the PCH chip uses +3V power, and the power supply circuit also uses +3V power, just keep the same voltage as the GP...
Embodiment 3
[0052] Please refer to Figure 4 , Figure 4 The flowchart corresponding to this embodiment
[0053] S101: Receive an instruction to detect the physical switch of the SD card;
[0054] Receiving the instruction to detect the physical switch of the SD card includes manually sending the instruction to request the detection of the physical switch of the SD card, or the machine will automatically send the instruction to query the physical switch status of the SD card when the tester turns on the test machine to prepare for testing the SD card. Or the system issues the command when the user starts the system.
[0055] S102: Determine the state of the second GPIO port on the PCH chip; wherein, the second GPIO port is connected to the WP_Switch pin on the SD card connector;
[0056] The second GPIO port on the PCH chip is directly connected to the WP_Switch pin on the SD card connector, which can directly detect the state of the WP_Switch pin. Of course, a power supply circuit fo...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com