[PIC] I2C Master read problem

Status
Not open for further replies.

Karthi Keyan

Junior Member level 1
Joined
Aug 2, 2011
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Bangalore
Visit site
Activity points
1,385
Hi,
I am using Pic18f25k22. I am trying to read data from slave. Once the slave address is sent along with read bit, the receive the ack from slave both SDA and SCL goes to low. then master is not able to receive the data from slave. Here i attached both master and slave code. please check it.

Thanks,
Karthi.
View attachment Master_Read.txtView attachment Slave_write.txt
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…