I2C Slave to SPI Master Bridge

Related Products

Reference Design LogoI2C and SPI are the two widely-used bus protocols in today’s embedded systems. The I2C bus has a minimum pin count requirement and therefore a smaller footprint on the board. The SPI bus provides a synchronized serial link with performance in MHz range. As embedded systems are required to support an increasing number of protocols and interfaces, bridge designs targeting popular protocols provide solutions to reduce development time and cost. This reference design implements an I2C slave to SPI master bridge. It serves as an interface between the standard I2C bus of a microcontroller and a SPI bus. This allows the microcontroller to communicate directly with the SPI bus through its I2C bus.

Jump to

Block Diagram

I2C Slave to Master Bridge

Performance and Size

Device Family Tested Devices* Language Performance Architecture
Resources
Design Size Revision
MachXO™ LCMXO1200C-3T100C Verilog/VHDL >40MHz 1 EBR 215/213 LUTs 1.1
Platform Manager™ LPTM10-1247-3TG128CES Verilog/VHDL >40MHz N/A 421/424 LUTs 1.1

* May work in other devices as well.

Note: The performance and design sizes shown above are estimates only. The actual results may vary depending upon the chosen parameters, timing constraints, and device implementation. See the design's documentation for details. All coding and design work was done on a PC platform unless noted otherwise.

Documentation

Technical Resources
TITLE NUMBER VERSION DATE FORMAT SIZE
Select All
I2C Slave to SPI Master Bridge - Documentation
FPGA-RD-02111 1.2 1/29/2021 PDF 863.9 KB
I2C Slave to SPI Master Bridge - Source Code
RD1094 1.1 12/23/2011 ZIP 180.4 KB

*By clicking on the "Notify Me of Changes" button, you agree to receive notifications on changes to the document(s) you selected.