testapplication for bit-banged i2c

Hi.

I have built a bit-banged i2c on the 89c668 and want to test this in uVision2. The hardware i2c port is also in use and can be tested with the standard peripheriral. I would like to have something comparable like this for the bit-banged one. I use the port 0_3 for SCL, and the port 0_2 for SDA. Do you, or anyone, have some example code or running testapps?

thanks, ***.

Parents
  • Do you, or anyone, have some example code or running testapps?

    If you mean do we have a simulation script that simulates I2C using regulat I/O ports, the answer is no. This would be a GREAT simulation function for someone to write. If you get one going, please let us know.

    Jon

Reply
  • Do you, or anyone, have some example code or running testapps?

    If you mean do we have a simulation script that simulates I2C using regulat I/O ports, the answer is no. This would be a GREAT simulation function for someone to write. If you get one going, please let us know.

    Jon

Children
More questions in this forum