SPMI-CTRL
MIPI SPMI Master or Slave Controller

The SPMI-CTRL core implements a highly featured, easy-to-use controller for the MIPI System Power Management Interface (MIPI-SPMI) bus. It supports the latest version (v2.0) of the MIPI-SPMI specification, and is suitable for the implementation of either master or slave nodes in an SPMI bus.

The core is designed to minimize the software load on the host processor. Once configured, the core requires no assistance from the host to initialize the bus, connect to bus or disconnect from the bus, grant access of the bus, execute incoming SPMI commands, generate ACK/NACK responses, and check address and data parity. 

Although the core only expects the host to provide the outgoing SPMI commands, it provides thorough status information to the host, which can be used for a higher application layer or for debugging purposes. Last received command, outgoing command status, bus status, and node operation status are made available to the host via the core’s registers. Parity errors, unknown commands, or failure of receiving node to provide ACK/NACK response are also reported. Furthermore, the core can be programmed to operate in debug mode, under which the core captures and reports all SPMI bus commands regardless of the destination address. 

Integration of the core is extremely simple: The core provides access to its registers via a AMBA™ 2 APB slave interface, and converts the incoming SPMI read/write commands to accesses on its AHB master port. This SPMI-AHB bridging allows easy mapping of the SPMI address space to shared memories or peripheral registers. A dedicated interface allows integration with application specific authentication logic, which can be reduced to just hardwiring the authentication response data. The core uses separate clocks for its APB and AHB bus interfaces, and a separate reference clock source for its internal timer. Clocks are independent to each other, with clean clock domain crossing boundaries, and the only requirement is that the AMBA interface clocks have a frequency larger or equal to the maximum SPMI clock frequency.
 
The core is designed with industry best practices, and its reliability has been proven through rigorous verification. 

The SPMI-CTRL can be mapped to any ASIC technology or FPGA device. The following table provides sample performance and resource utilization data. Please contact CAST to get characterization data for your target configuration and technology.

Configuration Technology Area Max. Serial Clock
Arbitration-Capable Master TSMC 28nm HPC< 5,740 eq. Gates 26 MHz
Request-Capable Slave TSMC 28nm HPC 5,450 eq. Gates 26 MHz

The SPMI-CTRL can be mapped to any Intel FPGA device. The following table provides sample performance and resource utilization data. Please contact CAST to get characterization data for your target device and technology.

Configuration Device Family Logic Resources Max. Serial Clock
Arbitration-Capable Master Max10 1,870 LEs 26 MHz
Arbitration-Capable Master Startix10, Arria10 860 ALMs 26 MHz
Request-Capable Slave Max10 2,160 LEs 26 MHz
Request-Capable Slave Startix10, Arria10 1,065 ALMs 26 MHz

The SPMI-CTRL can be mapped to any Microsemi FPGA device, provided sufficient resources are available. The following table provides sample performance and resource utilization data. Please contact CAST to get characterization data for your target device and technology

Configuration Device Family Logic Resources Max. Serial Clock
Arbitration-Capable Master PolarFile 2,680 4LUTs 26 MHz
Non-Arbitration-Capable Master PolarFile 1,331 4LUTs 26 MHz
Request-Capable Slave PolarFile 652 4LUTs 26 MHz
Non-Request-Capable Slave PolarFile 1,211 4LUTs 26 MHz

The SPMI-CTRL can be mapped to any Xilinx FPGA device, provided sufficient resources are available. The following table provides sample performance and resource utilization data. Please contact CAST to get characterization data for your target device and technology

Configuration Device Family Logic Resources Max. Serial Clock
Arbitration-Capable Master Spartan-7, Artix-7, Kintex-7 880 LUTs 26 MHz
Arbitration-Capable Master Kintex & Virtex Ultrascale 830 LUTs 26 MHz
Request-Capable Slave Spartan-7, Artix-7, Kintex-7 750 LUTs 26 MHz
Request-Capable Slave Kintex & Virtex Ultrascal 690 LUTs 26 MHz

Features List

MIPI-SPMI v2.0 Master or Slave

  • Supports High Speed (HS) and Low Speed (LS) device classes
    • Serial clock frequencies from 32kHz to 26MHz
  • Supports all commands, including Block, Extended and Extended Long Read/Writes
  • Supports all arbitration levels. Suitable for multi-master and/or multi-slave busses.
  • Configurations: 
    • Arbitration-Capable Master
    • Non-Arbitration-Capable Master
    • Request-Capable Slave 
    • Non-Request-Capable Slave

Low Host Overhead

  • Autonomously performs bus initialization, bus connect/disconnect, and bus arbitration
  • Autonomously executes all incoming SPMI commands, and generates ACK/NACK responses
  • Host is only required to: a) initialize register values after a reset b) define outgoing commands and arbitration levels and c) optionally respond to reported errors

Run-time Debugging Features

  • Broadcasts SPMI bus state and device state
  • Detects and reports parity, bus or command errors
  • Under debug mode captures all traffic in the SPMI bus
  • Run-time programmable identifiers (Master, Slave and up to 6 Group Slave Identifiers per device)

Easy Integration

  • Directly bridges SPMI and AHB bus address space, allowing SPMI address space mapping either to a shared memory or directly to peripheral registers
  • Register access via 32-bit AMBA™ 2 APB bus

Small and Low Power

  • Less than 6,000 Gates for either the master or the slave core
  • Direct serial clock usage to minimize switching activity when idle

Resources

Additional Information

Let's talk about your project and our IP solutions

Request Info