Article ID: 000086276 Content Type: Troubleshooting Last Reviewed: 05/22/2017

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

Environment

  • Intel® Quartus® Prime Pro Edition
  • BUILT IN - ARTICLE INTRO SECOND COMPONENT
    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.

     

     

     

    Resolution

    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

     

     

    Related Products

    This article applies to 7 products

    Cyclone® V FPGAs and SoC FPGAs
    Cyclone® V GT FPGA
    Arria® V ST SoC FPGA
    Cyclone® V E FPGA
    Cyclone® V ST SoC FPGA
    Arria® V SX SoC FPGA
    Cyclone® V SE SoC FPGA