M
Manfred Balik
Guest
I'm trying to use the i2c-core from opencores.org.
I made a project in Altera Quartus II and added the 3 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
I made a project in Altera Quartus II and added the 3 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