WO1998051016A1 - A method and apparatus for interfacing an electronic device with an external accessory - Google Patents

A method and apparatus for interfacing an electronic device with an external accessory Download PDF

Info

Publication number
WO1998051016A1
WO1998051016A1 PCT/SE1998/000780 SE9800780W WO9851016A1 WO 1998051016 A1 WO1998051016 A1 WO 1998051016A1 SE 9800780 W SE9800780 W SE 9800780W WO 9851016 A1 WO9851016 A1 WO 9851016A1
Authority
WO
WIPO (PCT)
Prior art keywords
data communication
interface
acb
electronic device
established
Prior art date
Application number
PCT/SE1998/000780
Other languages
French (fr)
Inventor
Jan Rubbmark
Lars Engelin
Jan Lind
Original Assignee
Telefonaktiebolaget Lm Ericsson
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 Telefonaktiebolaget Lm Ericsson filed Critical Telefonaktiebolaget Lm Ericsson
Priority to DE69823024T priority Critical patent/DE69823024T2/en
Priority to BRPI9809344-4B1A priority patent/BR9809344B1/en
Priority to EP98921949A priority patent/EP0979558B1/en
Priority to EEP199900512A priority patent/EE04411B1/en
Priority to JP54796698A priority patent/JP2001524241A/en
Priority to KR10-1999-7010090A priority patent/KR100522656B1/en
Priority to AU74596/98A priority patent/AU736229B2/en
Publication of WO1998051016A1 publication Critical patent/WO1998051016A1/en
Priority to HK01100339A priority patent/HK1029680A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/3827Portable transceivers
    • H04B1/3877Arrangements for enabling portable transceivers to be used in a fixed position, e.g. cradles or boosters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • H04M1/6041Portable telephones adapted for handsfree use
    • H04M1/6075Portable telephones adapted for handsfree use adapted for handsfree use in a vehicle
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories

