i2c-core from opencores.org

Sep 08, 2004 1 Replies

I'm trying to use the i2c-core from opencores.org. I made a project in Altera Quartus II and added the 3 VHDL-Files. Compiling is no problem, but I have problems with the simulation. I'm doing: 1) reseting the core 2) write clock prescaler (Addr 0 and 1) 3) enable core in control register (10000000 to Addr 2) 4) write data for writing to slave to transmit register (Addr 3) 5) start and write to command register (10010000 to Addr 4) and nothing happens on the output-lines !!!??? Reading the status register (Addr 4) shows 'Transfer in Progress' every time! What i am doing wrong ??? Can someone help ? Thanks, Manfred


Forgot the pull ups on the i2c lines so the controller waits for the bus to become inactive?

Regards Thomas

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required