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
- 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
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