??? 08/21/07 06:09 Modified: 08/21/07 06:13 Read: times |
#143437 - Yes, I want both to be masters Responding to: ???'s previous message |
Dear friends,
I will explain my requirement:- -- There are two 8051 controllers and one 24c02. -- I want to share information of size something around 400 bytes between the two 8051 uC. One uC will write into 24c02 and other uC will read it. -- Controllers will access 24c02 one by one only(it is taken care in coding). Connections are made as follows:- -- P2.0 (SCL) of uC1 is connected to P2.0 of uC2 -- P2.1 (SDA) of uC1 is connected to P2.1 of uC2 -- pullups of 10K are connected to SCL and SDA. -- uC1, uC2 and 24c02 are assembled on seperate independant PCBs( totally 3 PCBs). Problem I am facing :- -- I am able to read 24c02 with both the controllers on PCB. but I am not able to do write operation. -- Both controllers are able to read and write 24c02, when the other controller is removed from PCB. I will be very very thank full for the suggestions... P.Ravi |
Topic | Author | Date |
I2C communication between one 24c02 and two 8051uC | 01/01/70 00:00 | |
what search? | 01/01/70 00:00 | |
Search for | 01/01/70 00:00 | |
if the OP would know the magic keyword... | 01/01/70 00:00 | |
Oops - missed the two 8051s! | 01/01/70 00:00 | |
I2C MultiMaster | 01/01/70 00:00 | |
Do both 8051s need to be masters? | 01/01/70 00:00 | |
Yes, I want both to be masters | 01/01/70 00:00 | |
Oscilloscope? | 01/01/70 00:00 | |
Re | 01/01/70 00:00 | |
Not quite true | 01/01/70 00:00 | |
Use a semi system | 01/01/70 00:00 | |
re Dereks suggestion 'Use a semi system' | 01/01/70 00:00 | |
Read the I2C Spec Carefully | 01/01/70 00:00 | |
two uC are able to read .. | 01/01/70 00:00 | |
Software or Hardware I2C | 01/01/70 00:00 | |
its a software I2C![]() | 01/01/70 00:00 |