Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / System Validation and Replacement

The ICS-41350 PDM clock is back. Why is the start of the recording still quiet?

A handheld device stops the PDM clock while idle and restarts the microphone on a button press. A logic trace shows clock and data, and software receives PCM samples, but the initial consonant sounds weak. There are two distinct events. The digital interface starts moving and the microphone sensitivity settles within its specified range. Treat the former as the latter and the application can expose the gain transient as recorded speech.

Start timing at the applicable wake threshold

TDK's ICS-41350 data sheet specifies up to 1 ms to enter sleep after the clock drops below 200 kHz. With power maintained, the stated transition from sleep to standard or high-performance mode allows up to 20 ms after the clock meets the specified wake condition for sensitivity to settle within 0.5 dB of its final value. Design for the recommended clock range for the selected mode. The threshold for the wake test does not define that entire range. Cycling microphone power, waiting for a clock source to start, or pausing at an intermediate frequency creates a different sequence. Specify digital data availability and usable recording gain separately.

At 3.072 MHz with decimation by 64, PCM arrives at a nominal 48 kHz. Twenty milliseconds spans 61,440 PDM clock cycles or 960 PCM sample intervals. Discarding one 256-sample buffer covers 5.33 ms. Four cover 1,024 samples, about 21.33 ms. The first buffer must be timed from the point at which the intended clock is available. If DMA starts earlier, four buffer numbers say little about the elapsed time at the proper clock. Decimator startup, processing frame boundaries, and automatic gain control deserve their own allowance.

When two microphones share the data line

The ICS-41350 channel select allows two devices to drive opposite PDM half-cycles. Set the two select pins and use the receiver sampling windows in the data-sheet timing diagram. If only one channel has normal amplitude after restart, verify power and clock arrival at both microphones, check the receiver's half-cycle assignment, and then compare raw decimated samples under the same sound pressure. If changing the channel wiring or capture edge changes the symptom, extending the wake delay can hide a wiring or capture error.

Test with a continuous, stable tone in a fixture that represents the enclosure. Stop the clock long enough to enter sleep, then restart it. Capture CLK and DATA near the receiver and save PCM before gain processing. Compare fixed windows against the settled amplitude at the end of each run so that microphone gain and speaker placement are less likely to influence the comparison. Record the window width and start time. A long averaging window mixes the startup transient with normal audio. Choose a test tone with enough comparable cycles in each window.

Replay the same sequence through the application's actual recording path. A retained filter state can carry older input into the first frame, while a reset filter can take time to build up. Use a consistent firmware policy and keep records before and after processing. Temporarily hold gain fixed so the microphone's settling is visible before automatic gain, muting, or buffering changes it. Use the first timestamp at which the microphone and the software chain deliver usable audio to validate the product's recording promise.

When a new MCU sleep policy changes clock gating, retest both a brief interruption and a long idle interval. A short or repeated button press may restore the clock before the microphone enters sleep. Long idle usually provides time to enter that state. Keep both the clock-off interval and the time from clock return to settled gain. If software shortens its wait for one path, power and clock records must show which path actually ran.

A product that must preserve the very first syllable can keep the clock in a valid operating mode while waiting or wake early using a separate trigger. The applicable data-sheet conditions and the board measurements determine whether a shorter wait is defensible. Document the working clock, its duty cycle, and how it is stopped for the clock provider. Keep the elapsed time from button press to first usable audio for system acceptance.

References

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.