Definitions

  • This invention generally relates to the field of electronic devices that incorporate an accessory control bus interface and, more particularly, to a method and apparatus for operating these devices with various types of external accessories, including accessories that do not include compatible bus interfaces .
  • a portable wireless phone can be attached to a suitably formed cradle of a hands-free external accessory, to facilitate the operation of the phone from inside an automobile.
  • the mobile hands-free device includes audio circuitry for amplifying the audio heard in the automobile and other circuitry for routing voice signals from the automobile into the phone.
  • Another version of the hands-free external accessory is a less complicated portable hands-free accessory that includes a small speaker and a microphone.
  • portable hands-free accessory When the portable hands-free accessory is worn by the user, the speaker and microphone are positioned close to the user's ear and mouth, respectively. In this way, portable hands-free accessory allows a user to operate the phone without holding it in his or her hands.
  • a battery charger Another popular accessory for the phone is a battery charger, which may be incorporated into the mobile hands-free accessory, to charge the phone's battery.
  • the electronic device When operating with an external accessory, the electronic device may be required to adjust its operating parameters. For example, when operating with the portable hands-free accessory, the phone increases the audio output power provided at the accessory port, to accommodate the portable hands-free accessory. Accordingly, most electronic devices are equipped with sensing circuitry that sense presence or absence of the external accessories.
  • Many conventional sensing circuits of electronic devices sense a predefined electrical condition that is created on the accessory port, when the external accessory is present. Some external accessories present a predefined binary state (a high or a low state) to indicate their presence. Alternatively, external accessories may present an electrical parameter, such as an impedance, on the accessory port, that enables the electronic device to distinguish between various types of external accessories. By sensing a particular impedance, which may be represented by a voltage potential at the accessory port, the electronic device can determine the type of the attached external accessory.
  • the electronic devices and their accessories are becoming more and more complicated.
  • the more advanced electronic devices incorporate intelligent micro-controllers for controlling various functions such as driving displays and input/output ports, etc.
  • the manufacturers are equipping the external accessories with intelligent controllers as well. Consequently, there has been a need to communicate more complicated operating parameters between the electronic device and their external accessories.
  • the operation of the electronic device and the external accessory may require the repeated communication of one or more dynamically changing operating parameters based on which the operation of the electronic device and/or its accessory may be adjusted, to achieve or improve a particular function.
  • the phone may transmit to the mobile hands-free external accessory a hand-over parameter along with audio parameters that correspond to the operating environment of the new cell.
  • the mobile hands-free device can adjust the parameters of its echo-canceling circuitry, to provide better audio quality inside the automobile.
  • ACB accessory control bus
  • I 2 C-bus interface which is developed by Phillips Corp.
  • the specification and functionality of the I 2 C-Bus interface is described in detail in a Phillips Semiconductors' publication, titled: The ⁇ C-bus and how to use it (including specifications), April 1995, which is hereby incorporated by reference.
  • the ACB devices that incorporate the PC interface can transfer a wide variety of complex operating parameters at rates of up to 400 kbits/sec.
  • the present invention that addresses this need is incorporated in an electronic device and a method of operating the electronic device that changes the interface mode of the electronic device based on the interface type of an attached external device.
  • the electronic device has a port for interfacing with the external device through an interface bus and a bus control interface that initiates data communication over the interface bus.
  • a controller operates the electronic device in a first interface mode, if data communication is established with the external device, and in a second interface mode, if data communication is not established with the external device.
  • the electronic device and the external device can transfer at least one operating parameter over the interface bus, and in the second interface mode, no operating parameter is transferred over the interface bus.
  • the electronic device may use a default operating parameter, when operating in the second interface mode.
  • the bus control interface initiates serial commumcation over the interface bus, and detects a transition from a first binary state to a second binary state for determining whether data communication is established. When no transition is detected after a time-out period, the electronic device determines that data commumcation is not established.
  • the bus control interface initiates data communication in response to a signal transition on the port, when the external device is attached to the electronic device.
  • the bus interface initiates data communication using at least two different data transfer rates, and determines whether data communication is established at each one of the different data transfer rates.
  • the controller may also operate the electronic device in the first mode, to transfer a predefined operating parameter over the interface bus. Then, it operates the electronic device in the second interface mode, when no operating parameter is transferred.
  • a method of operating the electronic device according to the present invention includes initiating data communication with the external device through the port. Then, dete ⁇ nining whether data communication is established with the external device. If data communication is established, transferring an operating parameter between the electronic device and the external device through the port. Otherwise, transferring no operating parameter between the electronic device and the external device.
  • FIG. 1 is a diagram of an electronic device and the various external accessories that can operate with the electronic device according to the present invention.
  • FIG. 2 is a block diagram of the phone and the external accessories of FIG. 1.
  • FIG. 3 is a flow chart of the steps taken to operate the electronic devices and the external accessories according to the invention.
  • a cellular phone 10 is shown as an exemplary electronic device that operates according to the present invention.
  • the phone 10 includes an accessory port 12 for interfacing with various types of external accessories according to the present invention.
  • the phone 10 operates in a well known manner within a cellular communication system, to provide two-way voice and data communication within a coverage area.
  • An exemplary phone 10 that can advantageously incorporate the method and apparatus for operating with an external accessory according to the present invention is a AF-738 or GF-788 portable products, which are offered by Konaktiebolaget L M Ericsson, the assignee of the present invention.
  • the accessory port 12 includes a number of accessory pins 14 and spring loaded latches 15.
  • the pins 14 and latches 15 engage with corresponding contact pins and latches of an external accessory, when the external accessory is attached to the phone. Once engaged, the phone 10 and an attached external accessory interface with each other via the accessory port 12. This way, the necessary accessory signals, including audio signals, serial data port signals, control signals, power leads and analog and digital grounds, that are present on corresponding accessory pins are interconnected with each other.
  • the phone is an ACB device that includes an ACB interface implemented according to the I 2 C-bus interface.
  • the functionality of the bus interface can be hardware or software implemented.
  • a dedicated integrated circuit performs the mterface functions that include data transfers, arbitration, clock generation, addressing, etc.
  • a micro-controller which is responsible for controlling other phone functions as well, performs the ACB functions. The micro-controller performs these functions by executing a suitable interface software. Because of associated overhead, the data transfer rate over the ACB interface under the software implementation is slower than the hardware implementation.
  • the devices that incorporate the hardware implementation of the ACB interface will be referred to as fast-ACB devices, and those incorporating the software implementation will be referred to as slow-ACB devices.
  • the devices that have no ACB interface will be referred to as non-ACB devices.
  • the phone may either be a slow-ACB device or a fast-ACB device.
  • the present invention's method and apparatus for operating an electronic device with an external device is equally applicable, if the phone is a non-ACB device that operates with an ACB external accessory.
  • an ACB device which may be the phone, the slow-ACB external accessory, or the fast-ACB external accessory, initiates data communication through the accessory port over an interface bus.
  • the ACB device If data communication is established with an external device, the ACB device operates in an ACB bus interface mode, when at least one operating parameter is transferred to or from the ACB device over the interface bus.
  • the ACB interface mode may be a fast-ACB interface mode or a slow-ACB interface mode. If, however, data communication is not established, the ACB device operates in a non-ACB interface mode, when no operating parameters are transferred to or from the ACB device over the bus. This condition arises, when operating an ACB device with a non-ACB device.
  • an ACB device operating according to the present invention can interface with fast-ACB, slow-ACB and non-ACB devices, without requiring any complex interface modifications as those required under the conventional interoperablity approaches.
  • the quasi- ACB external accessory 22 operates in a quasi-ACB interface mode.
  • the external accessory initially operates with limited ACB functionality that allows it to transfer one or more predefined operating parameters to or from an ACB device over the interface bus during an initial start up period.
  • the quasi-ACB accessory operates in the non-ACB accessory interface mode, when no operating parameters are transferred over the bus. This way, the external accessories operating according to the quasi-ACB interface mode can be manufactured more simply without incurring the cost and complexity of incorporating the full ACB interface functionality.
  • the phone Through the accessory port 12, the phone interfaces with one or more external accessories that include die fast-ACB accessory 16, the slow-ACB accessory 18, the non-ACB accessory 20, and the quasi- ACB accessory 22. All electrical interconnections between the phone 10 and the accessories 16, 18, 20, and 22 are provided through the accessory port 12.
  • the accessory port 12 includes eleven contact pins 14 that provide the input or output accessory signals to and from die phone 10.
  • TABLE 1 identifies die functions of the accessory signals for each accessory pin 14 under a default port configuration. The TABLE 1 also specifies whether the accessory signals are input, output or input/output signals. According to TABLE 1, input signals (designated as I) are directed into the phone 10, and the output signals (designated as O) are outputted from the phone. Bidirectional signals are designated as I/O signals.
  • the ACB interface is the I 2 C interface.
  • the I 2 C interface defines a bidirectional data transfer over a two-line serial interface bus 25.
  • the physical layer of the interface bus 25, which is provided on die accessory port 12, includes two open collector bus lines. These bus lines are a serial data line (SDL) and a serial clock line (SCL) on pins 3 and 5, respectively.
  • SDL serial data line
  • SCL serial clock line
  • the SCL and SDL lines are pulled to a normally high binary state by the pull-up resistors 23 included in the phone 10.
  • the I 2 C-bus interface allows multiple addressed devices, which operate as masters or slaves, to be attached to the interface bus.
  • a master device is responsible for initiating data transfers over the interface bus 25 and generates the clock signals to permit such transfers.
  • the phone can interface with a number of devices in a master- slave transfer mode.
  • All devices addressed by a master are considered as slaves.
  • the master is also responsible for terminating a data transfer. The master initiates data transfers over die bus 25 by creating a START condition, and it terminates the data transfer by creating a STOP condition.
  • the START condition is created by generating a transition from a high binary state to a low binary state on the SDL line on pin 5, while holding die SCL line on pin 3 at a high binary state.
  • the STOP condition is created by generating a transition from a low binary state to a high binary state on the SDL line, while holding the SCL line at a high binary state.
  • a slave device may also create a START condition that acts as an intrupt for the master device.
  • Data transfers over the I 2 C bus may be in a bit-by-bit or a byte-by-byte format.
  • the I 2 C protocol defines corresponding procedures for clock synchronization and bus arbitration.
  • a master may start a data transfer only if the bus is free. By following the procedures defined in the protocol, two or more masters may arbitrate for bus access. Once access is granted, digital data may be transferred over he bus at speeds of up to 100 kbits/sec (or 400 kbits/sec in a fast mode) provided that the bus capacitance does not exceed 400 pF.
  • a device can slow down data transfers over die bus 25.
  • the phone 10 is a fast-ACB device, which includes a dedicated bus interface integrated circuit 24, for implementing the ACB interface functions.
  • a dedicated bus interface integrated circuit is a I 2 C bus device from Phillips Corp that incorporates bus interface functions, such as detecting die START and STOP conditions, in dedicated bus interface circuitry.
  • the phone 10 is a slow-ACB device, which implements the ACB interface functionality through an interface software executed by a micro-controller 26. In FIG. 2, interface software is shown as a dotted block within the micro-controller 26.
  • the micro-controller 26 itself performs the ACB functions, including the sampling of the binary states on the SDL and SCL lines, for detecting the START and STOP conditions. Because of die overhead associated with implementing the functions of the ACB interface, a slow-ACB phone transfers data at a slower rate than die transfer rate of the fast-ACB phone.
  • die micro-controller 26 is programmed to control the overall operation of the phone 10, including die operation of a radio block 28, an audio block 30, a power supply block 32, and a serial bus interface block 34.
  • the radio block 28 is responsible for wireless communication of voice and data messages over designated radio frequency channels including die transmission and reception of such messages.
  • the audio block 30 is responsible for processing audio signals, including coding and decoding of speech messages.
  • the audio block 30 inputs an audio to phone (ATP) accessory signal from the external accessory on pin 1 and outputs an audio from phone (AFP) accessory signal to the external accessory on pin 2.
  • ATP audio to phone
  • AFP audio from phone
  • the power supply block 32 controls the supply of power for operating the phone 10 eidier through an internal or an external power supply.
  • the phone 10 may be powered internally by a battery or externally by a power source in a mobile hands-free accessory, which may also be responsible for charging die battery.
  • the power supply block 32 receives external supply, including battery charge supply, through a DCIO accessory signal pin 11. Alternatively, through the same accessory signal, the power supply block 32 can also provide supply voltage to an external accessory.
  • the power supply block 32 also outputs a regulated reference voltage NDD accessory signal on pin 7, that, among other things, signals whether the phone is powered up or not.
  • die serial bus interface block 34 enables the phone to communicate with a data terminal either directly or through a modem.
  • Analog ground (AG ⁇ D) and digital ground (DG ⁇ D) accessory signals on pins 4 and 9 provide the audio and digital returns for the phone and die external accessories.
  • a VFLASH signal inputted on pin 6 allows an external device to upgrade a flash memory that stores the operating programs of the micro-controller 26 in a well know manner.
  • the fast-ACB external accessory 16 includes a dedicated ACB interface circuit 36 for interfacing with the phone 10 through the accessory port 12.
  • the fast-ACB external accessory 16 can transfer data at speeds of up to 10 kbits/sec. If, however, the phone 10 interfacing with the fast-ACB external accessory is a slow-ACB device, die data transfer speed is limited by die transfer speed of die slow-ACB device.
  • die accessory function block 40 for example includes audio circuitry for amplifying the AFP and ATP accessory signals, and power supply circuitry for supplying a supply voltage to the phone on pin 11.
  • the accessory controller 38 dirough the dedicated ACB interface circuit 36, controls die exchange of operating parameters transferred between the phone 10 and the accessory function block 40.
  • the slow-ACB external accessory 18 implements the ACB interface functions by executing the bus interface software.
  • the bus interface software which is shown as a dotted block, is executed by a slow-ACB accessory 42 controller diat controls the overall functions of the accessory 18.
  • the operating parameters may be transferred between the phone 10 and die slow-ACB external accessory 18 at about 100 bits/sec.
  • the slow-ACB external accessory 18 may be a more simple mobile hands-free accessory. By not incorporating the cost of dedicated hardware, this more simple hands-free accessory can be manufactured at a lower cost.
  • the slow-ACB accessory 18 includes an accessory function block 44 that, under die control of an accessory controller 42, implements its related accessory functions and features.
  • the non-ACB external accessory 20 which may be a simple portable hands-free accessory, does not implement any ACB-functionality.
  • the non-ACB external accessory 20 includes one or two grounded resistors 46 that, when attached to the accessory port, pull down die open connector terminations to create low binary states on one or both of the SDL and SCL lines on pins 3 or 4 of me accessory port 12.
  • the phone 10 can detect die presence of the non-ACB external accessory 20.
  • the accessory features and functionality of the non-ACB accessory are implemented by corresponding circuitry in a non-ACB accessory function block 48.
  • die non-ACB accessory function block may include simple audio circuitry, such as a small speaker and a microphone, that input and output audio signals via die ATP and AFP accessory signals on pins 1 and 2 of die accessory port 12.
  • FIG. 2 shows the block diagram of the quasi-ACB external accessory 22.
  • the quasi-ACB external accessory 22 implements only limited ACB interface functionality.
  • a quasi-ACB interface 50 performs the limited ACB interface functions during die initial start up period.
  • the limited functions implemented by die quasi-ACB interface 50 include, clock synchronization and limited data transfer functions.
  • An accessory function block 52 implements the functional circuitry of the quasi-ACB external accessory 22.
  • a predefmed set of operating parameters are transferred between the phone 10 and die quasi-ACB external accessory 22 over the interface bus.
  • die quasi-ACB external accessory 22 enters the non-ACB interface mode, when no operating parameters are transferred between the phone 10 and die quasi-ACB accessory device over the interface bus.
  • the predefined operating parameters transferred over the bus will be ignored. Otherwise, the quasi-ACB external accessory 22 transfers the predefined operating parameters to or from an ACB device interfacing with the accessory.
  • An example of a quasi-ACB accessory may be a hands free accessory that during a start-up period transmits operating parameters relating to its audio functionality to the phone 10. Thereafter, the accessory operates as a non-ACB accessory with no capability to transfer operating parameters with the phone 10.
  • external mode setting means such as a mode switch 54
  • die quasi-ACB external accessory 22 may be reset to operate in the ACB-interface mode again, when it would attempt to initiate data communication with the phone over the interface bus 25.
  • the phone 10 may interface with any one of the fast-ACB, slow-ACB, quasi-ACB and non-ACB external accessories 16, 18, 10, and 22 dirough an attachment provided via die accessory port 12.
  • the external accessories are generally attached to die phone 10 on an arbitrary basis.
  • the phone 10 may interface with the accessory devices eidier as a master or as a slave.
  • die phone By acting as a master, die phone is forced to perform periodic polling on the interface bus, to detect the presence or absence of the accessory device. Such polling function on an attached periodic basis would increase the overhead associated with interfacing with the accessory devices. Because of the associated overhead with being a master, the processing power of the micro-controller 26 within the phone 10, which controls many other functions, may be strained.
  • the ACB external accessories act as masters that initiates data communication over the interface bus.
  • the phone 10 acts as a master when a low binary state is presented on die accessory port 12, by the attachment of the non-ACB accessory device 20.
  • die fast-ACB external accessory 16 When attached to die phone 10, die fast-ACB external accessory 16, which operates as a master in a default fast-ACB interface mode, initiates data communication over the interface bus according to die I 2 C protocol at an initial fast data rate. By following me clock synchronization procedure set forth in die I 2 C interface, the external accessory can determine whemer communication is established with die phone or not. If the phone 10 is a fast-ACB device, the SCL signals are synchronized quickly. In this situation, data communication is established almost immediately, and die phone 10 and the external accessory 16 both operate in the fast-ACB interface mode. In die fast-ACB interface mode, one or more operating parameters are transferred between the phone 10 and die fast-ACB accessory 16 device over the interface bus 25 at the fast initila data rate.
  • the phone 10 is a slow-ACB device, then the attempts by the fast-ACB external accessory 16 to establish data communication at the fast data rate would be unsuccessful.
  • the slow-ACB phone 10 extends the low binary state of the clock signal according to die I 2 C protocol, to lower the data transfer speed of the fast-ACB external accessory 16 over the interface bus 25. Once commumcation is established at die lower speed, die phone 10 and die external accessory 16 operate in a slow-ACB interface mode, when operating parameters are transferred over the interface bus at a rate of about 100 bits/sec.
  • the slow-ACB external accessory 18 interfaces with eidier die fast-ACB phone or slow-ACB phone as a master.
  • the slower clock signals generated by die slow-ACB external accessory 16 which operates in its default slow-speed interface mode, adapts the faster interface speed of the phone 10 to the slower interface speed of the external accessory device 18 by extending the low binary state on the SCL line.
  • die clock signals generated by external accessory and die phone are substantially identical, which results in an almost immediate establishment of communication therebetween. Once data communication is established with the fast-ACB phone or die slow-ACB- phone, die slow-ACB external accessory 16 and die phone 10 operate in the slow-ACB interface mode.
  • operating parameters are transferred at die rate of 100 bits/sec.
  • the master device is responsible for detecting devices attached to the bus, a slave device can initiate communication by creating a START condition over die bus.
  • the START condition acts as an intrupt to the master device to service a service request from the slave device.
  • the pull-down resistors 46 ground the open collector termination at one or both of the pins 3 and 5.
  • the phone 10 acts as a master and initiates data communication over the interface bus.
  • the phone 10 senses the CSL line on pin 3 of the accessory port, which is pulled to a low binary state by the non-ACB external accessory, for a predefined time-out period. If the phone 10 detects no low to high transition on the SCL line within the time out period it enters a non-ACB interface mode. In the non-ACB transfer mode, no operating parameters are transferred to or from the phone 10 over the interface bus.
  • the phone may use pre-stored default parameters for interfacing with the non-ACB accessory device.
  • the non-ACB accessory device is a simple portable hands-free external accessory
  • tihe phone uses default operating parameters, such as attenuation and amplification parameters, when outputting and inputting the AFP and ATP signals on pins 1 and 2 of the accessory port.
  • die quasi-ACB external accessory 22 initially operates in a ACB interface mode, which may be eidier the fast-ACB or slow-ACB interface mode. Under this arrangement, the quasi-ACB accessory 22 acts as a master to establish communication with the phone during die initial start-up period.
  • the quasi-ACB external accessory 22 transfers the set of predefined operating parameters to or from the phone 10. Once the data transfer is completed according to die I 2 C interface, then die quasi-ACB external accessory 22 enters a non-ACB interface mode, when no operating parameters are transferred between the accessory external 20 and die phone 10.
  • FIG. 3 shows a flow chart of die steps taken for operating the phone 10 with various types of external accessories according to die present invention.
  • die ACB device which may be either one of die phone 10, the fast-, slow-ACB external accessories 16, 18, 20, or 22, initiates data communication through the accessory port 12 over the interface bus 25 according to a first default ACB mode, block 310.
  • a determination is made as to whedier data communication is established or not, block 320.
  • the determination is made by sensing die SCL line on the accessory port 12 for a predefined time-out period. If communication is established wi iin the time-out period, the ACB device operates in the first ACB interface mode, when one or more operating parameters are transferred over the interface bus 25 at a first data rate, block 330.
  • the ACB device attempts to establish communication over the bus 25 in a second ACB mode, block 340.
  • the present invention provides a simple method and apparatus for providing interoperability between an electronic device and an external accessory.
  • the present invention operates the ACB devices in an ACB mode if attempts at communicating over an interface bus are successful.
  • the present invention provides a cost effective method and apparatus for interfacing complex accessories and simple accessories with the electronic device widiout making substantial costly and complicated modifications.

