I2C プルアップ抵抗カリキュレータ
スタンダード (100 kHz)、ファスト (400 kHz)、およびファストプラス (1 MHz) モードの I2C プルアップ抵抗値を計算します。NXP UM10204 あたりの電源電圧とバスキャパシタンスから、最小抵抗、最大抵抗、推奨抵抗値を求めます。
公式
R_{max} = \frac{t_r}{0.8473 \cdot C_{bus}}, \quad R_{min} = \frac{V_{DD} - V_{OL}}{I_{OL}}, \quad R_{rec} = \sqrt{R_{min} \cdot R_{max}}
参考: NXP I2C-bus specification and user manual, Rev. 7.0 (UM10204), §7.1
仕組み
I2Cバス通信はオープンドレイン/オープンコレクタドライバに依存しており、デフォルトのHIGH状態を確立するにはプルアップ抵抗が必要です。これらの抵抗は、シグナルインテグリティ、立ち上がり時間、およびバスキャパシタンス特性を決定する上で重要です。プルアップ抵抗は、論理的にHIGH状態を保証するための最小電流と、迅速な信号遷移を保証するための最大抵抗という2つの主要な制約のバランスをとるよう注意深く選択する必要があります。計算には、バスキャパシタンス、電源電圧、I2Cモード固有の電気的パラメータを理解することが必要です。プルアップ抵抗はバスキャパシタンスを充電する電流経路を形成し、抵抗値は信号の立ち上がり時間とノイズ耐性に直接影響します。I2C モード (スタンダード、ファスト、ファストプラス) が異なれば、抵抗の選択に影響する電気的仕様も異なります。
計算例
実践的なヒント
- ✓一貫したバス性能を得るには、許容誤差 1% の抵抗を使用してください
- ✓長いバストレースにはパラレルターミネーションを追加することを検討してください
- ✓オシロスコープで実際の立ち上がり時間を測定し、理論上の計算を検証
よくある間違い
- ✗再計算せずに異なるI2Cモードに同一のプルアップ抵抗を使用する
- ✗長いトレースによる寄生容量を含む合計バス容量を無視する
- ✗抵抗と立ち上がり時間の間に線形関係を仮定すると
よくある質問
Shop Components
Affiliate links — we may earn a commission at no cost to you.
Related Calculators
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.
General
RC Time Constant
Calculate RC circuit time constant τ, charge time to 63.2% and 99%, and −3dB cutoff frequency. Essential for filter and timing circuit design.
General
Ohm's Law
Calculate voltage, current, resistance, and power using Ohm's Law. Enter any two values to solve for the remaining two quantities.
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
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