Forum Discussion
4 Replies
- Altera_Forum
Honored Contributor
Industry standard serial flash with same sector structure are mostly working, e.g. M25P16. Review previous forum discussions.
- Altera_Forum
Honored Contributor
Thanks FvM.
> Review previous forum discussions. So i try to read that discussions. - Altera_Forum
Honored Contributor
both Flash devices have SPI slave interface, so U only need configure one SPI master interface on your FPGA.
And I think both SPI slave interfaces only support "clock polarity 1, clock phase 1" or "clock polarity 0, clock phase 0". shift direction MSB first. for SCLK U can select upon to 33 MHz, I sugest 10 MHz for testing. Altera supply one API "alt_avalon_spi_command" for SPI master core. U need to code your own driver for your Flash. maybe U can find such drivers from internet. Or tell me what do you wanna do with Flash. maybe I can give you code example. - Altera_Forum
Honored Contributor
Thanks breakholix.
I could get to program the FPGA configuration image to FLASH devices by using jic file. >Or tell me what do you wanna do with Flash. maybe I can give you code example. I want to program the FPGA configuration image . And CycloneIV is configured by AS-confirguration mode in that FLASH device's data.