Forum Discussion
Altera_Forum
Honored Contributor
8 years agoI having the same problem. Im using Q13.1 with a 5CSEMA4 SOC. I boot via u-boot and download the fpga from the soc. I am trying to access the EPCS via the fpga to store parametric data. I'm trying to use the SFL. The compiler forces me to set "active serial" in the device settings. I cannot access epcs. As a simple test, I am just looking for my clock on the epcs (WO16) pin 16. But i see nothing. it is as if the interface is not connected.
myepcs: serialflash
PORT map
(
asmi_access_granted => '0',
data_in => "111" & ser_dout,
data_oe => "1101",
dclk_in => spi_clk,
ncso_in => ser_cs_n,
noe_in => '0', -- active low
-- asmi_access_request =>
data_out=> epcs_dout
);
ser_din <= epcs_dout(1); Also. As sugested above I cannot change the EPCS pins to I/O as it says invaid assigment. Ideally, I would like to connect my spi driver directly to the epcs dedicated pins.