Abstract

An electronic device operates with an external accessory by initiating a serial data communication over an accessory control bus. If data communication is established with the external accessory, the electronic device operates in a first interface mode, when one or more operating parameters are transferred over the bus. If data communication is not established, the electronic device operates in a second interface mode, when no operating parameters are transferred over the bus.

Description

A METHOD AND APPARATUS FOR INTERFACING AN ELECTRONIC DEVICE WITH AN EXTERNAL ACCESSORY
BACKGROUND This invention generally relates to the field of electronic devices that incorporate an accessory control bus interface and, more particularly, to a method and apparatus for operating these devices with various types of external accessories, including accessories that do not include compatible bus interfaces .
In order to add complementary features and functionality, many consumer, telecommunication and industrial electronic devices interface with external accessories through suitable accessory ports. When the accessory device and the electronic device are connected, their complementary accessory connectors engage to form corresponding electrical interconnections for accessory signals. For example, a portable wireless phone can be attached to a suitably formed cradle of a hands-free external accessory, to facilitate the operation of the phone from inside an automobile. Usually, the mobile hands-free device includes audio circuitry for amplifying the audio heard in the automobile and other circuitry for routing voice signals from the automobile into the phone. Another version of the hands-free external accessory is a less complicated portable hands-free accessory that includes a small speaker and a microphone. When the portable hands-free accessory is worn by the user, the speaker and microphone are positioned close to the user's ear and mouth, respectively. In this way, portable hands-free accessory allows a user to operate the phone without holding it in his or her hands. Another popular accessory for the phone is a battery charger, which may be incorporated into the mobile hands-free accessory, to charge the phone's battery.
When operating with an external accessory, the electronic device may be required to adjust its operating parameters. For example, when operating with the portable hands-free accessory, the phone increases the audio output power provided at the accessory port, to accommodate the portable hands-free accessory. Accordingly, most electronic devices are equipped with sensing circuitry that sense presence or absence of the external accessories.
Many conventional sensing circuits of electronic devices sense a predefined electrical condition that is created on the accessory port, when the external accessory is present. Some external accessories present a predefined binary state (a high or a low state) to indicate their presence. Alternatively, external accessories may present an electrical parameter, such as an impedance, on the accessory port, that enables the electronic device to distinguish between various types of external accessories. By sensing a particular impedance, which may be represented by a voltage potential at the accessory port, the electronic device can determine the type of the attached external accessory.
With the advances in technology, the electronic devices and their accessories are becoming more and more complicated. Often, the more advanced electronic devices incorporate intelligent micro-controllers for controlling various functions such as driving displays and input/output ports, etc. To keep up with these advances, the manufacturers are equipping the external accessories with intelligent controllers as well. Consequently, there has been a need to communicate more complicated operating parameters between the electronic device and their external accessories. In these cases, the operation of the electronic device and the external accessory may require the repeated communication of one or more dynamically changing operating parameters based on which the operation of the electronic device and/or its accessory may be adjusted, to achieve or improve a particular function. For example, when crossing from one communication cell into another, the phone may transmit to the mobile hands-free external accessory a hand-over parameter along with audio parameters that correspond to the operating environment of the new cell. By taking into account the operating parameters of the new cell, the mobile hands-free device can adjust the parameters of its echo-canceling circuitry, to provide better audio quality inside the automobile.
Some of the more advanced electronic devices and accessories use an accessory control bus (ACB) for transferring operating parameters with each other. One such ACB interface is the I2C-bus interface, which is developed by Phillips Corp. The specification and functionality of the I2C-Bus interface is described in detail in a Phillips Semiconductors' publication, titled: The ^C-bus and how to use it (including specifications), April 1995, which is hereby incorporated by reference. Over a two-line serial bus, the ACB devices that incorporate the PC interface can transfer a wide variety of complex operating parameters at rates of up to 400 kbits/sec.
Often times, however, it is required to provide interoperablity between ACB devices and non-ACB devices. For example, an ACB device, which is equipped with the PC bus interface, is sometimes required to operate with a simple non-ACB accessory that does not incorporate the PC interface. Conversely, an ACB accessory equipped with the PC functionality may be required to interface with a non-ACB device. Conventionally, approaches to interoperability involve complex modifications to the ACB, or the non-ACB devices. These modifications often increase the cost of providing the interoperability. Therefore, there exists a need for a simple method and apparatus for providing interoperability between the ACB and non-ACB devices.
SUMMARY
Briefly, the present invention that addresses this need is incorporated in an electronic device and a method of operating the electronic device that changes the interface mode of the electronic device based on the interface type of an attached external device. The electronic device has a port for interfacing with the external device through an interface bus and a bus control interface that initiates data communication over the interface bus. A controller operates the electronic device in a first interface mode, if data communication is established with the external device, and in a second interface mode, if data communication is not established with the external device. In the first interface mode, the electronic device and the external device can transfer at least one operating parameter over the interface bus, and in the second interface mode, no operating parameter is transferred over the interface bus. In this case, the electronic device may use a default operating parameter, when operating in the second interface mode. In some of the exemplary features of the invention, the bus control interface initiates serial commumcation over the interface bus, and detects a transition from a first binary state to a second binary state for determining whether data communication is established. When no transition is detected after a time-out period, the electronic device determines that data commumcation is not established. In another aspect of the invention, the bus control interface initiates data communication in response to a signal transition on the port, when the external device is attached to the electronic device.
In yet another aspect of the invention, the bus interface initiates data communication using at least two different data transfer rates, and determines whether data communication is established at each one of the different data transfer rates. The controller may also operate the electronic device in the first mode, to transfer a predefined operating parameter over the interface bus. Then, it operates the electronic device in the second interface mode, when no operating parameter is transferred. A method of operating the electronic device according to the present invention includes initiating data communication with the external device through the port. Then, deteπnining whether data communication is established with the external device. If data communication is established, transferring an operating parameter between the electronic device and the external device through the port. Otherwise, transferring no operating parameter between the electronic device and the external device.
Other features and advantages of the present invention will become apparent from the following description of the preferred embodiment, taken in conjunction with the accompanying drawings, which illustrate, by way of example, the principles of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a diagram of an electronic device and the various external accessories that can operate with the electronic device according to the present invention.
FIG. 2 is a block diagram of the phone and the external accessories of FIG. 1.
FIG. 3 is a flow chart of the steps taken to operate the electronic devices and the external accessories according to the invention.
DETAILED DESCRIPTION With reference to FIG. 1, a cellular phone 10 is shown as an exemplary electronic device that operates according to the present invention. At its bottom, the phone 10 includes an accessory port 12 for interfacing with various types of external accessories according to the present invention. The phone 10 operates in a well known manner within a cellular communication system, to provide two-way voice and data communication within a coverage area. An exemplary phone 10 that can advantageously incorporate the method and apparatus for operating with an external accessory according to the present invention is a AF-738 or GF-788 portable products, which are offered by Telefonaktiebolaget L M Ericsson, the assignee of the present invention. The accessory port 12, includes a number of accessory pins 14 and spring loaded latches 15. The pins 14 and latches 15 engage with corresponding contact pins and latches of an external accessory, when the external accessory is attached to the phone. Once engaged, the phone 10 and an attached external accessory interface with each other via the accessory port 12. This way, the necessary accessory signals, including audio signals, serial data port signals, control signals, power leads and analog and digital grounds, that are present on corresponding accessory pins are interconnected with each other.
In this exemplary embodiment, the phone is an ACB device that includes an ACB interface implemented according to the I2C-bus interface. According to the specification of the I2C bus interface, the functionality of the bus interface can be hardware or software implemented. In the hardware implementation, a dedicated integrated circuit performs the mterface functions that include data transfers, arbitration, clock generation, addressing, etc. In die software implementation, a micro-controller, which is responsible for controlling other phone functions as well, performs the ACB functions. The micro-controller performs these functions by executing a suitable interface software. Because of associated overhead, the data transfer rate over the ACB interface under the software implementation is slower than the hardware implementation. Hereinafter, the devices that incorporate the hardware implementation of the ACB interface will be referred to as fast-ACB devices, and those incorporating the software implementation will be referred to as slow-ACB devices. The devices that have no ACB interface will be referred to as non-ACB devices. As described later in detail, in an exemplary embodiment, the phone may either be a slow-ACB device or a fast-ACB device. However, the present invention's method and apparatus for operating an electronic device with an external device is equally applicable, if the phone is a non-ACB device that operates with an ACB external accessory. According to the present invention, an ACB device, which may be the phone, the slow-ACB external accessory, or the fast-ACB external accessory, initiates data communication through the accessory port over an interface bus. If data communication is established with an external device, the ACB device operates in an ACB bus interface mode, when at least one operating parameter is transferred to or from the ACB device over the interface bus. The ACB interface mode may be a fast-ACB interface mode or a slow-ACB interface mode. If, however, data communication is not established, the ACB device operates in a non-ACB interface mode, when no operating parameters are transferred to or from the ACB device over the bus. This condition arises, when operating an ACB device with a non-ACB device. By switching its interface mode based on whether bus communication is established over the interface bus, an ACB device operating according to the present invention can interface with fast-ACB, slow-ACB and non-ACB devices, without requiring any complex interface modifications as those required under the conventional interoperablity approaches.
As shown in FIG. 1, there are four types of accessories that may be connected to the phone through the accessory port. These accessories include a fast-ACB external accessory 16, a slow-ACB external accessory 18, a non-ACB external accessory 20 and a quasi-ACB external accessory 22. The quasi- ACB external accessory 22 operates in a quasi-ACB interface mode. In the quasi-ACB interface mode, the external accessory initially operates with limited ACB functionality that allows it to transfer one or more predefined operating parameters to or from an ACB device over the interface bus during an initial start up period. Subsequently, when the data transfer is completed, the quasi-ACB accessory operates in the non-ACB accessory interface mode, when no operating parameters are transferred over the bus. This way, the external accessories operating according to the quasi-ACB interface mode can be manufactured more simply without incurring the cost and complexity of incorporating the full ACB interface functionality.
Referring to FIG. 2, a block diagrams of the phone 10 and the various external accessories that can be connected to the phone 10 are shown, to the extent necessary for understanding of the present invention. Through the accessory port 12, the phone interfaces with one or more external accessories that include die fast-ACB accessory 16, the slow-ACB accessory 18, the non-ACB accessory 20, and the quasi- ACB accessory 22. All electrical interconnections between the phone 10 and the accessories 16, 18, 20, and 22 are provided through the accessory port 12. In an exemplary embodiment, the accessory port 12 includes eleven contact pins 14 that provide the input or output accessory signals to and from die phone 10. TABLE 1 below identifies die functions of the accessory signals for each accessory pin 14 under a default port configuration. The TABLE 1 also specifies whether the accessory signals are input, output or input/output signals. According to TABLE 1, input signals (designated as I) are directed into the phone 10, and the output signals (designated as O) are outputted from the phone. Bidirectional signals are designated as I/O signals. TABLE 1
Figure imgf000010_0001
As mentioned above, in exemplary embodiments of the present invention, the ACB interface is the I2C interface. The I2C interface defines a bidirectional data transfer over a two-line serial interface bus 25. The physical layer of the interface bus 25, which is provided on die accessory port 12, includes two open collector bus lines. These bus lines are a serial data line (SDL) and a serial clock line (SCL) on pins 3 and 5, respectively. The SCL and SDL lines are pulled to a normally high binary state by the pull-up resistors 23 included in the phone 10.
The I2C-bus interface allows multiple addressed devices, which operate as masters or slaves, to be attached to the interface bus. According to the protocol, a master device is responsible for initiating data transfers over the interface bus 25 and generates the clock signals to permit such transfers. By attaching a number of ACB accessories to the bus 25, the phone can interface with a number of devices in a master- slave transfer mode. At the time of data transfers, all devices addressed by a master are considered as slaves. The master is also responsible for terminating a data transfer. The master initiates data transfers over die bus 25 by creating a START condition, and it terminates the data transfer by creating a STOP condition. The START condition is created by generating a transition from a high binary state to a low binary state on the SDL line on pin 5, while holding die SCL line on pin 3 at a high binary state. The STOP condition is created by generating a transition from a low binary state to a high binary state on the SDL line, while holding the SCL line at a high binary state. As described later, a slave device may also create a START condition that acts as an intrupt for the master device.
Data transfers over the I2C bus may be in a bit-by-bit or a byte-by-byte format. For each transfer format, the I2C protocol defines corresponding procedures for clock synchronization and bus arbitration. A master may start a data transfer only if the bus is free. By following the procedures defined in the protocol, two or more masters may arbitrate for bus access. Once access is granted, digital data may be transferred over he bus at speeds of up to 100 kbits/sec (or 400 kbits/sec in a fast mode) provided that the bus capacitance does not exceed 400 pF. Using the clock synchronization mechanism during the bit-by -bit data transfers, a device can slow down data transfers over die bus 25. By extending each clock during its low binary state, a device attached to die bus can adaptively change its data transfer rate. In this way the I2C protocol allows faster devices to communicate with slower devices over the interface bus 25. In one embodiment of the present invention, the phone 10 is a fast-ACB device, which includes a dedicated bus interface integrated circuit 24, for implementing the ACB interface functions. One such integrated circuit is a I2C bus device from Phillips Corp that incorporates bus interface functions, such as detecting die START and STOP conditions, in dedicated bus interface circuitry. In another embodiment, the phone 10 is a slow-ACB device, which implements the ACB interface functionality through an interface software executed by a micro-controller 26. In FIG. 2, interface software is shown as a dotted block within the micro-controller 26. Under this arrangement, the micro-controller 26 itself performs the ACB functions, including the sampling of the binary states on the SDL and SCL lines, for detecting the START and STOP conditions. Because of die overhead associated with implementing the functions of the ACB interface, a slow-ACB phone transfers data at a slower rate than die transfer rate of the fast-ACB phone.
It has been determined mat the slow-ACB phone can transfer data at a rate of about 100 bits/s over the interface bus. In both the fast- and slow-ACB phones, die micro-controller 26 is programmed to control the overall operation of the phone 10, including die operation of a radio block 28, an audio block 30, a power supply block 32, and a serial bus interface block 34. As is well known, the radio block 28 is responsible for wireless communication of voice and data messages over designated radio frequency channels including die transmission and reception of such messages. The audio block 30 is responsible for processing audio signals, including coding and decoding of speech messages. The audio block 30 inputs an audio to phone (ATP) accessory signal from the external accessory on pin 1 and outputs an audio from phone (AFP) accessory signal to the external accessory on pin 2. The power supply block 32 controls the supply of power for operating the phone 10 eidier through an internal or an external power supply. For example, the phone 10 may be powered internally by a battery or externally by a power source in a mobile hands-free accessory, which may also be responsible for charging die battery. The power supply block 32 receives external supply, including battery charge supply, through a DCIO accessory signal pin 11. Alternatively, through the same accessory signal, the power supply block 32 can also provide supply voltage to an external accessory. The power supply block 32 also outputs a regulated reference voltage NDD accessory signal on pin 7, that, among other things, signals whether the phone is powered up or not. Through data to phone (DTP) accessory signal on pin 10 and data from phone (DFP) accessory signal on pin 8, die serial bus interface block 34 enables the phone to communicate with a data terminal either directly or through a modem. Analog ground (AGΝD) and digital ground (DGΝD) accessory signals on pins 4 and 9 provide the audio and digital returns for the phone and die external accessories. A VFLASH signal inputted on pin 6 allows an external device to upgrade a flash memory that stores the operating programs of the micro-controller 26 in a well know manner. Similar to the fast-ACB phone, the fast-ACB external accessory 16 includes a dedicated ACB interface circuit 36 for interfacing with the phone 10 through the accessory port 12. As mentioned before, the fast-ACB external accessory 16 can transfer data at speeds of up to 10 kbits/sec. If, however, the phone 10 interfacing with the fast-ACB external accessory is a slow-ACB device, die data transfer speed is limited by die transfer speed of die slow-ACB device. The fast-ACB accessory 16, which, for example, may be an intelligent mobile hands-free accessory, also includes an accessory controller 38 for controlling die overall operation of the accessory. Through suitable circuitry, an accessory function block 40 operating under the control of die accessory controller 38 implements all of the accessory functions. In case of the mobile hands-free accessory, die accessory function block 40, for example includes audio circuitry for amplifying the AFP and ATP accessory signals, and power supply circuitry for supplying a supply voltage to the phone on pin 11. The accessory controller 38, dirough the dedicated ACB interface circuit 36, controls die exchange of operating parameters transferred between the phone 10 and the accessory function block 40.
Similar to the slow-ACB phone 10, the slow-ACB external accessory 18 implements the ACB interface functions by executing the bus interface software. The bus interface software, which is shown as a dotted block, is executed by a slow-ACB accessory 42 controller diat controls the overall functions of the accessory 18. Through the accessory controller 42, the operating parameters may be transferred between the phone 10 and die slow-ACB external accessory 18 at about 100 bits/sec. In an exemplary embodiment, the slow-ACB external accessory 18 may be a more simple mobile hands-free accessory. By not incorporating the cost of dedicated hardware, this more simple hands-free accessory can be manufactured at a lower cost. Similar to the fast-ACB external accessory 16, the slow-ACB accessory 18 includes an accessory function block 44 that, under die control of an accessory controller 42, implements its related accessory functions and features.
The non-ACB external accessory 20, which may be a simple portable hands-free accessory, does not implement any ACB-functionality. The non-ACB external accessory 20 includes one or two grounded resistors 46 that, when attached to the accessory port, pull down die open connector terminations to create low binary states on one or both of the SDL and SCL lines on pins 3 or 4 of me accessory port 12. As described later in detail, in response to the low binary states presented at the accessory port the phone 10 can detect die presence of the non-ACB external accessory 20. The accessory features and functionality of the non-ACB accessory are implemented by corresponding circuitry in a non-ACB accessory function block 48. In the exemplary simple portable hands-free accessory, die non-ACB accessory function block may include simple audio circuitry, such as a small speaker and a microphone, that input and output audio signals via die ATP and AFP accessory signals on pins 1 and 2 of die accessory port 12.
Finally, FIG. 2 shows the block diagram of the quasi-ACB external accessory 22. As mentioned above, the quasi-ACB external accessory 22 implements only limited ACB interface functionality. Upon startup, a quasi-ACB interface 50 performs the limited ACB interface functions during die initial start up period. The limited functions implemented by die quasi-ACB interface 50 include, clock synchronization and limited data transfer functions. An accessory function block 52 implements the functional circuitry of the quasi-ACB external accessory 22.
During die initial set up period, a predefmed set of operating parameters are transferred between the phone 10 and die quasi-ACB external accessory 22 over the interface bus. Once such data transfer is completed, die quasi-ACB external accessory 22 enters the non-ACB interface mode, when no operating parameters are transferred between the phone 10 and die quasi-ACB accessory device over the interface bus. In case the device interfacing with the quasi-ACB external accessory is a non-ACB device, the predefined operating parameters transferred over the bus will be ignored. Otherwise, the quasi-ACB external accessory 22 transfers the predefined operating parameters to or from an ACB device interfacing with the accessory.
An example of a quasi-ACB accessory may be a hands free accessory that during a start-up period transmits operating parameters relating to its audio functionality to the phone 10. Thereafter, the accessory operates as a non-ACB accessory with no capability to transfer operating parameters with the phone 10. Through external mode setting means, such as a mode switch 54, die quasi-ACB external accessory 22 may be reset to operate in the ACB-interface mode again, when it would attempt to initiate data communication with the phone over the interface bus 25.
Operationally, the phone 10 may interface with any one of the fast-ACB, slow-ACB, quasi-ACB and non-ACB external accessories 16, 18, 10, and 22 dirough an attachment provided via die accessory port 12. The external accessories are generally attached to die phone 10 on an arbitrary basis. The phone 10 may interface with the accessory devices eidier as a master or as a slave. By acting as a master, die phone is forced to perform periodic polling on the interface bus, to detect the presence or absence of the accessory device. Such polling function on an attached periodic basis would increase the overhead associated with interfacing with the accessory devices. Because of the associated overhead with being a master, the processing power of the micro-controller 26 within the phone 10, which controls many other functions, may be strained. Therefore, in the preferred embodiment of the invention, the ACB external accessories act as masters that initiates data communication over the interface bus. As described later in detail, the phone 10 acts as a master when a low binary state is presented on die accessory port 12, by the attachment of the non-ACB accessory device 20.
When attached to die phone 10, die fast-ACB external accessory 16, which operates as a master in a default fast-ACB interface mode, initiates data communication over the interface bus according to die I2C protocol at an initial fast data rate. By following me clock synchronization procedure set forth in die I2C interface, the external accessory can determine whemer communication is established with die phone or not. If the phone 10 is a fast-ACB device, the SCL signals are synchronized quickly. In this situation, data communication is established almost immediately, and die phone 10 and the external accessory 16 both operate in the fast-ACB interface mode. In die fast-ACB interface mode, one or more operating parameters are transferred between the phone 10 and die fast-ACB accessory 16 device over the interface bus 25 at the fast initila data rate. If the phone 10 is a slow-ACB device, then the attempts by the fast-ACB external accessory 16 to establish data communication at the fast data rate would be unsuccessful. In this case, the slow-ACB phone 10 extends the low binary state of the clock signal according to die I2C protocol, to lower the data transfer speed of the fast-ACB external accessory 16 over the interface bus 25. Once commumcation is established at die lower speed, die phone 10 and die external accessory 16 operate in a slow-ACB interface mode, when operating parameters are transferred over the interface bus at a rate of about 100 bits/sec.
Similarly, the slow-ACB external accessory 18 interfaces with eidier die fast-ACB phone or slow-ACB phone as a master. When interfacing with die fast-ACB phone, the slower clock signals generated by die slow-ACB external accessory 16, which operates in its default slow-speed interface mode, adapts the faster interface speed of the phone 10 to the slower interface speed of the external accessory device 18 by extending the low binary state on the SCL line. When interfacing with die slow-ACB phone, die clock signals generated by external accessory and die phone are substantially identical, which results in an almost immediate establishment of communication therebetween. Once data communication is established with the fast-ACB phone or die slow-ACB- phone, die slow-ACB external accessory 16 and die phone 10 operate in the slow-ACB interface mode. Under diis mode, operating parameters are transferred at die rate of 100 bits/sec. Althought, the master device is responsible for detecting devices attached to the bus, a slave device can initiate communication by creating a START condition over die bus. The START condition acts as an intrupt to the master device to service a service request from the slave device.
When the non-ACB external accessory 20 is attached to die phone 10, the pull-down resistors 46 ground the open collector termination at one or both of the pins 3 and 5. In response to the low binary states at one or both of these accessory pins, the phone 10 acts as a master and initiates data communication over the interface bus. The phone 10 senses the CSL line on pin 3 of the accessory port, which is pulled to a low binary state by the non-ACB external accessory, for a predefined time-out period. If the phone 10 detects no low to high transition on the SCL line within the time out period it enters a non-ACB interface mode. In the non-ACB transfer mode, no operating parameters are transferred to or from the phone 10 over the interface bus. Instead, the phone may use pre-stored default parameters for interfacing with the non-ACB accessory device. For example, if the non-ACB accessory device is a simple portable hands-free external accessory, tihe phone uses default operating parameters, such as attenuation and amplification parameters, when outputting and inputting the AFP and ATP signals on pins 1 and 2 of the accessory port. When operating the phone 10 widi the quasi-ACB external accessory 22, die quasi-ACB external accessory 22 initially operates in a ACB interface mode, which may be eidier the fast-ACB or slow-ACB interface mode. Under this arrangement, the quasi-ACB accessory 22 acts as a master to establish communication with the phone during die initial start-up period. Once communication is established the quasi-ACB external accessory 22 transfers the set of predefined operating parameters to or from the phone 10. Once the data transfer is completed according to die I2C interface, then die quasi-ACB external accessory 22 enters a non-ACB interface mode, when no operating parameters are transferred between the accessory external 20 and die phone 10.
FIG. 3 shows a flow chart of die steps taken for operating the phone 10 with various types of external accessories according to die present invention. Initially, die ACB device, which may be either one of die phone 10, the fast-, slow-ACB external accessories 16, 18, 20, or 22, initiates data communication through the accessory port 12 over the interface bus 25 according to a first default ACB mode, block 310. Then, a determination is made as to whedier data communication is established or not, block 320. The determination is made by sensing die SCL line on the accessory port 12 for a predefined time-out period. If communication is established wi iin the time-out period, the ACB device operates in the first ACB interface mode, when one or more operating parameters are transferred over the interface bus 25 at a first data rate, block 330. If, however, data communication is not established, the ACB device attempts to establish communication over the bus 25 in a second ACB mode, block 340. A determination is made as to whedier data communication is established in the second ACB mode, block 350. If data communication is established, then the ACB device operates in die second ACB mode, when operating parameters are transferred at a second data rate, block 360. If data communication is not established in the second ACB mode, the ACB device operates in the non-ACB interface mode, when no operating parameters are transferred over the interface bus, block 370. In case no operating parameters are transferred, the ACB device can use a default operating parameter. As described above, initiating data communication includes initiating data communication using at least two different data rates. From me foregoing description, it would be appreciated that the present invention provides a simple method and apparatus for providing interoperability between an electronic device and an external accessory. The present invention operates the ACB devices in an ACB mode if attempts at communicating over an interface bus are successful. In this way, the present invention provides a cost effective method and apparatus for interfacing complex accessories and simple accessories with the electronic device widiout making substantial costly and complicated modifications.
Altiiough the invention has been described in detail widi reference only to a preferred embodiment, diose skilled in the art will appreciate that various modifications can be made without departing from the invention. Accordingly, die invention is defined only by die following claims which are intended to embrace all equivalents thereof.

