A compliant SMBus / PMBus controller you drop onto your SoC's power and sensor bus
The Zen SMBus / PMBus controller is a single-master SMBus controller a client instantiates to talk to power regulators, smart batteries, and thermal sensors. It carries the I2C wire transport plus the SMBus protocol layer — every standard command protocol, optional per-transaction CRC-8 PEC data integrity, an SMBALERT# fault input with Alert-Response-Address read, and an SCL-low bus-timeout detector. PMBus rides on top as a firmware command set. Product / integrator view; every number is sourced from the product datasheet or marked TBC with an owner.
1. The controller in one paragraph
The controller sits between your firmware and the physical two-wire bus. It pairs an open-drain I2C bit-engine — START, repeated-START, per-byte ACK/NACK, STOP, and slave clock-stretch — with the SMBus protocol layer on top. Firmware drives transfers through a small set of CMD primitives (START / WRITE / READ / STOP), so the hardware covers every standard protocol from Quick Command through Process Call, while PMBus rides on the same primitives as a firmware command set. A CRC-8 PEC accumulator folds every wire byte for end-to-end data integrity, an SMBALERT# input lets a device raise a fault without being polled, and an SCL-low timeout flags a hung bus. It attaches to the common Zen peripheral bus with a one-cycle registered handshake.
- Zen SMBus controller
- host firmware / bus devices
- TX / RX FIFOs
TIMEOUT register, 0 = disabled). The integrator sets the clock count that realizes that window for their operating frequency.2. What it is, at a glance
| Element | Detail | Default | Status |
|---|---|---|---|
| Role | single-master SMBus / PMBus controller | — | exists |
| Wire transport | I2C open-drain, 7-bit addressing, clock-stretch | — | exists |
| Protocols | Quick Cmd · Send/Receive Byte · R/W Byte · R/W Word · Block R/W · Process Call | — | exists |
| PEC | CRC-8, poly 0x07, over every wire byte; optional per transaction | — | exists |
| Alert | SMBALERT# input + ARA read (address 0x0C) | — | exists |
| Timeout | SCL-low bus-error detector, programmable in clocks | 0 = off | exists |
| TX / RX FIFOs | byte FIFOs, configurable depth | 8 | exists |
| Interrupt | 1 aggregated line: done · PEC-error · alert · timeout · NACK | — | exists |
| Max SCL rate (characterized) | SCL target 100 kHz / faster, programmable | TBC | TBC |
Sources: Zen SMBus / PMBus product datasheet; as-built RTL.
3. How a client uses it
- Instantiate the controller on the Zen peripheral bus and wire the open-drain SCL/SDA pins (plus the shared SMBALERT# line) to your two-wire bus.
- Set the clock — program
CLKDIVso the SCL rate lands at the SMBus target (100 kHz or faster) for your operating frequency; programTIMEOUTfor the bus-error window. - Run a transaction — issue CMD primitives (START / WRITE / READ / STOP), moving bytes through the DATA FIFO; poll
STATUSor take the aggregated interrupt to classify done / NACK / error. - Protect and service — arm PEC with the opening START and check it on the final byte for end-to-end integrity; service a device's SMBALERT# with an ARA read to learn which responder raised the fault without polling every device.
4. Verification & provenance
- Compliance tested: 19 / 19 assertion-based tests pass — every protocol byte-exact, PEC golden-append and corrupt-PEC error, alert + ARA, timeout, NACK abort, clock-stretch, FIFO order, and interrupt gating.
- Methodology: assertion-based cocotb with byte-exact checks against a bus-device model; signed off through Verilator DV and Yosys synthesis gates (no inferred latches).
- Provenance: owned and maintained by the Zen Peripherals team; v1 coverage-closed and independently re-verified. Internal soft-license by default; the kit is license-ready-structured for external engagement.
Sources read
Sources: Zen SMBus / PMBus product datasheet; as-built RTL.