US20050249143A1 - Interface integrated circuit device for a usb connection - Google Patents

Interface integrated circuit device for a usb connection Download PDF

Info

Publication number
US20050249143A1
US20050249143A1 US10/528,474 US52847405A US2005249143A1 US 20050249143 A1 US20050249143 A1 US 20050249143A1 US 52847405 A US52847405 A US 52847405A US 2005249143 A1 US2005249143 A1 US 2005249143A1
Authority
US
United States
Prior art keywords
usb
interface
host
integrated circuit
controller
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
US10/528,474
Other versions
US7752342B2 (en
Inventor
Chee Tee
Rajeev Mehtani
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.)
Future Link Systems LLC
Original Assignee
Koninklijke Philips Electronics NV
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 Koninklijke Philips Electronics NV filed Critical Koninklijke Philips Electronics NV
Assigned to KONINKLIJKE PHILIPS ELECTRONICS N.V. reassignment KONINKLIJKE PHILIPS ELECTRONICS N.V. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: MEHTANI, RAJEEV, TEE, CHEE Y.
Publication of US20050249143A1 publication Critical patent/US20050249143A1/en
Assigned to NXP B.V. reassignment NXP B.V. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: KONINKLIJKE PHILIPS ELECTRONICS N.V.
Application granted granted Critical
Publication of US7752342B2 publication Critical patent/US7752342B2/en
Assigned to PARTNERS FOR CORPORATE RESEARCH INTERNATIONAL reassignment PARTNERS FOR CORPORATE RESEARCH INTERNATIONAL ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: NXP B. V.
Assigned to FUTURE LINK SYSTEMS reassignment FUTURE LINK SYSTEMS ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: PARTNERS FOR CORPORATE RESEARCH INTERNATIONAL
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4009Coupling between buses with data restructuring
    • G06F13/4018Coupling between buses with data restructuring with data-width conversion

