Altera_Forum
Honored Contributor
7 years agoHPS SPI remapped to FPGA cause system hangup
Hi all!
Up untill now I've successfully used SPI master remapped to FPGA pins with CS pin via PIO. In my u-boot.scr I had such coded:
fatload mmc 0:2 $fpgadata UniDAS.rbf;
fpga load 0 $fpgadata $filesize
mw $axibridge ${axibridge_handoff};
mw $l3remap ${l3remap_handoff}
Now I'm trying to enable FPGA to HPS SDRAM bridge so I change code to this:
fatload mmc 0:2 $fpgadata UniDAS.rbf;
fpga load 0 $fpgadata $filesize
run bridge_enable_handoff;
With system console and JTAG-to-AvalonMM I verified that bridge is working fine. But! Now when I try to send data over SPI (via Linux spidev) Linux hangs and reboot. U-Boot and Preloader are both updated to match firmware. Connections: https://alteraforum.com/forum/attachment.php?attachmentid=15439&stc=1 Maybe any one has clues what it may be?