AVRrajan
Newbie level 4
Hello,
For my upcoming project i need to communicate between two microcontrollers( 8bit LPC controlller from NXP) sitting in two different boards.The distance between the two board is minum of 2meters.
Initially "controller1" will communicate with "controller2" and give command to start some tasks.Immediatelty after getting command controller 2 can start its task execution.The task timing will vary from 1min to 90 minutes. While perfoming thsi task if any error occurs or after sucessful completion "controller2" has to send some information to "controller1".
Please let me know wether i can use I2c or UART communication for this purpose?
Is there any other best suitable protocol?
please send me your valuable suggestions..!
Thanks in advance
For my upcoming project i need to communicate between two microcontrollers( 8bit LPC controlller from NXP) sitting in two different boards.The distance between the two board is minum of 2meters.
Initially "controller1" will communicate with "controller2" and give command to start some tasks.Immediatelty after getting command controller 2 can start its task execution.The task timing will vary from 1min to 90 minutes. While perfoming thsi task if any error occurs or after sucessful completion "controller2" has to send some information to "controller1".
Please let me know wether i can use I2c or UART communication for this purpose?
Is there any other best suitable protocol?
please send me your valuable suggestions..!
Thanks in advance