Forum Discussion
Altera_Forum
Honored Contributor
16 years agoI2C ip core
Hi all, I'm beginner to FPGA.I need implement an I2C interface in SOPC.Firstly,I have downloaded I2C master_slave core from Open_Cores.But, how do I use it in SOPC builder?How do set those sign...
Altera_Forum
Honored Contributor
16 years agoFYI, after successfully compiling all files in I2C opencore,I have problems with the simulation using Quartus2 simulator tool.I'm trying to write data as the steps below.
1.write clock prescaler (Addr 0 and 1) 2.enable core in control register (10000000 to Addr 2) 3.write data to transmit register (Addr 3) 4.start and write to command register (10010000 to Addr 4) No any output on scl_padoen_o,scl_pad_o,sda_padoen_o & sda_pad_o 5.Reading the status register (Addr 4) shows 'Transfer in Progress' every time. Am I doing the right things?Some advices needed.Thanks a lots.