摘要:
A method and system for efficiently handling a particular streaming data packet regardless of whether the streaming data packet has a first alignment or a second alignment. In one embodiment, the present invention receives a first portion of an incoming packet stream at a peripheral component adapted to be coupled to a host computer. The present embodiment then receives a second portion of the incoming packet stream at the peripheral component. Next, the present embodiment determines whether the incoming packet stream has a first alignment or a second alignment. Provided that the incoming packet stream has the second alignment, the present embodiment reconfigures the incoming packet stream to have the first alignment. The present embodiment then handles the incoming packet stream using a single processing unit adapted to handle only packet streams having the first alignment. In so doing, the present invention is able to handle an incoming packet stream having either a first alignment or a second alignment without requiring multiple processing units.
摘要:
A method and system for programmably controlling hardware generation of interrupts by a peripheral component. In one embodiment, the present invention uses a peripheral component driver to programmably define a duration for a time cycle of a hardware timer disposed on a peripheral component. The hardware timer is configured to cause the generation of an interrupt signal upon the expiration of the time cycle. In this embodiment, the hardware timer of the peripheral component implements the duration for the time cycle and causes the generation of an interrupt signal upon the expiration of the time cycle. In so doing, the present embodiment attains the reliability and consistency of hardware timer generated interrupts schemes, but, by controlling the hardware timer with software, the present embodiment prevents over utilization of the CPU by the hardware timer.
摘要:
An audio codec integrated with baseband processing and RF on a single IC chip. The audio codec may be implemented in a variety of wireless transceivers, such as cell phones, to offer voice, data and/or music functions. The codec also has monaural and stereo channels for audio output, as well as stereo inputs.
摘要:
Certain aspects of a method and system for handling signals in a communication system are disclosed. Aspects of one method may include processing, within a single chip, any one of a plurality of wireless access communication protocols by any one of a plurality of on-chip baseband processors. None of the on-chip baseband processors is a dedicated processor that is configured to handle only a single wireless access communication protocol. The plurality of wireless access communication protocols may comprise WCDMA, HSDPA, GSM, GPRS, and EDGE. Any one of the plurality of on-chip baseband processors may be configured to process any one of the plurality of wireless access communication protocols.
摘要:
An audio codec in a baseband processor may be utilized for mixing audio signals received at a plurality of data sampling rates. The mixed audio signals may be up sampled to a very large sampling rate, and then down sampled to a specified sampling rate that is compatible with a Bluetooth-enabled device by utilizing an interpolator in the audio codec. The down-sampled signals may be communicated to Bluetooth-enabled devices, such as Bluetooth headsets, or Bluetooth-enabled devices with a USB interface. The interpolator may be a linear interpolator for which the audio codec may enable generation of triggering and/or coefficient signals based on the specified output sampling rate. An interpolation coefficient may be generated based on a base value associated with the specified output sampling rate. The audio codec may enable selecting the specified output sampling rate from a plurality of rates.
摘要:
Methods and systems for detecting, and controlling power for, an auxiliary microphone are disclosed. Aspects of one method may include a detection block intermittently enabling a bias circuit block to provide a bias signal to determine if an auxiliary microphone may be communicatively coupled to a mobile device. The detection block may process 1-bit digital samples received from the bias circuit bock to determine whether the auxiliary microphone may be communicatively coupled. The detection block may also process the 1-bit digital samples to determine if a button associated with the auxiliary microphone may have been pushed or activated.
摘要:
A method and system for efficiently servicing a peripheral component event. In one embodiment of the present invention, peripheral component events are coalesced. The time that a peripheral component event has been stored is determined. This time interval is then compared to a storage time threshold. This process continues until the time that a peripheral component event has been stored meets or exceeds the storage time threshold. Once time that a peripheral component event has been stored meets or exceeds the storage time threshold, an interrupt is generated. By appropriately selecting a storage time threshold, the generation of interrupts is optimized. As a result, the present invention optimizes the generation of interrupts, reducing the frequency with which interrupts are generated, and minimizing the CPU overhead associated with the servicing of interrupts.
摘要:
A method and system for efficiently transferring data between a host computer and a peripheral component which is removably coupled to the host computer. In one embodiment of the present invention, a peripheral component such as, for example, a network interface card receives information from a peripheral component driver, such as, for example, a network interface card driver. In this embodiment, the information triggers the peripheral component to transmit a read request to the host computer such that the peripheral component can access data present at the host computer. Next, the peripheral component determines from the information received at the peripheral component, which type of read request to transmit to the host computer. In this embodiment, the type of read request is selected such that only a desired portion of the data will be prefetched and stored in memory of the host computer. The peripheral component then transmits the read request to the host computer such that the peripheral component has access to the portion of the data. In this invention, the portion of the data is selected such that when stored in the memory of the host computer, the portion of the data will end on a boundary of the memory. Then, the peripheral component reads the portion of the data which is stored in the memory of the host computer. In so doing, the present invention minimizes CPU overhead associated with prefetching data in response to a read request from a peripheral component.
摘要:
Methods and systems for detecting, and controlling power for, an auxiliary microphone are disclosed. Aspects of one method may include a detection block intermittently enabling a bias circuit block to provide a bias signal to determine if an auxiliary microphone may be communicatively coupled to a mobile device. The detection block may process 1-bit digital samples received from the bias circuit bock to determine whether the auxiliary microphone may be communicatively coupled. The detection block may also process the 1-bit digital samples to determine if a button associated with the auxiliary microphone may have been pushed or activated.
摘要:
One or more circuits in a mobile phone may be utilized for up sampling two or more audio signals to a same data sampling rate. Each audio signal, such as digital audio, voice, and polyringer, for example, may be received at one of a plurality of data sampling rates and one or more of the following wireless standards: WCDMA, HSDPA, GSM, GPRS, EDGE, and/or Bluetooth. Audio signals may be equalized and/or compensated with an FIR filter before up sampling or with an IIR filter to reduce overall processing latency. Multiple half-band interpolation operations may perform the up sampling. The first half-band filter may be replaced by an IIR filter to reduce overall processing latency. A gain of the up-sampled data may be adjusted to reduce noise effects. The channels of the up-sampled audio signals may be mixed and later further up sampled for subsequent communication to an output device.