AN 923: Routing Intel® Stratix® 10 HPS Peripherals to FPGA Fabric

ID 683838
Date 10/12/2020
Public

1.2.14. Testing the SPIM0

Test the spidev program by using it to read the flash id from the QSPI boot card connected to the FPGA flash slot for the following parts:
  • Macronix MX25U128:
    root@stratix10:~# ./spidev_flash_test /dev/spidev0.0
    response(7): c2 25 38 c2 25 38
    
  • Micron MT25QU01G:
    root@stratix10:~# ./spidev_flash_test /dev/spidev0.0
    response(7): 20 bb 21 10 44 00
    
  • Micron MT25QU02G:
    root@stratix10:~# ./spidev_flash_test /dev/spidev0.0
    response(7): 20 bb 22 10 44 00