Hi, I want to establish communication between two micro controllers,which are not having internal I2C arrangement.How to set device adders for micro controllers? I want to transfer data from one controller to other.Please help me in this regard. thanking you, With regards, Bhaskar
whatever you do, besides using micros with hardware interfaces, you are VERY likely to get in timing trouble or "holdup trouble"
one scheme that could work if you have a free port and a few bits on both would be: sender (S) set a byte on px toggle a bit that is connected to an interrupt on the receiver(R) the (R) ISR read the byte and toogle a bit that is conneted to an interrupt on (S) the (S) ISR then know the transfer is completed and can continue.
anyhow, save yourself some trouble and get some micros with a hardware interface (I²C, SPI, second UART, CAN, ...)
Erik
"holdup trouble": something does not get taken care of because some wait loop 'hangs' the micro