This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

about RM48L950 I2C modul in interrupt mode2



Hi,

I make I2C modul work in Interrupt mode.

When I want to read data from slave device, I have to sent a slave adress with read bit =1 frist. After this byte is sent, the I2C modul will enter master reciver mode.

Q1:  Whether the program will enter ISR of TX after this byte was sent , or the program do not enter ISR of TX because I2C modul have entered the master reciver mode.( TX ,RX both interrupt enable).

Q2: Should I set the I2C modul to master ( MDR:MST=1) after every stop condition if I want keep I2C modul in master mode?(I just want confirm this.). If the answer is "YES", is there any way to keep modul in master without set MST again and again.

Thanks!

 

B.Rs,

 

Chuan