2007-09-27 09:20 PM
I2C and Master in receiver: problem.
2007-09-27 09:20 PM
Hi,
I use ST72325 for communicate with external RTC in I2C. I must read the RTC data: ST = master, RTC = slave. I dont understand I can setting my master in received mode. I send the request with: I2CDR = 0xA3; // 0xA3 code of address while (!(I2CSR1 & I2C_EVF)) I2CCheckError(); // wait EVF = 1 I2CCR |= I2C_PE; // write CR register v.pag 124 for EV6 return I2CDR; but after ACK of slave the clock go down and the SDA is high. Help help...thanks