I2S Audio Debugging: No Sound, Noise and Sample Rate Mismatch
I2S controller, codec, amplifier, speaker — every link can be silent or inject noise.
Follow the signal chain
- Clocks: confirm master/slave roles and the MCLK/BCLK/LRCK divider relationship; a sample rate mismatch causes pitch shifts or silence;
- Codec init: use amixer to check for muted paths or zero volume, and read/write registers directly with i2cget and i2cset to verify;
- Noise and pops: usually amplifier enable sequencing — power the amp before audio starts and reverse the order on shutdown.
The fastest audio debugging aid is a scope on BCLK and LRCK — far quicker than iterating on configuration.
Related products: RP01A dev board, HS89 T19 media player. Datasheets, firmware and SDKs are free at the Hugsun Documentation Center; for selection advice or volume pricing, talk to us.


