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

Controller with dual interfaces based on single chip Download PDF

Info

Publication number
CN1873635A
CN1873635A CN 200610051723 CN200610051723A CN1873635A CN 1873635 A CN1873635 A CN 1873635A CN 200610051723 CN200610051723 CN 200610051723 CN 200610051723 A CN200610051723 A CN 200610051723A CN 1873635 A CN1873635 A CN 1873635A
Authority
CN
China
Prior art keywords
mmc
interface
usb
controller
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.)
Granted
Application number
CN 200610051723
Other languages
Chinese (zh)
Other versions
CN100422973C (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

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The invention discloses a double interface controller on single chip, integrating USB read-card drive module and SD/MMC controller module on single chip, USB read-card drive module and SD/MMC controller module are also connected with interface mediation circuit, a data bus select switch between USB read-card drives module and SD/MMC controller module, and USB read-card drives setup USB interface communicating with USB host computer, SD/MMC controller module setups SD/MMC interface communicating with SD/MMC host computer and FLASH interface communicated with FLASH disk. The invention has double-interface control and transmission functions to use SD/MMC control system, and USB control system. To use the card made up of double-interface controller, it is possible to connect PC and other USB equipment instead of the 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 (5)

1. controller with dual interfaces based on single-chip, it is characterized in that: integrated USB card reader module (1) and SD/MMC controller module (2) on single-chip, USB card reader module (1) and SD/MMC controller module (2) all insert interface arbitration circuit (3), be connected with data bus selector switch (4) between USB card reader module (1) and the SD/MMC controller module (2), corresponding USB card reader module (1) is provided with the USB interface (5) with extraneous usb host communication, corresponding SD/MMC controller module (2) is provided with the SD/MMC interface (6) with extraneous SD/MMC host communication, and be provided with FLASH interface (7) with the FLASH communication, after controller with dual interfaces powered on, by interface arbitration circuit (3) judgment task interface type, control data bus selection switch (4) is connected the communication between extraneous main frame and corresponding path realization working host and FLASH.
2. the controller with dual interfaces based on single-chip as claimed in claim 1 is characterized in that: 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.
3. the controller with dual interfaces based on single-chip as claimed in claim 1, it is characterized in that: described USB card reader module (1) possesses the function of general card reader, detect USB interface (5) state, USB interface (5) is when starting working, and USB card reader module (1) sends a pilot signal to interface arbitration circuit (3).
4. the controller with dual interfaces based on single-chip as claimed in claim 1, it is characterized in that: described SD/MMC controller module (2) possesses the function of general SD/MMC controller chip, detect SD/MMC interface (6) state, SD/MMC interface (6) is when starting working, and SD/MMC controller module (2) sends a pilot signal to interface arbitration circuit (3).
5. the controller with dual interfaces based on single-chip as claimed in claim 1 is characterized in that: 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, interface arbitration circuit (3) received the pilot signal of USB card reader module (1) or SD/MMC controller module (2) transmission, judgment task interface type;
(2) if the pilot signal that receives is to be produced by USB card reader module (1), judge that then USB interface (5) is used, interface arbitration circuit (3) is connected the data bus 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 SD/MMC controller module (2) communication by interface arbitration circuit (3) connection, SD/MMC controller module (2) is realized the read-write operation of usb host to FLASH by FLASH interface (7) and FLASH communication simultaneously;
(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, interface arbitration circuit (3) is connected the data bus 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 realized the read-write operation of SD/MMC main frame to FLASH by FLASH interface (7) and FLASH communication simultaneously.
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 true CN1873635A (en) 2006-12-06
CN100422973C 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)

Cited By (3)

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

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05250864A (en) * 1992-03-04 1993-09-28 Nec Corp Memory card
US6744634B2 (en) * 2001-11-23 2004-06-01 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
JP2005182462A (en) * 2003-12-19 2005-07-07 Toshiba Corp Electronic appliance, unit driving device and method for controlling interface of unit driving device
CN1331037C (en) * 2004-06-03 2007-08-08 旺玖科技股份有限公司 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

Cited By (5)

* 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
CN101937414A (en) * 2010-08-26 2011-01-05 惠州Tcl移动通信有限公司 Method and device of sharing minitype USB interface for UART (Universal Asynchronous Receive/Transmitter) and USB (Universal Serial Bus)
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)
CN105573947A (en) * 2014-10-13 2016-05-11 北京自动化控制设备研究所 APB (Advanced Peripheral Bus) based SD/MMC (Secure Digital/ MultiMedia Card) control method
CN105573947B (en) * 2014-10-13 2018-10-26 北京自动化控制设备研究所 A kind of SD/MMC card control methods based on APB buses

Also Published As

Publication number Publication date
CN100422973C (en) 2008-10-01

Similar Documents

Publication Publication Date Title
CN101604301B (en) Use of bond option to alternate between pci configuration space
RU2530337C1 (en) Usb-switch device and connection method of smart card by means of usb interface
CN102231129B (en) Multi-layer advanced high-performance bus (AHB) architecture system on chip (SoC) monitoring and debugging system and method based on serial port
KR100589227B1 (en) Apparatus capable of multi-interfacing memories and interfacing method of the same
JP2013515992A (en) USB3.0 support on mobile platforms with USB2.0 interface
CN1906625A (en) Efficient connection between modules of removable electronic circuit cards
WO2008046349A1 (en) Method for integrating multiple data transmission interfaces on smart card and novel smart card
US20080120454A1 (en) Integrated hub control chip
CN1873635A (en) Controller with dual interfaces based on single chip
CN1661586A (en) PC104 embedded type computer based on ARM
CN101208673A (en) Techniques for providing communications in a data storage system using a single IC for both storage device communications and peer-to-peer communications
EP2304729B1 (en) Memory card adapter
CN101251831B (en) Mobile memory supporting master-salve equipment interchange and method of master-salve equipment interchange
CN1804780A (en) Adaptive memory card compatible to SD and MMC standard
US20050173529A1 (en) Multi-card data transfer device
CN2826496Y (en) Bus soft extending computer
CN1180357C (en) Method for increasing bridging efficiency in multiple bus system and multiple port PCI bridge structure
CN200947209Y (en) Multi-functional read-write equipment
CN1300670C (en) Multiple CPU storage card sharing device
CN101441725A (en) Control mechanism for multifunctional chip
CN1290016C (en) Device used in internal circuit simulator system and its internal storage access method
CN215450217U (en) Image processing module
CN2601434Y (en) Memory card
CN2869991Y (en) Device for controlling SD card interface
CN1459723A (en) Double interface switchover device of storage card

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