Altera_Forum
Honored Contributor
18 years agoaltufm with i2c not working
Hello
I'm using a MAXII EPM570 in one of my Projects. I'm trying to replace a serial EEPROM with the EPM570 thats on the board for other purposes. Therefor I'm using the altufm Megafunction in Quartus 7.2 to build the serial EEPROM. It is working just fine in the simulation (functional AND timing) but doesn't work on the chip once programmed. The slave doesnt give an ack when addressed. I even tried with a I2C scanner to check if the address is wrong, but had no luck. The Signals meet the timing requirements and the data sent is correct. I built the same waveform in the simulation waveform file, where the CPLD is acting as expected. My only warnings (14 of them) I get is: Found 14 nodes in clock paths wich may be acting as ripple and/or gated clocks.--nodes analyzed as buffers resulting in clock skew. So here is my detailed setup: Quartus 7.2 Web edition and/or Quartus 7.0 full Licence (same Problem) Target Chip: EPM570T100C5N SDA and SCL defined as bidirectional LVCMOS pulled up with external 2.1k Resistor. altufm 4K acting as read only, Initialized with a .mif file, Interface I2C I2C address is set to 50. scl frequency is 100kHz Bus voltage is 3.3V (same as supply) There is no logic between the altufm and the physical pin I use. Can anyone please help me on this? :confused: