Does anyone have any ideas on interfacing the standard 8051 UART in mode 0 to interface to an I2C slave? I was thinking of writing the address of the slave, then shifting the acknowledge back in immediatley after. Any feedback would be appreciated. Matt
"Not always. Read some more about UART mode 0 (shift register mode). In this mode, UART provides separate data line and clock line." To be pedantic, we could say that the 8051's Serial Interface is not acting as a UART in this mode... ;-)
And the ACK-Flag ? How can you test this ? per software ? seperate 9 clock ? Not really !