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
Simple i2c
Moderator: Benj
-
- Valued Contributor
- Posts: 652
- Joined: Fri Jun 06, 2014 3:53 pm
- Has thanked: 184 times
- Been thanked: 202 times
- Contact:
Re: Simple i2c
Hi
I2C isn't usually too troublesome. Are you using pull ups on the SDA/ SCL lines and keeping track lengths / connections short?
Regards
I2C isn't usually too troublesome. Are you using pull ups on the SDA/ SCL lines and keeping track lengths / connections short?
Regards
-
- Posts: 4
- Joined: Mon Apr 19, 2021 10:50 am
- Contact:
Re: Simple i2c
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
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