[go: up one dir, main page]

CN1991690A - USB external master-salve interface module - Google Patents

USB external master-salve interface module Download PDF

Info

Publication number
CN1991690A
CN1991690A CN 200510135470 CN200510135470A CN1991690A CN 1991690 A CN1991690 A CN 1991690A CN 200510135470 CN200510135470 CN 200510135470 CN 200510135470 A CN200510135470 A CN 200510135470A CN 1991690 A CN1991690 A CN 1991690A
Authority
CN
China
Prior art keywords
usb
interface
data
salve
port
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.)
Pending
Application number
CN 200510135470
Other languages
Chinese (zh)
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.)
Yin Guangyu
Original Assignee
Beijing Qinghua Resource Science & Technology Co Ltd
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 Beijing Qinghua Resource Science & Technology Co Ltd filed Critical Beijing Qinghua Resource Science & Technology Co Ltd
Priority to CN 200510135470 priority Critical patent/CN1991690A/en
Publication of CN1991690A publication Critical patent/CN1991690A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

A USB external master-salve interface module is disclosed that includes microprocessor MCU, display interface U2, external display device J, USB master-salve interface USB1 and USB2, USB controller U4, USB master-salve mode controlling diode Q, read-write display LED1, and data memory U3. The characteristics are those the IO data port of microprocessor MCU is connected with the data port of data buffer U1 and data memory U3 via parallel ports, the IO port is connected with D0-D7 data port of USB controller U4, and the other IO control ports are connected with the chip selection port, read-write port RD, WR, address port AO and read-write port of data memory U3 of USB controller U4.

Description

