Hi
>>doubt 1: after transmitting slave address , i need to check whether ack is receiving or not.so which flag i have to poll.
I2C Status register (I2Cx_S)
![]()
However you don't poll it - you poll IICIF and then check whether the slave acknowledged or not.
>>doubt 2: after stop enable my rxak bit is clearing,says that ack is received why ?
When sending a stop condition there is no more slave activity and the state of the RXACK flag is not of importance.
Regards
Mark
Kinetis: µTasker Kinetis support
KL25: µTasker Kinetis FRDM-KL25Z support / µTasker Kinetis TWR-KL25Z48M support
For the complete "out-of-the-box" Kinetis experience and faster time to market