I2S オーディオインターフェースタイミングカリキュレータ
オーディオインターフェースのI2Sビットクロック (BCLK)、ワードクロック (LRCLK/WCLK)、データレートを任意のサンプルレート、ビット深度、チャンネル数で計算できます。
公式
BCLK = F_s \times N_{bits} \times N_{ch}
参考: Philips I2S Bus Specification, 1996
仕組み
I2S (Inter-IC Sound) は、集積回路間のデジタルオーディオ伝送に使用されるデジタルオーディオ通信プロトコルです。このプロトコルは、ビットクロック (BCLK)、ワードクロック (LRCLK)、マスタークロック (MCLK) の間の正確なタイミング関係を定義し、これがオーディオデータの伝送特性を決定します。これらのタイミングパラメータは、さまざまなサンプリングレートとビット深度にわたってデジタルオーディオ信号を正確に表現するために重要です。
計算例
実践的なヒント
- ✓MCLKがサンプリングレートの適切な倍数であることを必ず確認してください
- ✓MCLKには256×fsや512×fsのような標準的な倍数を使用してください
- ✓データセットアップ時間がI2S仕様要件を満たすことを確認
よくある間違い
- ✗ビットクロック周波数の計算が正しくありません
- ✗サンプリングレートとBCLKの関係についての誤解
- ✗オーディオチャンネル数の考慮を怠る
よくある質問
Shop Components
Affiliate links — we may earn a commission at no cost to you.
Related Calculators
Comms
SPI Timing
Calculate SPI bus timing parameters including bit period, frame time, maximum clock frequency limited by trace capacitance, and signal slew rate
Comms
UART Baud Rate
Calculate UART frame timing, throughput, and USART BRR register divisor from baud rate, data format, and MCU clock frequency. Identify baud rate error for reliable serial communication.
Signal
ADC SNR & ENOB
Calculate analog-to-digital converter signal-to-noise ratio, effective number of bits (ENOB), and SFDR including aperture jitter effects
Comms
I2C Pull-Up
Calculate I2C pull-up resistor values for Standard (100 kHz), Fast (400 kHz), and Fast-Plus (1 MHz) modes. Derives minimum, maximum, and recommended resistance from supply voltage and bus capacitance per NXP UM10204.
Comms
CAN Bus Timing
Calculate CAN bus bit timing parameters including prescaler, time quanta, sync segment, propagation segment, and phase buffer segments for a given baud rate and sample point
Comms
USB Termination
Calculate USB bus termination resistor values, differential impedance, cable propagation delay, signal rise time, and eye opening for USB 2.0 and USB 3.0