Timing-Rechner für die I2S-Audioschnittstelle
Berechnen Sie den I2S-Bittakt (BCLK), den Wordclock (LRCLK/WCLK) und die Datenrate für Audio-Interfaces mit beliebiger Samplerate, Bittiefe und Kanalanzahl.
Formel
BCLK = F_s \times N_{bits} \times N_{ch}
Referenz: Philips I2S Bus Specification, 1996
Wie es funktioniert
Bearbeitetes Beispiel
Problem: Berechnen Sie den erforderlichen BCLK für einen Stereo-24-Bit-Audiostream mit einer Abtastrate von 96 kHz Lösung: 1. Abtastfrequenz (fs) = 96 kHz 2. Bittiefe = 24 Bit 3. Kanäle = 2 (Stereo) 4 BCLK = 96.000 Hz × 24 Bit × 2 Kanäle 5. BCLK = 4.608.000 Hz (4,608 MHz)
Praktische Tipps
- ✓Stellen Sie immer sicher, dass MCLK ein geeignetes Vielfaches der Abtastrate ist
- ✓Verwenden Sie Standard-Vielfache wie 256×fs oder 512×fs für MCLK
- ✓Stellen Sie sicher, dass die Datenkonfigurationszeiten den I2S-Spezifikationsanforderungen entsprechen
Häufige Fehler
- ✗Falsche Berechnung der Bittaktfrequenz
- ✗Missverständnis der Beziehung zwischen Samplerate und BCLK
- ✗Vernachlässigung der Anzahl der Audiokanäle
Häufig gestellte Fragen
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