Altera_Forum
Honored Contributor
16 years agoEPCS4 serial eeprom
Hi,
I am finding it very hard to make epcs4 serial eeprom work. Code is very simple but I dont know where Im going wrong. Can this serial eeprom work using SPI? ThanksHi,
I am finding it very hard to make epcs4 serial eeprom work. Code is very simple but I dont know where Im going wrong. Can this serial eeprom work using SPI? Thanksthey're AS. check here page 8:
http://www.altera.com/literature/hb/cfg/cyc_c51014.pdfI don't see any reason to start a new thread in this topic. Generally, it's difficult to decide from a distance, if you're facing a misunderstanding of EPCS datasheet, wrong operation of your microprocessors peripheral or a trivial hardware problem. Any of these issues can happen, even to an experienced developer. You have to find a way (a debug strategy) to check your design's hard- and software operation yourself.
EPCSx are basically serial SPI flash devices, compatible devices are manufactured by other vendors. e.g. Winbond (although not officially supported by Altera).Hi,
I have checked with the SPI peripherals and hardware connections aswell. Eveything seems to be fine. I wonder if any delay should be given before or after the op-code instructions. Thankshi,
Can EPCS4 only be interfaced with Stratix® III, Stratix II GX, and Stratix II FPGAs, Arria™ GX FPGAs, and the Cyclone® series FPGAs or can it be interfaced even with other MCU's???It's a regular SPI flash device that can be interfaced by any uP.
Are you connecting to the EPCS4 via an Altera FPGA?
JakeHi,
No, Im using freescale 8 bit MCU to interface EPCS4. ThanksPlz .. i need help, i wrote a VHDL code that can write using I2C protocol ,and it work correctly, but when i try to read from the eeprom it give me nothing
... and i want to know in the reading of the data(n) should i generate the i2c clock signal or the slave will do ?You should have created another thread, your question has nothing to do with the EPCS serial eeprom.
To answer your question, yes, the master is always generating the clock in the I2C protocol.