Reader small image

You're reading from  The FPGA Programming Handbook - Second Edition

Product typeBook
Published inApr 2024
PublisherPackt
ISBN-139781805125594
Edition2nd Edition
Tools
Right arrow
Authors (2):
Frank Bruno
Frank Bruno
author image
Frank Bruno

Frank Bruno is an experienced high-performance design engineer specializing in FPGAs with some ASIC experience. He has experience working for companies like SpaceX, GM Cruise, Belvedere Trading, Allston Trading, and Number Nine. He is currently working as an FPGA engineer for Belvedere Trading.
Read more about Frank Bruno

Guy Eschemann
Guy Eschemann
author image
Guy Eschemann

Guy Eschemann was an Electrical Engineer with over twenty years of experience designing FPGA-based embedded systems for automotive, industrial, medical, aerospace, military, and telecom applications. He was working as an FPGA engineer at plc2 Design GmbH.
Read more about Guy Eschemann

View More author details
Right arrow

Understanding Serial Peripheral Interface (SPI)

Like I2C, the SPI bus is a simple bus for low speed communications. It operates faster than I2C since it uses chip selects rather than passing addresses that need to be decoded, wasting valuable bandwidth. It also utilizes a separate receive and transmit bus, so that it can operate bidirectionally at the same time. It is a four-wire interface that has bidirectional data, a clock, and chip select.

Figure 12.6: deadbeef displayed on the board

It’s used in places where you may want to have easy read and write access with optional burstiness – typically used on things like ADCs, DACs, and other sensors that typically do not operate with high performance. It’s also a common interface for Erasable Programmable Read-Only Memory (EPROM) or low-speed access to Flash or SD cards.

Let’s look at the Digilent ACL2 PMOD, a 3-axis MEMS accelerometer.

ACL2 PMOD

The ACL2 PMOD from Digilent is based...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
The FPGA Programming Handbook - Second Edition
Published in: Apr 2024Publisher: PacktISBN-13: 9781805125594

Authors (2)

author image
Frank Bruno

Frank Bruno is an experienced high-performance design engineer specializing in FPGAs with some ASIC experience. He has experience working for companies like SpaceX, GM Cruise, Belvedere Trading, Allston Trading, and Number Nine. He is currently working as an FPGA engineer for Belvedere Trading.
Read more about Frank Bruno

author image
Guy Eschemann

Guy Eschemann was an Electrical Engineer with over twenty years of experience designing FPGA-based embedded systems for automotive, industrial, medical, aerospace, military, and telecom applications. He was working as an FPGA engineer at plc2 Design GmbH.
Read more about Guy Eschemann