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

i am facing problem while using aduc812 i2c for rtc interface

hi.... i am facing problem while using aduc812 internal i2c controller for rtc interface please send me asm code also.i am using ds1307 rtc controller

Parents
  • <extract>
    //JB MDI,$;
    //CHK_ACK1:JNB MDI,OKCOUNT1 // DJNZ PRX_TOH,CHK_ACK1 // DJNZ PRX_TOL ,CHK_ACK1 // SETB ERROR_FLAG // OKCOUNT1:CLR MCO DOWN1: RET
    SENDACK:SETB MDE CLR MDO; CALL SCL_HIGH; CALL DELAY1 CLR MCO; CLR MDE RET
    </extract>

    The technical word for this code is: Rubbish.

    There is an alternative word, but I don't want to be chastised!

Reply
  • <extract>
    //JB MDI,$;
    //CHK_ACK1:JNB MDI,OKCOUNT1 // DJNZ PRX_TOH,CHK_ACK1 // DJNZ PRX_TOL ,CHK_ACK1 // SETB ERROR_FLAG // OKCOUNT1:CLR MCO DOWN1: RET
    SENDACK:SETB MDE CLR MDO; CALL SCL_HIGH; CALL DELAY1 CLR MCO; CLR MDE RET
    </extract>

    The technical word for this code is: Rubbish.

    There is an alternative word, but I don't want to be chastised!

Children
No data