I2C Controller IP – Master, Parameterized FIFO, APB Bus

Overview

The DB-I2C-M-APB Controller IP Core interfaces an ARM, MIPS, PowerPC, ARC or other high performance microprocessor via the AMBA 2.0 APB System Interconnect Fabric to an I2C Bus. The I2C is a two-wire bidirectional interface standard (SCL is Clock, SDA is Data) for transfer of bytes of information between two or more compliant I2C devices, typically with a microprocessor behind the master controller and one or more slave devices.

The DB-I2C-M-APB is a Master I2C Controller that controls the Transmit or Receive of data to or from slave I2C devices. The image below depicts the system view of the DB-I2C-M APB Controller IP Core embedded within an integrated circuit device.

The DB-I2C-M-APB Controller IP Core targets embedded processor applications with higher performance algorithm requirements. While most I2C controllers require high processor interaction involvement, the DB-I2C-M-APB contains a parameterized FIFO and Finite State Machine control for the processor to off-load the I2C transfer to the DB I2C-M-APB Controller. Thus, while the DB-I2C-M-APB is busy, independently controlling the I2C Transmit or Receive transaction of data, the processor can go off and complete other tasks. Note that the Master only capability of the DB-I2C-M-APB adds to its small VLSI footprint requirements.

Key Features

  • Master I2C Controller Modes:
    • Master – Transmitter
    • Master – Receiver
  • Supports four I2C bus speeds:
    • Hs-Mode (3.4+ Mb/s)
    • Fast Mode Plus (1 Mbit/s)
    • Fast Mode (400 Kb/s)
    • Standard Mode (100 Kb/s)
  • Parameterized FIFO memory for off-loading the I2C transfers from the processor:
    • Targets embedded processors with higher performance algorithm requirements, by the I2C Controller independently controlling theTransmit or Receive of bytes of information buffered to and from a FIFO.
  • Enhanced system-level features & integration capabilities:
    • CPU Interface via parameterized FIFO with support for APB / AHB / AXI / AXI-lite / Avalon / Qsys interconnect fabrics
    • Enhanced SCL / SDA spike filtering capabilities
    • Enhanced Repeated Start capabilities
  • Enhanced system-level features & integration capabilities (Optional):
    • DMA transfer between the I2C Bus & Memory (SDRAM / SRAM / FLASH)
    • Direct interface to user Registers within ASIC / ASSP / FPGA device, for Master/Slave transfer across the I2C Bus
    • Remote Configuration of a Digital Blocks’ I2C Slave by an I2C Master
  • I2C compliant features:
    • Multi-Master, Clock Synchronization, Arbitration, Repeated Start, 7/10-bit addressing, & General Call Addressing
  • 13 sources of internal interrupts with masking control
  • Compliance with AMBA 2.0 and I2C specifications:
    • AMBA Specification (Rev 2.0), APB Bus
    • Philips/NXP – The I2C-Bus Specification, Version 2.1, January 2000 and UM10204 Rev 7 – 1 Oct 2021
  • Fully-synchronous, synthesizable Verilog or VHDL RTL core, with rising-edge clocking, no gated clocks, and no internal tri-states, for easy integration intoFPGA or ASIC design flows.

Block Diagram

I2C Controller IP – Master, Parameterized FIFO, APB Bus Block Diagram

Deliverables

  • The DB-I2C-M-APB is available in synthesizable RTL Verilog or VHDL or a technology-specific netlist for FPGAs, along with synthesis scripts, a simulation test bench with expected results, datasheet, and user manual.

Technical Specifications

×
Semiconductor IP