The present invention relates to an integrated circuit suitable for transferring or processing digital audio data, such as a circuit for transferring audio signals between audio transducers and circuits suitable for receiving in digital form audio signals created by input transducers (e.g. microphones) and for providing in digital form audio signals to be sent to output transducers (e.g. speakers). Preferably, the circuit is suitable for use in a hand-held portable device, and most preferably a device having cellular or mobile telephony capabilities, such as a mobile telephone, a portable digital assistant with cellular telephone capability, so-called “smartphones”, and other device representing the convergence of mobile telephones with portable music players and/or hand-held computing devices. Such devices are typically powered by internal batteries. The present invention also relates to methods or using such audio circuits and methods of routing and processing signals within such circuits, and also relates to devices using such circuits.
Such circuits have usually been known in the past as audio codecs, since the major function of such integrated circuits was originally to provide analog-to-digital and digital-to-analog conversion between analog audio transducers and the circuits that received and provided digital audio signals. However, such circuits are now sometimes referred to as audio hubs, in view of the signal routing and mixing capabilities that are often available in more recent such circuits. Furthermore, it is not a requirement of the present invention that the audio integrated circuit necessarily includes an analog-to-digital and digital-to-analog conversion ability, since the emergence of digital microphones and digital speakers (which may in practice be the combination of an analog transducer together with a converter in a single package rather than a transducer that converts directly to and from digital signals) provides the possibility that all of the signals between the integrated circuit and the transducers may be in digital form. However, it is anticipated that audio devices such as mobile telephones will normally continue to include analog transducers and so such audio integrated circuits will normally include an ability to handle analog signals and to convert audio signals between analog and digital form.
Such integrated circuits are typically connected in practice to the circuits that receive and supply the digital audio signals by audio data buses or other wiring links (typically provided on a printed circuit board) that are connected to the integrated circuit by connectors (which are commonly known as pins, even though the physical form of the connectors in a particular encapsulation of the integrated circuit do not necessarily take the physical form of pins but may be balls, tabs or other shapes convenient for mounting the integrated circuit). In practice, the integrated circuit is normally encapsulated in order to protect it, and connection pads on the integrated circuit chip are electrically connected to the connectors (pins) on the outside of the encapsulation. The digital audio signals are normally sent over the bus or other link in accordance with a standard signal format and will also comply with rules concerning such matters as signal timing. These rules concerning format, timing and so on are defined in the data transfer protocol used to transfer the audio signals, and the link will comprise several conductor lines or wires having functions defined in the protocols. For example, there will be one or more conductor lines carrying data and typically one or more conductor lines carrying timing signals usually known as clocks.
Although digital audio processing circuits will normally convey digital audio data internally in parallel form, the protocols for data transfer between circuits typically specify data transfer in serial form, so as to reduce the number of connector lines required between different circuits. Different protocols transfer the data according to different rules. For example, one data protocol may transfer serial digital data in words with the least significant bit first and another protocol may transfer serial data in words with the most significant bit first. Some data transfer protocols (such as PCM) include provision for multiple data channels to be time-division multiplexed over the same serial data line, whereas in other protocols (such as I2S) only two channels (left and right stereo) are possible. Additionally, the data transfer protocol may define data transfer in packets including one or more header bits, control bits, check bits or other bits, in addition to the actual data being transferred (as in the AC'97 protocol). Consequently, within a typical audio integrated circuit for transferring audio signals between transducers and external circuits (i.e. circuits external to the audio integrated circuit) for receiving or supplying digital audio data, a set of connectors used for connecting to a digital audio bus or link will normally be connected within the integrated circuit directly to a digital audio interface circuit. The main function of the digital audio interface circuit is to convert data between parallel and serial form (assuming that the integrated circuit uses parallel data internally and the link uses serial data), according to the rules for the data transfer protocol being used in the link.
In order to provide flexibility of use for the integrated circuit, the digital audio interface circuit may be designed so that it can work with more than one data transfer protocol, and the integrated circuit has control logic for controlling the operation of the digital audio interface circuit in accordance with a control setting that determines the data transfer protocol being used. Accordingly, it can be understood that it is possible to draw a distinction between the interface connectors, which may for example be the integrated circuit connection pads and corresponding external connectors of the encapsulated chip, for connection to the audio bus or other audio data link, on the one hand, and the digital audio interface circuit on the other hand.
According to one aspect of the present invention there is provided an integrated circuit for transferring audio signals between one or more audio transducers and circuits for supplying, in digital form, audio signals to be output to a transducer or for receiving, in digital form, audio signals input from a transducer, the integrated circuit comprising at least one set of interface connectors for connecting the integrated circuit to another circuit for transfer of digital audio signals (typically together with timing and/or control signals) therebetween according to a data transfer protocol, and at least two digital audio interface circuits for converting digital audio signals between the protocol used for transfer of digital data to or from another circuit via the said set of interface connectors and a protocol for the transfer of digital audio data internally within the integrated circuit, or alternatively comprising at least two sets of interface connectors and at least one digital audio interface circuit, the integrated circuit comprising a signal route selection system connected between the digital audio interface circuit or circuits on the one hand and the set or sets of interface connectors on the other hand, and operable to select which digital audio interface circuit is coupled to a set of interface connectors, out of a plurality of interface connectors that are couplable to the digital audio interface circuit, or alternatively to select which digital audio interface circuit is coupled to a set of interface connectors out of a plurality of digital audio interface circuits that are couplable to the set of interface connectors.
Preferably, the integrated circuit has at least two digital audio interface circuits and at least two sets of interface connectors, and at least one digital audio interface circuit can be coupled selectively either to one set of interface connectors or to another set of interface connectors, and at least one set of interface connectors can be coupled selectively either to one digital audio interface circuit or to another digital audio interface circuit. More preferably, there are at least two digital audio interface circuits and at least two sets of interface connectors, and the signal routing system allows a first digital audio interface circuit to be coupled either to a first set of interface connectors or to a second set of interface connectors, and allows a second digital audio interface circuit to be coupled to the first set of interface connectors or to the second set of interface connectors, so as to allow the first digital audio interface to be coupled to the first set of interface connectors and allow simultaneously the second digital audio interface circuit to be coupled to the second set of interface connectors, and also to allow the first digital audio interface circuit to be coupled to the second set of interface connectors and simultaneously to allow the second digital audio interface circuit to be coupled to the first set of interface connectors.
This arrangement allows flexibility so that signals from a particular external circuit, connected to a particular set of interface connectors, can be routed selectively to one or another digital audio interface circuit, as required, or to allow a particular digital audio interface circuit to be coupled, through one or another set of interface connectors, to one or another external circuit, and this arrangement can be changed without changing the wiring connections in the overall device that contains the integrated circuit and the other external circuits. This flexibility may be useful, for example, where the integrated circuit contains two or more digital audio interface circuits having different capabilities, such as the ability to handle different protocols for digital data transfer or the ability to handle different numbers of digital data channels multiplexed onto the same set of interface connectors, or where the integrated circuit is connected internally to enable different forms of processing to be available to signals received via different digital audio interface circuits.
In another aspect the present invention provides an integrated circuit for transferring audio signals between audio transducers and circuits for providing or receiving audio signals in digital form, the integrated circuit comprising at least one digital audio interface circuit and at least two sets of interface connectors, there being a greater number of sets of interface connectors than of digital audio interface circuits, and at least one digital audio interface circuit is selectively couplable either to a first set of interface connectors or to a second set of interface connectors. In this way, the integrated circuit can be coupled to send digital audio data to, or receive digital audio data from, the greater number of external circuits than it has digital audio interface circuits, with different external circuits being coupled to a digital audio interface circuit at different times. This enables the integrated circuit to interface with a number of external circuits while avoiding cost and complexity by containing a reduced number of digital audio interface circuits. In one embodiment, each digital audio interface circuit is selectively couplable to each set of interface connectors, but this feature is not essential.
In another aspect of the present invention there is provided an integrated circuit for transferring audio signals between audio transducers and other circuits for supplying or receiving audio signals in digital form, the integrated circuit comprising at least one digital audio interface circuit and at least two sets of interface connectors, the digital audio interface circuit being couplable to at least one of the sets of interface connectors, and at least the data connector or connectors of the first and second sets of interface connectors being couplable to each other by a route that does not pass through any digital audio interface circuit. Typically, the audio data passing through a set of interface connectors is accompanied by other signals, such as clock or synchronisation signals which may for instance indicate the timing of the audio data or other signals, or control or routing signals which may for instance include data package headers and error detection data, or other data. Typically, a timing signal such as a clock or synchronisation signal will be provided on a different connector of the set from the audio data signal(s). Preferably, at least some timing signal (clock) connectors of the sets of interface connectors are couplable to each other by a route that does not pass through any digital audio interface.
This opens the possibility for digital audio signals received from one external circuit to be received by the integrated circuit over one set of interface connectors and transmitted on to another external circuit through another set of interface connectors without the audio signal passing through any digital audio interface circuit of the integrated circuit and therefore without the digital audio signal passing through any of the other circuitry of the integrated circuit on the side of the digital audio interface circuit remote from the interface connectors. It may also be possible to branch the received digital audio signal additionally to a digital audio interface circuit if it is desired also to transmit the digital audio signal along a parallel path within the integrated circuit simultaneously with forwarding it to another circuit. For example, received audio in a telephone conversation may be provided to the integrated circuit from a baseband processor (communications processor), and this received audio may simultaneously be transferred directly to an applications processor, without passing through any digital audio interface of the integrated circuit, to enable the incoming audio to be recorded in a memory, and simultaneously the incoming audio may branch to a digital audio interface circuit and be transferred by the integrated circuit to a speaker or other output transducer.
Additionally, the connection between the connectors of different sets of interface connectors without passing through a digital audio interface circuit may be used to enable a digital audio signal output from the integrated circuit through a digital audio interface circuit to be branched so as to be provided to more than one external circuit, while only using one digital audio interface circuit of the integrated circuit. For example, audio for a telephone conversation received by the integrated circuit from a transducer such as a microphone may be provided simultaneously to a baseband processor (communications processor) for transmission to the telephone network in the telephone call while simultaneously being transferred to an applications processor to be recorded in a memory.
It may not always be possible to route signals from one digital audio interface circuit to two sets of interface connectors simultaneously, or to route signals from one set of interface connectors to another set of interface connectors without going via a digital audio interface circuit, for example where the operations of the two external circuits connected to the two sets of interface connectors are incompatible in some way. For example, for such an arrangement to work the two external circuits would normally have to be operating synchronously, and be arranged to communicate data at the same data rate using the same data transfer protocol, and at least one of the external circuits would have to be operable in slave mode (i.e. operable to time its interaction with the data on the data bus or link in accordance with clock signals received over the bus or link). Nevertheless, circumstances are possible in which two external circuits are compatible with each other so that this kind of signal routing could be used. Various possible advantages may be obtained. For example, in the case where signals are to be transferred from one external circuit to another external circuit, without the need for any processing in the integrated circuit for communicating with audio transducers, but those two external circuits have no direct connection with each other, the integrated circuit may nevertheless enable the audio signal to be transferred from one external circuit to the other without the signal passing through any digital audio interface circuit or processing circuits of the integrated circuit. This can avoid unnecessary power consumption since unnecessary operation of circuitry within the integrated circuit is avoided. Additionally, it avoids unnecessary use of digital audio paths through the integrated circuit, thereby freeing paths through the digital audio interface circuits and other circuits within the integrated circuit which may be required for simultaneous processing of different audio signals. This can be a matter of practical importance since there will typically be a limit to the number of simultaneous independent audio paths through the integrated circuit (for reasons of cost if nothing else), but on the other hand it is desirable for a mobile telephony device to handle multiple independent audio data streams simultaneously (for example, when the device is mounted in a car it may be required to handle telephone calls, satellite navigation commands and in-car entertainment audio simultaneously), and so the overall performance and flexibility of the device can be improved if audio signals that do not require processing within the integrated circuit can be routed so as not to occupy data paths through the integrated circuit which might obstruct the routing of other audio signals.
In another aspect of the present invention there is provided an integrated circuit for transferring audio signals between (i) audio transducers and (ii) circuits for supplying and/or receiving digital audio signals, the integrated circuit comprising:
In another aspect of the present invention there is provided an integrated circuit for transferring audio signals between (i) audio transducers and (ii) circuits for supplying and/or receiving digital audio signals, the integrated circuit comprising:
In another aspect of the present invention there is provided an integrated circuit for transferring audio signals between (i) audio transducers and (ii) circuits for supplying and/or receiving digital audio signals, the integrated circuit comprising:
In another aspect of the present invention there is provided a method of transferring digital audio data signals in a device comprising a plurality of audio transducers, a plurality of circuits for supplying and/or receiving digital audio signals, and an integrated circuit for transferring audio signals between the said audio transducers and the said circuits for supplying and/or receiving digital audio signals,
In another aspect of the present invention there is provided an integrated circuit for transferring audio signals between (i) audio transducers and (ii) circuits for supplying and/or receiving digital audio signals, the integrated circuit comprising:
An aspect of the present invention may provide an integrated circuit for processing at least audio (digital) data comprising:
An aspect of the present invention may provide an integrated circuit such as an audio hub comprising:
An aspect of the present invention may provide an integrated circuit such as an audio hub, having a routing system between (a) one or more sets of terminals for inputting to the audio hub, and/or outputting from the audio hub, digital audio data and associated control and/or timing data and (b) one or more interface circuits for handling data passing through the terminals, so that there is a choice of routes for data passing through the terminals.
An aspect of the present invention may provide an integrated circuit such as an audio hub, having a routing system between (a) one or more sets of terminals for inputting to the audio hub, and/or outputting from the audio hub, digital audio data and associated control and/or timing data and (b) one or more interface circuits for handling data passing through the terminals, so that data received through a set of terminals may be routed to be output through another set of terminals without passing through any of the interface circuits on its path between the sets of terminals.
The choice of routes need not be the same for all the signals passing through a set of terminals at the same time. For example, data in one direction may be routed via an interface circuit while data in a reverse direction is routed out of the integrated circuit without passing through an interface circuit, or audio data may be routed out of the integrated circuit without passing through an interface circuit while timing or control data passes through an interface circuit.
An aspect of the present invention may provide an integrated circuit such as an audio hub in which, for digital audio data (possibly with associated timing and/or control signals) entering or leaving the integrated circuit, a routing system is able to switch over which interface circuit of the integrated circuit handles signals entering or leaving the integrated circuit through which set of interface connectors.
An aspect of the present invention may provide an integrated circuit such as an audio hub, having more sets of terminals for inputting to the audio hub, and/or outputting from the audio hub, digital audio data and associated control and/or timing data than it has interface circuits for handling data passing through the terminals, and at least one of the interface circuits can be coupled so as to handle, at different times, data passing through different sets of terminals.
The interfaces (interface circuits) may be used to interface audio data between the circuitry inside the audio hub and circuitry outside the audio hub, for example by converting between data formats or data timing, such as serial/parallel conversion.
As previously mentioned, the audio data passing through a set of terminals or connectors is usually accompanied by other signals, such as clock signals or synchronisation signals which may for instance indicate the timing of the audio data or other signals, or control or routing signals which may for instance include data package headers and error detection data, or other data. Therefore, when an external circuit communicates digital audio data over an audio data link to or from the connectors of the integrated circuit, it will normally also be communicating such additional signals or data. Typically, a timing signal (clock signal or synchronisation signal) will be provided on a different connector of the set from the audio data signal(s), and the audio data link will typically include both at least one conductor for carrying audio data (possibly with other data) and at least one conductors for carrying another signal such as a timing signal.
Various aspects of the invention and optional features are set out in the claims, which are hereby incorporated by reference into the description.
Embodiments of the present invention provide an integrated circuit for transferring audio signals between audio transducers and circuits that supply or receive digital audio signals, suitable for use for example in a portable, battery powered telecommunications device such as a mobile telephone, smartphone or portable digital assistant with telephone capability, which comprises at least two sets of interface connectors for connecting to digital audio buses or links for communicating digital audio signals with the external circuits, and at least one digital audio interface circuit for converting the audio signals between the format used by the data link and the format used within the integrated circuit (such as conversion between serial and parallel and multiplexing/demultiplexing multiple data channels that are time division multiplexed onto the data link). A routing system is connected between the interface connectors and the digital audio interface circuit or circuits. The routing system is operable to route signals passing through a first set of interface connectors so as to pass through a first digital audio interface circuit and is operable to route signals passing through a second set of interface connectors so as to pass through the first digital audio interface circuit or alternatively is operable to route signals passing through the second set of interface connectors so as to pass through the first set of interface connectors without passing through any digital audio interface circuit as the signals pass between the first and second sets of interface connectors, or alternatively is operable to perform both routings.
In one embodiment, the integrated circuit has two digital audio interface circuits and three sets of interface connectors, and the routing system is operable to route signals passing through the first set of interface connectors so as to pass through the first digital audio interface circuit, is operable to route signals passing through the second set of interface connectors so as to pass through the second digital audio interface circuit or to pass through the third set of interface connectors without passing through any digital audio interface circuit as the signals pass between the second and third sets of interface connectors, and is operable to route signals passing through the third set of interface connectors so as to pass through the first digital audio interface circuit or to pass through the second digital audio interface circuit or to pass through the second set of interface connectors without passing through any digital audio interface circuit between the connectors.
In another embodiment, the integrated circuit has two digital audio interface circuits and two sets of interface connectors, and the routing system is operable so that signals passing through each set of interface connectors can be routed as desired through either digital audio interface circuit. Additional embodiments are also possible, as will be apparent from the drawings and the accompanying description.
The routing system enables various potential benefits in the design and operation of the integrated circuit. For example, it makes it possible to provide an integrated circuit that is capable of interfacing with a greater number of external circuits than it has digital audio interface circuits, thereby providing improved performance at reduced cost. Even when the number of digital audio interface circuits is the same as the number of sets of interface connectors, the ability to route signals passing through one of the digital audio interface circuits so as to pass through either one of two sets of interface connectors means that particular capabilities and processing functions may be provided for signals passing through both sets of connectors even in the case that those functions or processing abilities are only available within the integrated circuit to signals that pass through one particular digital audio interface circuit, thereby enabling improved performance at reduced cost.
The ability to route signals through one set of interface connectors directly to another set of interface connectors without passing through any digital audio interface circuit means that when signals are to be transferred from one external circuit to another external circuit without requiring any processing within the integrated circuit, this signal routing can be done without the signals occupying any audio paths through the internal circuitry of the integrated circuit, such as a digital processing core of the integrated circuit. This keeps all such audio paths through the internal circuitry free for carrying other audio signals, thereby improving the ability of the integrated circuit to handle multiple separate audio streams simultaneously.
The term “integrated circuit” is intended to refer both to IC chips themselves, and to encapsulated IC packages, and as such the terminals or connectors referred to above may for example be bond pads (connection regions) of an integrated circuit chip or may be connector pins, pads, balls or other electrical connection terminals of an encapsulated IC package.
The routing system may be regarded as, or may be implemented by, any suitable switching or coupling circuitry or combinatorial logic.
Typically, the audio data will be transferred over the data link to and from an external circuit in a serial format, and there may for example be four or five connectors in a set, including connectors for clock signals or other timing signals as well as connectors for carrying data in both directions. On the other hand, the digital audio data will normally be communicated within the audio hub integrated circuit in parallel form. Under these circumstances, the fact that the routing system routes the signals when they are outside (with respect to the main circuitry of the integrated circuit) the digital audio interface circuits means that the routing is performed on the serial data signals. Consequently, for a single set of connectors the routing logic is required to act only on e.g. four or five 1-bit wide signals in order to be able to route both data and timing signals (as opposed to acting on 32 lines for data alone if required to route 16-bit data with separate data input and output lines). This means that the routing logic can be implemented, even when the maximum possible number of routes is provided, within a reasonably small physical area of the integrated circuit. This helps to minimise manufacturing cost and prevents the routing system from taking up too much space that could otherwise be used for implementing other circuitry within the integrated circuit.
There are various known protocols specifying formats for the transfer of audio data over data links, and it is anticipated that other protocols may be developed in the future. The present invention is not limited to the use of any particular type of format or protocol. Known audio data link protocols and formats include I2S, PCH, AC'97, and Intel HAD. This list is not exhaustive.
It will be apparent that the various aspects of the present invention discussed above are compatible with each other, and an integrated circuit may be provided which simultaneously embodies multiple aspects of the present invention. For example, an integrated circuit may be able to route and reroute signals selectively between a digital audio interface circuit and any selected one of a plurality of sets of interface connectors, and may also be able to couple one set of interface connectors to another along a route that does not pass through a digital audio interface circuit, either at a different time or simultaneously with the selective routing and rerouting of signals between a digital audio interface circuit and sets of interface connectors.
Embodiments of the present invention, given by way of non-limiting example, will be discussed with reference to the accompanying drawings.
As shown in
Depending on the circumstances, the mobile telephone 1 may output three separate audio streams simultaneously, respectively to the earpieces 13, 19 of the wired or wireless headset, to the in-built speaker 7 and to the speakers 25 of the external audio system 23. For example, if the mobile telephone 1 is fitted into a docking station in a car and is equipped with a GPS satellite navigation system, the mobile telephone may simultaneously (a) handle a mobile telephone conversation via the wired or wireless headset, (b) provide stereo music from its memory to the external audio system 23, which in this case is the car's in-built audio system, and (c) provide tones for confirmation of button presses and provide satellite navigation instructions via the in-built speaker 7. Consequently, the system in the mobile telephone 1 for interacting with audio transducers has to handle simultaneously three separate audio output data streams and at least one audio input data stream (from the headset microphone 15, 21 as part of the telephone conversation). Although in theory the separate audio output streams could be mixed and be provided through a single set of output transducers (speakers 25, 7 or earpieces 13, 19), the user's experience is improved if the three audio streams are provided through different transducers, particularly as this makes it much easier for the user to separate the three audio streams psychologically and respond to each stream in the appropriate manner.
The baseband processor 31, the applications processor 33 and the wireless transceiver 37 all send audio data to, and receive audio data from, an audio hub 39, which is an integrated circuit embodying the present invention. The audio signals between these external circuits 31, 33, 37 and the audio hub 39 are all digital, and some of them may be stereo (i.e. comprise a left data stream and a right data stream). Additionally, at least in the case of communication with the applications processor 33, further data streams may be time division multiplexed into the audio signals, e.g. to enable the applications processor 33 to provide stereo music and also other audio such as key press confirmation tones simultaneously. The baseband processor 31, the applications processor 33 and the wireless transceiver 37 send audio data to, and receive audio data from, the audio hub 39 over respective serial audio data links 38a, 38b, 38c. The data links are connected to respective sets of connectors (pins, pads etc.) 40a, 40b, 40c of the audio hub 39.
The audio hub 39 provides audio signals to, and receives audio signals from, the built-in audio transducers (speaker 1 and microphones 9, 11) and the transducers of external devices connected by wire (earpieces 13 and microphone 15 of the wired headset and speakers 25 of the audio system 23). Depending on the nature of each individual transducer, the signals may be either analog or digital. Additionally, the audio hub may receive stereo audio input signals from the radio receiver 41 in the external audio system 23. Again, depending on the nature of the connection to the external audio system 23, these signals may be digital or analog. Furthermore, via its connection to the wireless transceiver 37, the audio hub 39 handles signals to and from the transducers in the wireless headset 17 (the earpieces 19 and microphone 21).
In
On the side of the digital audio interface circuits 43, 45 towards the interior of the audio hub 39, the digital signal channels are grouped together in pairs, each pair of channels being regarded as comprising a left and a right stereo audio channel, even though in practice the signals carried on the two channels of a pair may in some circumstances not in fact be corresponding left and right stereo audio data. On the side of the digital audio interface circuits 43, 45 towards the interior of the audio hub 39, each pair of channels passes through a respective switching and mixing block 47, which can be configured to pass the signals unaltered, or to exchange the digital audio data between the left and right channels of a pair, or to mix the channels so as to output mono audio data corresponding to the input left and right stereo audio data.
On the side of the switching and mixing blocks 47 towards the interior of the audio hub 39, the digital audio data channels pass through audio signal conditioning blocks 49, 51. A separate respective audio signal conditioning block is provided for the audio data channels associated with the different respective digital audio interface circuits. In each audio signal conditioning block 49, 51, various signal conditioning circuits are available, such as a gain adjustment (volume adjustment) circuits 53, dynamic range control circuits 55, high-pass filters 57 for output channels, and equalisation or 3D stereo enhancement circuits 59 for input channels.
The first digital audio interface circuit 43, and the first audio signal conditioning block 49 which conditions the audio channels passing to and from the first digital audio interface circuit 43, both operate in accordance with the same clock signals, indicated as AIF1CLK in
The main mixing and routing of digital audio signals within the audio hub 39 is carried out in a digital core 61, which operates in accordance with a system clock SYSCLK. The system clock SYSCLK will be synchronised with one or the other of the digital audio interface clocks AIF1CLK and AIF2CLK. However, if the two digital audio interface clocks are not synchronised with each other, this means that the digital audio signals in some of the interface data channels are not synchronised with the system clock SYSCLK. Additionally, the data communicated with different external circuits may have different data sample rates, whereas if inputs received from the two external circuits are to be mixed within the digital core 61 they need to have the same sample rate and if signals from a common digital source (or from a common analog-to-digital converter) are to be output simultaneously to both external circuits then the outputs from the digital core 61 to the two digital audio interface circuits 43, 45 will inevitably have the same sample rate. In order to handle the possible sample rate differences and possible lack of clock synchronisation between the digital core 61 and one of the digital audio interface circuits 43, 45, a sample rate conversion block 63 is provided between the digital core 61 and the first and second audio signal conditioning blocks 49, 51. The sample rate conversion block 63 contains asynchronous digital sample rate conversion circuits that can be switched into whichever digital audio channels are required in order to cope with the sample rate differences and clock asynchronisation.
The digital core 61 is arranged to interface with the various audio transducers that are built in to the mobile telephone 1 or that may be connected to it, via analog processing circuits in the case of analog transducers. Accordingly, it has four digital input lines 65, for receiving inputs from the digital microphones 11, and two analog-to-digital converters 67 (nominally allocated to left and right channels) for receiving analog inputs from the main microphone 9 in the mobile telephone 1 or the microphone 15 of the wired headset, or for receiving a stereo analog audio input from an external source such as the radio receiver 41 of the external audio system 23. The digital core 61 is not designed for providing any signals to digital output transducers, but does have four digital-to-analog converters 71, nominally allocated to left and right stereo channels for two separate stereo audio streams, to enable it to drive the built-in speaker 71 of the mobile telephone 1, the earpieces 13 of the wired headset, or the speakers 25 of the external audio system 23.
The digital audio input channels from the first and second digital audio interface circuits 43, 45 are each connectable to a respective input of each of four output mixers 71, each output mixer 71 being associated with a respective digital-to-analog converter 69. Accordingly, any of the input channels from the digital audio interface circuits 43, 45 can be connected to any of the digital-to-analog converters 69 for output to an audio transducer, and any of the input channels may be mixed together before being provided to a respective digital-to-analog converter 69. Additionally, the outputs from two of the output mixers 71 provide the digital data for the output channels for the second digital audio interface circuit 45. The audio transducer inputs to the digital core 61 are connected to provide digital audio data to the input channels of the first digital audio interface circuit 43. Additionally, a connection shown at the top of
Because each of the output channels for both digital audio interface circuits 43, 45 is connected to the output of a respective one of the mixers 71, 73, it is possible for any of the output channels to receive a combination of audio input received through one of the transducers with a further audio input received through the other of the digital audio interface circuits 43, 45. For example, during a telephone conversation the user's speech, received by the digital core 61 via one of the analog-to-digital converters 67 from the main microphone 9 of the digital telephone 1 or from the microphone 15 of the wired headset, may be mixed with the incoming speech from the remote end of the telephone conversation, received by the digital core 61 from the baseband processor 31 via the second digital audio interfaces circuits 45, and the mixed speech may be output through the first digital audio interface circuit 43 to the applications processor 33 so that the telephone conversation can be recorded in the memory 35. Simultaneously, the applications processor 33 may reproduce music from the memory 35 and provide that through the first digital audio interface circuit 43 to the digital core 61, where it is mixed into the local speech received through one of the analog-to-digital converters 67, and the mixed signal can then be provided through the second digital audio interface circuit 45 to the baseband processor 31 so that the person at the other end of the telephone conversation hears the voice of the user of the mobile telephone 1 mixed into the music. Simultaneously with both of those audio streams, the music provided from the applications processor 33 may also be routed so as to be mixed separately with the speech received from the remote end of the telephone conversation and this mixed signal may be output through the upper pair of digital-to-analog converters 69 in
A further consequence of the output from mixers 71, 73 to the output channels of the digital audio interface circuits 43, 45 is that signals received from the input channels of one of the digital audio interface circuits 43, 45 may be output, without being mixed with any other signal, to output channels of the other of the digital audio interface circuits 43, 45. Because of the effect of the sample rate conversion block 63, this enables the audio hub 39 to route digital audio signals from one external circuit to another, for example from the baseband processor 31 to the applications processor 33, without the need for the two external circuits to have synchronised clocks.
As shown in
Additionally, the second and third sets of interface connectors 40b, 40c may be coupled to each other by a route that does not include any interface circuit, rather than be coupled to one of the digital audio interface circuits. This ability to couple the second and third sets of interface connectors to each other enables audio data from one external circuit to be routed to another external circuit without the audio data needing to pass through the digital audio interface circuits 43, 45, the audio signal conditioning blocks 49, 51 and the digital core 61. This can provide various advantages such as reduced power consumption in the audio hub 39 and an increase in the number of audio paths through the audio hub 39 available for other signals. The connections between the interface connectors and the digital audio interface circuits will now be described in further detail.
The first and second sets of interface connectors 40a, 40b each consist of five connectors, as follows. Connector SDIN carries serial data input to the audio hub 39. Connector SDOUT carries audio data output from the audio hub 39. The data carried on SDIN and SDOUT is serial, and at least two channels can be time division multiplexed into each data stream, to permit left and right stereo audio to be transmitted (some data transfer protocols also permit more than two data channels to be multiplexed into each data stream). Connector BCLK carries the bit clock, which determines the timing of all other signals on the data link 38a, 38b connected to the connectors. That is to say, the signals on all four other connectors of the set must be synchronised to the clock signal on BCLK. This connector is bi-directional, that is to say it may be either an input or an output. If the audio hub is operating in master mode with respect to this data link 38a, 38b, clock BCLK is generated within the audio hub 39 and is output by it onto the corresponding connector, and the other circuit with which the audio hub communicates over the data link is required to operate in slave mode, receiving the clock signal BCLK from the audio hub 39 and controlling the timing of its interface circuits in response. If the audio hub 39 is operating in slave mode with respect to this data link 38, it will receive the bit clock signal via the BCLK connector and the relevant digital audio interface circuit 43, 45 will time its operations accordingly. Connector SYNC carries a synchronisation signal. This is generated from and synchronised with the bit clock signal BCLK. Signal SYNC is used to signal when the bit stream of the input audio data on SDIN changes from one data packet, data frame or data channel to another. The precise use of this synchronisation signal will vary depending on the data transfer protocol being used. For example, in the I2S protocol the serial data stream consists of data words for a left channel alternating with data words for a right channel, and all data bits belong to one channel or the other, and the SYNC signal acts as the word select signal, indicating in accordance with the I2S protocol when the word for one channel ends and the next word for the other channels begins. However, in the PCM protocol, a greater number of channels can be time division multiplexed into the serial audio data, and the data is sent in a succession of frames each of which contains one data word for each channel in turn. In this case, the SYNC connector carries the frame sync signal, the rising edge of which indicates the beginning of a new frame.
The other circuit, with which the audio hub 39 communicates, will always synchronise the data words or frames provided to the SDIN connector with the synchronisation signal SYNC. The audio hub 39 can use the same synchronisation signal to time the data words or frames output on the SDOUT connector, or alternatively the output data can have a different frame or word timing from the input data, in which case the output data frame or word timing is indicated by a synchronisation signal on connector SYNCOUT. Both the connector SYNC and the connector SYNCOUT may be inputs or outputs, so that when the audio hub 39 is communicating with one of the other circuits 31, 33, 37, the audio hub 39 can determine the word or frame timing for one of the data streams while the other circuit determines the word or frame timing for the other data stream. However, whichever circuit generates the signal SYNC or the signal SYNCOUT, it must be synchronised with the bit clock BCLK.
As shown in
In the present embodiment, the applications processor 33 is connected to the first set of interface connectors 40a, the baseband processor 31 is connected to the second set of interface connectors 40b and the wireless transceiver 37 is connected to the third set of interface connectors 40c. Accordingly, data communication between the audio hub 39 and the applications processor 33 will always take place via the first digital audio interface circuit 43 and data communication between the audio hub 39 and the baseband processor 31 will always take place via the second digital audio interface circuit 45. Communication with the wireless transceiver 37 may take place via either digital audio interface circuit. As can be seen from
The signal routing system 74 between the sets of interface connectors 40a, 40b, 40c on the one hand and the first and second digital audio interface circuits 43, 45 on the other hand permit considerable flexibility in routing of audio signals and the performance of the audio hub 93 and the mobile telephone 1 as a whole.
For example, if the wireless transceiver 37 can be operated synchronously with the baseband processor 31, the user can conduct a telephone conversation using the wireless headset 17, and the local telephone audio signal provided by the wireless transceiver 37 from the wireless headset 17 to connector SDIN3 in the third set of connectors 40c can be routed directly to connector SDOUT2 in the second set of connectors 40b so as to be supplied to the baseband processor 31. At the same time, the remote telephone audio signal provided by the baseband processor 31 from the telephone network to connector SDIN2 in the second set of connectors 40b can be routed directly to connector SDOUT3 in the third set of connectors 40c so as to be supplied to the wireless transceiver 37. In this way the telephone conversation audio signals are routed between the baseband processor 31 and the wireless transceiver 37 without passing through the digital audio interface circuits 43, 45 at all, and effectively a direct connection is established between the wireless transceiver 37 and the baseband processor 31 even though these two circuits are not directly connected within the mobile telephone 1. If desired, the applications processor 33 can simultaneously be communicating with the digital core 61 of the audio hub 39 via the first set of interface connectors 40a and the first digital audio interface circuit 43, for example to output stereo music via two of the digital-to-analog converters 69 to speakers 25 of an external audio system 23 within a car, and also outputting satellite navigation messages via a third digital-to-analog converter 69 to the mobile telephone's in-built speaker 7.
In an alternative example it is desired not to synchronise the data transfer of the wireless transceiver 37 with the baseband processor 31 (for example because synchronisation creates problems with audio quality or consumes excessive power). In this case, signals to and from the wireless transceiver 37 at connectors SDOUT3 and SDIN3 of the third set 40c are routed through the first digital audio interface circuit 43, while signals to and from the baseband processor 31 at connectors SDOUT2 and SDIN2 of the second set 40b are routed through the second digital audio interface circuit 45. The signals received through each interface circuit are routed out through the other interface circuit by appropriate control within the digital core 61 of the audio hub 39. With this arrangement, the operation of the sample rate conversion block 63 allows the two digital audio interface circuits 43, 45 to operate asynchronously with respect to each other and therefore allows the baseband processor 31 and the wireless transceiver 37 to operate asynchronously with respect to each other.
In the preceding example, the third set of interface connectors 40c was coupled through the routing system 74 to the first digital audio interface circuit 43. Under other circumstances, the third set of interface connectors 40c may be coupled through the routing system 74 to the second digital audio interface circuit 45. For example, if the applications processor 33 is connected to the Internet, either via a wired connection from the mobile telephone 1 to a computer or an Internet router or via an additional wireless transceiver and a wireless Internet connection, the mobile telephone 1 can be used to make a telephone call using voice-over-Internet protocol (VoIP) instead of using the cellular mobile telephone network. In this case, the baseband processor 31 does not need to be connected to the audio hub 39, since the cellular telephone network is not being used. If the user makes the telephone call using the wireless headset 17, the wireless transceiver 37 can be coupled through the third set of interface connectors 40c to the second digital audio interface circuit 45, while the applications processor 33 is coupled through the first set of interface connectors 40a to the first digital audio interface circuit 43, enabling the voice signals for the VoIP telephone call to be coupled between the applications processor 33 and the wireless transceiver 37 via the digital core 61 of the audio hub 39. A similar signal routing arrangement, with the applications processor 33 communicating with the digital core 61 via the first digital audio interface circuit 43 and the wireless transceiver 37 communicating with the digital core 61 via the second digital audio interface circuit 45, can be used to allow the playback of stereo music, read out from the memory 35, from the applications processor 33 to the earpieces 19 of the wireless headset 17.
In the first example given above, both the input audio and the output audio for the wireless transceiver 37 were routed directly between the second and third sets of interface connectors 40b 40c, without passing through either digital audio interface circuit 43, 45, whereas in the remaining examples both the input audio data and the output audio data for the wireless transceiver 37 is routed through one of the digital audio interface circuits. However, it is not necessary for the input audio data stream and the output audio data stream to be routed in the same manner. For example, an audio stream originating from the microphone 21 of the wireless headset 17, and provided by the wireless transceiver 37 to connector SDIN3 of the third set of interface connectors 40c may be routed directly to connector SDOUT2 of the second set of interface connectors 40b, so as to provide the local voice data directly from the wireless transceiver 37 to the baseband processor 31 without signals passing through the digital core 61 of the audio hub 39. On the other hand, the remote voice audio received from the baseband processor 31 at connector SDIN2 of the second set of interface connectors 40b may be routed through the second digital audio interface circuit 45 into the digital core 61 of the audio hub 39, to enable it to be mixed with other audio signals received from the applications processor 33 via the first digital audio interface circuit 43, such as reproduced music or satellite navigation instructions. The mixed audio signal is then routed back out through the second digital audio interface circuit 45 and to connector SDOUT3 of the third set of interface connectors 40c for transmission to the wireless transceiver 37 and the earpieces 19 of the wireless headset 17. Accordingly, in this case the audio data received from the wireless transceiver 37 on connector SDIN3 is routed directly to connector SDOUT2, whereas the output data stream to the wireless transceiver 37 via connector SDOUT3 is provided from the second digital audio interface circuit 45. It should be noted that this operation not only requires that the wireless transceiver 37 and the baseband processor 31 communicate synchronously, but that the second digital audio interface circuit 45 of the audio hub 39 is also properly synchronised with both external circuits. Therefore the same BCLK signal should be used by the second digital audio interface circuit 45 and both external circuits 31, 37.
The routing system 74 for coupling signals between digital audio interface circuits and interface connectors shown in
By contrast,
When any of the embodiments are operated so that audio data signals received via the SDIN terminal of one set of connectors 40a, 40b, 40c, 40d are routed to the SDOUT terminal of another set of connectors without passing through any digital audio interface circuit on its path between the SDIN and SDOUT terminals (such as when data is passed directly between the wireless transceiver 37 and the baseband processor 31), the two sets of terminals must carry the same clock signals on their BCLK terminals, in order to ensure that the external circuit providing the data to the SDIN terminal and the external circuit receiving the data from the SDOUT terminal handle the data with proper bit-synchronisation. This can be done by arranging for one external circuit to communicate in master mode, generating and outputting the BCLK signal, and the other external circuit to communicate in slave mode, controlling its operations in accordance with the timing of the received BCLK signal. Alternatively, both external circuits may communicate in slave mode, and the bit clock BCLK may be provided by the audio hub 39 itself. The audio hub may provide the BCLK signal even if it does not receive the SDIN signal from either of the sets of connectors involved nor provide the SDOUT signal to either of the sets of connectors. However, the BCLK signal will normally only be provided from the audio hub 39 if one of the digital audio interface circuits 43, 45, 75 provides the SDOUT signal to, or receives the SDIN signal from, one of the sets of connectors 40a, 40b, 40c, 40d between which audio data is being directly communicated.
The present embodiments merely illustrate some of the possible arrangements of digital audio interface circuits, sets of interface connectors and the routing system between them, and it will be understood by those skilled in the art that many other alternatives are possible. The provision of the signal routing system 74 provides considerable flexibility and the possibility of cost saving in the design of the audio hub 39. As will be clear from the embodiments, it is possible for the audio hub 39 to support more sets of interface connectors 40, and therefore more audio data links 38, than the number of digital audio interface circuits provided in it. Additionally, the audio hub 39 may have two or more digital audio interface circuits but these circuits are not necessarily identical with each other and may have different capabilities. As is illustrated in the embodiments, one digital audio interface circuit may be able to handle more audio channels than another. Other differences are possible, such as a difference in the range of audio data transfer protocols that can be supported by any particular digital audio interface circuit. Additionally or alternatively, a difference may be provided not in the digital audio interface circuit itself but in associated circuitry such as the audio signal conditioning blocks. For example, in the embodiment of
Additionally, the ability to route signals directly from one of the sets of interface connectors 40 to another set of interface connectors 40 enables signals to pass directly from one external device to another without passing through the digital audio interface circuits, provided that the two external circuits are compatible for direct signal transfer and the audio hub 39 is not required to provide a function such as changing signal synchronisation. This enables signals to be transferred between external circuits that have no direct connection within the mobile telephone or other device in which the audio hub is used, without the signals passing through the main digital core of the audio hub. This may be advantageous both to save power consumption within the audio hub and to avoid signals occupying digital signal paths within the digital core of the audio hub when no processing or mixing of those digital signals is required within the audio hub. This allows the audio hub 39 to provide the maximum flexibility in handling multiple audio signals independently, without the cost and complexity of providing an excessive number of independent signal paths through its digital circuits.
Number | Date | Country | Kind |
---|---|---|---|
0912956.0 | Jul 2009 | GB | national |