Claims

What is claimed is:
1. An electronic device having a port for interfacing with an external device, comprising: a bus control interface that initiates data commumcation over an interface bus; and a controller tiiat operates the electronic device in a first interface mode, if data commumcation is established widi die external device, and in a second interface mode, if data communication is not established widi die external device; in the first interface mode, die electronic device transferring at least one operating parameter to or from the external device over the interface bus, and in the second interface mode, die electromc device transferring no operating parameters to or from the external device over the interface bus.
2. The electronic device of claim 1, wherein the bus control interface initiates serial communication over the interface bus, and wherein the bus control interface detects a transition from a first binary state to a second binary state for determ iing that die data communication is established.
3. The electronic device of claim 2, wherein the control bus interface determines diat the data communication is not established, when it detects no transitions after a time-out period.
4. The electronic device of claim 3, wherein the bus control interface initiates data communication in response to a signal transition presented on the port, when the external device is attached to the electronic device.
5. The electronic device of claim 1, wherein the bus interface initiates data communication using at least two different data transfer rates, and wherein the determination of whether data communication is established is made at each one of the different data transfer rates.
6. The electronic device of claim 1, wherein the controller operates the electronic device in die second interface mode, after operating it in the first interface mode.
7. The electromc device of claim 6, wherein a predefined operating parameter is transferred over the interface bus, before the electronic device operates in me second interface mode.
8. The electronic device of claim 1, wherein the electronic device uses a default operating parameter, when operating in the second interface mode.
9. A memod of operating an electronic device having a port for interfacing with an external device, comprising: initiating data communication with the external device ti urough the port; determining whedier data communication is established with the external device; transferring an operating parameter between the electronic device and the external device through the port, if data communication is established widi the external device; and transferring no operating parameter between the electronic device and the external device, if data communication is not established with the external device.
10. The method of claim 9 further including using a default operating parameter, if no operating parameter is transferred between the electronic device and the external device.
11. The memod of claim 9, wherein initiating data communication includes initiating data communication using at least two different data rates, and wherein determining whether data communication is established includes determining whether data communication is established at each one of the different data rates.
12. The method of claim 9, wherein initiating data communication includes initiating serial data communication through the port.
13. The metiiod of claim 12, wherein determining whedier data communication is established includes sensing a binary state transitions of a clock signal.
14. The method of claim 13 including determining data commumcation is not established, when diere is no binary state transitions on the clock signal after a predefined time-out period.
15. A memod of interfacing a first port of a first electronic device to a second port of a second electronic device, comprising: initiating data communication between the first port and die second port; determining whether data communication is established; if established, operating the first and second electronic devices in a first interface mode that allows for the transfer of at least one operating parameter through the first and second ports; otiierwise, operating the first and second electronic devices in a second interface mode that allows for the transfer of no operating parameters.
16. The method of claim 15 further including operating at least one of the electronic devices in die second interface mode after operating it in the first interface mode.
17. The method of claim 15 further including using a default operating parameter, when operating in me second interface mode.
18. The method of claim 15, wherein initiating data communication includes initiating data communication using at least two different data rates, and wherein determining whedier data communication is established includes determining whether data communication is established at each one of the different data rates.
19. The method of claim 15, wherein initiating data communication includes initiating serial data communication through the port.
20. The method of claim 19, wherein determining whedier data communication is established includes sensing a binary state transitions of a clock signal.
21. The method of claim 20 including determining data communication is not established, when there is no binary state transitions on tihe clock signal after a predefmed time-out period.
22. The method of claim 15, wherein, in the first interface mode, one of he first or the second electronic devices acts as a master device, while the other acts as a slave device.
23. The me od of claim 22, wherein the master device initiates the data communication with the slave device by creating a START condition on an inerface bus.
24. The method of claim 22, wherein the slaves device initiates the data communication with the master device by creating a START condition on an inerface bus.
PCT/SE1998/000780 1997-05-01 1998-04-28 A method and apparatus for interfacing an electronic device with an external accessory WO1998051016A1 (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
DE69823024T DE69823024T2 (en) 1997-05-01 1998-04-28 METHOD AND DEVICE FOR INTERFACING BETWEEN AN ELECTRONIC DEVICE AND AN EXTERNAL ACCESSORY
BRPI9809344-4B1A BR9809344B1 (en) 1997-05-01 1998-04-28 an electronic device having a port for interfacing an external device, and processes for operating the same and interfacing a first port of a first electronic device to a second port of a second electronic device
EP98921949A EP0979558B1 (en) 1997-05-01 1998-04-28 A method and apparatus for interfacing an electronic device with an external accessory
EEP199900512A EE04411B1 (en) 1997-05-01 1998-04-28 Electronic device, a method of controlling and pairing an electronic device with an external accessory
JP54796698A JP2001524241A (en) 1997-05-01 1998-04-28 Interface method and apparatus for electronic device having external accessory
KR10-1999-7010090A KR100522656B1 (en) 1997-05-01 1998-04-28 A method and apparatus for interfacing an electronic device with an external accessory
AU74596/98A AU736229B2 (en) 1997-05-01 1998-04-28 A method and apparatus for interfacing an electronic device with an external accessory
HK01100339A HK1029680A1 (en) 1997-05-01 2001-01-12 A method and apparatus for interfacing an electronic device with an external accessory.

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US08/848,910 US6012105A (en) 1997-05-01 1997-05-01 System for interfacing with an external accessory in one of two interface modes based on whether communication can be established with external accessory or not
US08/848,910 1997-05-01

Publications (1)

Publication Number Publication Date
WO1998051016A1 true WO1998051016A1 (en) 1998-11-12

Family

ID=25304608

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/SE1998/000780 WO1998051016A1 (en) 1997-05-01 1998-04-28 A method and apparatus for interfacing an electronic device with an external accessory

Country Status (14)

Country Link
US (1) US6012105A (en)
EP (1) EP0979558B1 (en)
JP (1) JP2001524241A (en)
KR (1) KR100522656B1 (en)
CN (1) CN1192497C (en)
AR (1) AR012618A1 (en)
AU (1) AU736229B2 (en)
BR (1) BR9809344B1 (en)
DE (1) DE69823024T2 (en)
EE (1) EE04411B1 (en)
HK (1) HK1029680A1 (en)
MY (1) MY120738A (en)
TR (1) TR199902686T2 (en)
WO (1) WO1998051016A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000042797A1 (en) * 1999-01-12 2000-07-20 Qualcomm Incorporated System and method for the automatic identification of accessories coupled to a wireless communication device

Families Citing this family (62)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6804726B1 (en) * 1996-05-22 2004-10-12 Geovector Corporation Method and apparatus for controlling electrical devices in response to sensed conditions
US6154789A (en) * 1998-06-15 2000-11-28 Compaq Computer Corporation Peripheral controller comprising first messaging unit for communication with first OS driver and second messaging unit for communication with second OS driver for mass-storage peripheral
US6675244B1 (en) * 1999-02-19 2004-01-06 Hewlett-Packard Development Company, L.P. SCSI data rate speed determination
US6401142B1 (en) * 1999-05-24 2002-06-04 Advanced Micro Devices, Inc. Apparatus and method for selective bus transfer using master and slave modes
US7248157B2 (en) * 2001-05-01 2007-07-24 Interactive Technologies, Inc. Wireless phone-interface device
EP1288786A1 (en) * 2001-08-24 2003-03-05 Thomson Licensing S.A. Method for the serial transfer of data between two electronic bus stations and communication system
US7577756B2 (en) 2003-07-15 2009-08-18 Special Devices, Inc. Dynamically-and continuously-variable rate, asynchronous data transfer
US7673083B2 (en) * 2004-04-27 2010-03-02 Apple Inc. Method and system for controlling video selection and playback in a portable media player
US7441058B1 (en) 2006-09-11 2008-10-21 Apple Inc. Method and system for controlling an accessory having a tuner
US7529872B1 (en) * 2004-04-27 2009-05-05 Apple Inc. Communication between an accessory and a media player using a protocol with multiple lingoes
US7441062B2 (en) * 2004-04-27 2008-10-21 Apple Inc. Connector interface system for enabling data communication with a multi-communication device
US7634605B2 (en) 2004-04-27 2009-12-15 Apple Inc. Method and system for transferring stored data between a media player and an accessory
US7797471B2 (en) * 2004-04-27 2010-09-14 Apple Inc. Method and system for transferring album artwork between a media player and an accessory
US7529871B1 (en) 2004-04-27 2009-05-05 Apple Inc. Communication between an accessory and a media player with multiple protocol versions
US7826318B2 (en) 2004-04-27 2010-11-02 Apple Inc. Method and system for allowing a media player to transfer digital audio to an accessory
US7526588B1 (en) * 2004-04-27 2009-04-28 Apple Inc. Communication between an accessory and a media player using a protocol with multiple lingoes
US8117651B2 (en) * 2004-04-27 2012-02-14 Apple Inc. Method and system for authenticating an accessory
US7529870B1 (en) * 2004-04-27 2009-05-05 Apple Inc. Communication between an accessory and a media player with multiple lingoes
US7895378B2 (en) 2004-04-27 2011-02-22 Apple Inc. Method and system for allowing a media player to transfer digital audio to an accessory
US7613881B2 (en) * 2004-06-08 2009-11-03 Dartdevices Interop Corporation Method and system for configuring and using virtual pointers to access one or more independent address spaces
US7823214B2 (en) 2005-01-07 2010-10-26 Apple Inc. Accessory authentication for electronic devices
US7525216B2 (en) * 2005-01-07 2009-04-28 Apple Inc. Portable power source to provide power to an electronic device via an interface
US8086332B2 (en) * 2006-02-27 2011-12-27 Apple Inc. Media delivery system with improved interaction
US8073984B2 (en) * 2006-05-22 2011-12-06 Apple Inc. Communication protocol for use with portable electronic devices
US8006019B2 (en) 2006-05-22 2011-08-23 Apple, Inc. Method and system for transferring stored data between a media player and an accessory
US7415563B1 (en) 2006-06-27 2008-08-19 Apple Inc. Method and system for allowing a media player to determine if it supports the capabilities of an accessory
US7558894B1 (en) 2006-09-11 2009-07-07 Apple Inc. Method and system for controlling power provided to an accessory
KR100859601B1 (en) * 2007-03-13 2008-09-23 주식회사 현대오토넷 Method of upgrading control data based on deck for car electronic device and computer-readable medium having thereon program performing function embodying the same
US8086781B2 (en) * 2007-06-22 2011-12-27 Apple Inc. Serial pass-through device
US8078787B2 (en) 2007-06-22 2011-12-13 Apple Inc. Communication between a host device and an accessory via an intermediate device
US9467735B2 (en) * 2007-09-04 2016-10-11 Apple Inc. Synchronizing digital audio and analog video from a portable media device
AU2008296673B2 (en) * 2007-09-04 2010-05-27 Apple Inc. Smart dock for chaining accessories
KR101339822B1 (en) * 2007-10-15 2013-12-11 삼성전자주식회사 Method for controlling device based on a kind of peripheral device and potable device using the same
US8047966B2 (en) * 2008-02-29 2011-11-01 Apple Inc. Interfacing portable media devices and sports equipment
US20100293462A1 (en) * 2008-05-13 2010-11-18 Apple Inc. Pushing a user interface to a remote device
US8970647B2 (en) 2008-05-13 2015-03-03 Apple Inc. Pushing a graphical user interface to a remote device with display rules provided by the remote device
US9870130B2 (en) 2008-05-13 2018-01-16 Apple Inc. Pushing a user interface to a remote device
US20090284476A1 (en) * 2008-05-13 2009-11-19 Apple Inc. Pushing a user interface to a remote device
US9311115B2 (en) 2008-05-13 2016-04-12 Apple Inc. Pushing a graphical user interface to a remote device with display rules provided by the remote device
US8208853B2 (en) * 2008-09-08 2012-06-26 Apple Inc. Accessory device authentication
US8238811B2 (en) 2008-09-08 2012-08-07 Apple Inc. Cross-transport authentication
JP4586089B2 (en) * 2008-10-10 2010-11-24 株式会社ソニー・コンピュータエンタテインメント COMMUNICATION SYSTEM, HOST DEVICE, AND TERMINAL DEVICE
US8452903B2 (en) 2009-03-16 2013-05-28 Apple Inc. Mobile computing device capabilities for accessories
US8909803B2 (en) 2009-03-16 2014-12-09 Apple Inc. Accessory identification for mobile computing devices
US20110016494A1 (en) * 2009-07-16 2011-01-20 Linhardt Michael Method and Apparatus to Facilitate Viewing Television on a Mobile Device
US8756445B2 (en) * 2010-01-06 2014-06-17 Apple Inc. Providing power to an accessory during portable computing device hibernation
US8069356B2 (en) * 2010-01-06 2011-11-29 Apple Inc. Accessory power management
US8438408B2 (en) * 2010-01-26 2013-05-07 Apple Inc. Control of accessory components by portable computing device
KR101521691B1 (en) 2010-05-28 2015-05-19 애플 인크. Plug connector, conductive frame for electrical connector, and electronic device
US8347014B2 (en) 2010-06-04 2013-01-01 Apple Inc. Class-based compatibility testing and notification
US9176671B1 (en) 2011-04-06 2015-11-03 P4tents1, LLC Fetching data between thread execution in a flash/DRAM/embedded DRAM-equipped system
US8930647B1 (en) 2011-04-06 2015-01-06 P4tents1, LLC Multiple class memory systems
US9170744B1 (en) 2011-04-06 2015-10-27 P4tents1, LLC Computer program product for controlling a flash/DRAM/embedded DRAM-equipped system
US9164679B2 (en) 2011-04-06 2015-10-20 Patents1, Llc System, method and computer program product for multi-thread operation involving first memory of a first memory class and second memory of a second memory class
US9158546B1 (en) 2011-04-06 2015-10-13 P4tents1, LLC Computer program product for fetching from a first physical memory between an execution of a plurality of threads associated with a second physical memory
US9417754B2 (en) 2011-08-05 2016-08-16 P4tents1, LLC User interface system, method, and computer program product
US9293876B2 (en) 2011-11-07 2016-03-22 Apple Inc. Techniques for configuring contacts of a connector
US8799527B2 (en) * 2012-09-07 2014-08-05 Apple Inc. Data structures for facilitating communication between a host device and an accessory
US9306879B2 (en) 2012-06-08 2016-04-05 Apple Inc. Message-based identification of an electronic device
US9307312B2 (en) 2013-03-15 2016-04-05 Apple Inc. Audio accessory with internal clock
US9588563B2 (en) 2014-05-30 2017-03-07 Apple Inc. Protocol for managing a controllable power adapter accessory
US11150693B2 (en) * 2015-03-06 2021-10-19 Apple Inc. Adaptable radio frequency systems and methods

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4654655A (en) * 1984-03-02 1987-03-31 Motorola, Inc. Multi-user serial data bus
EP0655873A2 (en) * 1993-11-30 1995-05-31 Nokia Mobile Phones Ltd. Adapter for data transmission to and from a radio telephone

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2017458C (en) * 1989-07-24 2000-10-10 Jonathan R. Engdahl Intelligent network interface circuit
US5202899A (en) * 1991-08-16 1993-04-13 Rockwell International Corporation Apparatus for providing dynamic selection of modem protocol to support multiple modem types
US5598577A (en) * 1991-12-26 1997-01-28 Dell Usa, L.P. Computer system with automatic drive model ID recognition and drive type adaptation
US5634074A (en) * 1993-05-07 1997-05-27 Apple Computer, Inc. Serial I/O device identifies itself to a computer through a serial interface during power on reset then it is being configured by the computer
US5664231A (en) * 1994-04-29 1997-09-02 Tps Electronics PCMCIA interface card for coupling input devices such as barcode scanning engines to personal digital assistants and palmtop computers
US5802550A (en) * 1996-01-17 1998-09-01 Apple Computer, Inc. Processor having an adaptable mode of interfacing with a peripheral storage device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4654655A (en) * 1984-03-02 1987-03-31 Motorola, Inc. Multi-user serial data bus
EP0655873A2 (en) * 1993-11-30 1995-05-31 Nokia Mobile Phones Ltd. Adapter for data transmission to and from a radio telephone

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MILLS D: "ACCESSORY DETECTION BY OSCILLATION", MOTOROLA TECHNICAL DEVELOPMENTS, vol. 28, August 1996 (1996-08-01), pages 86 - 88, XP000638429 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000042797A1 (en) * 1999-01-12 2000-07-20 Qualcomm Incorporated System and method for the automatic identification of accessories coupled to a wireless communication device
JP2002535899A (en) * 1999-01-12 2002-10-22 クゥアルコム・インコーポレイテッド System and method for automatically identifying accessories connected to a wireless communication device

Also Published As

Publication number Publication date
KR100522656B1 (en) 2005-10-19
AR012618A1 (en) 2000-11-08
EE9900512A (en) 2000-06-15
EP0979558B1 (en) 2004-04-07
KR20010012145A (en) 2001-02-15
DE69823024D1 (en) 2004-05-13
BR9809344A (en) 2000-07-04
AU7459698A (en) 1998-11-27
JP2001524241A (en) 2001-11-27
EE04411B1 (en) 2004-12-15
CN1192497C (en) 2005-03-09
CN1261997A (en) 2000-08-02
DE69823024T2 (en) 2004-08-19
BR9809344B1 (en) 2013-09-24
US6012105A (en) 2000-01-04
MY120738A (en) 2005-11-30
AU736229B2 (en) 2001-07-26
HK1029680A1 (en) 2001-04-06
EP0979558A1 (en) 2000-02-16
TR199902686T2 (en) 2000-03-21

Similar Documents

Publication Publication Date Title
US6012105A (en) System for interfacing with an external accessory in one of two interface modes based on whether communication can be established with external accessory or not
JP4624565B2 (en) System and method for automatically identifying accessories connected to a wireless communication device
CA2476981C (en) Accessory control interface
EP2051348B1 (en) A mobile device for a Universal serial bus (USB) charger
FI102437B (en) Multiplexed synchronous / asynchronous data bus
US6285890B1 (en) Automatic sensing of communication or accessories for mobile terminals
EP1550045B1 (en) Device operable as both a host and a non-host (i.e. dual-mode device)
CN110944076A (en) Electronic equipment and accessory with quick charging and audio transmission functions
WO1992002993A1 (en) Multiplexed synchronous/asynchronous data bus
CN217880302U (en) TYPE-C interface circuit
CN209881788U (en) Interactive module
CN106101903B (en) Digital headset, headset system and control method thereof
JP4087574B2 (en) Mobile device, communication system, and transmission method
CN220401497U (en) External wireless charging module based on TYPE-C interface
CN212115636U (en) Audio processing system
KR200341165Y1 (en) USB connection device by using data port of portable phone
KR100456739B1 (en) Apparatus and method for generating an interrupt signal using power signal in universal serial bus system
JPH10154113A (en) Communication terminal connecting cable and communication controller
KR20050036279A (en) Universal serial bus communication stabilization apparatus in communication terminal
MXPA01006868A (en) Interface interlace
KR20060023025A (en) Hands-free apparatus and method for controlling speaking signal of mobile communication terminal, hands-free apparatus

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 98806662.9

Country of ref document: CN

AK Designated states

Kind code of ref document: A1

Designated state(s): AL AM AT AU AZ BA BB BG BR BY CA CH CN CU CZ DE DK EE ES FI GB GE GH GM GW HU ID IL IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT UA UG UZ VN YU ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW SD SZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN ML MR NE SN TD TG

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 1998921949

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 1999/02686

Country of ref document: TR

ENP Entry into the national phase

Ref document number: 1998 547966

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 1019997010090

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 74596/98

Country of ref document: AU

WWP Wipo information: published in national office

Ref document number: 1998921949

Country of ref document: EP

REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

NENP Non-entry into the national phase

Ref country code: CA

WWP Wipo information: published in national office

Ref document number: 1019997010090

Country of ref document: KR

WWG Wipo information: grant in national office

Ref document number: 74596/98

Country of ref document: AU

WWG Wipo information: grant in national office

Ref document number: 1998921949

Country of ref document: EP

WWG Wipo information: grant in national office

Ref document number: 1019997010090

Country of ref document: KR