Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Best communication protocol between two micro controller

Status
Not open for further replies.

AVRrajan

Newbie level 4
Joined
Sep 17, 2011
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,345
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
 

you can use serial comunication to comunicate with 2 controller or you can also comunicate with parallel comunication protocol.....or you can built your own comunication protocol.
 


Thank you all,for your quick reply.

P89LPC93x series 8 bit controller from NXP is selected for my project.

there was a similar conversation in the past https://www.edaboard.com/threads/106495/

Also check
https://www.bipom.com/applications/micro_interfacing.pdf
View topic - Max SPI distance :: AVR Freaks
View topic - UART to UART distance :: AVR Freaks
https://www.edaboard.com/threads/80459/

As a sidenote the LPX chips I know of are 32-bit ARM based mcu, are you sure you have an 8-bit MCU? (it doesn't make a difference for the content of your question but I'm just wondering)

Alex
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top