Device Family: Arria® V ST, Arria® V SX, Cyclone® V E, Cyclone® V GT, Cyclone® V SE, Cyclone® V ST
Type: Answers
Area: Embedded, SoC FPGA Linux


Last Modified: May 22, 2017
Version Found: v15.0
Version Fixed: v17.0
Bug ID: 460789

Why does the HPS SPI Master fail when slave select is mapped to GPIO?

Description

Due to a problem with the SPI IP linux driver (spi-dw.c) in linux-socfpga kernel 4.1.22-ltsi, the SPI IP will fail to operate if slave select is routed to GPIO with the cs-gpios entry in device tree.

 

 

 

Workaround/Fix

This problem is fixed in the linux-socfpga-linux kernel 4.1.33-ltsi. 

 

GIT location:

https://github.com/altera-opensource/linux-socfpga

Precompiled version on Rocketboards.org:

https://rocketboards.org/foswiki/Documentation/GSRD170ReleaseNotes

 

 

Find more KDB articles