Simple i2c

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
Pharaoh1989
Posts: 4
Joined: Mon Apr 19, 2021 10:50 am
Contact:

Simple i2c

Post by Pharaoh1989 »

Hello

Does anyone have a simple i2c for master receive data from another pic? I’m using a pic16f877A as master and pic16F886 as a slave, cannot get any data from it

Cheers for the help

chipfryer27
Valued Contributor
Valued Contributor
Posts: 618
Joined: Fri Jun 06, 2014 3:53 pm
Has thanked: 184 times
Been thanked: 195 times
Contact:

Re: Simple i2c

Post by chipfryer27 »

Hi

I2C isn't usually too troublesome. Are you using pull ups on the SDA/ SCL lines and keeping track lengths / connections short?

Regards

Pharaoh1989
Posts: 4
Joined: Mon Apr 19, 2021 10:50 am
Contact:

Re: Simple i2c

Post by Pharaoh1989 »

Hi

Yes I can transmit data to a slave but not get any data back, I'm wanting to sent one byte to the slave and receive 8 bytes back.

cheers

Post Reply