Definitions

  • the invention relates to an interface integrated circuit device for interfacing a USB connection to a further circuit.
  • USB is a popular bus for interfacing peripheral apparatuses to a PC (Personal Computer).
  • USB terminology defines apparatuses either as “host” or as “device”.
  • one of the apparatuses (normally the PC) functions as “host” and the other apparatuses fumctions as “device”.
  • Communication is routed between the apparatus that functions as host and one of the apparatuses that simultaneously function as device.
  • the apparatus that functions as host controls which apparatuses communicate and when.
  • USB apparatuses with integrated circuits a number of approaches have traditionally been followed.
  • both the functional circuit of the apparatus which performs some function that is available via the bus, e.g. a digital camera function
  • the USB interface are completely integrated in the same integrated circuit.
  • a functional circuit is augmented with a separate integrated circuit that is used as USB controller.
  • the USB controller handles the entire USB protocol and the fimctional circuit interfaces to the USB controller integrated circuit via some standard intra-apparatus interface, such as a memory mapped interface that uses parallel address and data lines.
  • some standard intra-apparatus interface such as a memory mapped interface that uses parallel address and data lines.
  • a separate transceiver integrated circuit is used.
  • most of the USB controller function is integrated with the functional circuits, and only the analog signal handling required for USB communication is handled by the transceiver integrated circuit (as used here the word “analog” refers to signal aspects that cannot be fully described by assuming that the signals represent either the number one or the number zero).
  • the most signal critical aspects of USB communication are handled by the transceiver. This reduces the severity of the signal handling requirements that must be imposed on the integrated circuit that contains the functional circuits and the controller. Thus, a standard digital circuit can be used for that integrated circuit.
  • a digital camera with such a capability may be used both as a device that functions as peripheral to a PC and as a host that can interface to a printer with a USB device interface.
  • the transceiver integrated circuit has been expanded to become a so-called OTG (On The Go) transceiver that has a USB interface, a host controller interface and a slave controller interface for connection to host and device controllers respectively.
  • OTG On The Go
  • the USB connection can be interfaced to conventional host and device controllers to control sequencing of USB communication.
  • the host and device controllers have been integrated with the transceiver circuit, the integrated circuit providing an intra-apparatus standard interface for connection to functional circuits.
  • the integrated circuit controls sequencing of USB communication during both host and device operation.
  • Existing functional circuits which are not specific to USB can be readily interfaced to a USB system via the standard interface (e.g. memory mapped) to make an apparatus function selectably as host or as device.
  • integrated circuits can be specifically designed to include both the transceiver, the host controller, the device controller and the functional circuits in an apparatus that can function both as host and as device.
  • USB apparatuses that are capable of functioning both as host and as device and that more fully use existing circuits that provide a USB device controller.
  • the invention provides an integrated circuit according to claim 1 .
  • This integrated circuit includes a transceiver circuit and a USB host controller with a standard interface for use inside an apparatus, but with a connection for an external USB device controller. That is, for the host function the integrated circuit acts as a complete USB interface, whereas for the device function it provides for mere transceiver functionality between its external terminals.
  • functional circuits with built-in device controller and a standard intra-apparatus bus can be interfaced to a USB bus via the integrated circuit both as host and as device.
  • the integrated circuit supports the novel architectural concept in which two access paths from a functional circuit to the USB connection exist, i.e. a first path that passes only USB device compatible signals and a second path, parallel to the first path, that provides a non-USB standard interface for generating USB host compatible signals.
  • the device interface that is connected to the external terminals of the integrated circuit is composed of at least two interfaces, comprising an external analog interface (in the sense that a USB transceiver is needed between this interface and the device controller and a digital interface (in the sense that no transceiver is needed between this interface and the device controller).
  • an external analog interface in the sense that a USB transceiver is needed between this interface and the device controller
  • a digital interface in the sense that no transceiver is needed between this interface and the device controller.
  • FIG. 1 schematically shows an integrated circuit according to the invention
  • FIG. 2 shows a USB system
  • FIG. 3 shows a further USB system.
  • FIG. 1 schematically shows an interface integrated circuit 10 with a USB connection D+, D ⁇ , Vbus, a memory mapped interface 160 and USB device controller interfaces 140 , 142 , 144 coupled to external terminals of interface integrated circuit 10 .
  • interface integrated circuit 10 preferably has power supply connections, a reset connection and an input for generating clock signals.
  • Interface integrated circuit 10 contains a USB host controller 12 , an OTG USB transceiver 14 , a CPU bus interface unit 16 and OTG (“On The Go”) control circuitry 18 .
  • the data lines D+, D ⁇ of the USB connection are coupled to transceiver 14 .
  • OTG control circuitry 18 is coupled between USB host controller 12 and transceiver 14 .
  • OTG control circuitry 18 contains a charge pump circuit (not shown) coupled to USB line Vbus, and an input coupled to OTG-USB line ID.
  • OTG control circuitry 18 contains registers for storing status information and control bits for executing the OTG-USB host negotiation protocol and the USB session request protocol.
  • USB host controller 12 is coupled to memory mapped interface 160 via CPU bus interface unit 16 .
  • Transceiver 14 is coupled to USB device controller interfaces 140 , 142 , 144 .
  • Interface integrated circuit 10 contains a clock circuit 120 and a buffer memory circuit coupled to USB-host controller 12 .
  • Memory mapped bus interface 160 contains parallel bi-directional data lines 163 , address lines 164 , read/write control lines 165 , 166 and an interrupt line 168 coupled to external terminals of interface integrated circuit 10 and CPU bus interface unit 16 .
  • Interface integrated circuit 10 provides an interface to a USB connection that may be used alternately for providing USB host functionality and USB device functionality at the USB connection D+, D ⁇ , Vbus.
  • the ID line is used to signal to interface integrated circuit 10 whether operation as USB Host is required or operation as USB device is required.
  • interface integrated circuit 10 uses internal USB host controller 12 to control USB communication.
  • interface integrated circuit 10 routes USB communication, preferably after some signal processing, to USB device controller interfaces 140 , 142 , 144 leaving USB control to circuits (not shown) outside interface integrated circuit 10 .
  • FIG. 2 shows a USB system in which device functionality is provided.
  • the USB system contains a first apparatus 22 (e.g. a digital camera) that functions as a USB device, and a second apparatus 24 (e.g. a PC) that functions as a USB host device.
  • First apparatus 22 contains interface integrated circuit 10 , which is shown in FIG. 1 , and a functional integrated circuit 20 .
  • Second apparatus 24 has a number of USB ports 26 a - c (only a single line being shown to symbolize connection to each port 26 a - c for the sake of clarity), one of which, here 26 a , is coupled to first apparatus 22 via the USB connection of interface integrated circuit 10 .
  • the other ports 26 b - c may be coupled to other apparatuses (not shown).
  • Functional integrated circuit 20 contains a CPU 200 , a USB device controller 202 and functional circuit 204 for performing some function (such as sampling and/or storing pixel values of camera images).
  • USB device controller 202 is coupled between CPU 200 and the USB device interface of interface integrated circuit 10 .
  • Functional circuit 204 is also coupled to CPU 200 .
  • CPU 200 is coupled to memory mapped interface 160 .
  • memory mapped interface 160 may be coupled to other units, such as an instruction memory (not shown), a data memory (not shown), functional circuit 204 and device controller 202 etc.
  • functional integrated circuit 20 may be an integrated circuit designed to function as a conventional USB device, i.e. not as an OTG apparatus that can be both USB host and USB device.
  • a conventional functional integrated circuit can be used in an apparatus 22 that supports OTG, i.e. that can function both as USB host and as USB device.
  • FIG. 2 functioning as USB device is illustrated.
  • second apparatus 24 functions as a USB host, selecting via which of the ports 26 a - c USB communication should take place and controlling whether and in which direction first apparatus 22 receives or transmits data.
  • Transceiver 14 is a conventional USB-OTG transceiver (USB On The Go), which is known per se and which receives and transmits USB signals between device controller 202 and second apparatus 24 .
  • Transceiver 14 in interface integrated circuit 10 handles “analog” signal processing of the USB signals, such as analog detection of the presence of the host (second apparatus 24 ), sampling conversion between differential signals on data lines D+, D ⁇ into single ended digital signals etc., as well as conversion of single ended signals from device controller 202 into USB signals upon transmission to host apparatus 24 .
  • An example of a combination of signal lines that may be used for communication between transceiver 14 and USB device controller 202 is:
  • the VM and VP lines (which are output lines from interface integrated circuit) reflect single ended values of the D ⁇ and D+lines of the USB connection. These signal lines may be controlled to operate in a selected one of a number of modes, under the control of the content of a mode selection register (not shown) in interface integrated circuit 10 .
  • the modes included differential USB signaling modes (VP_YM) and single ended signaling modes (DATSE), and unidirectional bi-directional modes.
  • DAT_SE0 the DAT_VP, SE0_VM lines are used as follows.
  • a second mode VP_V , the DAT_VP, SE0_VM and RCV pins are used as follows.
  • the RCV pin is always an output, and comes from a differential receiver (not shown) in the transceiver circuit.
  • DAT_VP and SEO_VM In the unidirectional modes DAT_VP and SEO_VM always are inputs of interface integrated circuit 10 . In the bi-directional modes the direction of these signals (input or output) depends on the value of OE_TP_INT_N (as described for the first and second mode).
  • a UART (Universal Asynchronous Receiver/Transmitter) interface mode may be used, in which DAT_VP and SE0_VP are used as receive (RXD) line and transmit line (TXD) line respectively.
  • device controller 202 which is a conventional USB device controller, processes these signals and communicates with CPU 200 in order to communicate data and or commands from host apparatus 24 or to obtain data that has to be sent to host apparatus 24 .
  • the connection between functional integrated circuit 20 and interface integrated circuit 10 via memory mapped interface 160 need not be used during operation as device apparatus. All communication for the USB connection passes via device controller 202 through device controller interface 140 in this case.
  • FIG. 3 shows how first apparatus 22 may be used as USB host.
  • the USB connection of interface integrated circuit 10 is coupled to a USB interface 32 of a third apparatus 30 that functions as USB device.
  • CPU 200 in functional integrated circuit 20 writes or reads information to or from host controller 12 via memory mapped interface 160 , when a computer program executed by CPU 200 indicates that data or commands have to be written or read.
  • Host controller 12 , OTG USB transceiver 14 and OTG (“On The Go”) control circuitry 18 communicate data and commands via the USB connection of interface integrated circuit 10 as a USB host. This may be done in a way that is known per se.
  • Host controller 12 controls scheduling.
  • OTG control circuitry 18 activates the charge pump and supplies supply power to the Vbus line of the USB connection of the interface integrated circuit (substantially no such power is supplied when operating as USB device). When operating as USB host, device controller interface 140 need not be used. All information for communication via the USB connection passes between functional integrated circuit 20 and interface integrated circuit 10 via memory mapped interface 160 .
  • the interface integrated circuit realizes a hybrid interface, with a controller function for part of the possible communication and merely a transceiver function for another part of the possible communication (as USB host and as USB device respectively). Furthermore, for USB communication from one USB connection at least two interfaces between interface integrated circuit 10 and functional integrated circuit 20 are provided, i.e. one dedicated interface to USB device controller 202 in functional integrated circuit 20 and one general purpose interface 160 . Thus, it has been made possible to use a functional integrated circuit 20 alternatively as USB host and as USB device, although the functional integrated circuit has originally been designed to act merely as a USB device and not as a USB host. No additional device controller is needed in interface integrated circuit 10 , which reduces the amount of silicon area needed in interface integrated circuit 10 .
  • interface integrated circuit 10 is preferably also provided with a third interface 142 , 144 that comprises analog USB signal lines 142 , 144 (like D+ and D ⁇ that enable interfacing to a functional integrated circuit with a device controller that is integrated with a USB transceiver).
  • the USB transceiver 14 of interface integrated circuit 10 passes analog signals from USB connection D+, D ⁇ to this interface 142 , 144 in the case of operation as device.
  • interface integrated circuit 10 provides for the use of different types of functional integrated circuits, with and without built-in transceiver for their device controller.
  • interface integrated circuit 10 may be used in combination with functional circuits that are distributed over a greater number of integrated circuits, and that the functional circuits may in fact contain discrete components.
  • the function of device controller 202 may be partly or entirely performed by CPU 200 . In this case CPU 200 communicates USB information either via parallel interface 160 or via dedicated USB interface 140 , or 142 , 144 dependent on the mode of operation (host or device).
  • interface integrated circuit 10 permits the hybrid use of modes with different speeds. USB communication can occur, amongst others, in the so-called full-speed mode and in the so-called high speed mode (the latter being faster). Operation in a given mode requires a host apparatus and a device apparatus that both support operation at the speed of the relevant mode. Interface integrated circuit 10 may be designed to operate as a host in a selectable one of different speed modes, under the control of the functional circuits, and as a device in a mode selected by device controller 202 . Thus, the speed during operation as device and host, respectively, can be selected independently of one another.

Abstract

An electronic apparatus with a USB connection has a functional circuit with a processor, a parallel address data bus couple to the processor and a USB device controller circuit with a USB interface in parallel with said address/data bus. The apparatus contains an interface integrated circuit electronically between the USB connection on one hand and the parallel address/data interface and the USB interface on the other hand. The interface integrated circuit has external terminals for connecting to a USB bus, a transceiver capable of transceiving for both a USB host and a USB device, the transceiver having a USB interface, a host interface and a device interface. The USB interface is coupled to the USB connection. The device interface is connected to the external USB device controller circuit. A host controller is coupled to the host interface, the host controller being coupled to the functional circuits via the parallel data/address bus.

Description

  • The invention relates to an interface integrated circuit device for interfacing a USB connection to a further circuit.
  • USB is a popular bus for interfacing peripheral apparatuses to a PC (Personal Computer). USB terminology defines apparatuses either as “host” or as “device”. In a USB bus system one of the apparatuses (normally the PC) functions as “host” and the other apparatuses fumctions as “device”. Communication is routed between the apparatus that functions as host and one of the apparatuses that simultaneously function as device. The apparatus that functions as host controls which apparatuses communicate and when.
  • In the implementation of USB apparatuses with integrated circuits a number of approaches have traditionally been followed. In one approach both the functional circuit of the apparatus (which performs some function that is available via the bus, e.g. a digital camera function) and the USB interface are completely integrated in the same integrated circuit.
  • In a second implementation approach a functional circuit is augmented with a separate integrated circuit that is used as USB controller. In this approach the USB controller handles the entire USB protocol and the fimctional circuit interfaces to the USB controller integrated circuit via some standard intra-apparatus interface, such as a memory mapped interface that uses parallel address and data lines. This second approach has the advantage that the controllers can be efficiently mass-manufactured for use with different functional circuits.
  • In a third implementation approach, a separate transceiver integrated circuit is used. In this approach most of the USB controller function is integrated with the functional circuits, and only the analog signal handling required for USB communication is handled by the transceiver integrated circuit (as used here the word “analog” refers to signal aspects that cannot be fully described by assuming that the signals represent either the number one or the number zero). In this third approach the most signal critical aspects of USB communication are handled by the transceiver. This reduces the severity of the signal handling requirements that must be imposed on the integrated circuit that contains the functional circuits and the controller. Thus, a standard digital circuit can be used for that integrated circuit.
  • In recent times apparatuses have been developed that can function both as USB host and as USB device. For example, a digital camera with such a capability may be used both as a device that functions as peripheral to a PC and as a host that can interface to a printer with a USB device interface.
  • The known implementation approaches for conventional USB apparatuses that have been mentioned hereinabove have also been applied to such host/device apparatuses. Specifically in the third approach the transceiver integrated circuit has been expanded to become a so-called OTG (On The Go) transceiver that has a USB interface, a host controller interface and a slave controller interface for connection to host and device controllers respectively. With such a transceiver the USB connection can be interfaced to conventional host and device controllers to control sequencing of USB communication.
  • In the second approach the host and device controllers have been integrated with the transceiver circuit, the integrated circuit providing an intra-apparatus standard interface for connection to functional circuits. Thus the integrated circuit controls sequencing of USB communication during both host and device operation. Existing functional circuits which are not specific to USB can be readily interfaced to a USB system via the standard interface (e.g. memory mapped) to make an apparatus function selectably as host or as device. In the first approach, finally, integrated circuits can be specifically designed to include both the transceiver, the host controller, the device controller and the functional circuits in an apparatus that can function both as host and as device.
  • All these approaches have the disadvantage that they fail to fully exploit the availability of existing integrated circuits that provide a USB device controller, but not a USB host controller.
  • Among others, it is an object of the invention to provide USB apparatuses that are capable of functioning both as host and as device and that more fully use existing circuits that provide a USB device controller.
  • Among others, it is another object of the invention to provide an interface integrated circuit that enables existing circuits with a USB device capability to function both as a USB device and as a USB host.
  • The invention provides an integrated circuit according to claim 1. This integrated circuit includes a transceiver circuit and a USB host controller with a standard interface for use inside an apparatus, but with a connection for an external USB device controller. That is, for the host function the integrated circuit acts as a complete USB interface, whereas for the device function it provides for mere transceiver functionality between its external terminals. Thus, functional circuits with built-in device controller and a standard intra-apparatus bus can be interfaced to a USB bus via the integrated circuit both as host and as device. The integrated circuit supports the novel architectural concept in which two access paths from a functional circuit to the USB connection exist, i.e. a first path that passes only USB device compatible signals and a second path, parallel to the first path, that provides a non-USB standard interface for generating USB host compatible signals.
  • In an embodiment the device interface that is connected to the external terminals of the integrated circuit is composed of at least two interfaces, comprising an external analog interface (in the sense that a USB transceiver is needed between this interface and the device controller and a digital interface (in the sense that no transceiver is needed between this interface and the device controller). Thus, the integrated circuit supports both existing circuits with and without built-in transceiver to a device controller.
  • These and other advantageous aspects of the integrated circuit according to the invention will be described in more detail using the following figures.
  • FIG. 1 schematically shows an integrated circuit according to the invention,
  • FIG. 2 shows a USB system,
  • FIG. 3 shows a further USB system.
  • FIG. 1 schematically shows an interface integrated circuit 10 with a USB connection D+, D−, Vbus, a memory mapped interface 160 and USB device controller interfaces 140, 142, 144 coupled to external terminals of interface integrated circuit 10. Furthermore, although not shown, interface integrated circuit 10 preferably has power supply connections, a reset connection and an input for generating clock signals.
  • Interface integrated circuit 10 contains a USB host controller 12, an OTG USB transceiver 14, a CPU bus interface unit 16 and OTG (“On The Go”) control circuitry 18. The data lines D+, D− of the USB connection are coupled to transceiver 14. OTG control circuitry 18 is coupled between USB host controller 12 and transceiver 14. OTG control circuitry 18 contains a charge pump circuit (not shown) coupled to USB line Vbus, and an input coupled to OTG-USB line ID. Furthermore OTG control circuitry 18 contains registers for storing status information and control bits for executing the OTG-USB host negotiation protocol and the USB session request protocol. USB host controller 12 is coupled to memory mapped interface 160 via CPU bus interface unit 16. Transceiver 14 is coupled to USB device controller interfaces 140, 142, 144.
  • Interface integrated circuit 10 contains a clock circuit 120 and a buffer memory circuit coupled to USB-host controller 12. Memory mapped bus interface 160 contains parallel bi-directional data lines 163, address lines 164, read/write control lines 165, 166 and an interrupt line 168 coupled to external terminals of interface integrated circuit 10 and CPU bus interface unit 16.
  • Interface integrated circuit 10 provides an interface to a USB connection that may be used alternately for providing USB host functionality and USB device functionality at the USB connection D+, D−, Vbus. The ID line is used to signal to interface integrated circuit 10 whether operation as USB Host is required or operation as USB device is required. When operation as USB host is required, interface integrated circuit 10 uses internal USB host controller 12 to control USB communication. When operation as USB device is required, interface integrated circuit 10 routes USB communication, preferably after some signal processing, to USB device controller interfaces 140, 142, 144 leaving USB control to circuits (not shown) outside interface integrated circuit 10.
  • FIG. 2 shows a USB system in which device functionality is provided. The USB system contains a first apparatus 22 (e.g. a digital camera) that functions as a USB device, and a second apparatus 24 (e.g. a PC) that functions as a USB host device. First apparatus 22 contains interface integrated circuit 10, which is shown in FIG. 1, and a functional integrated circuit 20. Second apparatus 24 has a number of USB ports 26 a-c (only a single line being shown to symbolize connection to each port 26 a-c for the sake of clarity), one of which, here 26 a, is coupled to first apparatus 22 via the USB connection of interface integrated circuit 10. The other ports 26 b-c may be coupled to other apparatuses (not shown).
  • Functional integrated circuit 20 contains a CPU 200, a USB device controller 202 and functional circuit 204 for performing some function (such as sampling and/or storing pixel values of camera images). USB device controller 202 is coupled between CPU 200 and the USB device interface of interface integrated circuit 10. Functional circuit 204 is also coupled to CPU 200. CPU 200 is coupled to memory mapped interface 160. Within the functional integrated circuit, memory mapped interface 160 may be coupled to other units, such as an instruction memory (not shown), a data memory (not shown), functional circuit 204 and device controller 202 etc.
  • One important aspect of the invention is that functional integrated circuit 20 may be an integrated circuit designed to function as a conventional USB device, i.e. not as an OTG apparatus that can be both USB host and USB device. By connecting this functional integrated circuit 20 to a USB connection via interface integrated circuit 10 such a conventional functional integrated circuit can be used in an apparatus 22 that supports OTG, i.e. that can function both as USB host and as USB device. In FIG. 2 functioning as USB device is illustrated.
  • In operation, second apparatus 24 functions as a USB host, selecting via which of the ports 26 a-c USB communication should take place and controlling whether and in which direction first apparatus 22 receives or transmits data. Transceiver 14 is a conventional USB-OTG transceiver (USB On The Go), which is known per se and which receives and transmits USB signals between device controller 202 and second apparatus 24. Transceiver 14 in interface integrated circuit 10 handles “analog” signal processing of the USB signals, such as analog detection of the presence of the host (second apparatus 24), sampling conversion between differential signals on data lines D+, D− into single ended digital signals etc., as well as conversion of single ended signals from device controller 202 into USB signals upon transmission to host apparatus 24. An example of a combination of signal lines that may be used for communication between transceiver 14 and USB device controller 202 is:
  • OE_Tp_Int_N
  • VM
  • VP
  • RCV
  • SE0_VM
  • DAT_VP
  • The VM and VP lines (which are output lines from interface integrated circuit) reflect single ended values of the D− and D+lines of the USB connection. These signal lines may be controlled to operate in a selected one of a number of modes, under the control of the content of a mode selection register (not shown) in interface integrated circuit 10. The modes included differential USB signaling modes (VP_YM) and single ended signaling modes (DATSE), and unidirectional bi-directional modes. In a first mode (DAT_SE0), the DAT_VP, SE0_VM lines are used as follows.
  • The DAT VP line is used to send single ended data to the transceiver, (when OE_TP_INT_N=low), or to receive single ended data from the transceiver, (when OE_TP_INT-N=high).
  • The SE0_VM pin is used to either force the D+/− outputs of the transceiver to the single ended zero (SE0) state, (when OE_TP_INT_N=low), or to indicate that the D+/− lines are both logic low, (when OE_TP_NT_N=high). In a second mode (VP_V , the DAT_VP, SE0_VM and RCV pins are used as follows.
  • The DAT—VP pin is used to drive the level of the D+ pin, (when OE_TP_INT_N=low), or to indicate the logic level on the D+ pin, (OE_TP_INT N=high).
  • The SE0_VM pin is used to drive the level of the D− pin, (when OE_TP_INT/=low), or to indicate the logic level on the D− pin, (when OE_TP_INT/=high).
  • The RCV pin is always an output, and comes from a differential receiver (not shown) in the transceiver circuit.
  • In the unidirectional modes DAT_VP and SEO_VM always are inputs of interface integrated circuit 10. In the bi-directional modes the direction of these signals (input or output) depends on the value of OE_TP_INT_N (as described for the first and second mode). In addition a UART (Universal Asynchronous Receiver/Transmitter) interface mode may be used, in which DAT_VP and SE0_VP are used as receive (RXD) line and transmit line (TXD) line respectively.
  • In functional integrated circuit 20, device controller 202, which is a conventional USB device controller, processes these signals and communicates with CPU 200 in order to communicate data and or commands from host apparatus 24 or to obtain data that has to be sent to host apparatus 24. The connection between functional integrated circuit 20 and interface integrated circuit 10 via memory mapped interface 160 need not be used during operation as device apparatus. All communication for the USB connection passes via device controller 202 through device controller interface 140 in this case.
  • FIG. 3 shows how first apparatus 22 may be used as USB host. In this case the USB connection of interface integrated circuit 10 is coupled to a USB interface 32 of a third apparatus 30 that functions as USB device. In this case CPU 200 in functional integrated circuit 20 writes or reads information to or from host controller 12 via memory mapped interface 160, when a computer program executed by CPU 200 indicates that data or commands have to be written or read. Host controller 12, OTG USB transceiver 14 and OTG (“On The Go”) control circuitry 18 communicate data and commands via the USB connection of interface integrated circuit 10 as a USB host. This may be done in a way that is known per se. Host controller 12 controls scheduling. OTG control circuitry 18 activates the charge pump and supplies supply power to the Vbus line of the USB connection of the interface integrated circuit (substantially no such power is supplied when operating as USB device). When operating as USB host, device controller interface 140 need not be used. All information for communication via the USB connection passes between functional integrated circuit 20 and interface integrated circuit 10 via memory mapped interface 160.
  • It will now be appreciated that, the interface integrated circuit realizes a hybrid interface, with a controller function for part of the possible communication and merely a transceiver function for another part of the possible communication (as USB host and as USB device respectively). Furthermore, for USB communication from one USB connection at least two interfaces between interface integrated circuit 10 and functional integrated circuit 20 are provided, i.e. one dedicated interface to USB device controller 202 in functional integrated circuit 20 and one general purpose interface 160. Thus, it has been made possible to use a functional integrated circuit 20 alternatively as USB host and as USB device, although the functional integrated circuit has originally been designed to act merely as a USB device and not as a USB host. No additional device controller is needed in interface integrated circuit 10, which reduces the amount of silicon area needed in interface integrated circuit 10.
  • As shown in FIG. 1, interface integrated circuit 10 is preferably also provided with a third interface 142, 144 that comprises analog USB signal lines 142, 144 (like D+ and D− that enable interfacing to a functional integrated circuit with a device controller that is integrated with a USB transceiver). The USB transceiver 14 of interface integrated circuit 10 passes analog signals from USB connection D+, D− to this interface 142, 144 in the case of operation as device. Thus, interface integrated circuit 10 provides for the use of different types of functional integrated circuits, with and without built-in transceiver for their device controller.
  • Although all functional circuits are preferably integrated in fumctional integrated circuit 20, as shown, it should be understood that, without deviating from the invention, interface integrated circuit 10 may be used in combination with functional circuits that are distributed over a greater number of integrated circuits, and that the functional circuits may in fact contain discrete components. Also, the function of device controller 202 may be partly or entirely performed by CPU 200. In this case CPU 200 communicates USB information either via parallel interface 160 or via dedicated USB interface 140, or 142, 144 dependent on the mode of operation (host or device).
  • It should be noted that interface integrated circuit 10 permits the hybrid use of modes with different speeds. USB communication can occur, amongst others, in the so-called full-speed mode and in the so-called high speed mode (the latter being faster). Operation in a given mode requires a host apparatus and a device apparatus that both support operation at the speed of the relevant mode. Interface integrated circuit 10 may be designed to operate as a host in a selectable one of different speed modes, under the control of the functional circuits, and as a device in a mode selected by device controller 202. Thus, the speed during operation as device and host, respectively, can be selected independently of one another.

Claims (6)

1. An interface integrated circuit device for interfacing a USB connection to a further circuit, the interface integrated circuit comprising:
first external terminals for connecting to a USB bus;
a transceiver capable of transceiving for both a USB host and a USB device, the transceiver having a USB interface, a host interface and a device interface, the USB interface being coupled to the first external terminals;
second external terminals coupled to the device interface for connection to an external USB device controller;
a host controller coupled to the host interface, the host controller having a parallel data/address bus;
third external terminals coupled to the parallel data/address bus.
2. An integrated circuit device according to claim 1, wherein the device interface comprises both an analog USB device interface and a transceived digital USB device interface for connection to an external USB device controller without and with an external transceiver, respectively.
3. An electronic apparatus with a USB connection, the electronic apparatus comprising a functional circuit with a processor, a parallel address data bus coupled to the processor and a USB device controller circuit with a USB interface in parallel with said address/data bus, the apparatus comprising an interface integrated circuit electronically between the USB connection on the one hand and the parallel address/data interface and the USB interface on the other hand, the interface integrated circuit comprising:
first external terminals for connecting to the USB connection;
a transceiver capable of transceiving for both a USB host and a USB device, the transceiver having a USB interface, a host interface and a device interface, the USB interface being coupled to the first external terminals;
the device interface being connected to the USB device controller circuit in said functional circuit;
a host controller coupled to the host interface, the host controller being coupled to the processor via the parallel data/address bus.
4. An electronic apparatus according to claim 3, wherein the apparatus is arranged to use USB communication from said host controller via the USB connection in a first speed mode when operating as USB host and to use USB communication via the USB connection in a second speed mode, different from said first speed mode, as determined by the device controller when operating as USB device.
5. An electronic system comprising one or more USB bus connections, a host apparatus and a device apparatus, at least one of the host and the device apparatus comprising a functional circuit with a processor, a parallel address data bus coupled to the processor and a USB device controller circuit with a USB interface in parallel with said address/data bus, the apparatus comprising an interface integrated circuit electronically between the USB connection on the one hand and the parallel address/data interface and the USB interface on the other hand, the interface integrated circuit comprising:
first external terminals for connecting to a USB bus connection;
a transceiver capable of transceiving for both a USB host and a USB device, the transceiver having a USB interface, a host interface and a device interface, the USB interface being coupled to the first external terminals;
the device interface being connected to the external USB device controller circuit;
a host controller coupled to the host interface, the host controller being coupled to the processor via the parallel data/address bus.
6. A method of operating an interface integrated in a USB system, the method comprising:
receiving a selection whether the apparatus containing the interface integrated circuit should operate as a USB host or as a USB device;
transceiving USB signals with a transceiver in the interface integrated circuit;
sequencing USB communication via the transceiver with a host controller in the interface integrated circuit and communicating USB transceived data to or from functional circuits outside the integrated circuit via a parallel address data interface when USB host operation is selected, and
passing USB signals from the transceiver to a device controller in the functional circuits outside the integrated circuit when USB device controller operation is required.
US10/528,474 2002-09-24 2003-09-12 Interface integrated circuit device for a USB connection Active 2027-05-16 US7752342B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
SGPCT/SG02/00240 2002-09-24
SG0200240 2002-09-24
PCT/IB2003/004018 WO2004029814A2 (en) 2002-09-24 2003-09-12 Interface integrated circuit device for a usb connection

Publications (2)

Publication Number Publication Date
US20050249143A1 true US20050249143A1 (en) 2005-11-10
US7752342B2 US7752342B2 (en) 2010-07-06

Family

ID=32041146

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/528,474 Active 2027-05-16 US7752342B2 (en) 2002-09-24 2003-09-12 Interface integrated circuit device for a USB connection

Country Status (9)

Country Link
US (1) US7752342B2 (en)
EP (1) EP1546898B1 (en)
JP (1) JP2006500679A (en)
CN (1) CN100338591C (en)
AT (1) ATE505764T1 (en)
AU (1) AU2003260848A1 (en)
DE (1) DE60336738D1 (en)
TW (1) TWI293216B (en)
WO (1) WO2004029814A2 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040243756A1 (en) * 2003-04-09 2004-12-02 Chanson Lin USB device for decreasing the current at load
US20050091436A1 (en) * 2003-10-24 2005-04-28 Aiping Huang USB dynamic service switch for dual processor architecture
US20050165997A1 (en) * 2004-01-26 2005-07-28 Matsushita Electric Industrial Co., Ltd. Data communication system
US20060106962A1 (en) * 2004-11-17 2006-05-18 Woodbridge Nancy G USB On-The-Go implementation
US20060106954A1 (en) * 2004-11-12 2006-05-18 Woodbridge Nancy G Memory reuse for multiple endpoints in USB device
US20070005859A1 (en) * 2005-06-29 2007-01-04 Diefenbaugh Paul S Method and apparatus to quiesce USB activities using interrupt descriptor caching and asynchronous notifications
US20070033308A1 (en) * 2005-08-03 2007-02-08 Sunplus Technology Co., Ltd. USB apparatus capable of automatically detecting a USB mode and the method thereof
US20110191503A1 (en) * 2010-02-04 2011-08-04 Musa Ibrahim Kakish Motherboard Compatible with Multiple Versions of Universal Serial Bus (USB) and Related Method
US20130232285A1 (en) * 2012-03-05 2013-09-05 Asmedia Technology Inc. Control method of flow control scheme and control module thereof
CN104077260A (en) * 2013-03-29 2014-10-01 华立仪表集团股份有限公司 Concentrator M-BUS host communication interface device
CN105846223A (en) * 2016-04-22 2016-08-10 北京小米移动软件有限公司 USB interface plug and USB interface plug control method and device
CN106201929A (en) * 2016-07-22 2016-12-07 恒宝股份有限公司 A kind of USB interface multiplex circuit and using method
US10198387B2 (en) 2015-06-26 2019-02-05 Samsung Electronics Co., Ltd. Electronic device and method for controlling signal strength according to mode

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7571287B2 (en) 2003-03-13 2009-08-04 Marvell World Trade Ltd. Multiport memory architecture, devices and systems including the same, and methods of using the same
US7644217B2 (en) * 2007-03-02 2010-01-05 Microchip Technology Incorporated Detecting connection to a USB host or hub without using an extra status input
US7577776B2 (en) * 2007-05-14 2009-08-18 Aten International Co., Ltd Multiple virtual USB devices with virtual HUB implemented using one USB device controller
US8234425B1 (en) 2007-06-27 2012-07-31 Marvell International Ltd. Arbiter module
US7949817B1 (en) 2007-07-31 2011-05-24 Marvell International Ltd. Adaptive bus profiler
EP2063357A1 (en) * 2007-11-21 2009-05-27 Pepperl + Fuchs Gmbh Transportable data storage and method for transferring configuration files from an external computer to a sensor
US8131915B1 (en) 2008-04-11 2012-03-06 Marvell Intentional Ltd. Modifying or overwriting data stored in flash memory
US8683085B1 (en) * 2008-05-06 2014-03-25 Marvell International Ltd. USB interface configurable for host or device mode
US8423710B1 (en) 2009-03-23 2013-04-16 Marvell International Ltd. Sequential writes to flash memory
US8213236B1 (en) 2009-04-21 2012-07-03 Marvell International Ltd. Flash memory
US8688922B1 (en) 2010-03-11 2014-04-01 Marvell International Ltd Hardware-supported memory management
US8756394B1 (en) 2010-07-07 2014-06-17 Marvell International Ltd. Multi-dimension memory timing tuner
DE102011007851A1 (en) * 2011-04-21 2012-10-25 Robert Bosch Gmbh Control unit with a digital interface
JP6036222B2 (en) * 2012-11-28 2016-11-30 セイコーエプソン株式会社 Device control apparatus, host apparatus and host apparatus control method
CN103885916A (en) * 2012-12-19 2014-06-25 鸿富锦精密工业(深圳)有限公司 Electronic device with extended universal serial bus (USB) interface
RU2676866C2 (en) * 2014-09-15 2019-01-11 Майкро Моушн, Инк. Method and device for controlling a device mode
CN106299893B (en) * 2015-05-18 2018-10-26 特通科技有限公司 USB Type-C connector modules

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030163587A1 (en) * 2002-02-25 2003-08-28 Knight Alexander N. Vehicle communications network adapter
US20040148539A1 (en) * 2003-01-28 2004-07-29 Leydier Robert Antoine Method and apparatus for clock synthesis using universal serial bus downstream received signals
US6901471B2 (en) * 2001-03-01 2005-05-31 Synopsys, Inc. Transceiver macrocell architecture allowing upstream and downstream operation
US7003613B1 (en) * 1999-01-26 2006-02-21 Transdimension Inc. System for transferring data using a USB host system with a dedicated processor
US7058747B2 (en) * 2001-09-27 2006-06-06 Koninklijke Philips Electronics N.V. Bus system and bus interface for connection to a bus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6338109B1 (en) * 1996-08-30 2002-01-08 Cypress Semiconductor Corp. Microcontroller development system and applications thereof for development of a universal serial bus microcontroller
US6040792A (en) * 1997-11-19 2000-03-21 In-System Design, Inc. Universal serial bus to parallel bus signal converter and method of conversion
US6742076B2 (en) * 2000-01-03 2004-05-25 Transdimension, Inc. USB host controller for systems employing batched data transfer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7003613B1 (en) * 1999-01-26 2006-02-21 Transdimension Inc. System for transferring data using a USB host system with a dedicated processor
US6901471B2 (en) * 2001-03-01 2005-05-31 Synopsys, Inc. Transceiver macrocell architecture allowing upstream and downstream operation
US7058747B2 (en) * 2001-09-27 2006-06-06 Koninklijke Philips Electronics N.V. Bus system and bus interface for connection to a bus
US20030163587A1 (en) * 2002-02-25 2003-08-28 Knight Alexander N. Vehicle communications network adapter
US20040148539A1 (en) * 2003-01-28 2004-07-29 Leydier Robert Antoine Method and apparatus for clock synthesis using universal serial bus downstream received signals

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040243756A1 (en) * 2003-04-09 2004-12-02 Chanson Lin USB device for decreasing the current at load
US20050091436A1 (en) * 2003-10-24 2005-04-28 Aiping Huang USB dynamic service switch for dual processor architecture
US7117288B2 (en) * 2003-10-24 2006-10-03 Motorola Inc. USB dynamic service switch for dual processor architecture
US20050165997A1 (en) * 2004-01-26 2005-07-28 Matsushita Electric Industrial Co., Ltd. Data communication system
US7266625B2 (en) * 2004-01-26 2007-09-04 Matsushita Electric Industrial Co., Ltd. Data communication system
US20070067525A1 (en) * 2004-04-09 2007-03-22 Chanson Lin USB device for decreasing the current at load
US20060106954A1 (en) * 2004-11-12 2006-05-18 Woodbridge Nancy G Memory reuse for multiple endpoints in USB device
USRE45457E1 (en) 2004-11-12 2015-04-07 Micron Technology, Inc. Memory reuse for multiple endpoints in USB device
US7606951B2 (en) 2004-11-12 2009-10-20 Woodbridge Nancy G Memory reuse for multiple endpoints in USB device
US20060106962A1 (en) * 2004-11-17 2006-05-18 Woodbridge Nancy G USB On-The-Go implementation
US7281074B2 (en) * 2005-06-29 2007-10-09 Intel Corporation Method and apparatus to quiesce USB activities using interrupt descriptor caching and asynchronous notifications
US20070005859A1 (en) * 2005-06-29 2007-01-04 Diefenbaugh Paul S Method and apparatus to quiesce USB activities using interrupt descriptor caching and asynchronous notifications
US20070033308A1 (en) * 2005-08-03 2007-02-08 Sunplus Technology Co., Ltd. USB apparatus capable of automatically detecting a USB mode and the method thereof
US20110191503A1 (en) * 2010-02-04 2011-08-04 Musa Ibrahim Kakish Motherboard Compatible with Multiple Versions of Universal Serial Bus (USB) and Related Method
CN102147781A (en) * 2010-02-04 2011-08-10 艾欧互联有限公司 Motherboard compatible with multiple versions of universal serial bus (usb) and related method
US20130232285A1 (en) * 2012-03-05 2013-09-05 Asmedia Technology Inc. Control method of flow control scheme and control module thereof
CN104077260A (en) * 2013-03-29 2014-10-01 华立仪表集团股份有限公司 Concentrator M-BUS host communication interface device
US10198387B2 (en) 2015-06-26 2019-02-05 Samsung Electronics Co., Ltd. Electronic device and method for controlling signal strength according to mode
CN105846223A (en) * 2016-04-22 2016-08-10 北京小米移动软件有限公司 USB interface plug and USB interface plug control method and device
CN106201929A (en) * 2016-07-22 2016-12-07 恒宝股份有限公司 A kind of USB interface multiplex circuit and using method

Also Published As

Publication number Publication date
EP1546898B1 (en) 2011-04-13
ATE505764T1 (en) 2011-04-15
US7752342B2 (en) 2010-07-06
JP2006500679A (en) 2006-01-05
AU2003260848A8 (en) 2004-04-19
AU2003260848A1 (en) 2004-04-19
TWI293216B (en) 2008-02-01
CN100338591C (en) 2007-09-19
TW200415828A (en) 2004-08-16
CN1685325A (en) 2005-10-19
WO2004029814A2 (en) 2004-04-08
WO2004029814A3 (en) 2004-09-02
EP1546898A2 (en) 2005-06-29
DE60336738D1 (en) 2011-05-26

Similar Documents

Publication Publication Date Title
US7752342B2 (en) Interface integrated circuit device for a USB connection
US6845420B2 (en) System for supporting both serial and parallel storage devices on a connector
US5619659A (en) System for extending ISA bus without using dedicated device driver software by using E2 P2 interface which provides multiplexed bus signal through standard parallel port connector
US5673400A (en) Method and apparatus for identifying and controlling a target peripheral device in a multiple bus system
EP1011050B1 (en) A method and system for providing hot plug of adapter cards in an expanded slot environment
US6311245B1 (en) Method for time multiplexing a low-speed and a high-speed bus over shared signal lines of a physical bus
KR20010022816A (en) A universal serial bus device controller
JP2002288112A (en) Communication control semiconductor device and interface system
JP2008545319A (en) Software layer for communication between RS-232 / I2C conversion IC and host
US5109494A (en) Passive processor communications interface
KR100403404B1 (en) Bidirectional parallel signal interface
US6753903B1 (en) Adaptor for direct connection between USB digital still camera and use color printer
JPH06208548A (en) Smart bus control unit
US7124235B2 (en) USB apparatus with switchable host/hub functions and control method thereof
US5892930A (en) Target peripheral device detection
KR100579203B1 (en) Streamlining ata device initialization
WO1998043173A1 (en) Emulation system and information processor
US6195723B1 (en) Method and system for providing peer-to-peer control in an expanded slot environment using a bridge as an agent for controlling peripheral device
US20070005847A1 (en) Data transfer control device and electronic instrument
JPS60254358A (en) Multi-architecture microprocessor system
EP1817677B1 (en) Usb on-the-go controller
US8060676B2 (en) Method of hot switching data transfer rate on bus
KR20050056213A (en) Interface integrated circuit device for a usb connection
KR100375524B1 (en) ROM Emulator
US7596651B2 (en) Multi-character adapter card

Legal Events

Date Code Title Description
AS Assignment

Owner name: KONINKLIJKE PHILIPS ELECTRONICS N.V., NETHERLANDS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:TEE, CHEE Y.;MEHTANI, RAJEEV;REEL/FRAME:016819/0448

Effective date: 20040504

AS Assignment

Owner name: NXP B.V., NETHERLANDS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:KONINKLIJKE PHILIPS ELECTRONICS N.V.;REEL/FRAME:019719/0843

Effective date: 20070704

Owner name: NXP B.V.,NETHERLANDS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:KONINKLIJKE PHILIPS ELECTRONICS N.V.;REEL/FRAME:019719/0843

Effective date: 20070704

STCF Information on status: patent grant

Free format text: PATENTED CASE

AS Assignment

Owner name: PARTNERS FOR CORPORATE RESEARCH INTERNATIONAL, CAY

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:NXP B. V.;REEL/FRAME:031334/0449

Effective date: 20120907

FPAY Fee payment

Year of fee payment: 4

AS Assignment

Owner name: FUTURE LINK SYSTEMS, CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:PARTNERS FOR CORPORATE RESEARCH INTERNATIONAL;REEL/FRAME:032399/0965

Effective date: 20130808

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Free format text: PAYER NUMBER DE-ASSIGNED (ORIGINAL EVENT CODE: RMPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552)

Year of fee payment: 8

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 12