Basically I have two microcontrollers that I need to communicate with each other.
Both controllers send and receive data.
Basic idea that I have:
I2C, SPI - What I think we can NOT use these protocols in this case. Because both are master slave based protocols. So if one controller is configured as master and other as slave, then in that case if the slave uC wants to transmit data then it can not initiate the transmission and it is also not allowed to generate the clock.
UART - I guess this should work as it's asynchronous. So nobody is bound to be slave or master.
My question is, if the above made assumptions are right? If no then please correct me.