Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] I2C Master read problem

Status
Not open for further replies.

Karthi Keyan

Junior Member level 1
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top