I2C Slave to SPI Master Bridge

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

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
I2C Slave to SPI Master Bridge - Documentation
RD1094 1.1 12/23/2011 PDF 253.6 KB
I2C Slave to SPI Master Bridge - Source Code
RD1094 1.1 12/23/2011 ZIP 180.4 KB


Like most websites, we use cookies and similar technologies to enhance your user experience. We also allow third parties to place cookies on our website. By continuing to use this website you consent to the use of cookies as described in our Cookie Policy.