Audio Data Processing Circuit for I2S and TDM Protocol Detection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current audio processing modules for digital microphones are slow due to the time-consuming process of determining the bit depth and number of channels in audio data transmission protocols, such as I2S and TDM, which limits processing speed.
Innovation Solution
An audio data processing circuit with a counter, first logic unit, and second logic unit that quickly detects the number of clocks in a word select signal to differentiate between I2S and TDM protocols, allowing for rapid determination and processing of audio data transmission interfaces.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If the audio processing module determines the bit depth and number of channels using traditional methods, then the audio data can be processed accurately, but the processing speed becomes too slow
Solution Approach 1:
The patent performs preliminary detection of the audio transmission protocol by analyzing the relationship between clock signal frequency and word select signal period before full audio processing. The detection unit quickly identifies whether I2S or TDM protocol is used by checking if the clock cycle equals the word select period (I2S) or is an integer multiple thereof (TDM), enabling rapid protocol identification without time-consuming bit depth and channel number determination
Solution Approach 2:
The patent extracts only the essential特征 for protocol identification - the relationship between clock signal and word select signal - rather than analyzing all audio data parameters. By focusing solely on the timing relationship between these two signals, the system achieves fast protocol detection without processing the entire audio data stream
2Adaptability or versatility
If digital microphones support multiple transmission protocols (I2S and TDM), then the adaptability is improved, but the complexity of determining which protocol is used increases processing time
Solution Approach 1:
The system performs preliminary protocol detection by analyzing the timing relationship between clock and word select signals before full audio processing. The detection unit quickly identifies the protocol type by checking whether the clock cycle equals (I2S) or is an integer multiple of (TDM) the word select period, enabling rapid protocol identification without time-consuming parameter analysis
Solution Approach 2:
The audio processing module is designed with universal capability to handle both I2S and TDM protocols through a unified detection mechanism. The same detection unit and processing circuitry can identify and process either protocol type by analyzing the clock-word select signal relationship, eliminating the need for separate detection paths for each protocol
Data Source
AI summary
The present disclosure provides an audio data processing circuit and an audio data processing method. The audio data processing circuit includes a word select interface, a clock signal interface and an audio data interface. The word select interface is configured to receive a word select signal. The clock signal interface is configured to receive a clock signal, and generating an audio data interface signal according to a number of clocks of the clock signal in one period of the word select signal. The audio data interface is configured to transmit the audio data to a processing unit through a first transmission protocol or a second transmission protocol.


