CN100422973C - Controller with dual interfaces based on single chip - Google Patents

Controller with dual interfaces based on single chip Download PDF

Info

Publication number
CN100422973C
CN100422973C CNB200610051723XA CN200610051723A CN100422973C CN 100422973 C CN100422973 C CN 100422973C CN B200610051723X A CNB200610051723X A CN B200610051723XA CN 200610051723 A CN200610051723 A CN 200610051723A CN 100422973 C CN100422973 C CN 100422973C
Authority
CN
China
Prior art keywords
mmc
interface
usb
card reader
module
Prior art date
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.)
Expired - Fee Related
Application number
CNB200610051723XA
Other languages
Chinese (zh)
Other versions
CN1873635A (en
Inventor
骆建军
楚传仁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SAGE MICROELECTRONICS CORP.
Original Assignee
骆建军
楚传仁
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 骆建军, 楚传仁 filed Critical 骆建军
Priority to CNB200610051723XA priority Critical patent/CN100422973C/en
Publication of CN1873635A publication Critical patent/CN1873635A/en
Application granted granted Critical
Publication of CN100422973C publication Critical patent/CN100422973C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention discloses a double interface controller based on a single chip and is characterized in that a USB card reader module and an SD/MMC controller module are integrated on the single chip; the USB card reader module and the SD/MMC controller module are all connected with an interface mediation circuit; a data bus select switch is connected between the USB card reader module and the SD/MMC controller module; the USB card reader module is provided with a USB interface communicated with an external USB host computer; the SD/MMC controller module is provided with an SD/MMC interface communicated with an external SD/MMC host computer and a FLASH interface communicated with FLASH. The present invention has the functions of double-interface control and transmission to support an SD/MMC control system and a USB control system. A card made from the double interface controller of the present invention can be directly connected with and used on PC and other USB equipment instead of a controller.

Description

Controller with dual interfaces based on single-chip
Technical field
The present invention relates to a kind of controller IC, be meant the controller with dual interfaces based on single-chip of compatible USB control system of a kind of energy and SD/MMC control system especially.
Background technology
Controller chip on the market has only independent USB card reader chip or SD/MMC controller chip at present.USB card reader chip is used to make the USB card reader, and the SD/MMC controller chip is used to make the SD/MMC storage card.
The USB card reader has the passive interface that meets the USB standard---and equipment (DEVICE) has the active interface that can visit (ACCESS) SD/MMC memory card simultaneously---main frame (HOST).The effect of USB card reader is the bridge between usb host and the SD/MMC card.Usb host includes, but is not limited to personal computer.
The SD/MMC storage card generally includes SD/MMC card controller chip and FLASH memory chip.The SD/MMC controller has the DEVICE interface that meets the SD/MMC standard, and simultaneously it is also managed reading and writing to the FLASH internal memory, operation such as wipes, and it is the bridge between SD/MMC main frame (HOST) and the FLASH internal memory.
When equipment with USB interface, when needing visit SD/MMC storage card, just need to use the USB card reader as breakout box as personal computer (PC) etc., need put the USB card reader between usb host and SD/MMC card.That is to say, must just can finish the read-write capability of usb host by two chips to flash memory.
Equally, the client uses the SD/MMC storage to be stuck in fields such as digital camera, PDA, mobile phone, if the information of SD/MMC storage card the inside is delivered to personal computer etc. when having the equipment at USB interface, the client just need utilize independently USB card reader, promptly allows the USB card reader do signal converting bridge between personal computer and the SD/MMC card.
Summary of the invention
The invention provides a kind ofly by USB card reader module and SD/MMC controller module are integrated on the chip, realize having possessed the single-chip controller with dual interfaces of USB card reader and the two interface functions of SD/MMC storage card.
A kind of controller with dual interfaces based on single-chip, integrated USB card reader module and SD/MMC controller module on single-chip, USB card reader module and SD/MMC controller module all insert the interface arbitration circuit, be connected with the data bus selector switch between USB card reader module and the SD/MMC controller module, corresponding USB card reader module is provided with the USB interface with extraneous usb host communication, corresponding SD/MMC controller module is provided with the SD/MMC interface with extraneous SD/MMC host communication, and be provided with FLASH interface with the FLASH communication, after controller with dual interfaces powered on, by interface arbitration circuit judgment task interface type, extraneous main frame of control data bus selection switch connection and corresponding path are realized the communication between working host and FLASH.
Described USB card reader module, SD/MMC controller module, interface arbitration circuit, data bus selector switch, USB interface, SD/MMC interface and Flash interface have electric connection.
Described USB card reader module possesses the function of general card reader, detects the USB interfacial state, and when USB started working at the interface, the USB card reader module sent a pilot signal to the interface arbitration circuit.
Described SD/MMC controller module possesses the function of general SD/MMC controller chip, detects the SD/MMC interfacial state, and when SD/MMC started working at the interface, the SD/MMC controller module sent a pilot signal to the interface arbitration circuit.
Described controller with dual interfaces is finished different main frames the process that FLASH reads and writes be may further comprise the steps:
(1) after working host powered on to controller with dual interfaces, the interface arbitration circuit received the pilot signal of USB card reader module or the transmission of SD/MMC controller module, judgment task interface type;
(2) if the pilot signal that receives is to be produced by the USB card reader module, judge that then the USB interface is used, the interface arbitration circuit is connected the data bus between USB card reader module and the SD/MMC controller module, and send enable signal to the USB card reader module, make the USB card reader module by USB interface and usb host communication, data bus and the communication of SD/MMC controller module by the connection of interface arbitration circuit, the SD/MMC controller module is realized the read-write operation of usb host to FLASH by FLASH interface and FLASH communication simultaneously;
(3) if the pilot signal that receives is to be produced by the SD/MMC controller module, judge that then the SD/MMC interface is used, the interface arbitration circuit is connected the data bus between SD/MMC main frame and the SD/MMC controller module, and send enable signal to the SD/MMC controller module, make the SD/MMC controller module by SD/MMC interface and SD/MMC host communication, the SD/MMC controller module is realized the read-write operation of SD/MMC main frame to FLASH by FLASH interface and FLASH communication simultaneously.
Utilize controller with dual interfaces of the present invention to make to have the card at the two interfaces of USB and SD/MMC.This card can directly connect the equipment that personal computer etc. has the USB interface, by USB interface swap file information; Simultaneously also can directly insert digital camera, PDA etc. is the equipment at main interface with SD/MMC, by SD/MMC interface exchange message file.Like this, the user just can not use independently USB card reader, directly uses this card and easily finish between various device.
Description of drawings
Fig. 1 is a system architecture synoptic diagram of the present invention;
System architecture synoptic diagram when Fig. 2 is the USB interface for working interface of the present invention;
System architecture synoptic diagram when Fig. 3 is the SD/MMC interface for working interface of the present invention.
Embodiment
As shown in Figure 1, a kind of controller with dual interfaces based on single-chip comprises USB card reader module 1, SD/MMC controller module 2, interface arbitration circuit 3, data bus selector switch 4, USB interface 5, SD/MMC interface 6, FLASH interface 7.
USB card reader module 1 and SD/MMC controller module 2 all insert interface arbitration circuit 3, connect data bus selection switch 4 between USB card reader module 1 and the SD/MMC controller module 2, corresponding USB card reader module 1 is established the USB interface 5 with extraneous usb host communication on the controller with dual interfaces, corresponding SD/MMC controller module 2 is established the SD/MMC interface 6 with extraneous SD/MMC host communication, and establishes the FLASH interface 7 with the FLASH communication.
USB card reader module 1 is equivalent to USB card reader chip, function with general card reader, can also can pass through SD/MMC standard interface and SD/MMC controller (DEVICE) communication with equipment (DEVICE) identity by USB standard interface and PC and other USB device (HOST) communication with main frame (HOST) identity.When USB was used, USB card reader module 1 produced a pilot signal and gives interface arbitration circuit 3.
SD/MMC controller module 2 is equivalent to the SD/MMC controller chip, function with general SD/MMC controller chip, it can comprise the communication of USB card reader by SD/MMC standard interface and SD/MMC main frame (HOST) with equipment (DEVICE) identity, also can read and write and wipe flash memory (Flash) by Flash standard interface.When SD/MMC was used, SD/MMC controller module 2 produced a pilot signal and gives interface arbitration circuit 3.
Interface arbitration circuit 3 the finish the work judgement at interface and the arbitration of respective bus.When USB interface 5 is used, the USB interface function is finished in the communication that interface arbitration circuit 3 is connected between USB controller modules 1 and the SD/MMC controller module 2; When SD/MMC interface 6 is used, the data bus that interface arbitration circuit 3 is connected between SD/MMC main frames and the SD/MMC controller module 2 allows SD/MMC controller module 2 finish communication with extraneous SD/MMC main frame; Interface arbitration circuit 3 also is used to finish the processing of some abnormal conditions, such as the situation that USB interface 5 and SD/MMC interface 6 are used simultaneously, how to handle and can define voluntarily.
The course of work of controller with dual interfaces of the present invention may further comprise the steps:
(1) after working host powered on to controller with dual interfaces, interface arbitration circuit 3 received the pilot signal of USB card reader module 1 or 2 transmissions of SD/MMC controller module, judgment task interface type;
(2) if the pilot signal that receives is produced by USB card reader module 1, judge that then USB interface 5 is used, the data bus that interface arbitration circuit 3 is connected between USB card reader module 1 and the SD/MMC controller module 2, and send enable signal to USB card reader module 1, make USB card reader module 1 by USB interface 5 and usb host communication, data bus and 2 communications of SD/MMC controller module by 3 connections of interface arbitration circuit, SD/MMC controller module 2 is by FLASH interface 7 and FLASH communication simultaneously, realize the read-write operation of usb host, as shown in Figure 2 to FLASH.
(3) if the pilot signal that receives is to be produced by SD/MMC controller module 2, judge that then SD/MMC interface 6 is used, the data bus that interface arbitration circuit 3 is connected between SD/MMC main frame and the SD/MMC controller module 2, and send enable signal to SD/MMC controller module 2, make SD/MMC controller module 2 by SD/MMC interface 6 and SD/MMC host communication, SD/MMC controller module 2 is by FLASH interface 7 and FLASH communication simultaneously, realize the read-write operation of SD/MMC main frame, as shown in Figure 3 to FLASH.
(4) if interface arbitration circuit 3 is received the pilot signal that is produced by USB controller module 1 and SD/MMC controller module 2 simultaneously, then handle, how to handle and to define voluntarily as abnormal conditions.

Claims (2)

1. controller with dual interfaces based on single-chip, it is characterized in that: integrated USB card reader module and SD/MMC controller module on single-chip, USB card reader module and SD/MMC controller module all insert the interface arbitration circuit, be connected with the data bus selector switch between USB card reader module and the SD/MMC controller module, corresponding USB card reader module is provided with the USB interface with extraneous usb host communication, corresponding SD/MMC controller module is provided with the SD/MMC interface with extraneous SD/MMC host communication, also be provided with FLASH interface on the SD/MMC controller module with the FLASH communication, after controller with dual interfaces powered on, by interface arbitration circuit judgment task interface type, extraneous main frame of control data bus selection switch connection and corresponding path, realize the communication between extraneous main frame and FLASH, may further comprise the steps:
(1) after extraneous main frame powered on to controller with dual interfaces, the USB card reader module detected the USB interfacial state, and when start working in the USB interface, the USB card reader module sends a pilot signal to the interface arbitration circuit; Simultaneously, the SD/MMC controller module detects the SD/MMC interfacial state, and when start working in the SD/MMC interface, the SD/MMC controller module sends a pilot signal to the interface arbitration circuit;
(2) the interface arbitration circuit receives the pilot signal of USB card reader module or the transmission of SD/MMC controller module, judgment task interface type;
(3) if the pilot signal that receives is to be produced by the USB card reader module, judge that then the USB interface is used, the interface arbitration circuit is connected the data bus between USB card reader module and the SD/MMC controller module, and send enable signal to the USB card reader module, make USB card reader module one end by USB interface and usb host communication, data bus and the communication of SD/MMC controller module that the other end is connected by the interface arbitration circuit, the other end of SD/MMC controller module is realized the read-write operation of usb host to FLASH by FLASH interface and FLASH communication simultaneously;
(4) if the pilot signal that receives is to be produced by the SD/MMC controller module, judge that then the SD/MMC interface is used, the interface arbitration circuit is connected the data bus between SD/MMC main frame and the SD/MMC controller module, and send enable signal to the SD/MMC controller module, make the SD/MMC controller module by SD/MMC interface and SD/MMC host communication, the SD/MMC controller module is realized the read-write operation of SD/MMC main frame to FLASH by FLASH interface and FLASH communication simultaneously.
2. the controller with dual interfaces based on single-chip as claimed in claim 1 is characterized in that: have electric connection between described USB card reader module, SD/MMC controller module, interface arbitration circuit, data bus selector switch, USB interface, SD/MMC interface and the Flash interface.
CNB200610051723XA 2006-05-29 2006-05-29 Controller with dual interfaces based on single chip Expired - Fee Related CN100422973C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200610051723XA CN100422973C (en) 2006-05-29 2006-05-29 Controller with dual interfaces based on single chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200610051723XA CN100422973C (en) 2006-05-29 2006-05-29 Controller with dual interfaces based on single chip

Publications (2)

Publication Number Publication Date
CN1873635A CN1873635A (en) 2006-12-06
CN100422973C true CN100422973C (en) 2008-10-01

Family

ID=37484113

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200610051723XA Expired - Fee Related CN100422973C (en) 2006-05-29 2006-05-29 Controller with dual interfaces based on single chip

Country Status (1)

Country Link
CN (1) CN100422973C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202557B (en) * 2007-11-14 2012-02-01 青岛海信移动通信技术股份有限公司 Wireless communication module and terminal equipment having the same
CN101937414B (en) * 2010-08-26 2013-05-15 惠州Tcl移动通信有限公司 Method and device of sharing minitype USB interface for UART (Universal Asynchronous Receive/Transmitter) and USB (Universal Serial Bus)
CN105573947B (en) * 2014-10-13 2018-10-26 北京自动化控制设备研究所 A kind of SD/MMC card control methods based on APB buses

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5565704A (en) * 1992-03-04 1996-10-15 Nec Corporation Memory card having two types of memory integrated circuits connected to two different shaped connectors
US6524137B1 (en) * 2002-03-15 2003-02-25 Carry Computer Eng. Co., Ltd. Integral multiplex adapter card
US20040029421A1 (en) * 2001-11-23 2004-02-12 Power Quotient International Co., Ltd. Low height USB interface connecting device and a memory storage apparatus thereof
CN1549147A (en) * 2003-05-15 2004-11-24 群联电子股份有限公司 Memory storage device control system with double interfaces
CN1584816A (en) * 2004-06-03 2005-02-23 瑞程科技股份有限公司 Storing card with multi-interfae function and transmitting mode selective method
WO2005062157A1 (en) * 2003-12-19 2005-07-07 Kabushiki Kaisha Toshiba Electronic device, unit driving apparatus, and method for controlling interface of unit driving apparatus
CN1881195A (en) * 2005-06-13 2006-12-20 希旺科技股份有限公司 Method and system for selecting communication protocol

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5565704A (en) * 1992-03-04 1996-10-15 Nec Corporation Memory card having two types of memory integrated circuits connected to two different shaped connectors
US20040029421A1 (en) * 2001-11-23 2004-02-12 Power Quotient International Co., Ltd. Low height USB interface connecting device and a memory storage apparatus thereof
US6524137B1 (en) * 2002-03-15 2003-02-25 Carry Computer Eng. Co., Ltd. Integral multiplex adapter card
CN1549147A (en) * 2003-05-15 2004-11-24 群联电子股份有限公司 Memory storage device control system with double interfaces
WO2005062157A1 (en) * 2003-12-19 2005-07-07 Kabushiki Kaisha Toshiba Electronic device, unit driving apparatus, and method for controlling interface of unit driving apparatus
CN1584816A (en) * 2004-06-03 2005-02-23 瑞程科技股份有限公司 Storing card with multi-interfae function and transmitting mode selective method
CN1881195A (en) * 2005-06-13 2006-12-20 希旺科技股份有限公司 Method and system for selecting communication protocol

Also Published As

Publication number Publication date
CN1873635A (en) 2006-12-06

Similar Documents

Publication Publication Date Title
CN102662897B (en) Mobile terminal and data interaction method between mobile terminals
CN101377765B (en) Receptacles for removable electrical interface devices
KR100589227B1 (en) Apparatus capable of multi-interfacing memories and interfacing method of the same
US20050279839A1 (en) Circuit module and memory card kit compliant with various access protocols
JP2008016032A (en) Smart card, data communication method and system thereof
JP2013515992A (en) USB3.0 support on mobile platforms with USB2.0 interface
KR20070087369A (en) Smart card and smart card system supporting plurality of interfaces
CN100422973C (en) Controller with dual interfaces based on single chip
US20080120454A1 (en) Integrated hub control chip
CN102081586A (en) Multiple I2C (Inter-IC) slot circuit system and method for transmitting I2C signal
CN100447700C (en) Multi-function portable device for electronic processors
EP2304729B1 (en) Memory card adapter
CN201820218U (en) Host system and data transmission circuit
WO2016026468A1 (en) Identification card
TWI492042B (en) Multi-function integrated device and operating method thereof
JP4915231B2 (en) Device having a function of outputting a monitored state, and computer equipment
CN102831450A (en) Method and system for reading and writing SD card (Secure Digital Memory Card) based on ISO/IEC7816-3 interface
KR20080000559A (en) Low-power solid state storage controller for cell phones and other portable appliances
CN205427884U (en) Smart card array device
CN101883176A (en) Expansion card processing method, device and mobile terminal
CN102436571A (en) Wireless storage card reader
WO2012009996A1 (en) Memory device and smart-phone system
KR100882207B1 (en) Memory card including connector for other memory card independently interfacing host using MMC protocol
CN102253809A (en) Composite memory card and control method thereof
CN101754448A (en) Dual-core intelligent card for mobile communication and data transmission and processing method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Free format text: FORMER OWNER: CHU CHUANREN

Effective date: 20141222

Owner name: HANGZHOU SAGE MICROELECTRONICS CO., LTD.

Free format text: FORMER OWNER: LUO JIANJUN

Effective date: 20141222

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 310012 HANGZHOU, ZHEJIANG PROVINCE TO: 311200 HANGZHOU, ZHEJIANG PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20141222

Address after: Hangzhou City, Zhejiang province 311200 Xiaoshan District Road No. 66 Building No. 1 building 22 layer Huarui Center

Patentee after: Hangzhou Sage Microelectronics Technology Co., Ltd.

Address before: 310012 Zhejiang city of Hangzhou province Gongshu District Da Guan Yuan Xi San Yuan 12 Building 1 unit 301 room

Patentee before: Luo Jianjun

Patentee before: Chu Chuanren

C56 Change in the name or address of the patentee

Owner name: HANGZHOU SAGE MICROELECTRONICS, CORP.

Free format text: FORMER NAME: HANGZHOU SAGE MICROELECTRONICS CO., LTD.

CP03 Change of name, title or address

Address after: Hangzhou City, Zhejiang province 311200 building Xiaoshan District Road No. 66 Building No. 22 Huarui Center 1

Patentee after: SAGE MICROELECTRONICS CORP.

Address before: Hangzhou City, Zhejiang province 311200 Xiaoshan District Road No. 66 Building No. 1 building 22 layer Huarui Center

Patentee before: Hangzhou Sage Microelectronics Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081001

Termination date: 20190529

CF01 Termination of patent right due to non-payment of annual fee