This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Software I2C in slave mode

I want to simulate an I2C slave device using a generic 8051 MPU which doesn't have hardware I2C(not like 80C552). I know it is easy to implement software simulated I2C in master mode, but I want to turn my 8051 MPU to be a slave device. How can?

Parents
  • Thanks Eric, I know how to deal with slave I2C with the on-chip I2C controller. But if there is no on-chip I2C controller, how can? It seems difficult to implement. First the 8051 speed must be high (> 30M), and the I2C speed shall be slowed down so that software can simulate the I2C. Anyone has experience on it?

Reply
  • Thanks Eric, I know how to deal with slave I2C with the on-chip I2C controller. But if there is no on-chip I2C controller, how can? It seems difficult to implement. First the 8051 speed must be high (> 30M), and the I2C speed shall be slowed down so that software can simulate the I2C. Anyone has experience on it?

Children