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: FB: 460789;

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


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.





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


GIT location:

Precompiled version on