The USB external master-salve interface module
Technical field
A kind of can be used as from system connects, can be used as again the circumscribed USB interface module that " IT " such as USB main system and USB flash disk, printers carries out exchanges data with computer.Application relates to mobile phone, notebook and desktop computer and other " IT " product, belongs to the information equipment technical field.
Technical background
Recent years, " IT " product with USB interface is more and more, for example MP3, MP4, digital camera, printer, USB flash disk, flash memory disk or the like.But this kind equipment all be USB from system, use and can only communicate by letter with computing machine (USB of computing machine is the bus main system), can not interconnect each other from system.In some automatic control systems of being made up of many independent monolithic machines, owing to can not read and write portability storer such as USB flash disk one class, so the data acquisition in the system, debugging are just very difficult.And as the product of this class of mobile phone owing to do not possess USB interface, during with compunication, use data line, the special software of this mobile phone also must be installed on the computing machine, the trouble of ten minutes more can not interconnect with other " IT ", so many functions of mobile phone can not be brought into play in the operation.
Summary of the invention
Purpose of the present invention provides a kind of USB main system that promptly can be used as and uses, and can be used as the usb interface module device that USB uses from system again.
Technical scheme of the present invention is achieved like this, usb interface module is made up of a microprocessor MCU, large capacity data memory, metadata cache, USB controller, the master and slave interface of standard USB, it is characterized in that: the IO data port of microprocessor MCU, by the parallel port be connected with metadata cache reservoir, data-carrier store data port, other IO mouth is connected with the D0-D7 data port of USB controller U4, remaining IO control mouth respectively with sheet choosing mouthful CS, the access hole RD of USB controller U4, WR, address wire mouth AO connects; Enabling mouth with the read-write of control store U3 again is connected; Differential data mouth D+, D-on the USB controller U4 are connected (referring to accompanying drawing) with the USB principal and subordinate interface respectively; The USB main interface is the USB1 interface, peripheral hardware that can the hot plug USB interface, and as USB flash disk etc., when the USB peripheral hardware inserted, the USB controller began to read the data in the peripheral hardware, and it is glittering as the operation indication that LED 1 is interrupted; USB is the USB2 interface from interface, can communicate by letter with computing machine or other USB main system; The mode of operation (SET-USB-MODE) of USB controller U4 has determined module to be operated in the USB main system or has been operated in from system; The control of the master slave mode of USB controller U4, be achieved like this, under the general situation, this module acquiescence is operated in USB HOST pattern, this moment is because the reverse isolation effect of diode Q, the A point is an electronegative potential, and promptly the SET-USB-MODE output low level is given MCU, and MCU output control data is put USB controller U4 and is operated in the USB main system; When USB from interface, i.e. USB2 interface among the figure, when being connected with computing machine, in the positive and negative Power Entry Module in the computing machine, cause the A point to present high level, SET-USB-MODE output high level is given MCU, and MCU exports the control corresponding data immediately, with USB controller U4 switch operating at USB from system; On the other hand, from the positive supply of computing machine, because the forward conduction of diode Q makes the work of whole module provide power supply by computing machine or other USB main system; And the battery charge in module, when module was connected with other USB peripheral hardware as main system, module provided power supply by the USB1 interface to peripheral hardware; Module can be connected with display device by the U2 interface on it, also can be connected monitoring read-write process by outer connector J with mobile phone or other equipment with display device; When module was operated in the USB main system, module and peripheral hardware provided electric power by rechargeable battery, also can be connected with external power adapter and power supply is provided by interface J2.After the module microminiaturization, can embed other application system, as embedding in the cell phone system, mobile phone just can be realized directly and compunication, also can read and write the USB peripheral hardware.
Data-carrier store can be EEPROM, also can be Flash class " flash memory " chip.
The invention has the beneficial effects as follows: module is by the USB principal and subordinate interface, can with any computing machine or " IT " interaction with USB interface, use simple.Can embed in the application system, as in mobile phone or the automatic control system as multi-point data acquisition, concentrate or debugging.
Description of drawings
Accompanying drawing is an electrical schematic diagram.
Among the figure, microprocessor MCU, display screen interface U2, external connection display equipment J, USB main interface USB1, USB be from interface USB2, USB master slave mode switching signal SET-USB-MODE, data-carrier store U3, cache interface U1, USB controller U4, USB master slave mode control diode Q, read-write shows LED1, and system adjusts button K1-K3.
Embodiment
Accompanying drawing is a usb interface module embodiment electrical schematic diagram, by microprocessor MCU, display screen interface U2, external connection display equipment J, USB main interface USB1, USB be from interface USB2, USB master slave mode switching signal SET-USB-MODE, data-carrier store U3, cache interface U1, USB controller U4, USB master slave mode control diode Q, read-write shows LED1, and system adjusts button K1-K3 and forms.Its principle of work is, the IO data port of microprocessor MCU, by the parallel port be connected with metadata cache, memory data mouth, other IO mouth is connected with the D0-D7 data port of USB controller U4, other IO control mouth, sheet with USB controller U4 selects mouthful CS, an access hole RD respectively, WR, address wire AO connects; Enabling mouth with the read-write of control store U3 again is connected; Differential data mouth D+, D-on the USB controller U4 is connected with data terminal in the master and slave interface of USB respectively; The USB main interface is the USB1 interface, can the hot plug USB flash disk etc. the USB peripheral hardware, when the USB peripheral hardware inserted, the USB controller began to read the data in the peripheral hardware, LED 1 is interrupted glitteringly indicates as read-write operation.USB is the USB2 interface from interface, when the USB interface with computing machine or other USB main system is connected, just becomes the USB peripheral hardware.The mode of operation (SET-USB-MODE) of USB controller U4, determined module to be operated in the USB main system or be operated in from system, the realization of the master slave mode of USB controller U4, control like this: under the general situation, this module acquiescence is operated under the USBHOST pattern, diode Q connects VDD and A point, because the buffer action of diode Q, A point current potential is a low level, be that the SET-USB-MODE output low level is given MCU, MCU exports control data (schema code is 04H), puts USB controller U4 and is operated in the USB main system; When USB from interface, when promptly the USB2 interface among the figure is connected with computing machine, power supply in the computing machine is input in the module, so the A point presents high level, SET-USB-MODE output high level is given MCU, MCU exports control corresponding data (schema code is 00H) immediately, with USB controller U4 switch operating at USB from system; On the other hand, the positive supply that computing machine comes is because the forward conduction of diode Q, make the work of module provide power supply by computing machine or other USB main system, and the battery charge in module, when module was connected with other USB peripheral hardware as main system, module provided power supply by the USB1 interface to peripheral hardware.Module can be connected with display device by the U2 interface on it in the read-write process, also can be connected with mobile phone or other equipment with display device by outer connector J, shows the read-write process.When module was operated in the USB main system, module and peripheral hardware provided electric power by rechargeable battery, also can be connected with external power adapter and power supply is provided by the J2 socket.After the module microminiaturization, can embed other application system, as embedding in the cell phone system, mobile phone just can be realized directly and compunication and read-write USB peripheral hardware; Or in the single-chip microcomputer that connects the control point in the embedding automatic control system, make things convenient for the collection of data.

Claims (6)

1, a kind of USB external master-salve interface module, by microprocessor MCU, display screen interface U2, external connection display equipment J, USB principal and subordinate interface USB1, USB2, USB controller U4, USB master slave mode control diode Q, read-write shows LED1, compositions such as data-carrier store U3, the IO data port that it is characterized in that microprocessor MCU is by parallel port and data buffer U1, the data port of data-carrier store U3 connects, the IO mouth is connected with the D0-D7 data port of USB controller U4, other IO control mouth respectively with the sheet choosing mouthful CS of USB controller U4, access hole RD, WR, the read-write of address mouth AO and storer U3 enables a mouthful connection.
2, USB external master-salve interface module according to claim 1 is characterized in that differential data mouth D+, the D-on the USB controller U4 is connected with data terminal in the USB principal and subordinate interface respectively, and control mouthful is connected with read-write demonstration LED1.
3, USB external master-salve interface module according to claim 1 is characterized in that the module acquiescence is operated under the USB HOST pattern, and diode Q connects VDD and A point, and module provides power supply by the USB1 interface to peripheral hardware.
4, USB external master-salve interface module according to claim 1, when it is characterized in that the USB2 interface is connected with computing machine, diode Q forward conduction, the A point presents high level, and SET-USB-MODE exports high level.
5, USB external master-salve interface module according to claim 1 is characterized in that module can be connected with display device by the U2 interface, also can be connected with mobile phone or other equipment with display device by outer connector J.
6, USB external master-salve interface module according to claim 1 is characterized in that chargeable battery is arranged on the module, and is connected with external power adapter by interface J2.
CN 200510135470 2005-12-31 2005-12-31 USB external master-salve interface module Pending CN1991690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510135470 CN1991690A (en) 2005-12-31 2005-12-31 USB external master-salve interface module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510135470 CN1991690A (en) 2005-12-31 2005-12-31 USB external master-salve interface module

