Abstract
We are going to use the Raspberry PI SPI (Serial Peripheral Interface) master to control the BeMicro MAX10 LEDs (light-emitting diodes). We need to design an SPI slave interface in the FPGA (field-programmable gate array) to let the Raspberry PI control the LEDs on the board. In the following section, we will show you how to connect a Raspberry Pi to BeMicro MAX10 board, design an SPI slave for the FPGA, and write a simple Python script to run on the Raspberry Pi that will do two-way communication on the SPI.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Aiken Pang and Peter Membrey
About this chapter
Cite this chapter
Pang, A., Membrey, P. (2017). Two-Way Communications with Your Raspberry Pi: SPI. In: Beginning FPGA: Programming Metal. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6248-0_15
Download citation
DOI: https://doi.org/10.1007/978-1-4302-6248-0_15
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-6247-3
Online ISBN: 978-1-4302-6248-0
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)