vinstudy
Newbie level 4
Can anybody tell me whether RTC(DS1302, DS1307) is compattible for ATTiny2313. Because from past three weeks i am working on it & i tried both the RTC. But till now i dint get any response from RTC. I have used I2C protocol to access RTC from SDA & SCL pin. SCL is generated by tiny2313 & controlled thorugh software code & SDA for Write & Read.
What i am doing here is first writing SLAVE Address to RTc & waiting for acknowlegement. which should be low. but i am not getting this acknowldgement. Even i tried to write RAM & Time registers. Nothing is working. Please friends help me to come out this problem.
What i am doing here is first writing SLAVE Address to RTc & waiting for acknowlegement. which should be low. but i am not getting this acknowldgement. Even i tried to write RAM & Time registers. Nothing is working. Please friends help me to come out this problem.