Publications (1)

Publication Number Publication Date
CN1991690A true CN1991690A (en) 2007-07-04

Family

ID=38213980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510135470 Pending CN1991690A (en) 2005-12-31 2005-12-31 USB external master-salve interface module

Country Status (1)

Country Link
CN (1) CN1991690A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102568118A (en) * 2011-12-30 2012-07-11 常州大学 USB (Universal Serial Bus) data download interface based on embedded POS (Point of Sales) machine
CN102880241A (en) * 2012-09-05 2013-01-16 深圳宝龙达信息技术股份有限公司 Flat computer with second display function and method for realizing same
CN103177208A (en) * 2011-12-26 2013-06-26 国民技术股份有限公司 Intelligent password key
CN103886793A (en) * 2014-03-19 2014-06-25 安徽福讯信息技术有限公司 Full plug-in interchangeable single chip microcomputer development board
CN104021101A (en) * 2014-05-09 2014-09-03 深圳市汇川控制技术有限公司 USB interface system and implementation method based on LPC1768 platform

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177208A (en) * 2011-12-26 2013-06-26 国民技术股份有限公司 Intelligent password key
CN102568118A (en) * 2011-12-30 2012-07-11 常州大学 USB (Universal Serial Bus) data download interface based on embedded POS (Point of Sales) machine
CN102880241A (en) * 2012-09-05 2013-01-16 深圳宝龙达信息技术股份有限公司 Flat computer with second display function and method for realizing same
CN102880241B (en) * 2012-09-05 2015-10-21 合肥宝龙达信息技术有限公司 A kind of panel computer and its implementation with second display function
CN103886793A (en) * 2014-03-19 2014-06-25 安徽福讯信息技术有限公司 Full plug-in interchangeable single chip microcomputer development board
CN104021101A (en) * 2014-05-09 2014-09-03 深圳市汇川控制技术有限公司 USB interface system and implementation method based on LPC1768 platform

Similar Documents

Publication Publication Date Title
CN105891764A (en) Watt-hour meter data intelligent reading-writing device and watt-hour meter data intelligent reading-writing method based on Bluetooth communication
CN101957802B (en) USB device with driving program
CN102402704B (en) Compound multifunctional IC card reader-writer
CN1991690A (en) USB external master-salve interface module
CN202584143U (en) A read-only card reader with multiple interfaces
CN201021932Y (en) Power meter based on USB host technology
CN201084144Y (en) USB free access channel
CN210639458U (en) Device for converting network interface of numerical control machine tool into USB interface
CN201425723Y (en) Dual hard disk power circuit switch
CN204613818U (en) A Handheld Terminal Based on COM-Express Module
CN201936293U (en) Numerical control program transmission device based on singlechip and USB flash disk
CN201130372Y (en) Hard disk external circuit as well as hard disk apparatus using the same
CN203800659U (en) Card type mobile power source with card (SD card) reading function
CN201869223U (en) Machine to machine terminal, communication module and data sending device
CN203013264U (en) Device used for realizing information exchange between USB interface storage and SD card
CN110163020B (en) Sensor data read-write device and read-write method thereof
CN201828940U (en) Non-contact intelligent circuit (IC) card with display function
CN209765505U (en) A sensor data reading device
CN206421181U (en) A kind of multi-purpose data acquisition processing device based on ARM
CN206331792U (en) It is a kind of to show the USB flash disk of residual capacity
CN223065422U (en) General test platform of touch display screen based on GD32 singlechip
CN103605624A (en) Communication device
CN221125247U (en) Storage circuit of battery management system
CN201742450U (en) Mobile phone with A-type USB port
CN101094464A (en) Device and method for handset to manage files in U disk

Legal Events

Date Code Title Description
C06 Publication
C41 Transfer of patent application or patent right or utility model
PB01 Publication
TA01 Transfer of patent application right

Effective date of registration: 20070511

Address after: Room 5, building 2038, Everbright house, No. 2, Zong Zong Road, Haidian District, Beijing

Applicant after: Yin Guangyu

Address before: Beijing city Haidian District Wangzhuang Road No. 1 building, Tsinghua Tongfang technology B block 10 layer 1008

Applicant before: Beijing Qinghua Resource Science & Technology Co., Ltd.

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication