Design Store

Serial Peripheral Interface Master (AN 485)  

CategoryDesign Example
NameSerial Peripheral Interface Master (AN 485)
DescriptionThe serial peripheral interface (SPI) is a widely used, 4-wire, serial communication interface. Applications such as digital audio, digital signal processing, and telecommunication channels require high-speed data streams. The low-power, high-speed Altera MAX 10 FPGA is perfectly suited for an SPI master, external to the host. This application note details the implementation of the SPI master in a MAX 10 FPGA. A microprocessor is used to control the master, which you can use to select a slave device to read and write data to and from it.

SPI is an industry standard protocol that is widely used in embedded systems for interfacing microprocessors and various devices such as sensors, memory chips, shift registers, port expanders, display drivers, data converters, printers, data storage devices, sensors, and multimedia cards. This interface standard has several advantages:
• Low pin count and simple wiring
• Full-duplex communication for higher throughput (allowing faster communication compared to other protocols such as I2C)
• No addressing; therefore, reduced overhead.
Operating SystemNone
IP Core
IP CoreHeading
FamilyMAX 10
Serial Peripheral Interface Master (Application Note 485)Serial Peripheral Interface Master (Application Note 485)
MAX 10 Device DocumentationMAX 10 device documentation, including the device handbook, device pin-outs, and pin connection guidelines.
Development KitNon Kit Specific MAX 10 Design Examples
Installation Package Download

Note: After downloading the design example, you must prepare the design template. The file you downloaded is of the form of a <project>.par file which contains a compressed version of your design files (similar to a .qar file) and metadata describing the project. The combination of this information is what constitutes a <project>.par file. In releases 16.0 or newer, you can simply double click on the <project>.par file and Quartus will launch that project.

The second means to bring up the project template is through the New Project Wizard (File -> New Project Wizard). After entering the project name and folder on the first panel, the second panel will ask you to specify an empty project or project template. Select project template. You will see a list of Design Templates projects that you have loaded prior as well as various "Baseline Pinout Designs" that contain the pinout and settings for a variety of development kits. If you don't see your design template in the list, click on the link that states install the Design Templates circled below:

Browse to the <project>.par file you downloaded, click next, followed by Finish, and your design template will be installed and displayed in the Project Navigator pane in Quartus.

Note: When a design is stored in the Design Store as a design template, it has been previously regression tested against the stated version of Quartus software. The regression ensures the design template passes analysis/synthesis/fitting/assembly steps in the Quartus design flow.

At the command-line, type the following command:

quartus_sh --platform_install –package <project directory>/AN485_MAX10.par

Once the process completes, then type:

quartus_sh --platform –name AN485_MAX10

Total Downloads88 (From 09 Jun 2016 to 24 Mar 2017)
Quartus II Version Download Quartus II v16.0

Image 2

Last updated on June 9, 2016, 12:50 p.m.