← All IP · the catalog
Serial, Networking & Storage

I²C Master Controller

APB4 I²C master — open-drain bus engine, hardware bus-recovery, ASIL-B lockstep.

Request this IP →Browse the catalog
ASIL-B
target
99.47%
SPFM
100.00%
LFM
PASS
FMEDA
2.9K
gates
1.6.0
version
Interfaces at a glance

Block diagram

i2c_master18 portsapb_slave8 signalsi2c_*4 signalsclkrst_ninterrupti2c_irqsafety / statuserr_clear · err_valid · err_code
Place-and-route snapshot

Physical implementation

I²C Master Controller routed place-and-route layout on the Nangate45 PDK
A real synthesis and place-and-route pass on this RTL, routed on the open Nangate45 / FreePDK45 PDK — evidence the block closes physically, not just in simulation. Target-PDK timing, area, and power sign-off figures are shared under NDA.
The deliverable

What you’re licensing

APB4 I²C master — open-drain bus engine, hardware bus-recovery, ASIL-B lockstep. It is delivered as a licensable soft-IP block engineered as an ASIL-B Safety Element out of Context — not just RTL, but the complete functional-safety work package needed to carry it into an ISO 26262 program:

Synthesizable RTL
Portable, vendor-neutral SystemVerilog that drops onto your existing SoC fabric — no foundry or EDA-tool lock-in.
Per-IP FMEDA report
SPFM / LFM / PMHF computed against the ASIL target per ISO 26262-5 — the quantitative analysis your assessor asks for.
Safety manual
Assumptions of use, the safety mechanisms and their diagnostic coverage — written to drop straight into your safety case.
IP-XACT + integration docs
A machine-readable descriptor plus register and integration documentation for fast, low-risk bring-up.
Self-checking testbench
A self-checking testbench and a one-command build, so you can reproduce every claim on day one.

What it is

A configurable I²C master controller delivered as synthesizable SystemVerilog soft-IP. It implements the full I²C master protocol (START, repeated-START, data transfer, STOP) on an APB4 register interface, with parameterized TX/RX FIFOs and built-in ASIL B safety instrumentation (config-register parity, FSM/datapath complementary-DMR lockstep, SECDED-protected FIFOs).

Key Features

Standards & Compliance

NXP I²C-bus Specification UM10204 Rev. 7 (Standard/Fast/Fast-Plus master mode); ISO 26262 ASIL-B SEooC (SPFM 99.47%, LFM 100.00%, PMHF 2.87×10⁻¹⁰/h)

Functional Safety

ASIL-B (SEooC) · SPFM 99.47% · LFM 100.00% · PASS

ISO 26262:2018 · FMEDA available · Safety Manual included

Register Map

OffsetRegisterDescription
0x00CR:[7]=EN [1]=TXEIE [0]=RXNEIE
0x04PRER:[15:0] SCL half-period in clk cycles (SCL period = 2×PRER; 0=off)
0x08DR:write=push TX FIFO (byte to send); read=pop RX FIFO
0x0CSR:[6]=STUCK [5]=BSY [4]=AL [3]=OVR [2]=NACK [1]=RXNE [0]=TXE (read-only)
0x10CR2:[7]=START [6]=STOP [5]=NACK_LAST [4]=RD_WRN [3:0]=NBYTES (1-15; 0=15)

…1 more registers — see datasheet for the full table.

Getting Started

// Minimal instantiation
i2c_master #(
 .ADDR_W(6)
) u_i2c_master (
 .clk (clk),
 .rst_n (rst_n),
 // APB4
 .p_paddr (paddr),
 .p_psel (psel),
 .p_penable (penable),
 .p_pwrite (pwrite),
 .p_pwdata (pwdata),
 .p_prdata (prdata),
 .p_pready (pready),
 // Safety
 .err_clear (1'b0),
 .err_valid (err_valid),
 .err_code (err_code)
);

Configure via the CTRL register after reset to enable the IP and set operating parameters. Monitor err_valid / err_code for any safety faults reported by the built-in safety monitor.

Applications

Where it fits

Typically deployed in in-vehicle networks, industrial gateways, and sensor/actuator links where a bus controller has to carry its own safety argument.

The case

Why license it, not build it

Skip 12–18 months
The FMEDA and the safety case are already generated. You integrate a finished safety element — you don’t stand up a safety-IP program to originate one.
One vendor, one safety story
Every block in the catalog shares the same safety architecture, fault-reaction model, and FMEDA methodology — so subsystems roll up cleanly.
Verified, not vapor
The RTL builds and passes today; the safety metrics come from analysis and fault injection against real RTL, not a datasheet promise.

Interested in I²C Master Controller?

Pricing, the per-IP FMEDA, safety manual, and RTL data room are shared under a mutual NDA.

Talk to us →See related IP

Figures are pre-silicon engineering-grade estimates for a Safety Element out of Context (SEooC); final ASIL sign-off is the integrator’s, supported under NDA. FMEDA and Safety Manual available under NDA.

circuit-design.space · +1-971-357-1400 · anovickis@circuit-design.space